configure.in: Use 'test a = b' not 'test a == b'.
authorZack Weinberg <zack@wolery.cumb.org>
Wed, 21 Jun 2000 00:27:53 +0000 (00:27 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 21 Jun 2000 00:27:53 +0000 (00:27 +0000)
* configure.in: Use 'test a = b' not 'test a == b'.
* configure: Regen.

From-SVN: r34624

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 8e3bc38572d65c860ec231af72aa2c640b213310..dd502a822e15bcd2ab0e27347765faae01d0bd76 100644 (file)
@@ -1,5 +1,8 @@
 2000-06-20  Zack Weinberg  <zack@wolery.cumb.org>
 
+       * configure.in: Use 'test a = b' not 'test a == b'.
+       * configure: Regen.
+
        * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
 
        * Makefile.in: Remove all references to HOST_INTLLIBS.
index 92e15f882fe2a69ac7e1a587f061359a16d3e45e..e5272df9cf8a383d31089d48dd4d09209613cf22 100755 (executable)
@@ -1445,7 +1445,7 @@ for ac_kw in inline __inline__ __inline; do
 #include "confdefs.h"
 
 int main() {
-} $ac_kw foo() {
+} int $ac_kw foo() {
 ; return 0; }
 EOF
 if { (eval echo configure:1452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@@ -6923,7 +6923,7 @@ fi
 # if cross compiling, disable NLS support.
 # It's not worth the trouble, at least for now.
 
-if test "${build}" != "${host}" && test "x$enable_nls" == "xyes"; then
+if test "${build}" != "${host}" && test "x$enable_nls" = "xyes"; then
   echo "configure: warning: Disabling NLS support for canadian cross compiler." 1>&2
   enable_nls=no
 fi
@@ -6983,7 +6983,7 @@ else
 int main() {
 
 /* Ultrix mips cc rejects this.  */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x = {0,0};
 /* SunOS 4.1.1 cc rejects this.  */
 char const *const *ccp;
 char **p;
@@ -7124,7 +7124,7 @@ else
 #include "confdefs.h"
 #include <alloca.h>
 int main() {
-char *p = alloca(2 * sizeof(int));
+void *p = alloca(2 * sizeof(int));
 ; return 0; }
 EOF
 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
index 52682dff1a8e0c2dc0eb78e832743d7f87ac4ccf..d2b5b3007addfc1bd3e3c5caa4b4ef2a3238a089 100644 (file)
@@ -4117,7 +4117,7 @@ AC_ARG_ENABLE(nls,
 # if cross compiling, disable NLS support.
 # It's not worth the trouble, at least for now.
 
-if test "${build}" != "${host}" && test "x$enable_nls" == "xyes"; then
+if test "${build}" != "${host}" && test "x$enable_nls" = "xyes"; then
   AC_MSG_WARN(Disabling NLS support for canadian cross compiler.)
   enable_nls=no
 fi