Commit 30b6669c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for crypt only if crypt isn't found in libc.

parent 13236405
dnl $Id: configure.in,v 1.87 2002/08/17 17:32:58 ceder Exp $
dnl $Id: configure.in,v 1.88 2002/09/08 10:40:26 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993-2002 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.87 $)
AC_REVISION($Revision: 1.88 $)
AC_PREREQ(2.53)
AC_INIT([lyskom-server], [2.0.7])
AC_CONFIG_SRCDIR([src/server/lyskomd.h])
......@@ -316,7 +316,11 @@ 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_FUNC(crypt)
[if test $ac_cv_func_crypt = no
then]
AC_CHECK_LIB(crypt,crypt) dnl For crypt() on Sparc NetBSD 1.1
[fi]
AC_CHECK_FUNCS(difftime getdtablesize sysconf strchr getcwd vfprintf)
AC_CHECK_FUNCS(setrlimit)
AC_REPLACE_FUNCS(memcpy strerror remove memset memchr memcmp setsid)
......
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