Changeset 202


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

Suppress warnings caused by glibc pthread_cleanup_pop() implementation.

Location:
trunk
Files:
4 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])
  • trunk/configure.ac

    r196 r202  
    194194AC_SUBST(selectconfig)
    195195AC_DEFINE_UNQUOTED(UID_CAST, ${uid_cast})
     196
     197dnl Test whether gcc supports -Wno-empty-body
     198dnl Suppresses warnings from glibc pthread_cleanup_pop
     199dnl
     200GCC_WEMPTY_BODY
    196201
    197202
  • trunk/docs/Changelog

    r200 r202  
    112.5.1:
     2        * use -Wno-empty-body if supported to suppress warnings about
     3          glibc pthread_cleanup_pop implementation
     4        * fix text relocations for i386 in src/sh_tiger1.s
    25        * implement server->client SCAN command to initiate file check
    36        * implement @if / @else conditionals with more tests in config file
  • trunk/test/testext.sh

    r164 r202  
    9393        echo "SetType=log"                  >> testrc_1ext
    9494        echo "SetChecksum=$CHKSUM"          >> testrc_1ext
     95        echo "SetEnviron=TZ=Europe/Berlin"  >> testrc_1ext
    9596        echo "SetFilterOr=ALERT"            >> testrc_1ext
    9697        echo "CloseCommand"                 >> testrc_1ext
Note: See TracChangeset for help on using the changeset viewer.