changes to support alternative header locations

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34290 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-12-15 09:42:39 +00:00
parent 1c713d9ae3
commit ee3f0b14a0
25 changed files with 19211 additions and 4285 deletions

View file

@ -64,6 +64,16 @@
#import "GSNetwork.h"
#import "GSFileHandle.h"
#if defined(HAVE_SYS_SIGNAL_H)
# include <sys/signal.h>
#elif defined(HAVE_SIGNAL_H)
# include <signal.h>
#endif
#if defined(HAVE_SYS_FILE_H)
# include <sys/file.h>
#endif
#if defined(__MINGW__)
#include <winsock2.h>
#else
@ -73,12 +83,16 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <signal.h>
#endif /* __MINGW__ */
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
#if defined(HAVE_SYS_FCNTL_H)
# include <sys/fcntl.h>
#elif defined(HAVE_FCNTL_H)
# include <fcntl.h>
#endif
#include <sys/ioctl.h>
#ifdef __svr4__
#include <sys/filio.h>

View file

@ -1,5 +1,8 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
@ -93,9 +96,6 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION

3285
SSL/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -103,7 +103,26 @@ case "$target_os" in
esac
AC_CHECK_HEADERS(libc.h limits.h malloc.h memory.h string.h signal.h sys/signal.h sys/param.h sys/wait.h sys/file.h sys/fcntl.h sys/ioctl.h sys/stropts.h unistd.h utime.h stdint.h sys/inttypes.h)
AC_CHECK_HEADERS(dnl
fcntl.h dnl
libc.h dnl
limits.h dnl
malloc.h dnl
memory.h dnl
signal.h dnl
stdint.h dnl
string.h dnl
sys/fcntl.h dnl
sys/file.h dnl
sys/inttypes.h dnl
sys/ioctl.h dnl
sys/param.h dnl
sys/signal.h dnl
sys/stropts.h dnl
sys/wait.h dnl
unistd.h dnl
utime.h dnl
)
#--------------------------------------------------------------------
# Simple way to add a bunch of paths to the flags