From eacdca99df3ff2dff90c6dd16cec86cb0c905768 Mon Sep 17 00:00:00 2001 From: James Peach Date: Tue, 23 Aug 2005 00:16:13 +0000 Subject: r9494: Add ac-archive macro for checking GCC options. Use this to add to developer CFLAGS to handle different versions of GCC. (This used to be commit 850d073c8569c758a6998021ee033793425316c9) --- source4/build/m4/check_cc.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/build/m4/check_cc.m4') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index 6ab9c17eb3..8e402f102c 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -120,8 +120,7 @@ if test -n "$DEVELOPER_CFLAGS"; then AC_MSG_CHECKING([that the C compiler can use the DEVELOPER_CFLAGS]) AC_TRY_RUN([#include "${srcdir-.}/build/tests/trivial.c"], AC_MSG_RESULT(yes), - DEVELOPER_CFLAGS=""; AC_MSG_RESULT(no), - AC_MSG_WARN([cannot run when cross-compiling])) + DEVELOPER_CFLAGS=""; AC_MSG_RESULT(no)) CFLAGS="${OLD_CFLAGS}" fi -- cgit