cryptoconf.c, which drags in enough of the crypto library that
socket() gets called. We should to fix this eventually to make klist
smaller, but the fix will be subtle. Sigh....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4942
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 10 18:44:44 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * Makefile.in (ISODELIB): Remove ISODE cruft. Use $(LIBS) so that
+ libsocket can be pulled in if necessary.
+
+ * configure.in: Add check for libsocket and libnsl (sigh).
+ krb5_init_ctx drags in cryptoconf.c, which drags in enough
+ of the crypto library that socket() gets called. We should
+ to fix this eventually to make klist smaller, but the fix
+ will be subtle.
+
Thu Feb 09 17:43:47 1995 Chris Provenzano (proven@mit.edu)
* klist.c Added -e option to print out encryption types.
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g
-ISODELIB=@ISODELIB@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
all::
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB)
klist: klist.o $(DEPKLIB)
- $(CC) $(CFLAGS) -o klist klist.o $(KLIB)
+ $(CC) $(CFLAGS) -o klist klist.o $(KLIB) $(LIBS)
klist.o: $(srcdir)/klist.c
AC_PROG_INSTALL
CONFIG_RULES
KRB_INCLUDE
-ISODE_INCLUDE
+AC_CHECK_LIB(socket,main)
+AC_CHECK_LIB(nsl,main)
WITH_KRB5ROOT
V5_AC_OUTPUT_MAKEFILE