Commit d598615c authored by Per Cederqvist's avatar Per Cederqvist

Improved checking for -lsocket and -lnsl. Force enable_isc_printf so

that libisc contains the proper things.
parent f57ff3de
dnl $Id: configure.in,v 1.45 1998/07/09 18:55:52 ceder Exp $
dnl $Id: configure.in,v 1.46 1998/07/10 21:28:11 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.45 $)
AC_REVISION($Revision: 1.46 $)
AC_INIT(src/server/lyskomd.h)
AC_CONFIG_AUX_DIR(scripts)
AM_INIT_AUTOMAKE(lyskom-server, 2.0.0.pcl.2)
......@@ -140,8 +140,18 @@ AC_HEADER_TIME
AC_FUNC_ALLOCA
AC_CHECK_LIB(resolv,main) dnl Host name lookup.
AC_CHECK_LIB(authuser,auth_tcpuser3) dnl User authentication according to RFC 931.
AC_CHECK_LIB(nsl,gethostbyname) dnl Low-level networking code on Solaris 2.
AC_CHECK_LIB(socket,socket) dnl socket() et c on Solaris 2.
dnl Low-level networking code on Solaris 2.
AC_CHECK_FUNC(gethostbyname)
[if test $ac_cv_func_gethostbyname = no
then]
AC_CHECK_LIB(nsl, gethostbyname)
[fi]
dnl socket() et c on Solaris 2.
AC_CHECK_FUNC(socket)
[if test $ac_cv_func_socket = no
then]
AC_CHECK_LIB(socket, socket)
[fi]
AC_CHECK_LIB(i,setlocale) dnl For setlocale() on Ultrix.
AC_CHECK_LIB(crypt,crypt) dnl For crypt() on Sparc NetBSD 1.1
AC_CHECK_FUNCS(difftime getdtablesize sysconf strchr getcwd vfprintf)
......@@ -192,6 +202,13 @@ dnl
dnl Tests for GNU getopt (used in dbck)
AC_CHECK_HEADERS(alloca.h)
dnl
dnl
dnl Force the configure script in isc to behave as if the
dnl --enable-isc-printf switch was given to it.
dnl
[enable_isc_printf=yes
export enable_isc_printf]
dnl
AC_CONFIG_SUBDIRS(src/libraries/libisc-new)
AC_OUTPUT(Makefile
db-crypt/Makefile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment