summaryrefslogtreecommitdiff
path: root/source3/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/autogen.sh')
-rwxr-xr-xsource3/autogen.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/autogen.sh b/source3/autogen.sh
index 8f8cd2ca7a..d9f6030900 100755
--- a/source3/autogen.sh
+++ b/source3/autogen.sh
@@ -75,6 +75,17 @@ $AUTOCONF $IPATHS || exit 1
rm -rf autom4te*.cache
+if gcc -E tests/preproc-dummy.c -o /dev/null ;
+then
+ PIDL_OUTPUTDIR="librpc/gen_ndr" CPP="gcc -E" PIDL=../pidl/pidl \
+ srcdir=. ../librpc/build_idl.sh ../librpc/idl/*.idl
+ PIDL_OUTPUTDIR="librpc/gen_ndr" CPP="gcc -E" PIDL=../pidl/pidl \
+ srcdir=. script/build_idl.sh librpc/idl/*.idl
+else
+ echo "Warning: Could not compile idl files in autogen, "
+ echo "some autconf tests might not work properly"
+fi
+
echo "Now run ./configure (or ./configure.developer) and then make."
exit 0