summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Carbery <damien.carbery@sun.com>2008-07-23 13:11:23 +0000
committerMurray Cumming <murrayc@src.gnome.org>2008-07-23 13:11:23 +0000
commit170c4a3816e10f53889a7564448961a67ae51071 (patch)
tree09bd00cd4ff2d56659fbb5cf950527aa22c70850
parentb6ac191cfe9f67248bc1128e0526d3918bd5972d (diff)
downloadglibmm-170c4a3816e10f53889a7564448961a67ae51071.tar.gz
Change grep to use -i when checking for GNU m4. This fixes the test on
2008-07-23 Damien Carbery <damien.carbery@sun.com> * scripts/macros.m4: Change grep to use -i when checking for GNU m4. This fixes the test on Solaris. Bug #423990. svn path=/trunk/; revision=693
-rw-r--r--ChangeLog5
-rw-r--r--scripts/macros.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 349e3b13..ffb6d4cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-23 Damien Carbery <damien.carbery@sun.com>
+
+ * scripts/macros.m4: Change grep to use -i when checking for GNU m4.
+ This fixes the test on Solaris. Bug #423990.
+
=== 2.17.1 ===
2008-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
diff --git a/scripts/macros.m4 b/scripts/macros.m4
index abc7f8ae..71afb22b 100644
--- a/scripts/macros.m4
+++ b/scripts/macros.m4
@@ -10,7 +10,7 @@ AC_CHECK_PROGS(M4, gm4 m4, m4)
if test "$M4" = "m4"; then
AC_MSG_CHECKING(whether m4 is GNU m4)
- if $M4 --version </dev/null 2>/dev/null | grep '^GNU [Mm]4 ' >/dev/null ; then
+ if $M4 --version </dev/null 2>/dev/null | grep -i '^GNU M4 ' >/dev/null ; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)