fixed libtoolize detection
authorAlex Kirhenshtein <alk@netxms.org>
Thu, 29 Oct 2009 23:55:57 +0000 (23:55 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Thu, 29 Oct 2009 23:55:57 +0000 (23:55 +0000)
reconf

diff --git a/reconf b/reconf
index b4b2b47..35dddd8 100755 (executable)
--- a/reconf
+++ b/reconf
@@ -13,14 +13,12 @@ ACLOCAL=aclocal
 AUTOCONF=autoconf
 AUTOHEADER=autoheader
 AUTOMAKE=automake
-if test -x `which libtoolize`; then
+if test -x "`which libtoolize`"; then
        LIBTOOLIZE=libtoolize
 fi
-if test -x `which glibtoolize`; then
+if test -x "`which glibtoolize`"; then
        LIBTOOLIZE=glibtoolize
 fi
-#which libtoolize > /dev/null && LIBTOOLIZE=libtoolize
-#which glibtoolize > /dev/null && LIBTOOLIZE=glibtoolize
 
 mkdir -p config
 touch README