diff options
author | Owen Taylor <otaylor@src.gnome.org> | 1997-12-10 02:28:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1997-12-10 02:28:14 +0000 |
commit | 68269a3f2a8dca675a700153e9758e0bd9a30d51 (patch) | |
tree | f2cd7bc4f69ffc3a7e5504ce1802ef6aca219ebf /glib/configure | |
parent | 244e4fe4c7faa35b4680703106097012afea47bb (diff) | |
download | gtk+-68269a3f2a8dca675a700153e9758e0bd9a30d51.tar.gz |
Configure changes:
Change test ! `...` to test -z `...`
(Harald Meland <Harald.Meland@usit.uio.no>)
Change $gtk_cv_x_locale to $need_x_locale so it isn't cached.
With --enable_debug, don't touch CFLAGS if they're already set.
- owt (OK, which platform does this break?)
--------------------------------------------------------------------
Diffstat (limited to 'glib/configure')
-rwxr-xr-x | glib/configure | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/configure b/glib/configure index b47f0289e8..6ec4a379a0 100755 --- a/glib/configure +++ b/glib/configure @@ -1297,7 +1297,7 @@ fi if test -n "$DEBUGFLAG"; then - CFLAGS="$DEBUGFLAG" + test "${CFLAGS+set}" = set || CFLAGS="$DEBUGFLAG" fi # Checks for programs. @@ -1594,16 +1594,16 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' if eval "test x$GCC = xyes"; then - if test ! `echo "$CFLAGS" | grep "\-Wall" 2> /dev/null` ; then + if test -z `echo "$CFLAGS" | grep "\-Wall" 2> /dev/null` ; then CFLAGS="$CFLAGS -Wall" fi if eval "test x$enable_ansi = xyes"; then - if test ! `echo "$CFLAGS" | grep "\-ansi" 2> /dev/null` ; then + if test -z `echo "$CFLAGS" | grep "\-ansi" 2> /dev/null` ; then CFLAGS="$CFLAGS -ansi" fi - if test ! `echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null` ; then + if test -z `echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null` ; then CFLAGS="$CFLAGS -pedantic" fi fi |