r21034: Don't force user to have pidl in their PATH.
authorJames Peach <jpeach@samba.org>
Fri, 26 Jan 2007 22:52:55 +0000 (22:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:28 +0000 (12:17 -0500)
(This used to be commit 9e2118969d444d2ffd1e9818cbbb155238fab719)

source3/script/build_idl.sh

index d24f7601dfa88de127f45e51906988e0ad194f25..8ec5f4de24ef2547f56d5eecfab19101c7e6ea8b 100644 (file)
@@ -8,7 +8,11 @@ cd ${srcdir}
 
 [ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
 
-PIDL="pidl ${PIDL_ARGS} ${PIDL_EXTRA_ARGS}"
+if [ -z "$PIDL" ] ; then
+    PIDL=pidl
+fi
+
+PIDL="$PIDL ${PIDL_ARGS} ${PIDL_EXTRA_ARGS}"
 
 ##
 ## Find newer files rather than rebuild all of them