mirror of https://github.com/GOSTSec/sgminer
James Z.M. Gao
12 years ago
4 changed files with 28 additions and 9 deletions
@ -1,17 +1,11 @@
@@ -1,17 +1,11 @@
|
||||
#!/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 |
||||
autoreconf -if ${AC_FLAGS} "${bs_dir}" || 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" |
||||
"$bs_dir"/configure "$@" |
||||
fi |
||||
|
@ -1,3 +1,4 @@
@@ -1,3 +1,4 @@
|
||||
noinst_LIBRARIES = libccan.a |
||||
|
||||
libccan_a_SOURCES = compiler/compiler.h opt/helpers.c opt/opt.c opt/opt.h opt/parse.c opt/private.h opt/usage.c typesafe_cb/typesafe_cb.h |
||||
libccan_a_CPPFLAGS = -I$(top_srcdir) |
||||
|
Loading…
Reference in new issue