2009-03-30 Tollef Fog Heen <tfheen@err.no>
+ * autogen.sh: Allow not running configure, wanted by cygwin.
+
* check/check-missing, check/check-libs,
check/check-requires-private: Handle the case of indirect being
enabled correctly in checks.
(cd glib-1.2.10 && libtoolize --copy --force && $ACLOCAL $ACLOCAL_FLAGS && $AUTOMAKE && $AUTOCONF) || exit 1
+run_configure=yes
if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
+else
+ case "--no-configure" in
+ "*$") run_configure=no
+ esac
fi
libtoolize --copy --force
cd $ORIGDIR
-export AUTOMAKE
-export ACLOCAL
-$srcdir/configure --enable-maintainer-mode --disable-shared --disable-threads "$@"
-
-echo
-echo "Now type 'make' to compile $PROJECT."
+if [ "$run_configure" = "yes" ]; then
+ export AUTOMAKE
+ export ACLOCAL
+ $srcdir/configure --enable-maintainer-mode --disable-shared --disable-threads "$@"
+ echo
+ echo "Now type 'make' to compile $PROJECT."
+else
+ echo "Now type './configure && make' to compile $PROJECT."
+fi