Changeset 202 for trunk/aclocal.m4


Ignore:
Timestamp:
Dec 3, 2008, 9:52:23 PM (16 years ago)
Author:
katerina
Message:

Suppress warnings caused by glibc pthread_cleanup_pop() implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r201 r202  
    12021202])
    12031203
     1204AC_DEFUN([GCC_WEMPTY_BODY],[
     1205  AC_LANG_ASSERT(C)
     1206  if test "X$CC" != "X"; then
     1207    AC_CACHE_CHECK([whether ${CC} accepts -Wno-empty-body],
     1208      empty_body,
     1209      [empty_body_cflags="$CFLAGS"
     1210       CFLAGS="$CFLAGS -Wno-empty-body"
     1211       AC_TRY_COMPILE(,, empty_body=yes, empty_body=no)
     1212       CFLAGS="$empty_body_cflags"
     1213      ])
     1214    if test $empty_body = yes; then
     1215      CFLAGS="$CFLAGS -Wno-empty-body"
     1216    fi
     1217  fi
     1218])
     1219
    12041220AC_DEFUN([SAMHAIN_POSIX],[
    12051221        AC_MSG_CHECKING([whether _POSIX_SOURCE is necessary])
Note: See TracChangeset for help on using the changeset viewer.