From 4662f3a6d26f0509cbb36ea5f1658e61e961c31e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 16 Aug 2006 05:59:24 +0000 Subject: r17564: we don't need a AC_TRY_RUN to test the compiler warning options metze (This used to be commit ebade9dea58b58e34c6dfc39358ddb0b05d2b372) --- source4/build/m4/check_cc.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build') 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}" -- cgit