Browse Source

Only run ./configure with autogen.sh if extra parameters are passed to it.

port-ckolivas
Con Kolivas 10 years ago committed by Noel Maersk
parent
commit
133252175b
  1. 5
      autogen.sh

5
autogen.sh

@ -4,3 +4,8 @@ bs_dir="$(dirname $(readlink -f $0))" @@ -4,3 +4,8 @@ bs_dir="$(dirname $(readlink -f $0))"
#Some versions of libtoolize don't like there being no ltmain.sh file already
touch "${bs_dir}"/ltmain.sh
autoreconf -fi "${bs_dir}"
if test -n "$1" && test -z "$NOCONFIGURE" ; then
echo 'Configuring...'
"$bs_dir"/configure "$@"
fi

Loading…
Cancel
Save