aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-28 05:51:59 +0000
committerRichard M. Stallman1997-07-28 05:51:59 +0000
commit93de505d8598a4798916a305649e8b22311f4fa4 (patch)
tree6c47497eaee60540a00fa1eafd98aaf6a1bf29f2 /lib-src
parent375e0047f80ee036e95b9b2754bf83b65684fd22 (diff)
downloademacs-93de505d8598a4798916a305649e8b22311f4fa4.tar.gz
emacs-93de505d8598a4798916a305649e8b22311f4fa4.zip
Support auto-configuration of both Kerberos V4 and
Kerberos V5 for movemail, including detection of V4 and V5 header files and libraries.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in38
1 files changed, 25 insertions, 13 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 4022906add6..be9752bd703 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -182,23 +182,35 @@ MOVE_FLAGS=
182#endif 182#endif
183 183
184#ifdef KERBEROS 184#ifdef KERBEROS
185#ifdef HAVE_LIBKRB 185# ifdef HAVE_LIBKRB
186 /* For krb5, use -lkrb5 */ 186 KRB4LIB = -lkrb
187 KRBLIB=-lkrb 187# else
188#endif 188# ifdef HAVE_LIBKRB4
189#ifdef HAVE_LIBDES 189 KRB4LIB = -lkrb4
190 /* For krb4, use -lcrypto */ 190# endif
191 DESLIB=-ldes 191# endif
192#endif 192# ifdef HAVE_LIBDES
193#ifdef HAVE_LIBCOM_ERR 193 DESLIB = -ldes
194 COM_ERRLIB=-lcom_err 194# else
195#endif 195# ifdef HAVE_LIBDES425
196#endif /* KERBEROS */ 196 DESLIB = -ldes425
197# endif
198# endif
199# ifdef HAVE_LIBKRB5
200 KRB5LIB = -lkrb5
201# endif
202# ifdef HAVE_LIBCRYPTO
203 CRYPTOLIB = -lcrypto
204# endif
205# ifdef HAVE_LIBCOM_ERR
206 COM_ERRLIB = -lcom_err
207# endif
208#endif /* KERBEROS
197 209
198/* If HESIOD is defined, set this to "-lhesiod". */ 210/* If HESIOD is defined, set this to "-lhesiod". */
199HESIODLIB= 211HESIODLIB=
200 212
201MOVE_LIBS=$(KRBLIB) $(DESLIB) $(COM_ERRLIB) $(HESIODLIB) 213MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB)
202 214
203#ifdef HAVE_LIBMAIL 215#ifdef HAVE_LIBMAIL
204LIBMAIL=-lmail 216LIBMAIL=-lmail