AC_DEFUN([PGAC_UNION_SEMUN],
[AC_CHECK_TYPES([union semun], [], [],
[#include <sys/types.h>
-#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
-#endif
-#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
-#endif])])# PGAC_UNION_SEMUN
+])])# PGAC_UNION_SEMUN
# PGAC_STRUCT_SOCKADDR_STORAGE
fi
-for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h langinfo.h mbarrier.h net/if.h netinet/tcp.h sys/epoll.h sys/event.h sys/ipc.h sys/personality.h sys/prctl.h sys/procctl.h sys/resource.h sys/sem.h sys/shm.h sys/signalfd.h sys/sockio.h sys/ucred.h termios.h ucred.h
+for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h langinfo.h mbarrier.h net/if.h netinet/tcp.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/resource.h sys/signalfd.h sys/sockio.h sys/ucred.h termios.h ucred.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "#include <sys/types.h>
-#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
-#endif
-#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
-#endif
+
"
if test "x$ac_cv_type_union_semun" = xyes; then :
netinet/tcp.h
sys/epoll.h
sys/event.h
- sys/ipc.h
sys/personality.h
sys/prctl.h
sys/procctl.h
sys/resource.h
- sys/sem.h
- sys/shm.h
sys/signalfd.h
sys/sockio.h
sys/ucred.h
#include <signal.h>
#include <unistd.h>
#include <sys/file.h>
-#include <sys/stat.h>
-#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
-#endif
-#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
-#endif
+#include <sys/stat.h>
#include "miscadmin.h"
#include "storage/ipc.h"
#include <signal.h>
#include <unistd.h>
#include <sys/file.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
-#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
-#endif
-#ifdef HAVE_SYS_SHM_H
+#include <sys/mman.h>
#include <sys/shm.h>
-#endif
+#include <sys/stat.h>
#include "miscadmin.h"
#include "port/pg_bitutils.h"
#include <unistd.h>
#ifndef WIN32
#include <sys/mman.h>
-#endif
-#include <sys/stat.h>
-#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
-#endif
-#ifdef HAVE_SYS_SHM_H
#include <sys/shm.h>
+#include <sys/stat.h>
#endif
#include "common/file_perm.h"
/* Define to 1 if you have the <sys/event.h> header file. */
#undef HAVE_SYS_EVENT_H
-/* Define to 1 if you have the <sys/ipc.h> header file. */
-#undef HAVE_SYS_IPC_H
-
/* Define to 1 if you have the <sys/personality.h> header file. */
#undef HAVE_SYS_PERSONALITY_H
/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
-/* Define to 1 if you have the <sys/sem.h> header file. */
-#undef HAVE_SYS_SEM_H
-
-/* Define to 1 if you have the <sys/shm.h> header file. */
-#undef HAVE_SYS_SHM_H
-
/* Define to 1 if you have the <sys/signalfd.h> header file. */
#undef HAVE_SYS_SIGNALFD_H
HAVE_SYSLOG => undef,
HAVE_SYS_EPOLL_H => undef,
HAVE_SYS_EVENT_H => undef,
- HAVE_SYS_IPC_H => undef,
HAVE_SYS_PERSONALITY_H => undef,
HAVE_SYS_PRCTL_H => undef,
HAVE_SYS_PROCCTL_H => undef,
HAVE_SYS_RESOURCE_H => undef,
- HAVE_SYS_SEM_H => undef,
- HAVE_SYS_SHM_H => undef,
HAVE_SYS_SIGNALFD_H => undef,
HAVE_SYS_SOCKIO_H => undef,
HAVE_SYS_STAT_H => 1,