From 063a4b851f3a4fb54f0088cbe4353863359e6629 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 21 Jun 2000 00:27:53 +0000 Subject: [PATCH] configure.in: Use 'test a = b' not 'test a == b'. * configure.in: Use 'test a = b' not 'test a == b'. * configure: Regen. From-SVN: r34624 --- gcc/ChangeLog | 3 +++ gcc/configure | 8 ++++---- gcc/configure.in | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e3bc38572d..dd502a822e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2000-06-20 Zack Weinberg + * 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. diff --git a/gcc/configure b/gcc/configure index 92e15f882fe..e5272df9cf8 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 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 diff --git a/gcc/configure.in b/gcc/configure.in index 52682dff1a8..d2b5b3007ad 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -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 -- 2.30.2