mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Cleanup some of unused any more checks
This commit is contained in:
parent
6ea72c7a6b
commit
ba59f39b6e
12
configure.ac
12
configure.ac
@ -1260,18 +1260,6 @@ AC_CHECK_TYPES([socklen_t],,,[#include <sys/socket.h>])
|
|||||||
AH_BOTTOM([#ifndef HAVE_SOCKLEN_T
|
AH_BOTTOM([#ifndef HAVE_SOCKLEN_T
|
||||||
typedef int socklen_t;
|
typedef int socklen_t;
|
||||||
#endif])
|
#endif])
|
||||||
AC_CHECK_TYPES([semun])
|
|
||||||
if test "$ac_cv_type_semun" = "no"; then
|
|
||||||
AC_MSG_CHECKING(if sem.h defines semun)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
|
|
||||||
#include <sys/ipc.h>
|
|
||||||
#include <sys/sem.h>]], [[union semun s;]])],[ac_cv_type_semun=yes; AC_DEFINE(HAVE_SEMUN) AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CHECK_TYPES([struct XDR::xdr_ops],,,[#include <rpc/rpc.h>
|
|
||||||
#include <rpc/xdr.h>])
|
|
||||||
AC_CHECK_TYPES([struct xdr_ops],,,[#include <rpc/rpc.h>
|
|
||||||
#include <rpc/xdr.h>])
|
|
||||||
|
|
||||||
dnl AC_STRUCT_DIRENT_D_TYPE
|
dnl AC_STRUCT_DIRENT_D_TYPE
|
||||||
AC_CHECK_MEMBER([struct dirent.d_type],
|
AC_CHECK_MEMBER([struct dirent.d_type],
|
||||||
|
@ -326,9 +326,6 @@
|
|||||||
/* Define to 1 if you have the `semtimedop' function. */
|
/* Define to 1 if you have the `semtimedop' function. */
|
||||||
#define HAVE_SEMTIMEDOP 1
|
#define HAVE_SEMTIMEDOP 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `semun'. */
|
|
||||||
/* #undef HAVE_SEMUN */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `sem_init' function. */
|
/* Define to 1 if you have the `sem_init' function. */
|
||||||
#define HAVE_SEM_INIT 1
|
#define HAVE_SEM_INIT 1
|
||||||
|
|
||||||
@ -404,12 +401,6 @@
|
|||||||
/* Define this if struct dirent has d_type */
|
/* Define this if struct dirent has d_type */
|
||||||
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct xdr_ops'. */
|
|
||||||
#define HAVE_STRUCT_XDR_OPS 1
|
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct XDR::xdr_ops'. */
|
|
||||||
/* #undef HAVE_STRUCT_XDR__XDR_OPS */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `swab' function. */
|
/* Define to 1 if you have the `swab' function. */
|
||||||
#define HAVE_SWAB 1
|
#define HAVE_SWAB 1
|
||||||
|
|
||||||
|
@ -332,9 +332,6 @@
|
|||||||
/* Define to 1 if you have the `semtimedop' function. */
|
/* Define to 1 if you have the `semtimedop' function. */
|
||||||
#define HAVE_SEMTIMEDOP 1
|
#define HAVE_SEMTIMEDOP 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `semun'. */
|
|
||||||
/* #undef HAVE_SEMUN */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `sem_init' function. */
|
/* Define to 1 if you have the `sem_init' function. */
|
||||||
#define HAVE_SEM_INIT 1
|
#define HAVE_SEM_INIT 1
|
||||||
|
|
||||||
@ -410,12 +407,6 @@
|
|||||||
/* Define this if struct dirent has d_type */
|
/* Define this if struct dirent has d_type */
|
||||||
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct xdr_ops'. */
|
|
||||||
#define HAVE_STRUCT_XDR_OPS 1
|
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct XDR::xdr_ops'. */
|
|
||||||
/* #undef HAVE_STRUCT_XDR__XDR_OPS */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `swab' function. */
|
/* Define to 1 if you have the `swab' function. */
|
||||||
#define HAVE_SWAB 1
|
#define HAVE_SWAB 1
|
||||||
|
|
||||||
|
@ -326,9 +326,6 @@
|
|||||||
/* Define to 1 if you have the `semtimedop' function. */
|
/* Define to 1 if you have the `semtimedop' function. */
|
||||||
#define HAVE_SEMTIMEDOP 1
|
#define HAVE_SEMTIMEDOP 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `semun'. */
|
|
||||||
/* #undef HAVE_SEMUN */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `sem_init' function. */
|
/* Define to 1 if you have the `sem_init' function. */
|
||||||
#define HAVE_SEM_INIT 1
|
#define HAVE_SEM_INIT 1
|
||||||
|
|
||||||
@ -404,12 +401,6 @@
|
|||||||
/* Define this if struct dirent has d_type */
|
/* Define this if struct dirent has d_type */
|
||||||
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct xdr_ops'. */
|
|
||||||
#define HAVE_STRUCT_XDR_OPS 1
|
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct XDR::xdr_ops'. */
|
|
||||||
/* #undef HAVE_STRUCT_XDR__XDR_OPS */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `swab' function. */
|
/* Define to 1 if you have the `swab' function. */
|
||||||
#define HAVE_SWAB 1
|
#define HAVE_SWAB 1
|
||||||
|
|
||||||
|
@ -326,9 +326,6 @@
|
|||||||
/* Define to 1 if you have the `semtimedop' function. */
|
/* Define to 1 if you have the `semtimedop' function. */
|
||||||
#define HAVE_SEMTIMEDOP 1
|
#define HAVE_SEMTIMEDOP 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `semun'. */
|
|
||||||
/* #undef HAVE_SEMUN */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `sem_init' function. */
|
/* Define to 1 if you have the `sem_init' function. */
|
||||||
#define HAVE_SEM_INIT 1
|
#define HAVE_SEM_INIT 1
|
||||||
|
|
||||||
@ -404,12 +401,6 @@
|
|||||||
/* Define this if struct dirent has d_type */
|
/* Define this if struct dirent has d_type */
|
||||||
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
#define HAVE_STRUCT_DIRENT_D_TYPE 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct xdr_ops'. */
|
|
||||||
#define HAVE_STRUCT_XDR_OPS 1
|
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `struct XDR::xdr_ops'. */
|
|
||||||
/* #undef HAVE_STRUCT_XDR__XDR_OPS */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `swab' function. */
|
/* Define to 1 if you have the `swab' function. */
|
||||||
#define HAVE_SWAB 1
|
#define HAVE_SWAB 1
|
||||||
|
|
||||||
|
@ -581,9 +581,6 @@
|
|||||||
/* Define to 1 if the system has the type `caddr_t'. */
|
/* Define to 1 if the system has the type `caddr_t'. */
|
||||||
#cmakedefine HAVE_CADDR_T 1
|
#cmakedefine HAVE_CADDR_T 1
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `semun'. */
|
|
||||||
#cmakedefine HAVE_SEMUN 1
|
|
||||||
|
|
||||||
/* Define to 1 if the system has the type `socklen_t'. */
|
/* Define to 1 if the system has the type `socklen_t'. */
|
||||||
#cmakedefine HAVE_SOCKLEN_T 1
|
#cmakedefine HAVE_SOCKLEN_T 1
|
||||||
|
|
||||||
|
@ -252,12 +252,6 @@
|
|||||||
/* alignment of double */
|
/* alignment of double */
|
||||||
#define FB_DOUBLE_ALIGN 8
|
#define FB_DOUBLE_ALIGN 8
|
||||||
|
|
||||||
/* Is union semun defined? */
|
|
||||||
#undef HAVE_SEMUN
|
|
||||||
|
|
||||||
/* Is struct xdr_ops defined? */
|
|
||||||
#undef HAVE_STRUCT_XDR_OPS
|
|
||||||
|
|
||||||
/* Functions */
|
/* Functions */
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
|
Loading…
Reference in New Issue
Block a user