[binutils-gdb] POSIX shell compatibility of gas/configure.ac

Alan Modra amodra@sourceware.org
Fri Sep 25 02:19:00 GMT 2015


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6cd8405efd699ed7686671d6f0d9caf20757b7a3

commit 6cd8405efd699ed7686671d6f0d9caf20757b7a3
Author: Ryo ONODERA <ryo_on@yk.rim.or.jp>
Date:   Fri Sep 25 11:33:17 2015 +0930

    POSIX shell compatibility of gas/configure.ac
    
    	* configure.ac (nds32): Don't use bash == in tests.
    	* configure: Regenerate.

Diff:
---
 gas/ChangeLog    |  6 ++++++
 gas/configure    | 10 +++++-----
 gas/configure.ac | 10 +++++-----
 3 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 606dcf0..a324f03 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-25  Ryo ONODERA  <ryo_on@yk.rim.or.jp>
+
+	PR 18994
+	* configure.ac (nds32): Don't use bash == in tests.
+	* configure: Regenerate.
+
 2015-09-23  Nick Clifton  <nickc@redhat.com>
 
 	* config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
diff --git a/gas/configure b/gas/configure
index 62bf039..a74604f 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12333,7 +12333,7 @@ $as_echo "$with_arch" >&6; }
         # Decide features one by one.
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
-	if test "x${enable_dx_regs}" == xyes; then
+	if test "x${enable_dx_regs}" = xyes; then
 
 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
 
@@ -12347,7 +12347,7 @@ $as_echo "$enable_dx_regs" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
-	if test "x${enable_perf_ext}" == xno; then
+	if test "x${enable_perf_ext}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
 
@@ -12361,7 +12361,7 @@ $as_echo "$enable_perf_ext" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
-	if test "x${enable_perf_ext2}" == xno; then
+	if test "x${enable_perf_ext2}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
 
@@ -12375,7 +12375,7 @@ $as_echo "$enable_perf_ext2" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
-	if test "x${enable_string_ext}" == xno; then
+	if test "x${enable_string_ext}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
 
@@ -12389,7 +12389,7 @@ $as_echo "$enable_string_ext" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
-	if test "x${enable_audio_ext}" == xno; then
+	if test "x${enable_audio_ext}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
 
diff --git a/gas/configure.ac b/gas/configure.ac
index 4a98ca7..aa6bb1d 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -403,7 +403,7 @@ changequote([,])dnl
 
         # Decide features one by one.
         AC_MSG_CHECKING(for default configuration of --enable-dx-regs)
-	if test "x${enable_dx_regs}" == xyes; then
+	if test "x${enable_dx_regs}" = xyes; then
 	  AC_DEFINE(NDS32_DEFAULT_DX_REGS, 1,
 		    [Define value for nds32_dx_regs])
 	else
@@ -413,7 +413,7 @@ changequote([,])dnl
 	AC_MSG_RESULT($enable_dx_regs)
 
         AC_MSG_CHECKING(for default configuration of --enable-perf-ext)
-	if test "x${enable_perf_ext}" == xno; then
+	if test "x${enable_perf_ext}" = xno; then
 	  AC_DEFINE(NDS32_DEFAULT_PERF_EXT, 0,
 		    [Define value for nds32_perf_ext])
 	else
@@ -423,7 +423,7 @@ changequote([,])dnl
 	AC_MSG_RESULT($enable_perf_ext)
 
         AC_MSG_CHECKING(for default configuration of --enable-perf-ext2)
-	if test "x${enable_perf_ext2}" == xno; then
+	if test "x${enable_perf_ext2}" = xno; then
 	  AC_DEFINE(NDS32_DEFAULT_PERF_EXT2, 0,
 		    [Define value for nds32_perf_ext2])
 	else
@@ -433,7 +433,7 @@ changequote([,])dnl
 	AC_MSG_RESULT($enable_perf_ext2)
 
         AC_MSG_CHECKING(for default configuration of --enable-string-ext)
-	if test "x${enable_string_ext}" == xno; then
+	if test "x${enable_string_ext}" = xno; then
 	  AC_DEFINE(NDS32_DEFAULT_STRING_EXT, 0,
 		    [Define value for nds32_string_ext])
 	else
@@ -443,7 +443,7 @@ changequote([,])dnl
 	AC_MSG_RESULT($enable_string_ext)
 
         AC_MSG_CHECKING(for default configuration of --enable-audio-ext)
-	if test "x${enable_audio_ext}" == xno; then
+	if test "x${enable_audio_ext}" = xno; then
 	  AC_DEFINE(NDS32_DEFAULT_AUDIO_EXT, 0,
 		    [Define value for nds32_audio_ext])
 	else



More information about the Binutils-cvs mailing list