search for: pkgm4dir

Displaying 2 results from an estimated 2 matches for "pkgm4dir".

Did you mean: pkgdir
2012 Jun 11
1
[hivex][PATCH] OS X, bootstrap: Locate pkg.m4
...ndex b2960c1..8e4cb86 100755 --- a/bootstrap +++ b/bootstrap @@ -85,5 +85,10 @@ $gnulib_tool \ --tests-base=gnulib/tests \ --import $modules +# Locate pkg.m4 (installed in non-default location in OS X) +# (Passing non-existent paths with -I causes aclocal, invoked by autoreconf, to die.) +pkgm4dir=$(test -f /opt/local/share/aclocal/pkg.m4 && dirname /opt/local/share/aclocal/pkg.m4) || \ + $(test -f /usr/local/share/aclocal/pkg.m4 && dirname /usr/local/share/aclocal/pkg.m4) || \ + $(test -f /usr/share/aclocal/pkg.m4 && dirname /usr/share/aclocal/pkg.m4) + # Disable...
2012 Jun 08
1
[hivex] OS X: Augment pkg-config search path
...mply not sure what the PATH variable I should use is. aclocal dies if a non-existent path component is passed with -I. If I understand correctly, PKG_CONFIG_PATH doesn't appear to be used for finding the base pkg-config macros. I can somewhat find the path in bootstrap with this clunky line: pkgm4dir=$(test -f /opt/local/share/aclocal/pkg.m4 && dirname /opt/local/share/aclocal/pkg.m4)||$(test -f /usr/local/share/aclocal/pkg.m4 && dirname /usr/local/share/aclocal/pkg.m4)||$(test -f /usr/share/aclocal/pkg.m4 && dirname /usr/share/aclocal/pkg.m4) But I suspect there's...