mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
Autoconf: check for semun
This commit is contained in:
parent
5f9ab6eac0
commit
d1452af022
@ -1,4 +1,4 @@
|
||||
dnl $Id: configure.in,v 1.77 2002-11-12 07:46:32 eku Exp $
|
||||
dnl $Id: configure.in,v 1.78 2002-11-12 09:17:47 eku Exp $
|
||||
|
||||
dnl ############################# INITIALISATION ###############################
|
||||
|
||||
@ -260,6 +260,7 @@ AC_TYPE_SIGNAL
|
||||
AC_CHECK_TYPE(socklen_t,int)
|
||||
AC_SYS_LARGEFILE
|
||||
AC_CHECK_SIZEOF(void*)
|
||||
AC_CHECK_TYPE(semun)
|
||||
|
||||
dnl EKU: try to determine the alignment of long and double
|
||||
dnl replaces ALIGNMENT and DOUBLE_ALIGN in src/jrd/common.h
|
||||
@ -330,7 +331,7 @@ dnl ##################### DO NOT ADD ANY TESTS BELOW ###########################
|
||||
|
||||
dnl The following file defines the version number strings
|
||||
. ./src/misc/writeBuildNum.sh
|
||||
FIREBIRD_PACKAGE_VERSION="0a.Alpha3"
|
||||
FIREBIRD_PACKAGE_VERSION="0a.Alpha4"
|
||||
|
||||
|
||||
FIREBIRD_LIBGDS_SO=libfbembed.so.${FIREBIRD_VERSION}
|
||||
|
@ -106,6 +106,9 @@
|
||||
/* sizeof(void *) = 8 ==> HAS_64BIT_POINTERS */
|
||||
#define SIZEOF_VOID_P 4
|
||||
|
||||
/* Is union semun defined? */
|
||||
#undef HAVE_SEMUN
|
||||
|
||||
/* alignment of long */
|
||||
#define ALIGNMENT 4
|
||||
|
||||
|
@ -44,19 +44,7 @@
|
||||
#include "../jrd/common.h"
|
||||
#include "../lock/fparamv3.h"
|
||||
|
||||
#if (defined linux || defined FREEBSD || defined NETBSD || defined DARWIN )
|
||||
#define SEMUN
|
||||
#endif
|
||||
|
||||
#ifdef sun
|
||||
#ifndef SOLARIS
|
||||
#define SEMUN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SEMUN
|
||||
#undef SEMUN
|
||||
#else
|
||||
#ifndef HAVE_SEMUN
|
||||
union semun {
|
||||
int val;
|
||||
struct semid_ds *buf;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ident "$Id: config.h.in,v 1.51 2002-11-10 16:27:54 nmcc Exp $"
|
||||
#ident "$Id: config.h.in,v 1.52 2002-11-12 09:17:52 eku Exp $"
|
||||
|
||||
/*
|
||||
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete ports:
|
||||
@ -88,6 +88,9 @@
|
||||
/* sizeof(void *) = 8 ==> HAS_64BIT_POINTERS */
|
||||
#define SIZEOF_VOID_P 4
|
||||
|
||||
/* Is union semun defined? */
|
||||
#undef HAVE_SEMUN
|
||||
|
||||
/* alignment of long */
|
||||
#define ALIGNMENT 4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user