Mercurial > emacs
diff lib-src/Makefile.in @ 40276:f53d3da02996
fix build problems with krb5 and hesiod support
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 24 Oct 2001 22:54:38 +0000 |
parents | 2f1422e32b4f |
children | 091ed3787464 |
line wrap: on
line diff
--- a/lib-src/Makefile.in Wed Oct 24 22:53:45 2001 +0000 +++ b/lib-src/Makefile.in Wed Oct 24 22:54:38 2001 +0000 @@ -201,8 +201,12 @@ # 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 @@ #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)