Changeset 475 for trunk/aclocal.m4


Ignore:
Timestamp:
Jun 1, 2015, 6:52:54 PM (9 years ago)
Author:
katerina
Message:

Minor cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r474 r475  
    12281228  if test "X$CC" != "X"; then
    12291229     AC_MSG_CHECKING([whether ${CC} accepts $1])
    1230 dnl      flag_check_cv,
    12311230     saved_cflags="$CFLAGS"
    12321231     CFLAGS="$CFLAGS -Werror $1"
     
    12401239        AC_MSG_RESULT([no])
    12411240     fi
    1242   fi
    1243 ])
    1244 
    1245 AC_DEFUN([GCC_WEMPTY_BODY],[
    1246   AC_LANG_ASSERT(C)
    1247   if test "X$CC" != "X"; then
    1248     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; then
    1256       CFLAGS="$CFLAGS -Wno-empty-body"
    1257     fi
    12581241  fi
    12591242])
Note: See TracChangeset for help on using the changeset viewer.