new NXSL class "Event" attributes "source" and "sourceId"
[public/netxms.git] / reconf
diff --git a/reconf b/reconf
index 6a38572..2bed62d 100755 (executable)
--- a/reconf
+++ b/reconf
@@ -9,12 +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
-which libtoolize > /dev/null && LIBTOOLIZE=libtoolize
-which glibtoolize > /dev/null && LIBTOOLIZE=glibtoolize
+if test -x "`which libtoolize`"; then
+       LIBTOOLIZE=libtoolize
+fi
+if test -x "`which glibtoolize`"; then
+       LIBTOOLIZE=glibtoolize
+fi
 
 mkdir -p config
 touch README