summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 7842928c..9db620b2 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -136,10 +136,12 @@ bootstrap_post_import_hook ()
touch ChangeLog || return 1
# Copy pkg-config's pkg.m4 so that our downstream users don't need to.
+ local ac_dir=`aclocal --print-ac-dir`
+ test -s "$ac_dir/dirlist" && ac_dir=$ac_dir:`tr '\n' : < "$ac_dir/dirlist"`
oIFS=$IFS
IFS=:
for dir in \
- $ACLOCAL_PATH $(aclocal --print-ac-dir) /usr/share/aclocal ''
+ $ACLOCAL_PATH $ac_dir /usr/share/aclocal ''
do
IFS=$oIFS
if test -n "$dir" && test -r "$dir/pkg.m4"; then