diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-16 05:59:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:37 -0500 |
commit | 4662f3a6d26f0509cbb36ea5f1658e61e961c31e (patch) | |
tree | 9e9a63b41ff277b0531bff17f0f665bc8adff0c8 /source4/build | |
parent | 4fe22ebe8bd1bddfbd9db7da37139151d75d7f90 (diff) | |
download | samba-4662f3a6d26f0509cbb36ea5f1658e61e961c31e.tar.gz samba-4662f3a6d26f0509cbb36ea5f1658e61e961c31e.tar.bz2 samba-4662f3a6d26f0509cbb36ea5f1658e61e961c31e.zip |
r17564: we don't need a AC_TRY_RUN to test the compiler warning options
metze
(This used to be commit ebade9dea58b58e34c6dfc39358ddb0b05d2b372)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/m4/check_cc.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index f5b6fa0995..4850ec5504 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -167,7 +167,7 @@ if test -n "$DEVELOPER_CFLAGS"; then OLD_CFLAGS="${CFLAGS}" CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}" AC_MSG_CHECKING([that the C compiler can use the DEVELOPER_CFLAGS]) - AC_TRY_RUN([#include "${srcdir-.}/build/tests/trivial.c"], + AC_TRY_COMPILE([],[], AC_MSG_RESULT(yes), DEVELOPER_CFLAGS=""; AC_MSG_RESULT(no)) CFLAGS="${OLD_CFLAGS}" |