* [PATCH] gcc: configure: fix test == bashisms
@ 2015-11-11 8:06 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2015-11-11 8:06 UTC (permalink / raw)
To: gcc-patches; +Cc: law
---
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 ea15ada..e3a0432 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac: Use = with test and not ==.
+ * configure: Regenerated.
+
2015-11-11 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/aix.h (TARGET_OS_AIX_CPP_BUILTINS): Add cpu and
diff --git a/gcc/configure b/gcc/configure
index 0cd85fb..4b4e724 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 ed2e665b..42d8f13 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.6.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-11 8:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 8:06 [PATCH] gcc: configure: fix test == bashisms Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).