summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@respoke.io>2016-12-16 01:32:57 -0600
committerDavid M. Lee <dlee@digium.com>2016-12-16 01:36:04 -0600
commit147b8e636ef48a07891d4ce908a81f070ddf3437 (patch)
tree72cb66d60d6c75e8ed209f215ce90c5078e9001a /bootstrap.sh
parent19328de2ab1317e75a7bf4cb6ebf9fce55cb05e1 (diff)
configure: fix with-pjproject-bundled
The AC_ARG_WITH macro's shell variable is withval; not enableval. Purely coincidentally, the option would work when --enable-dev-mode is given. Also fixed a portability problem with bootstrap.sh, since -printf is not a portable option for find. Change-Id: I0f0e5b1a934b5af5737713834361e9c95b96b376
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 051ee3e82..272c57b94 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -46,7 +46,7 @@ check_for_app aclocal${MY_AM_VER}
echo "Generating the configure script ..."
-aclocal${MY_AM_VER} -I autoconf `find third-party/ -maxdepth 1 -type d -printf "-I %p "`
+aclocal${MY_AM_VER} -I autoconf `find third-party -maxdepth 1 -type d | xargs -I {} echo -I {}`
autoconf${MY_AC_VER}
autoheader${MY_AC_VER}
automake${MY_AM_VER} --add-missing --copy 2>/dev/null