added -posix check for NeXTStep

-Yosh
This commit is contained in:
Manish Singh 1998-09-09 09:52:31 +00:00
parent e0deb60f7a
commit 1b2750bd90
9 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -1,3 +1,7 @@
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Tue Sep 8 05:04:06 1998 Tim Janik <timj@gtk.org>
* glib.h: abandon the use of ATEXIT(), we keep the fallback

View File

@ -129,6 +129,18 @@ AC_TRY_RUN([#include <math.h>
)
LIBS=$glib_save_LIBS
dnl NeXTStep cc seems to need this
AC_MSG_CHECKING([for extra flags for POSIX compliance])
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
AC_MSG_RESULT(none needed),
glib_save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -posix"
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
AC_MSG_RESULT(-posix),
AC_MSG_RESULT()
CFLAGS=$glib_save_CFLAGS
AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])))
# Checks for header files.
AC_HEADER_STDC