]>
Commit | Line | Data |
---|---|---|
95d87f1c JB |
1 | diff -Nur dictd-1.5.5.orig/configure.in dictd-1.5.5/configure.in |
2 | --- dictd-1.5.5.orig/configure.in Sat Nov 17 20:19:56 2001 | |
3 | +++ dictd-1.5.5/configure.in Sat Nov 17 20:20:57 2001 | |
71f5fb26 | 4 | @@ -42,23 +42,14 @@ |
95d87f1c JB |
5 | echo Configuring for dict |
6 | echo . | |
7 | ||
8 | -AC_ARG_WITH(cc, | |
9 | -[ --with-cc with cc (instead of gcc)], | |
10 | -[ | |
11 | -if test "x${withval}" = xyes; then | |
12 | - CC=cc | |
13 | -fi | |
14 | -]) | |
15 | - | |
16 | AC_CANONICAL_HOST | |
17 | AC_PROG_CC | |
71f5fb26 | 18 | dnl AC_PROG_CXX |
19 | ||
95d87f1c JB |
20 | AC_ISC_POSIX |
21 | ||
22 | REALCC="$CC" | |
23 | if test "$CC" = gcc; then | |
24 | - CFLAGS='-g -O' | |
25 | WCFLAGS='-Wall' | |
26 | case "$host" in | |
27 | dnl did include: -Winline | |
28 | @@ -68,18 +59,12 @@ | |
29 | esac | |
30 | # Silence flex/bison output | |
31 | SCFLAGS="-Wno-implicit -Wno-unused" | |
32 | -else | |
33 | - CFLAGS='-g' | |
34 | fi | |
35 | ||
36 | local_dmalloc=0 | |
37 | local_libmaa=0 | |
38 | local_zlib=0 | |
39 | ||
40 | -AC_ARG_WITH(cflags, | |
41 | -[ --with-cflags=FLAGS use FLAGS for CFLAGS], | |
42 | -CFLAGS="$withval") | |
43 | - | |
44 | AC_ARG_WITH(prof, | |
45 | [ --with-prof with prof profiling], | |
46 | [ | |
47 | diff -Nur dictd-1.5.5.orig/libmaa/configure.in dictd-1.5.5/libmaa/configure.in | |
48 | --- dictd-1.5.5.orig/libmaa/configure.in Mon Jul 6 00:14:34 1998 | |
49 | +++ dictd-1.5.5/libmaa/configure.in Sat Nov 17 20:21:30 2001 | |
71f5fb26 | 50 | @@ -43,25 +43,14 @@ |
95d87f1c JB |
51 | echo Configuring for libmaa $MAA_MAJOR.$MAA_MINOR |
52 | echo . | |
53 | ||
54 | -AC_ARG_WITH(cc, | |
55 | -[ --with-cc with cc (instead of gcc)], | |
56 | -[ | |
57 | -if test "x${withval}" = xyes; then | |
58 | - CC=cc | |
59 | -fi | |
60 | -]) | |
61 | - | |
62 | AC_CANONICAL_HOST | |
71f5fb26 | 63 | AC_PROG_AWK |
95d87f1c JB |
64 | AC_PROG_CC |
65 | AC_ISC_POSIX | |
66 | ||
67 | REALCC="$CC" | |
68 | if test "$CC" = gcc; then | |
69 | - CFLAGS='-g -O' | |
70 | WCFLAGS='-Wall -pedantic' | |
71 | -else | |
72 | - CFLAGS='-g' | |
73 | fi | |
74 | ||
75 | needs_xmalloc=1 | |
76 | @@ -75,14 +64,6 @@ | |
77 | WCFLAGS="$WCFLAGS -pipe";; | |
78 | esac | |
79 | ||
80 | -AC_ARG_WITH(cflags, | |
81 | -[ --with-cflags=FLAGS use FLAGS for CFLAGS], | |
82 | -[ | |
83 | -if test "x${withval}" = xyes; then | |
84 | - CFLAGS="$withval" | |
85 | -fi | |
86 | -]) | |
87 | - | |
88 | AC_ARG_WITH(prof, | |
89 | [ --with-prof with prof profiling], | |
90 | [ |