aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/c-compiler.m44
-rwxr-xr-xconfigure2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4
index d5fdd2ff9e3..256830a881a 100644
--- a/config/c-compiler.m4
+++ b/config/c-compiler.m4
@@ -1,5 +1,5 @@
# Macros to detect C compiler features
-# $Header: /cvsroot/pgsql/config/c-compiler.m4,v 1.10 2003/11/01 20:48:51 petere Exp $
+# $Header: /cvsroot/pgsql/config/c-compiler.m4,v 1.10.2.1 2004/02/02 04:07:40 tgl Exp $
# PGAC_C_SIGNED
@@ -146,7 +146,7 @@ done
CFLAGS=$pgac_save_CFLAGS
])
-if test "$ac_env_CFLAGS_set" != set; then
+if test x"$pgac_cv_prog_cc_no_strict_aliasing" != x""; then
CFLAGS="$CFLAGS $pgac_cv_prog_cc_no_strict_aliasing"
fi])# PGAC_PROG_CC_NO_STRICT_ALIASING
diff --git a/configure b/configure
index 11861f9b7ec..b7f3d2bab6f 100755
--- a/configure
+++ b/configure
@@ -2471,7 +2471,7 @@ fi
echo "$as_me:$LINENO: result: $pgac_cv_prog_cc_no_strict_aliasing" >&5
echo "${ECHO_T}$pgac_cv_prog_cc_no_strict_aliasing" >&6
-if test "$ac_env_CFLAGS_set" != set; then
+if test x"$pgac_cv_prog_cc_no_strict_aliasing" != x""; then
CFLAGS="$CFLAGS $pgac_cv_prog_cc_no_strict_aliasing"
fi