This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch][plugins] Check the gcc version
> It's not likely, but still possible, to encounter shells on some systems
> that do not understand $(command substititution), so please rewrite this
> as `command substitution`. ÂAFAICS the former isn't used elsewhere in
> GCC's configury.
Is the attached patch OK?
2009-04-30 Rafael Avila de Espindola <espindola@google.com>
* configure.ac: use ` ` instead of $()
* configure: Regenerate.
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 306adc1..4e0835e 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1496,11 +1496,11 @@ EOF
changequote([,])dnl
changequote(,)dnl
-gcc_BASEVER=$(cat $srcdir/BASE-VER)
-gcc_DEVPHASE=$(cat $srcdir/DEV-PHASE)
-gcc_DATESTAMP=$(cat $srcdir/DATESTAMP)
+gcc_BASEVER=`cat $srcdir/BASE-VER`
+gcc_DEVPHASE=`cat $srcdir/DEV-PHASE`
+gcc_DATESTAMP=`cat $srcdir/DATESTAMP`
if test -f $srcdir/REVISION ; then
- gcc_REVISION=$(cat $srcdir/REVISION)
+ gcc_REVISION=`cat $srcdir/REVISION`
else
gcc_REVISION=""
fi