]>
Commit | Line | Data |
---|---|---|
c283d199 JB |
1 | --- ntop-2.2.95/configure.in.orig Fri Dec 12 12:07:15 2003 |
2 | +++ ntop-2.2.95/configure.in Fri Dec 12 12:11:00 2003 | |
3 | @@ -1289,28 +1289,6 @@ | |
4 | CPPFLAGS="${CPPFLAGS} -I/usr/local/include" | |
5 | LDFLAGS="${LDFLAGS} -L/usr/local/lib" | |
6 | ||
7 | - | |
8 | - | |
9 | -echo | |
10 | -echo "Test the compiler and setup CFLAGS..." | |
11 | -echo | |
12 | -case "$CFLAGS" in | |
13 | - *-g* ) | |
14 | - ;; | |
15 | - * ) | |
16 | - CFLAGS="$CFLAGS -g" | |
17 | - AC_MSG_CHECKING([if compiler accepts -g (debugging information)]) | |
18 | - oCFLAGS=$CFLAGS | |
19 | - CFLAGS="-g $CFLAGS" | |
20 | - AC_TRY_COMPILE( , | |
21 | - return 0 , | |
22 | - AC_MSG_RESULT(yes), | |
23 | - CFLAGS="${oCFLAGS}" | |
24 | - AC_MSG_RESULT(no) | |
25 | - ) | |
26 | - ;; | |
27 | -esac | |
28 | - | |
29 | AC_MSG_CHECKING([if compiler accepts -W (warning flags)]) | |
30 | oCFLAGS=$CFLAGS | |
31 | CFLAGS="$CFLAGS -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs" |