From 9a5571385680e5a7ea53268fb025399f9c861eb3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Nov 2015 08:06:03 +0000 Subject: [PATCH] gcc: configure: fix test == bashisms From-SVN: r230146 --- gcc/ChangeLog | 5 +++++ gcc/configure | 4 ++-- gcc/configure.ac | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea15ada40f8..e3a0432119a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-10 Mike Frysinger + + * configure.ac: Use = with test and not ==. + * configure: Regenerated. + 2015-11-11 David Edelsohn * config/rs6000/aix.h (TARGET_OS_AIX_CPP_BUILTINS): Add cpu and diff --git a/gcc/configure b/gcc/configure index 0cd85fb8646..4b4e72457a7 100755 --- a/gcc/configure +++ b/gcc/configure @@ -28329,7 +28329,7 @@ else enable_default_ssp=no fi -if test x$enable_default_ssp == xyes ; then +if test x$enable_default_ssp = xyes ; then $as_echo "#define ENABLE_DEFAULT_SSP 1" >>confdefs.h @@ -29181,7 +29181,7 @@ else enable_default_pie=no fi -if test x$enable_default_pie == xyes ; then +if test x$enable_default_pie = xyes ; then $as_echo "#define ENABLE_DEFAULT_PIE 1" >>confdefs.h diff --git a/gcc/configure.ac b/gcc/configure.ac index ed2e665b40c..42d8f136e9c 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -5463,7 +5463,7 @@ else enable_default_ssp=no fi], enable_default_ssp=no) -if test x$enable_default_ssp == xyes ; then +if test x$enable_default_ssp = xyes ; then AC_DEFINE(ENABLE_DEFAULT_SSP, 1, [Define if your target supports default stack protector and it is enabled.]) fi @@ -6028,7 +6028,7 @@ AC_ARG_ENABLE(default-pie, [enable Position Independent Executable as default])], enable_default_pie=$enableval, enable_default_pie=no) -if test x$enable_default_pie == xyes ; then +if test x$enable_default_pie = xyes ; then AC_DEFINE(ENABLE_DEFAULT_PIE, 1, [Define if your target supports default PIE and it is enabled.]) fi -- 2.30.2