diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-06-21 00:27:53 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-06-21 00:27:53 +0000 |
commit | 063a4b851f3a4fb54f0088cbe4353863359e6629 (patch) | |
tree | c780844726735633cf58566202cdb0bdc7b6fe24 | |
parent | 6650a443a830b419596bbcb858684cc57f26dd8f (diff) | |
download | gcc-063a4b851f3a4fb54f0088cbe4353863359e6629.zip gcc-063a4b851f3a4fb54f0088cbe4353863359e6629.tar.gz gcc-063a4b851f3a4fb54f0088cbe4353863359e6629.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rwxr-xr-x | gcc/configure | 8 | ||||
-rw-r--r-- | gcc/configure.in | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e3bc38..dd502a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/configure b/gcc/configure index 92e15f8..e5272df 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 <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 diff --git a/gcc/configure.in b/gcc/configure.in index 52682df..d2b5b30 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 |