summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 86ef382..bff29bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,7 +108,11 @@ else
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS `gtk-config --cflags`"
+dnl *** Preprocessor using CPPFLAGS
+ saved_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS `gtk-config --cflags`"
AC_CHECK_HEADER([gtk/gtk.h], [HAVE_GTK=yes], [HAVE_GTK=no])
+ CPPFLAGS=$saved_CPPFLAGS
CFLAGS=$saved_CFLAGS
fi