summaryrefslogtreecommitdiff
path: root/cad/adms/patches/patch-ab
blob: 31da2fd244084dd5d58914a9d12bd28dbbace779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$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