1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
sgminer/autogen.sh

12 lines
301 B
Bash
Raw Normal View History

#!/bin/sh
2012-07-29 11:54:23 +00:00
bs_dir="$(dirname $(readlink -f $0))"
rm -rf "${bs_dir}"/autom4te.cache
rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
2012-07-29 11:54:23 +00:00
echo 'Running autoreconf -if...'
2013-04-16 02:27:10 +00:00
autoreconf -if ${AC_FLAGS} "${bs_dir}" || exit 1
2012-07-29 11:54:23 +00:00
if test -z "$NOCONFIGURE" ; then
echo 'Configuring...'
2013-04-16 02:27:10 +00:00
"$bs_dir"/configure "$@"
2012-07-29 11:54:23 +00:00
fi