22c15cdb54
configure test that forces the name of LEX and YACC to be "flex" and "bison -y". The old test doesn't even allow a path name.
42 lines
1.5 KiB
Text
42 lines
1.5 KiB
Text
$NetBSD: patch-ab,v 1.2 2007/05/12 11:33:42 dmcmahill Exp $
|
|
|
|
--- configure.orig 2007-02-05 12:21:02.000000000 +0000
|
|
+++ configure
|
|
@@ -1945,7 +1945,7 @@ ac_config_headers="$ac_config_headers co
|
|
|
|
|
|
# force use of gnu compiler
|
|
-CC=gcc
|
|
+#CC=gcc
|
|
|
|
# specific configuration.
|
|
ac_aux_dir=
|
|
@@ -4116,20 +4116,14 @@ fi
|
|
|
|
|
|
#force use of flex/bison
|
|
-if test "x$LEX" != "xflex"; then
|
|
- { echo "$as_me:$LINENO: WARNING: Program flex not found (found $LEX)" >&5
|
|
-echo "$as_me: WARNING: Program flex not found (found $LEX)" >&2;}
|
|
- { { echo "$as_me:$LINENO: error: Please install gnu flex from http://www.gnu.org/software/flex/" >&5
|
|
-echo "$as_me: error: Please install gnu flex from http://www.gnu.org/software/flex/" >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
-fi
|
|
-if test "x$YACC" != "xbison -y"; then
|
|
- { echo "$as_me:$LINENO: WARNING: Program bison not found (found $YACC)" >&5
|
|
-echo "$as_me: WARNING: Program bison not found (found $YACC)" >&2;}
|
|
- { { echo "$as_me:$LINENO: error: Please install gnu bison from http://www.gnu.org/software/bison/" >&5
|
|
-echo "$as_me: error: Please install gnu bison from http://www.gnu.org/software/bison/" >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
-fi
|
|
+#if test "x$LEX" != "xflex"; then
|
|
+# AC_MSG_WARN(Program flex not found (found $LEX))
|
|
+# AC_MSG_ERROR(Please install gnu flex from http://www.gnu.org/software/flex/)
|
|
+#fi
|
|
+#if test "x$YACC" != "xbison -y"; then
|
|
+# AC_MSG_WARN(Program bison not found (found $YACC))
|
|
+# AC_MSG_ERROR(Please install gnu bison from http://www.gnu.org/software/bison/)
|
|
+#fi
|
|
|
|
#advice use of gcc
|
|
if test "x$GCC" = "xyes"; then
|