mirror of https://github.com/GOSTSec/sgminer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
424 B
17 lines
424 B
#!/bin/sh |
|
cwd="$PWD" |
|
bs_dir="$(dirname $(readlink -f $0))" |
|
rm -rf "${bs_dir}"/autom4te.cache |
|
rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh |
|
|
|
echo 'Running autoreconf -if...' |
|
autoreconf -if || exit 1 |
|
if test -z "$NOCONFIGURE" ; then |
|
echo 'Configuring...' |
|
cd "${bs_dir}" &> /dev/null |
|
test "$?" = "0" || e=1 |
|
test "$cwd" != "$bs_dir" && cd "$bs_dir" &> /dev/null |
|
./configure $@ |
|
test "$e" = "1" && exit 1 |
|
cd "$cwd" |
|
fi
|
|
|