Skip to content
Snippets Groups Projects
Commit a7d400ad authored by Tom Lane's avatar Tom Lane
Browse files

Fix inadequate quoting in test for AIX xlc.

parent 5d844d32
No related branches found
No related tags found
No related merge requests found
...@@ -3081,7 +3081,7 @@ echo "${ECHO_T}no" >&6 ...@@ -3081,7 +3081,7 @@ echo "${ECHO_T}no" >&6
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   
elif test ${CC} = "xlc"; then elif test x"${CC}" = x"xlc"; then
# AIX xlc has to have strict aliasing turned off too # AIX xlc has to have strict aliasing turned off too
echo "$as_me:$LINENO: checking if $CC supports -qnoansialias" >&5 echo "$as_me:$LINENO: checking if $CC supports -qnoansialias" >&5
echo $ECHO_N "checking if $CC supports -qnoansialias... $ECHO_C" >&6 echo $ECHO_N "checking if $CC supports -qnoansialias... $ECHO_C" >&6
......
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.470 2006/07/27 13:20:24 momjian Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.471 2006/08/04 15:16:14 tgl Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -284,7 +284,7 @@ choke me ...@@ -284,7 +284,7 @@ choke me
# Disable strict-aliasing rules; needed for gcc 3.3+ # Disable strict-aliasing rules; needed for gcc 3.3+
PGAC_PROG_CC_CFLAGS_OPT([-fno-strict-aliasing]) PGAC_PROG_CC_CFLAGS_OPT([-fno-strict-aliasing])
elif test ${CC} = "xlc"; then elif test x"${CC}" = x"xlc"; then
# AIX xlc has to have strict aliasing turned off too # AIX xlc has to have strict aliasing turned off too
PGAC_PROG_CC_CFLAGS_OPT([-qnoansialias]) PGAC_PROG_CC_CFLAGS_OPT([-qnoansialias])
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment