Straighten up exection path
[m6w6/libmemcached] / config / bootstrap
index 74d9fa1d8491507c15e3b4f836a0413f9664c89f..624c14570987c575ffd6ec9e62e1d5c582f440b7 100755 (executable)
@@ -26,9 +26,9 @@ set -e
 
 ## We do not currently support glibtoolize
 if test x$LIBTOOLIZE = x; then
-#  if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
-#    LIBTOOLIZE=glibtoolize
-  if test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then
+  if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
+    LIBTOOLIZE=glibtoolize
+  elif test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then
     LIBTOOLIZE=libtoolize-1.5
   elif test \! "x`which libtoolize 2> /dev/null | grep -v '^no'`" = x; then
     LIBTOOLIZE=libtoolize