aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKen Raeburn2001-10-24 22:54:38 +0000
committerKen Raeburn2001-10-24 22:54:38 +0000
commit84e70f78690c02e12704751941824325920923ea (patch)
tree354d71352b7c7b31cec7cf574dd5c2ebdc907113 /lib-src
parent7d8177cf90333a55b126757e931ae0f5c9db35f6 (diff)
downloademacs-84e70f78690c02e12704751941824325920923ea.tar.gz
emacs-84e70f78690c02e12704751941824325920923ea.zip
fix build problems with krb5 and hesiod support
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog7
-rw-r--r--lib-src/Makefile.in14
2 files changed, 19 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 1b710896ca2..f74b23ac14e 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,10 @@
12001-10-24 Ken Raeburn <raeburn@gnu.org>
2
3 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
4 -lhesiod and maybe -lresolv.
5 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
6 support if it's available.
7
12001-10-21 Miles Bader <miles@gnu.org> 82001-10-21 Miles Bader <miles@gnu.org>
2 9
3 * make-docfile.c (struct rcsoc_state): New type. 10 * make-docfile.c (struct rcsoc_state): New type.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 44e8089c4f7..a4b6b07fc41 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -201,8 +201,12 @@ MOVE_FLAGS=
201# ifdef HAVE_LIBKRB5 201# ifdef HAVE_LIBKRB5
202 KRB5LIB = -lkrb5 202 KRB5LIB = -lkrb5
203# endif 203# endif
204# ifdef HAVE_LIBCRYPTO 204# ifdef HAVE_LIBK5CRYPTO
205 CRYPTOLIB = -lk5crypto
206# else
207# ifdef HAVE_LIBCRYPTO
205 CRYPTOLIB = -lcrypto 208 CRYPTOLIB = -lcrypto
209# endif
206# endif 210# endif
207# ifdef HAVE_LIBCOM_ERR 211# ifdef HAVE_LIBCOM_ERR
208 COM_ERRLIB = -lcom_err 212 COM_ERRLIB = -lcom_err
@@ -210,7 +214,13 @@ MOVE_FLAGS=
210#endif /* KERBEROS */ 214#endif /* KERBEROS */
211 215
212/* If HESIOD is defined, set this to "-lhesiod". */ 216/* If HESIOD is defined, set this to "-lhesiod". */
213HESIODLIB= 217#ifdef HAVE_LIBHESIOD
218# ifdef HAVE_LIBRESOLV
219 HESIODLIB= -lhesiod -lresolv
220# else
221 HESIODLIB= -lhesiod
222# endif
223#endif
214 224
215MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB) 225MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB)
216 226