summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-03-20 18:04:32 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-03-20 18:04:32 +0000
commit7d5770eaf29c494e9a7830ae02c92a3bec202ab2 (patch)
treec9bfb1138a94535aad7367c774526b560be7d205 /src/configure.in
parent419b4304ba213c9ede279e316c0ac41d36e008c7 (diff)
downloadpostgresql-7d5770eaf29c494e9a7830ae02c92a3bec202ab2.tar.gz
Check for and set HAVE_CRYPT_H if <crypt.h> exists
include crypt.h in password.c if crypt.h does exist
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configure.in b/src/configure.in
index d5d18f07db..7b11138c5e 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -127,7 +127,7 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
-AC_CHECK_HEADERS(readline.h history.h dld.h)
+AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -160,7 +160,7 @@ AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(isinf tzset getrusage vfork memmove sigsetjmp kill sysconf)
-AC_CHECK_FUNCS(sigprocmask waitpid setsid)
+AC_CHECK_FUNCS(sigprocmask waitpid setsid )
AC_CHECK_FUNC(inet_aton, AC_DEFINE(HAVE_INET_ATON), INET_ATON='inet_aton.o')
AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR), STRERROR='strerror.o')
AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP), STRDUP='../../utils/strdup.o')