forked from osmocom/wireshark
Move -pedandic & co back into extra-flags (prepare for dissectors moving to epan/)
svn path=/trunk/; revision=10007
This commit is contained in:
parent
f992f12aa4
commit
5804f15164
|
@ -1,4 +1,4 @@
|
|||
# $Id: configure.in,v 1.57 2004/02/07 05:44:07 jmayer Exp $
|
||||
# $Id: configure.in,v 1.58 2004/02/08 01:15:53 jmayer Exp $
|
||||
dnl
|
||||
dnl Process this file with autoconf 2.13 or later to produce a
|
||||
dnl configure script; 2.12 doesn't generate a "configure" script that
|
||||
|
@ -47,12 +47,12 @@ AC_ARG_WITH(extra-gcc-checks,
|
|||
[
|
||||
if test $withval != no
|
||||
then
|
||||
ethereal_extra_gcc_flags=" "
|
||||
ethereal_extra_gcc_flags=" -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic"
|
||||
fi
|
||||
],)
|
||||
AC_MSG_CHECKING(to see if we can add '-Wall -W$ethereal_extra_gcc_flags' to CFLAGS)
|
||||
if test x$GCC != x ; then
|
||||
CFLAGS="-D_U_=\"__attribute__((unused))\" -Wall -W -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic $ethereal_extra_gcc_flags $CFLAGS"
|
||||
CFLAGS="-D_U_=\"__attribute__((unused))\" -Wall -W $ethereal_extra_gcc_flags $CFLAGS"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
CFLAGS="-D_U_=\"\" $CFLAGS"
|
||||
|
|
Loading…
Reference in New Issue