Handle NO_CONFIGURE variable if we are only generating the configure script

This commit is contained in:
gbeauche 2004-04-13 22:12:27 +00:00
parent e9ca9478d2
commit 61aa371b48

View File

@ -33,4 +33,11 @@ do
autoheader; autoconf)
done
./configure "$@"
if [ x"$NO_CONFIGURE" = "x" ]; then
echo " + Running 'configure $@':"
if [ -z "$*" ]; then
echo " ** If you wish to pass arguments to ./configure, please"
echo " ** specify them on the command line."
fi
./configure "$@"
fi