1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00
sgminer/autogen.sh

12 lines
268 B
Bash
Raw Normal View History

#!/bin/sh
2012-07-29 21:54:23 +10:00
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}"
2013-08-30 14:47:53 +10:00
2012-07-29 21:54:23 +10:00
if test -z "$NOCONFIGURE" ; then
echo 'Configuring...'
2013-04-16 10:27:10 +08:00
"$bs_dir"/configure "$@"
2012-07-29 21:54:23 +10:00
fi