Default autogen.sh to not running configure, unless some command line options are specified.
This commit is contained in:
10
autogen.sh
10
autogen.sh
@@ -1,5 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
autoreconf -v --install || exit 1
|
autoreconf -v --install || exit 1
|
||||||
if test -z "$NOCONFIGURE"; then
|
|
||||||
|
# If there are any options, assume the user wants to run configure.
|
||||||
|
# To run configure w/o any options, use ./autogen.sh --configure
|
||||||
|
if [ $# -gt 0 ] ; then
|
||||||
|
case "$1" in
|
||||||
|
--conf*)
|
||||||
|
shift 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
exec ./configure "$@"
|
exec ./configure "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user