diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-03-26 08:31:23 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-03-26 08:31:23 +0000 |
commit | 8c858b3787725ff707481ab469c85704f7d31b9b (patch) | |
tree | 39a026be804f919b47718c3f89a3d375effc9e0a /configure.in | |
parent | 29440eb4a91f78949f764edc1d68e6063db330da (diff) | |
download | wireshark-8c858b3787725ff707481ab469c85704f7d31b9b.tar.gz wireshark-8c858b3787725ff707481ab469c85704f7d31b9b.tar.bz2 wireshark-8c858b3787725ff707481ab469c85704f7d31b9b.zip |
Change the test for -Wdeclaration-after-statement slightly to make it work for me. Also redirect its stderr to /dev/null to avoid worrying users
svn path=/trunk/; revision=21208
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in index afc9ae885f..695d17d517 100644 --- a/configure.in +++ b/configure.in @@ -179,8 +179,7 @@ if test x$GCC == xyes ; then # some versions of GCC support this directive rm -rf conftest* echo "int foo;" >>conftest.c - $CC -c -o conftest.o conftest.c -Wdeclaration-after-statement - if [ $? == 0 ] ; then + if $CC -c -o conftest.o conftest.c -Wdeclaration-after-statement > /dev/null 2>&1 ; then CFLAGS="$CFLAGS -Wdeclaration-after-statement" AC_MSG_RESULT(yes) else |