mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-08 22:08:02 +00:00
Only run ./configure with autogen.sh if extra parameters are passed to it.
This commit is contained in:
parent
b475355b08
commit
133252175b
@ -4,3 +4,8 @@ bs_dir="$(dirname $(readlink -f $0))"
|
|||||||
#Some versions of libtoolize don't like there being no ltmain.sh file already
|
#Some versions of libtoolize don't like there being no ltmain.sh file already
|
||||||
touch "${bs_dir}"/ltmain.sh
|
touch "${bs_dir}"/ltmain.sh
|
||||||
autoreconf -fi "${bs_dir}"
|
autoreconf -fi "${bs_dir}"
|
||||||
|
|
||||||
|
if test -n "$1" && test -z "$NOCONFIGURE" ; then
|
||||||
|
echo 'Configuring...'
|
||||||
|
"$bs_dir"/configure "$@"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user