Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #44 from cherokee/fix-for-missing-libtool-error-on…


Fix for Issue #43: checks for the existence of glibtool using hash rather than testing for the hardcoded path /usr/bin/glibtool. This ensures that glibtool and glibtoolize that are not located in /usr/bin (e.g. /usr/local/bin) can be found as long as their root folder is contained in the $PATH environment variable.

Thanks mdavid!
  • Loading branch information...
commit e43de1b004f4954380f4b4ea272ea26ef2e81468 2 parents 97e24f0 + 7fa9e44
@skinkie skinkie authored
Showing with 2 additions and 1 deletion.
  1. +2 −1 
3 
@@ -29,7 +29,8 @@ test -z "$AUTOMAKE" && AUTOMAKE=automake
test -z "$ACLOCAL" && ACLOCAL=aclocal
test -z "$AUTOCONF" && AUTOCONF=autoconf
test -z "$AUTOHEADER" && AUTOHEADER=autoheader
-if [ -x /usr/bin/glibtool ]; then
+if hash glibtool 2>&-; then
test -z "$LIBTOOL" && LIBTOOL=glibtool
test -z "$LIBTOOLIZE" && LIBTOOLIZE=glibtoolize
Please sign in to comment.
Something went wrong with that request. Please try again.