Commit e2cd9260 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added AC_HAVE_HEADERS(locale.h stdlib.h).

Added AC_HAVE_LIBRARY(socket nsl).
Removed AC_REPLACE_FUNCS(mktime), since mktime is never used.
Don't remove $BUILDTOPDIR/include.
parent b9d49c37
......@@ -2,9 +2,14 @@ dnl Process this file with autoconf to produce a configure script.
dnl This configure.in was derived from the configure.in in the
dnl GNU regex package, rel 0.11. Since LysKOM uses that package,
dnl this configure script must include everything it needs.
AC_REVISION($Id: configure.in,v 1.4 1993/10/10 11:20:23 ceder Exp $)
AC_REVISION($Id: configure.in,v 1.5 1993/10/12 16:31:15 ceder Exp $)
AC_INIT(src/server/lyskomd.h)
AC_PROG_CC
AC_AIX
AC_ISC_POSIX
AC_MINIX
AC_DYNIX_SEQ
AC_IRIX_SUN
[SRCTOPDIR=`cd $srcdir;pwd`]
[BUILDTOPDIR=`pwd`]
dnl
......@@ -48,11 +53,6 @@ dnl
\\
$DEPEND_DESCEND\\
"]
AC_AIX
AC_DYNIX_SEQ
AC_IRIX_SUN
AC_ISC_POSIX
AC_MINIX
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_AWK
......@@ -61,17 +61,18 @@ AC_PROG_YACC
AC_PROG_LEX
AC_STDC_HEADERS
AC_PROGRAMS_CHECK(SED, /usr/gnu/bin/sed /usr/local/gnu/bin/sed sed)
AC_HAVE_HEADERS(string.h memory.h sys/param.h sys/time.h)
AC_HAVE_HEADERS(string.h memory.h sys/param.h sys/time.h stdlib.h locale.h)
AC_TIME_WITH_SYS_TIME
dnl AC_USG is used by regex, but is obsolete.
AC_USG
AC_ALLOCA
AC_HAVE_LIBRARY(resolv)
AC_HAVE_LIBRARY(authuser)
AC_HAVE_LIBRARY(socket)
AC_HAVE_LIBRARY(nsl)
AC_HAVE_FUNCS(difftime getdtablesize sysconf getcwd)
AC_REPLACE_FUNCS(memcpy difftime mktime strerror)
[DEFS="$DEFS -DBUGGY_INET_NTOA=1 -DHAVE_LOCALE=1 -DENCRYPT_PASSWORDS=1 \
-DSERVER=1"]
AC_REPLACE_FUNCS(memcpy difftime strerror)
[DEFS="$DEFS -DBUGGY_INET_NTOA=1 -DENCRYPT_PASSWORDS=1 -DSERVER=1"]
AC_SUBST(ALL_DESCEND)
[ALL_DESCEND="$INCLUDES_DESCEND\\
$LIBRARIES_DESCEND\\
......@@ -118,8 +119,7 @@ GENERIC-MOSTLYCLEAN = *.o lib*.a core temp-Makefile temp-?-Makefile\\
GENERIC-DISTCLEAN = *~ TAGS dependencies Makefile\\
# END section from @STDLYSKOM@\\
"]
[rm -rf $BUILDTOPDIR/include
mkdir $BUILDTOPDIR/include]
[mkdir $BUILDTOPDIR/include]
[mkdir $BUILDTOPDIR/lib]
AC_OUTPUT(Makefile
doc/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