$NetBSD: patch-gas_configure,v 1.1 2015/03/23 16:01:28 martin Exp $

Portability fixes

--- gas/configure.orig	2014-12-23 15:22:05.000000000 +0100
+++ gas/configure	2015-03-23 14:47:32.000000000 +0100
@@ -12331,7 +12331,7 @@
         # 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
 
@@ -12345,7 +12345,7 @@
 
         { $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
 
@@ -12359,7 +12359,7 @@
 
         { $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
 
@@ -12373,7 +12373,7 @@
 
         { $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
 
@@ -12387,7 +12387,7 @@
 
         { $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
 
