mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3: Compile IDL files in autogen, some configure tests need this
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 25 16:35:30 CET 2011 on sn-devel-104
This commit is contained in:
parent
273e7cbb99
commit
26253e0460
@ -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
|
||||
|
||||
|
1
source3/tests/preproc-dummy.c
Normal file
1
source3/tests/preproc-dummy.c
Normal file
@ -0,0 +1 @@
|
||||
int main(void) { return 0; }
|
Loading…
Reference in New Issue
Block a user