aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-28 23:00:51 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-28 23:00:51 +0100
commitf712188c6240cb6f77791b4f05e55b1a001d4037 (patch)
tree172d6267972676e507507c3dec899bc55adc8dd7 /configure
parentdfde8e08f71cfd24c9c247962bb4ddbed0b089fa (diff)
Add HAVE_CONFIG_H define so other platforms can build without config.h
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 985e8209..3c15e646 100755
--- a/configure
+++ b/configure
@@ -118,6 +118,8 @@ fi
echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings
+echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
+
if [ -n "$CC" ]; then
echo "CC=$CC" >> Makefile.settings;
elif type gcc > /dev/null 2> /dev/null; then