|
From: <sv...@va...> - 2009-06-03 20:05:06
|
Author: bart Date: 2009-06-03 21:05:00 +0100 (Wed, 03 Jun 2009) New Revision: 10235 Log: Removed configure test for -Wno-empty-body again. Modified: trunk/configure.in Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2009-06-03 20:02:29 UTC (rev 10234) +++ trunk/configure.in 2009-06-03 20:05:00 UTC (rev 10235) @@ -1233,29 +1233,6 @@ fi -# does this compiler support -Wno-empty-body ? - -AC_MSG_CHECKING([if gcc accepts -Wno-empty-body]) - -safe_CFLAGS=$CFLAGS -CFLAGS="-Wno-empty-body" - -AC_TRY_COMPILE( -[ ], -[ - return 0; -], -[ -AC_SUBST([FLAG_W_NO_EMPTY_BODY], [-Wno-empty-body]) -AC_MSG_RESULT([yes]) -], -[ -AC_SUBST([FLAG_W_NO_EMPTY_BODY], []) -AC_MSG_RESULT([no]) -]) -CFLAGS=$safe_CFLAGS - - # does this compiler support -Wno-format-zero-length ? AC_MSG_CHECKING([if gcc accepts -Wno-format-zero-length]) |