[Libguestfs] [hivex][PATCH v2] OS X, bootstrap: Locate pkg.m4

Alex Nelson ajnelson at cs.ucsc.edu
Mon Jun 11 18:54:14 UTC 2012


OS X does not include pkg-config by default.  This causes ./configure
to fail when invoking PKG_CHECK_MODULES for libxml2.

This change autodetects the path for aclocal, c/o RWMJ noting the real
problem is a deficiency in aclocal on OS X.

Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu>
---
 bootstrap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bootstrap b/bootstrap
index b2960c1..52c05d5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -86,4 +86,4 @@ $gnulib_tool			\
   --import $modules
 
 # Disable autopoint and libtoolize, since they were already done above.
-AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install
+AUTOPOINT=true LIBTOOLIZE=true ACLOCAL_PATH=$(aclocal --print-ac-dir) autoreconf --verbose --install
-- 
1.7.3.1






More information about the Libguestfs mailing list