}
LIBTOOLIZE=`which libtoolize`
-if ! test -f $LIBTOOLIZE; then
+if ! test -f "$LIBTOOLIZE"; then
LIBTOOLIZE=`which glibtoolize`
fi
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
$AUTOMAKE -a $am_opt
-autoconf || echo "autoconf failed - version 2.5x is probably required"
+if ! autoconf; then
+ echo "autoconf failed - version 2.5x is probably required" >&2
+ exit 1
+fi
cd $ORIGDIR
fi
if $run_configure; then
- $srcdir/configure --enable-developer --config-cache "$@" || exit $?
- echo
- echo "Now type 'make' to compile $PROJECT."
-else
- echo
- echo "Now run 'configure' and 'make' to compile $PROJECT."
+ $srcdir/configure --enable-developer --config-cache "$@"
fi
-