Commit 25004eec authored by Peter Eisentraut's avatar Peter Eisentraut

Fix more random breakage manifesting on FreeBSD.

parent 4916f9e9
# Macros that test various C library quirks # Macros that test various C library quirks
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.12 2002/03/29 17:32:53 petere Exp $ # $Header: /cvsroot/pgsql/config/c-library.m4,v 1.13 2002/03/30 00:59:52 petere Exp $
# PGAC_VAR_INT_TIMEZONE # PGAC_VAR_INT_TIMEZONE
...@@ -66,7 +66,7 @@ AC_SUBST(MEMCMP)dnl ...@@ -66,7 +66,7 @@ AC_SUBST(MEMCMP)dnl
# If it doesn't then one could define it as # If it doesn't then one could define it as
# union semun { int val; struct semid_ds *buf; unsigned short *array; } # union semun { int val; struct semid_ds *buf; unsigned short *array; }
AC_DEFUN([PGAC_UNION_SEMUN], AC_DEFUN([PGAC_UNION_SEMUN],
[AC_CHECK_TYPE([union semun], [], [], [AC_CHECK_TYPES([union semun], [], [],
[#include <sys/types.h> [#include <sys/types.h>
#include <sys/ipc.h> #include <sys/ipc.h>
#include <sys/sem.h>])])# PGAC_UNION_SEMUN #include <sys/sem.h>])])# PGAC_UNION_SEMUN
......
...@@ -7455,8 +7455,7 @@ done ...@@ -7455,8 +7455,7 @@ done
for ac_header in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h
for ac_header in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h strings.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h
do do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then if eval "test \"\${$as_ac_Header+set}\" = set"; then
...@@ -7698,6 +7697,7 @@ else ...@@ -7698,6 +7697,7 @@ else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
$ac_includes_default
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
#include <netinet/in.h> #include <netinet/in.h>
#endif #endif
...@@ -9164,6 +9164,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext ...@@ -9164,6 +9164,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5 echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5
echo "${ECHO_T}$ac_cv_type_union_semun" >&6 echo "${ECHO_T}$ac_cv_type_union_semun" >&6
if test $ac_cv_type_union_semun = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_UNION_SEMUN 1
_ACEOF
fi
echo "$as_me:$LINENO: checking for struct sockaddr_un" >&5 echo "$as_me:$LINENO: checking for struct sockaddr_un" >&5
echo $ECHO_N "checking for struct sockaddr_un... $ECHO_C" >&6 echo $ECHO_N "checking for struct sockaddr_un... $ECHO_C" >&6
......
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.172 2002/03/30 00:20:15 petere Exp $ dnl $Header: /cvsroot/pgsql/configure.in,v 1.173 2002/03/30 00:59:52 petere Exp $
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -759,7 +759,8 @@ AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/ ...@@ -759,7 +759,8 @@ AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/
# netinet/in.h is included first. # netinet/in.h is included first.
AC_CHECK_HEADERS([netinet/in.h]) AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([netinet/tcp.h], [], [], AC_CHECK_HEADERS([netinet/tcp.h], [], [],
[#ifdef HAVE_NETINET_IN_H [AC_INCLUDES_DEFAULT
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h> #include <netinet/in.h>
#endif #endif
]) ])
......
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