This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Small change for cloog.m4 configuration file
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Art Haas <ahaas at impactweather dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Richard Guenther <rguenther at suse dot de>, Michael Matz <matz at suse dot de>, Tobias Grosser <tobias at grosser dot es>, Sebastian Pop <sebpop at gmail dot com>
- Date: Sun, 26 Aug 2012 14:20:18 +0200 (CEST)
- Subject: Re: [PATCH] Small change for cloog.m4 configuration file
- References: <tqgvcgay7df.fsf@impactweather.com>
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.
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 '