summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_cc.m4
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2005-08-23 00:16:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:22 -0500
commiteacdca99df3ff2dff90c6dd16cec86cb0c905768 (patch)
tree84e98e3efd6806537e975b62bfbdb9896b628ebb /source4/build/m4/check_cc.m4
parentb19ad7281eb0323a38bb2d0e2de3554caf88d3f8 (diff)
downloadsamba-eacdca99df3ff2dff90c6dd16cec86cb0c905768.tar.gz
samba-eacdca99df3ff2dff90c6dd16cec86cb0c905768.tar.bz2
samba-eacdca99df3ff2dff90c6dd16cec86cb0c905768.zip
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)
Diffstat (limited to 'source4/build/m4/check_cc.m4')
-rw-r--r--source4/build/m4/check_cc.m43
1 files changed, 1 insertions, 2 deletions
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