This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
egcs-CVS19980910, bootstrap failure in libchill + patch
- To: egcs-patches at cygnus dot com
- Subject: egcs-CVS19980910, bootstrap failure in libchill + patch
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 10 Sep 1998 21:20:49 -0400 (EDT)
When bootstrapping today's (19980910) checkout, I got the
following error in the libchill directory:
> creating cache ./config.cache
> ./configure[523]: =: not found
> make[1]: *** [configure-target-libchill] Error 127
I believe this occurs because configure.in uses "if [ ]"
instead of "if test" and square brackets happen to be special
characters. When m4 processes configure.in they are stripped out.
Here's a patch. Okay to install?
--Kaveh
Thu Sep 10 21:17:57 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Use "if test" instead of "if [ ]".
diff -rup orig/egcs-CVS19980910/libchill/configure.in egcs-CVS19980910/libchill/configure.in
--- orig/egcs-CVS19980910/libchill/configure.in Thu Sep 10 14:21:44 1998
+++ egcs-CVS19980910/libchill/configure.in Thu Sep 10 20:56:46 1998
@@ -21,8 +21,8 @@
AC_INIT(chillrt0.c)
-if [ "${srcdir}" = "." ] ; then
- if [ "${with_target_subdir}" != "." ] ; then
+if test "${srcdir}" = "." ; then
+ if test "${with_target_subdir}" != "." ; then
topsrcdir=${with_multisrctop}../..
else
topsrcdir=${with_multisrctop}..