]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not
authorColin Watson <cjwatson@ubuntu.com>
Fri, 28 May 2010 17:13:48 +0000 (18:13 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Fri, 28 May 2010 17:13:48 +0000 (18:13 +0100)
to the empty string.

ChangeLog
configure.ac

index e3fb344aaed828df7beab57ccf8c400cdb795d57..5072a6026c58bd0e512eb88f0784b19c3446261f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-28  Colin Watson  <cjwatson@ubuntu.com>
+
+       * configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not
+       to the empty string.
+
 2010-05-28  BVK Chaitanya  <bvk.groups@gmail.com>
 
        Fix grub-emu issues on NetBSD, with gcc 4.1.3.
index ace6bd81d7868bb49aa38743a415c03b95827d20..31b179d46f936fef6a89432782dd2a26ed1c5689 100644 (file)
@@ -192,7 +192,7 @@ AC_PROG_LEX
 AC_PROG_MAKE_SET
 AC_PROG_MKDIR_P
 
-if test "x$LEX" = x; then
+if test "x$LEX" = "x:"; then
   AC_MSG_ERROR([flex is not found])
 else
   version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[[1]]*10000+x[[2]]*100+x[[3]]; }'`