From: Mike Frysinger Date: Wed, 11 Nov 2015 08:06:03 +0000 (+0000) Subject: gcc: configure: fix test == bashisms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a5571385680e5a7ea53268fb025399f9c861eb3;p=gcc.git gcc: configure: fix test == bashisms From-SVN: r230146 --- 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