Changeset 475 for trunk/aclocal.m4
- Timestamp:
- Jun 1, 2015, 6:52:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r474 r475 1228 1228 if test "X$CC" != "X"; then 1229 1229 AC_MSG_CHECKING([whether ${CC} accepts $1]) 1230 dnl flag_check_cv,1231 1230 saved_cflags="$CFLAGS" 1232 1231 CFLAGS="$CFLAGS -Werror $1" … … 1240 1239 AC_MSG_RESULT([no]) 1241 1240 fi 1242 fi1243 ])1244 1245 AC_DEFUN([GCC_WEMPTY_BODY],[1246 AC_LANG_ASSERT(C)1247 if test "X$CC" != "X"; then1248 AC_CHECK([whether ${CC} accepts -Wno-empty-body],1249 dnl empty_cv_body,1250 [empty_body_cflags="$CFLAGS"1251 CFLAGS="$CFLAGS -Werror -Wno-empty-body"1252 AC_TRY_COMPILE(,, empty_cv_body=yes, empty_cv_body=no)1253 CFLAGS="$empty_body_cflags"1254 ])1255 if test $empty_cv_body = yes; then1256 CFLAGS="$CFLAGS -Wno-empty-body"1257 fi1258 1241 fi 1259 1242 ])
Note:
See TracChangeset
for help on using the changeset viewer.