Skip to content

Commit a7d400a

Browse files
committed
Fix inadequate quoting in test for AIX xlc.
1 parent 5d844d3 commit a7d400a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ echo "${ECHO_T}no" >&6
30813081
fi
30823082
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30833083

3084-
elif test ${CC} = "xlc"; then
3084+
elif test x"${CC}" = x"xlc"; then
30853085
# AIX xlc has to have strict aliasing turned off too
30863086
echo "$as_me:$LINENO: checking if $CC supports -qnoansialias" >&5
30873087
echo $ECHO_N "checking if $CC supports -qnoansialias... $ECHO_C" >&6

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.470 2006/07/27 13:20:24 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.471 2006/08/04 15:16:14 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -284,7 +284,7 @@ choke me
284284

285285
# Disable strict-aliasing rules; needed for gcc 3.3+
286286
PGAC_PROG_CC_CFLAGS_OPT([-fno-strict-aliasing])
287-
elif test ${CC} = "xlc"; then
287+
elif test x"${CC}" = x"xlc"; then
288288
# AIX xlc has to have strict aliasing turned off too
289289
PGAC_PROG_CC_CFLAGS_OPT([-qnoansialias])
290290
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy