diff options
author | Ken Raeburn <[email protected]> | 2001-10-24 22:54:38 +0000 |
---|---|---|
committer | Ken Raeburn <[email protected]> | 2001-10-24 22:54:38 +0000 |
commit | 84e70f78690c02e12704751941824325920923ea (patch) | |
tree | 354d71352b7c7b31cec7cf574dd5c2ebdc907113 /lib-src | |
parent | 7d8177cf90333a55b126757e931ae0f5c9db35f6 (diff) |
fix build problems with krb5 and hesiod support
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 7 | ||||
-rw-r--r-- | lib-src/Makefile.in | 14 |
2 files changed, 19 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 1b710896ca..f74b23ac14 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,10 @@ +2001-10-24 Ken Raeburn <[email protected]> + + * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include + -lhesiod and maybe -lresolv. + (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos + support if it's available. + 2001-10-21 Miles Bader <[email protected]> * make-docfile.c (struct rcsoc_state): New type. diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 44e8089c4f..a4b6b07fc4 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -201,8 +201,12 @@ MOVE_FLAGS= # ifdef HAVE_LIBKRB5 KRB5LIB = -lkrb5 # endif -# ifdef HAVE_LIBCRYPTO +# ifdef HAVE_LIBK5CRYPTO + CRYPTOLIB = -lk5crypto +# else +# ifdef HAVE_LIBCRYPTO CRYPTOLIB = -lcrypto +# endif # endif # ifdef HAVE_LIBCOM_ERR COM_ERRLIB = -lcom_err @@ -210,7 +214,13 @@ MOVE_FLAGS= #endif /* KERBEROS */ /* If HESIOD is defined, set this to "-lhesiod". */ -HESIODLIB= +#ifdef HAVE_LIBHESIOD +# ifdef HAVE_LIBRESOLV + HESIODLIB= -lhesiod -lresolv +# else + HESIODLIB= -lhesiod +# endif +#endif MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB) |