summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-09 07:51:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:51 -0500
commit1b3471ed0cf1f1ec2cdc8a116b1da93f783a47c6 (patch)
tree562cbf554bd7946aee0829616e319e568668d9a4 /source4/script
parent0f247a39a65cb435ccb3f44fe446026648e20780 (diff)
downloadsamba-1b3471ed0cf1f1ec2cdc8a116b1da93f783a47c6.tar.gz
samba-1b3471ed0cf1f1ec2cdc8a116b1da93f783a47c6.tar.bz2
samba-1b3471ed0cf1f1ec2cdc8a116b1da93f783a47c6.zip
r7425: configure check to see if a compiler can handle negative enum values
if the compiler doesn't support it we pass --uint-enums to pidl metze (This used to be commit c52703c0a8adb4f64ec52e4bf602e9c17ef2c748)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/build_idl.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
index d15a9add31..2018d70d2b 100755
--- a/source4/script/build_idl.sh
+++ b/source4/script/build_idl.sh
@@ -1,10 +1,12 @@
#!/bin/sh
FULLBUILD=$1
+shift 1
+PIDL_EXTRA_ARGS="$*"
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
-PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server --client --dcom-proxy --com-header --swig --odl"
+PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server --client --dcom-proxy --com-header --swig --odl $PIDL_EXTRA_ARGS"
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl