8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Autoconf: check for header files sys/ipc.h and sys/file.h.

This commit is contained in:
eku 2002-11-21 08:56:28 +00:00
parent 36311ee4e9
commit 1a94cf2642
4 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.93 2002-11-19 15:31:21 skidder Exp $
dnl $Id: configure.in,v 1.94 2002-11-21 08:56:21 eku Exp $
dnl ############################# INITIALISATION ###############################
@ -242,6 +242,7 @@ AC_CHECK_HEADERS(netinet/in.h rpc/rpc.h netconfig.h)
AC_CHECK_HEADERS(rpc/xdr.h,,,[#include <rpc/rpc.h>])
AC_CHECK_HEADERS(aio.h)
AC_CHECK_HEADERS(mntent.h mnttab.h sys/mntent.h sys/mnttab.h)
AC_CHECK_HEADERS(sys/ipc.h sys/file.h)
dnl Check for libraries
AC_CHECK_LIB(dl, main)

View File

@ -77,6 +77,8 @@
#undef HAVE_MNTTAB_H
#undef HAVE_SYS_MNTENT_H
#undef HAVE_SYS_MNTTAB_H
#undef HAVE_SYS_IPC_H
#undef HAVE_SYS_FILE_H
/* Functions */

View File

@ -59,8 +59,10 @@
#include "../jrd/jrd_proto.h"
#include <sys/types.h>
#if !defined(WIN32)
#ifdef HABE_SYS_IPC_H
#include <sys/ipc.h>
#endif
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#include <errno.h>

View File

@ -1,4 +1,4 @@
#ident "$Id: config.h.in,v 1.60 2002-11-18 13:22:57 eku Exp $"
#ident "$Id: config.h.in,v 1.61 2002-11-21 08:56:28 eku Exp $"
/*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete ports:
@ -58,6 +58,8 @@
#undef HAVE_MNTTAB_H
#undef HAVE_SYS_MNTENT_H
#undef HAVE_SYS_MNTTAB_H
#undef HAVE_SYS_IPC_H
#undef HAVE_SYS_FILE_H
/* Functions */