diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-06-08 22:52:21 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-06-08 22:52:21 +0000 |
commit | ba0567786bdd5736f8755b8877a3748fe75d0cc5 (patch) | |
tree | e7371013e4ffe9d0f6afcdb39f323b45e84d042c | |
parent | d23c74dd447fb268bea88390087a222c14d317c5 (diff) | |
download | gdk-pixbuf-ba0567786bdd5736f8755b8877a3748fe75d0cc5.tar.gz |
Save cflags for all backends, not just X11.
Save cflags for all backends, not just X11.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 3 | ||||
-rw-r--r-- | configure.in | 28 |
8 files changed, 38 insertions, 11 deletions
@@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index f14e04802..73673257d 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f14e04802..73673257d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index f14e04802..73673257d 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index f14e04802..73673257d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f14e04802..73673257d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f14e04802..73673257d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,6 @@ +Thu Jun 8 15:44:42 2000 Elliot Lee <sopwith@redhat.com> + * configure.in: Save cflags for all backends, not just X11. + Wed Jun 7 15:44:42 2000 Elliot Lee <sopwith@redhat.com> * configure.in: Use $PANGO_CONFIG instead of pango-config diff --git a/configure.in b/configure.in index 2185f5189..28eaea121 100644 --- a/configure.in +++ b/configure.in @@ -213,13 +213,13 @@ LIBS="$LIBS -lm" AC_TRY_RUN([#include <math.h> int main (void) { return (log(1) != log(1.)); }], AC_MSG_RESULT(none needed), - gtk_save_CFLAGS=$CFLAGS + gtk_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -std1" AC_TRY_RUN([#include <math.h> int main (void) { return (log(1) != log(1.)); }], AC_MSG_RESULT(-std1), AC_MSG_RESULT() - CFLAGS=$gtk_save_CFLAGS + CFLAGS="$gtk_save_CFLAGS" AC_MSG_WARN( [No ANSI prototypes found in library. (-std1 didn't work.)]), true @@ -248,12 +248,12 @@ 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), - gtk_save_CFLAGS=$CFLAGS + gtk_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -posix" AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], AC_MSG_RESULT(-posix), AC_MSG_RESULT() - CFLAGS=$gtk_save_CFLAGS + CFLAGS="$gtk_save_CFLAGS" AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)]))) if test x$with_glib = xyes ; then @@ -323,6 +323,9 @@ AC_CHECK_HEADERS(dirent.h, AC_DEFINE(HAVE_DIRENT_H)) AC_CHECK_HEADERS(pwd.h, AC_DEFINE(HAVE_PWD_H)) AC_CHECK_HEADERS(sys/time.h, AC_DEFINE(HAVE_SYS_TIME_H)) +saved_cflags="$CFLAGS" +saved_ldflags="$LDFLAGS" + if test "x$gdktarget" = "xx11"; then # Find the X11 include and library directories AC_PATH_X @@ -332,9 +335,6 @@ if test "x$gdktarget" = "xx11"; then x_includes="/usr/include" fi - saved_cflags="$CFLAGS" - saved_ldflags="$LDFLAGS" - CFLAGS="$CFLAGS $X_CFLAGS" LDFLAGS="$LDFLAGS $X_LDFLAGS $X_LIBS" @@ -457,6 +457,8 @@ if test "x$gdktarget" = "xx11"; then #gtktargetlib = "libgtk-x11.la" AM_CONDITIONAL(USE_X11, true) +else + AM_CONDITIONAL(USE_X11, false) fi if test "x$gdktarget" = "xnanox"; then @@ -467,8 +469,8 @@ if test "x$gdktarget" = "xnanox"; then more_libs="-lnano-X" more_includes= - gdktargetlib = "libgdk-nanox.la" - gtktargetlib = "libgtk-nanox.la" + gdktargetlib="libgdk-nanox.la" + gtktargetlib="libgtk-nanox.la" with_xinput=no AC_DEFINE(XINPUT_NONE) @@ -478,6 +480,8 @@ if test "x$gdktarget" = "xnanox"; then x_libs= xinput_progs= AM_CONDITIONAL(USE_NANOX, true) +else + AM_CONDITIONAL(USE_NANOX, false) fi if test "x$gdktarget" = "xlinux-fb"; then @@ -486,8 +490,8 @@ if test "x$gdktarget" = "xlinux-fb"; then more_libs= more_includes= - gdktargetlib = "libgdk-linux-fb.la" - gtktargetlib = "libgtk-linux-fb.la" + gdktargetlib="libgdk-linux-fb.la" + gtktargetlib="libgtk-linux-fb.la" with_xinput=no AC_DEFINE(XINPUT_NONE) @@ -498,6 +502,8 @@ if test "x$gdktarget" = "xlinux-fb"; then xinput_progs= AM_CONDITIONAL(USE_LINUX_FB, true) +else + AM_CONDITIONAL(USE_LINUX_FB, false) fi # |