Changeset 236 for trunk/aclocal.m4


Ignore:
Timestamp:
Jul 11, 2009, 2:27:09 PM (15 years ago)
Author:
katerina
Message:

Fix for incorrect variable name in AC_CACHE_CHECK (ticket #157).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r227 r236  
    12221222  if test "X$CC" != "X"; then
    12231223    AC_CACHE_CHECK([whether ${CC} accepts -Wno-empty-body],
    1224       empty_body,
     1224      empty_cv_body,
    12251225      [empty_body_cflags="$CFLAGS"
    12261226       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)
    12281228       CFLAGS="$empty_body_cflags"
    12291229      ])
    1230     if test $empty_body = yes; then
     1230    if test $empty_cv_body = yes; then
    12311231      CFLAGS="$CFLAGS -Wno-empty-body"
    12321232    fi
Note: See TracChangeset for help on using the changeset viewer.