$NetBSD: patch-ab,v 1.1.1.1 2007/05/09 02:40:18 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
