On Thu, Jul 18, 2013 at 01:59:37PM -0700, Matt Turner wrote:
> On Mon, Apr 15, 2013 at 1:46 PM, Andreas Oberritter <o...@saftware.de> wrote:
> > This is required in case a wrapper or symlink is used. This patch
> > has also been sent upstream, awaiting moderation.
> >
> > Signed-off-by: Andreas Oberritter <o...@saftware.de>
> > ---
> 
> Thanks, committed (finally).

Trying to catch up with recent versions of mesa and noticed that
this introduced the use of the gnu specific empty string
escape sequences that were removed from configure.ac for
the llvm-config tests in favour of using -w.

How about something like the following which makes the test
work as intended on OpenBSD?

diff --git m4/ax_prog_flex.m4 m4/ax_prog_flex.m4
index 82fbc30..f83f42c 100644
--- m4/ax_prog_flex.m4
+++ m4/ax_prog_flex.m4
@@ -53,7 +53,7 @@ AC_DEFUN([AX_PROG_FLEX], [
   AC_REQUIRE([AC_PROG_EGREP])
 
   AC_CACHE_CHECK([if flex is the lexer generator],[ax_cv_prog_flex],[
-    AS_IF([$LEX --version 2>/dev/null | $EGREP -q '^\<flex\>'],
+    AS_IF([$LEX --version 2>/dev/null | $EGREP -qw '^flex'],
       [ax_cv_prog_flex=yes], [ax_cv_prog_flex=no])
   ])
   AS_IF([test "$ax_cv_prog_flex" = "yes"],
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to