summaryrefslogtreecommitdiff
path: root/cad/adms/patches/patch-aa
blob: 05c9836f3265ac04ffbd1fe5e3752ba8784e4791 (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
$NetBSD: patch-aa,v 1.2 2007/05/12 11:33:42 dmcmahill Exp $

- don't force the use of gcc.
- avoid a check for flex/bison which fail if you have specified
  the full path.

--- configure.ac.orig	2007-02-01 21:29:53.000000000 +0000
+++ configure.ac
@@ -494,7 +494,7 @@ AC_INIT([adms],[2.2.5],[r29173@users.sou
 AC_CONFIG_HEADER([config.h])
 
 # force use of gnu compiler
-CC=gcc
+#CC=gcc
 
 # specific configuration.
 AC_CONFIG_AUX_DIR([auxconf])
@@ -512,14 +512,14 @@ AC_PROG_LN_S
 AC_PROG_MAKE_SET
 
 #force use of flex/bison
-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
+#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