On Wed, 22 Aug 2012, Art Haas wrote:
> 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 ==

Thanks for the report and patch, Art.  I applied this as below and
am copying the authors of the 2012-07-02 patch that added this.

Gerald


2012-08-26  Art Haas <ah...@impactweather.com>

        * cloog.m4 (CLOOG_INIT_FLAGS): Use = instead of == in test.

2012-08-26  Art Haas <ah...@impactweather.com>

        * configure: Regenerate.

Index: config/cloog.m4
===================================================================
--- config/cloog.m4     (revision 190683)
+++ config/cloog.m4     (working copy)
@@ -65,7 +65,7 @@
   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 '
Index: configure
===================================================================
--- configure   (revision 190683)
+++ configure   (working copy)
@@ -5796,7 +5796,7 @@
   if test "x${with_cloog_lib}" != x; then
     clooglibs="-L$with_cloog_lib"
   fi
-      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 '

Reply via email to