summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-01 00:00:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:24 -0500
commit2b215cb5063b31821641315737cff7146b43c97f (patch)
tree5ba6419dd10b20353d89897af1972cf4fe944c66 /source4/build
parent13d31a48713e7542a6317448f4b6cc16810346ad (diff)
downloadsamba-2b215cb5063b31821641315737cff7146b43c97f.tar.gz
samba-2b215cb5063b31821641315737cff7146b43c97f.tar.bz2
samba-2b215cb5063b31821641315737cff7146b43c97f.zip
r6538: Somehow building shared libraries was broken. Either AC_CANONICAL_HOST
or AC_CANONICAL_SYSTEM needs to be called in order for $host_os to be defined. (This used to be commit d05cb53399d98804fd8590c10a3db43deb53180a)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/rewrite.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index ba5f14aa00..dc62c7bc12 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -11,6 +11,8 @@ AC_SUBST(PICFLAG)
AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
AC_SYS_LARGEFILE
+AC_CANONICAL_HOST
+
#
# Config CPPFLAG settings for strange OS's that must be set
# before other tests.