Fix previous commit
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 4 Mar 2015 23:47:25 +0000 (15:47 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 4 Mar 2015 23:47:25 +0000 (15:47 -0800)
I misunderstood how which works.

autogen.sh

index ee980cf..ff1b0c0 100755 (executable)
@@ -20,7 +20,7 @@ which pkg-config || {
 }
 
 echo -n "checking for libtoolize... "
-which glibtoolize libtoolize || {
+which glibtoolize || which libtoolize || {
        echo "*** No libtoolize (libtool) found, please install it ***"
        exit 1
 }