This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Small change for cloog.m4 configuration file
- From: Art Haas <ahaas at impactweather dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Aug 2012 20:55:08 +0000
- Subject: [PATCH] Small change for cloog.m4 configuration file
Hi.
I've been having to make this small change to the 'configure' script
when building on sparc-sun-solaris2.10 to accomodate the shell executing
the script. Without the change, I get an error message like so:
configure: test: unknown operator ==
With the double equals being replaced by a single equal, the configure
script executes and GCC builds properly. I think this code was added to
the file in early July. The patch below fixes the source of the problem
in config/cloog.m4.
Thanks.
Art Haas
diff --git a/config/cloog.m4 b/config/cloog.m4
index 270cf8f..5193f4e 100644
--- a/config/cloog.m4
+++ b/config/cloog.m4
@@ -65,7 +65,7 @@ AC_DEFUN([CLOOG_INIT_FLAGS],
fi
dnl If no --with-cloog flag was specified and there is in-tree ClooG
dnl source, set up flags to use that.
- if test "x${clooginc}" == x && test "x${clooglibs}" == x \
+ if test "x${clooginc}" = x && test "x${clooglibs}" = x \
&& test -d ${srcdir}/cloog; then
clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '