new NXSL class "Event" attributes "source" and "sourceId"
[public/netxms.git] / reconf
diff --git a/reconf b/reconf
index b4b2b47..2bed62d 100755 (executable)
--- a/reconf
+++ b/reconf
@@ -9,18 +9,19 @@
 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
+autoreconf -fi -W none,obsolete,syntax
+exit $?
+
 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