Author: metze Date: 2006-08-16 05:59:24 +0000 (Wed, 16 Aug 2006) New Revision: 17564
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17564 Log: we don't need a AC_TRY_RUN to test the compiler warning options metze Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4 Changeset: Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4 =================================================================== --- branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-08-15 23:18:20 UTC (rev 17563) +++ branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-08-16 05:59:24 UTC (rev 17564) @@ -167,7 +167,7 @@ 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}"
