diff -u aide.orig/configure.in aide/configure.in --- aide.orig/configure.in 2010-02-23 13:11:24.000000000 -0500 +++ aide/configure.in 2010-02-23 13:57:57.000000000 -0500 @@ -568,6 +568,8 @@ compoptionstring="${compoptionstring}WITH_READDIR\\n"] ) +saved_CFLAGS="$CFLAGS" +CFLAGS+=" $AIDE_DEFS" AC_CACHE_CHECK([for LFS ino_t],AIDE_INO_TYPE,[ AC_TRY_RUN([ #include @@ -598,6 +600,7 @@ AIDE_INO_TYPE=ino_t AIDE_DIRENT_TYPE=dirent fi +CFLAGS="$saved_CFLAGS" AC_DEFINE_UNQUOTED(AIDE_LSTAT_FUNC,$AIDE_LSTAT_FUNC,[lstat]) AC_DEFINE_UNQUOTED(AIDE_STAT_FUNC,$AIDE_STAT_FUNC,[stat])