Removed duplicate saving of CFLAGS Add GTK_CFLAGS to CPPFLAGS for library

Sat Mar 28 22:42:49 1998  Owen Taylor  <owt1@cornell.edu>

	* configure.in: Removed duplicate saving of CFLAGS
	Add GTK_CFLAGS to CPPFLAGS for library tests,
	instead of to CFLAGS.
This commit is contained in:
Owen Taylor 1998-03-29 03:46:42 +00:00 committed by Owen Taylor
parent 6537125716
commit 424049739e
2 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,9 @@
Sat Mar 28 22:42:49 1998 Owen Taylor <owt1@cornell.edu>
* configure.in (gimpdir): Removed duplicate saving of
cflags. Add GTK_CFLAGS to CPPFLAGS for library tests,
instead of to CFLAGS.
Fri Mar 27 13:41:55 EST 1998 Matthew Wilson <msw@gimp.org> Fri Mar 27 13:41:55 EST 1998 Matthew Wilson <msw@gimp.org>
* app/floating_sel.c: Always update the drawable when converting * app/floating_sel.c: Always update the drawable when converting

View File

@ -63,12 +63,6 @@ AC_PROG_MAKE_SET
AC_PROG_CPP AC_PROG_CPP
AC_GIMP_CHECK AC_GIMP_CHECK
gimp_save_CFLAGS="$CFLAGS"
gimp_save_LIBS="$LIBS"
CFLAGS="$GTK_CFLAGS $CFLAGS"
LIBS="$LIBS $GTK_LIBS"
if eval "test x$GCC = xyes"; then if eval "test x$GCC = xyes"; then
if echo "$CFLAGS" | grep "\-Wall" > /dev/null 2> /dev/null; then if echo "$CFLAGS" | grep "\-Wall" > /dev/null 2> /dev/null; then
CFLAGS="$CFLAGS" CFLAGS="$CFLAGS"
@ -91,10 +85,10 @@ if eval "test x$GCC = xyes"; then
fi fi
fi fi
gimp_save_CFLAGS="$CFLAGS" gimp_save_CPPFLAGS="$CPPFLAGS"
gimp_save_LIBS="$LIBS" gimp_save_LIBS="$LIBS"
CFLAGS="$GTK_CFLAGS $CFLAGS" CPPFLAGS="$GTK_CFLAGS $CPPFLAGS"
LIBS="$LIBS $GTK_LIBS" LIBS="$LIBS $GTK_LIBS"
dnl Test for Xmu dnl Test for Xmu
@ -277,7 +271,7 @@ AC_CHECK_FUNC(random,
dnl check for difftime dnl check for difftime
AC_CHECK_FUNC(difftime, , AC_DEFINE(NO_DIFFTIME)) AC_CHECK_FUNC(difftime, , AC_DEFINE(NO_DIFFTIME))
CFLAGS="$gimp_save_CFLAGS" CPPFLAGS="$gimp_save_CPPFLAGS"
LIBS="$gimp_save_LIBS" LIBS="$gimp_save_LIBS"
gimpdatadir=$datadir/gimp gimpdatadir=$datadir/gimp