diff mbox

Small change for cloog.m4 configuration file

Message ID tqgvcgay7df.fsf@impactweather.com
State New
Headers show

Commit Message

Art Haas Aug. 22, 2012, 8:55 p.m. UTC
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 mbox

Patch

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 '