]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | --- configure.ac 2018-11-29 13:51:14.495012138 +0100 |
2 | +++ configure.ac 2018-11-29 13:51:45.308095312 +0100 | |
3 | @@ -10,7 +10,6 @@ | |
4 | LT_INIT | |
5 | #AC_CANONICAL_HOST | |
6 | ||
7 | -CFLAGS= | |
8 | default_fink_path=/sw | |
9 | case $host_os in | |
10 | darwin*) | |
11 | @@ -78,20 +77,7 @@ | |
12 | AC_PROG_MAKE_SET | |
13 | ||
14 | AC_PROG_LEX | |
15 | -if test "x$LEX" != xflex; then | |
16 | - echo "************************" | |
17 | - echo "flex not found" | |
18 | - echo "************************" | |
19 | - exit -1 | |
20 | -fi | |
21 | - | |
22 | AC_PROG_YACC | |
23 | -if test "x$YACC" != "xbison -y"; then | |
24 | - echo "************************" | |
25 | - echo "bison not found" | |
26 | - echo "************************" | |
27 | - exit -1 | |
28 | -fi | |
29 | ||
30 | # Checks for libraries. | |
31 | lib_err_msg="add its path to LDFLAGS\nsee ./configure --help" | |
32 | @@ -121,13 +134,6 @@ | |
33 | ||
34 | CFLAGS="$CFLAGS -Wall -W -Wfloat-equal -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wredundant-decls \ | |
35 | -Wendif-labels -Wshadow -pipe -ffast-math -U__STRICT_ANSI__ -std=gnu99" | |
36 | -if test "$with_debug" == "y"; then | |
37 | - CFLAGS="$CFLAGS -g3 -O0" | |
38 | -elif test "$with_enable_optimized" != "no"; then | |
39 | - CFLAGS="$CFLAGS -g -O2" | |
40 | -else | |
41 | - CFLAGS="$CFLAGS -fomit-frame-pointer -O3" | |
42 | -fi | |
43 | ||
44 | if test "$with_safe_clean" != "n"; then | |
45 | CFLAGS="$CFLAGS -DSAFE_CLEAN" |