From: Peter Eisentraut Date: Mon, 14 May 2012 01:47:48 +0000 (+0300) Subject: Remove leftovers of BeOS port X-Git-Tag: REL9_2_BETA2~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64f09ca38600ef0471683491f7735001b72c0f39;p=postgresql Remove leftovers of BeOS port These should have been removed when the BeOS port was removed in 44f90212236bfb6fc1279e95dc8fa315104d964e. --- diff --git a/configure b/configure index 85805e9f57..ae34179e0d 100755 --- a/configure +++ b/configure @@ -10116,10 +10116,7 @@ done - - - -for ac_header in crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h poll.h pwd.h sys/ioctl.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/socket.h sys/sockio.h sys/tas.h sys/time.h sys/ucred.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h +for ac_header in crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h poll.h pwd.h sys/ioctl.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/socket.h sys/sockio.h sys/tas.h sys/time.h sys/ucred.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then @@ -27696,9 +27693,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -27734,9 +27728,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -27806,9 +27797,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -27844,9 +27832,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -27916,9 +27901,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -27954,9 +27936,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -28026,9 +28005,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () @@ -28064,9 +28040,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif int main () diff --git a/configure.in b/configure.in index 926a399f09..d064d5c19e 100644 --- a/configure.in +++ b/configure.in @@ -971,7 +971,7 @@ AC_SUBST(OSSP_UUID_LIBS) ## dnl sys/socket.h is required by AC_FUNC_ACCEPT_ARGTYPES -AC_CHECK_HEADERS([crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h poll.h pwd.h sys/ioctl.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/socket.h sys/sockio.h sys/tas.h sys/time.h sys/ucred.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h]) +AC_CHECK_HEADERS([crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h poll.h pwd.h sys/ioctl.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/socket.h sys/sockio.h sys/tas.h sys/time.h sys/ucred.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h]) # On BSD, cpp test for net/if.h will fail unless sys/socket.h # is included first. @@ -1719,10 +1719,7 @@ AC_DEFINE_UNQUOTED(MAXIMUM_ALIGNOF, $MAX_ALIGNOF, [Define as the maximum alignme # Some platforms predefine the types int8, int16, etc. Only check # a (hopefully) representative subset. AC_CHECK_TYPES([int8, uint8, int64, uint64], [], [], -[#include -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif]) +[#include ]) # We also check for sig_atomic_t, which *should* be defined per ANSI # C, but is missing on some old platforms. diff --git a/src/backend/port/sysv_sema.c b/src/backend/port/sysv_sema.c index 5d7907e100..08803552ca 100644 --- a/src/backend/port/sysv_sema.c +++ b/src/backend/port/sysv_sema.c @@ -23,9 +23,6 @@ #ifdef HAVE_SYS_SEM_H #include #endif -#ifdef HAVE_KERNEL_OS_H -#include -#endif #include "miscadmin.h" #include "storage/ipc.h" diff --git a/src/backend/port/sysv_shmem.c b/src/backend/port/sysv_shmem.c index 2eab80aef7..b28766c652 100644 --- a/src/backend/port/sysv_shmem.c +++ b/src/backend/port/sysv_shmem.c @@ -26,9 +26,6 @@ #ifdef HAVE_SYS_SHM_H #include #endif -#ifdef HAVE_KERNEL_OS_H -#include -#endif #include "miscadmin.h" #include "storage/ipc.h" diff --git a/src/include/c.h b/src/include/c.h index 96375ab567..8b3c5e5996 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -81,9 +81,6 @@ #if defined(WIN32) || defined(__CYGWIN__) #include /* ensure O_BINARY is available */ #endif -#ifdef HAVE_SUPPORTDEFS_H -#include -#endif #if defined(WIN32) || defined(__CYGWIN__) /* We have to redefine some system functions after they are included above. */ diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 6bf865f813..fa9ebde14e 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -269,12 +269,6 @@ /* Define to 1 if you have isinf(). */ #undef HAVE_ISINF -/* Define to 1 if you have the header file. */ -#undef HAVE_KERNEL_IMAGE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_KERNEL_OS_H - /* Define to 1 if `e_data' is member of `krb5_error'. */ #undef HAVE_KRB5_ERROR_E_DATA @@ -526,9 +520,6 @@ /* Define to 1 if `tm_zone' is member of `struct tm'. */ #undef HAVE_STRUCT_TM_TM_ZONE -/* Define to 1 if you have the header file. */ -#undef HAVE_SUPPORTDEFS_H - /* Define to 1 if you have the `symlink' function. */ #undef HAVE_SYMLINK diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 1ca6b0a959..614c1e49cf 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -193,12 +193,6 @@ /* Define to 1 if you have isinf(). */ #define HAVE_ISINF 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_KERNEL_IMAGE_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_KERNEL_OS_H */ - /* Define to 1 if `e_data' is member of `krb5_error'. */ /* #undef HAVE_KRB5_ERROR_E_DATA */ @@ -423,9 +417,6 @@ /* Define to 1 if `tm_zone' is member of `struct tm'. */ /* #undef HAVE_STRUCT_TM_TM_ZONE */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SUPPORTDEFS_H */ - /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1