summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-18 00:06:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:35 -0500
commit3cddf280da064d53ec2de2c8b30b7902e1b5e515 (patch)
treeef12ebbc8f8ce7bd83bdee7f9b9d8e09287ed33c /source4/build
parentf4576157edab9d3e39a88342312fc42ba6e59469 (diff)
downloadsamba-3cddf280da064d53ec2de2c8b30b7902e1b5e515.tar.gz
samba-3cddf280da064d53ec2de2c8b30b7902e1b5e515.tar.bz2
samba-3cddf280da064d53ec2de2c8b30b7902e1b5e515.zip
r8532: this miight fix cross compilation for reactos
(This used to be commit 810fa4f762458202adee3f2fd5b13e74eae7781f)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_cc.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4
index 251d0a5491..5ca88f5698 100644
--- a/source4/build/m4/check_cc.m4
+++ b/source4/build/m4/check_cc.m4
@@ -103,3 +103,7 @@ if test -n "$DEVELOPER_CFLAGS"; then
AC_MSG_WARN([cannot run when cross-compiling]))
CFLAGS="${OLD_CFLAGS}"
fi
+
+# allow for --with-hostcc=gcc
+AC_ARG_WITH(hostcc,[Choose host compiler],[HOSTCC=$withval],[HOSTCC=$CC])
+AC_SUBST(HOSTCC)