diff mbox

Small change for cloog.m4 configuration file

Message ID alpine.LNX.2.00.1208261416330.5727@ghan.fvgr
State New
Headers show

Commit Message

Gerald Pfeifer Aug. 26, 2012, 12:20 p.m. UTC
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 <ahaas@impactweather.com>

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

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

	* configure: Regenerate.

Comments

Tobias Grosser Aug. 26, 2012, 12:32 p.m. UTC | #1
On 08/26/2012 02:20 PM, Gerald Pfeifer wrote:
> 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.

Thanks Art and Gerald for fixing this.

Tobi
diff mbox

Patch

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 '