mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 03:45:49 +01:00
added -posix check for NeXTStep
-Yosh
This commit is contained in:
parent
e0deb60f7a
commit
1b2750bd90
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
12
configure.in
12
configure.in
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user