Changeset 236
- Timestamp:
- Jul 11, 2009, 2:27:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r227 r236 1222 1222 if test "X$CC" != "X"; then 1223 1223 AC_CACHE_CHECK([whether ${CC} accepts -Wno-empty-body], 1224 empty_ body,1224 empty_cv_body, 1225 1225 [empty_body_cflags="$CFLAGS" 1226 1226 CFLAGS="$CFLAGS -Wno-empty-body" 1227 AC_TRY_COMPILE(,, empty_ body=yes, empty_body=no)1227 AC_TRY_COMPILE(,, empty_cv_body=yes, empty_cv_body=no) 1228 1228 CFLAGS="$empty_body_cflags" 1229 1229 ]) 1230 if test $empty_ body = yes; then1230 if test $empty_cv_body = yes; then 1231 1231 CFLAGS="$CFLAGS -Wno-empty-body" 1232 1232 fi
Note:
See TracChangeset
for help on using the changeset viewer.