From 7ba5ae504d25423ae58404f01baef1d20389956a Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 1 Mar 1995 21:42:47 +0000 Subject: [PATCH] Folded in Ezra's changes to support --with-netlib, for support of the SGI's (and other broken SysV OS's). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5037 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 5 +++++ src/aclocal.m4 | 19 ++++++++++++++++++- src/configure.in | 1 + 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 585a0fec9..73622a81c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 1 16:40:23 1995 Theodore Y. Ts'o + + * aclocal.m4, configure.in: Folded in Ezra's changes to support + --with-netlib, for support of the SGI's. + Tue Feb 28 00:00:22 1995 John Gilmore (gnu at toad.com) * aclocal.m4 (ADD_DEF): Add -I...include/krb5 so we won't need diff --git a/src/aclocal.m4 b/src/aclocal.m4 index c8a70c472..125e79507 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -348,7 +348,7 @@ dnl set $(LD) from --with-linker=value dnl define(WITH_LINKER,[ AC_ARG_WITH([linker], -[ --with-linker=LINKER select linker to use], +[ --with-linker=LINKER select linker to use], AC_MSG_RESULT(LD=$withval) LD=$withval, if test -z "$LD" ; then LD=$CC; fi @@ -630,3 +630,20 @@ AC_HEADER_CHECK(flock.h,[echo found flock.h for non-posix locks], AC_DEFINE(POSIX_FILE_LOCKS) fi ])])dnl +dnl +dnl WITH_NETLIB +dnl +dnl +define(WITH_NETLIB,[ +AC_ARG_WITH([netlib], +[ --with-netlib[=libs] use user defined resolve library], + if test "$withval" = yes -o "$withval" = no ; then + AC_MSG_RESULT("netlib will link with C library resolver only") + else + LIBS="$LIBS $withval" + AC_MSG_RESULT("netlib will use \'$withval\'") + fi +,dnl +[AC_CHECK_LIB(socket,main) +AC_CHECK_LIB(nsl,main)] +)])dnl diff --git a/src/configure.in b/src/configure.in index 928b5fa8a..5895b137b 100644 --- a/src/configure.in +++ b/src/configure.in @@ -4,6 +4,7 @@ CONFIG_RULES AC_SET_BUILDTOP WITH_KRB5ROOT WITH_KRB4 +WITH_NETLIB AC_ARG_ENABLE([athena], [ --enable-athena build with MIT Project Athena configuration],,) CONFIG_DIRS(util include $isode lib kdc admin kadmin slave clients appl tests) -- 2.26.2