summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-06-16 16:40:56 -0400
committerlianah <lianahady@gmail.com>2014-06-19 18:24:38 -0400
commit2e36a4492b61fbd18988356e95c701b96ff63d7d (patch)
tree64a07d67fbf50df36fbe59122e940560a90d223b
parent967a6e7a7be80e76c9fcf76f6a5b1b90f38156b3 (diff)
Minor fixes to get-abc script and configure stuff.
-rw-r--r--config/abc.m41
-rwxr-xr-xcontrib/get-abc8
2 files changed, 5 insertions, 4 deletions
diff --git a/config/abc.m4 b/config/abc.m4
index d86b2f465..0d91a36a5 100644
--- a/config/abc.m4
+++ b/config/abc.m4
@@ -6,6 +6,7 @@ AC_MSG_CHECKING([whether user requested abc support])
LIBABC=
have_libabc=0
ABC_LIBS=
+ABC_LDFLAGS=
if test "$with_abc" = no; then
AC_MSG_RESULT([no, abc disabled by user])
elif test "$with_abc" = yes; then
diff --git a/contrib/get-abc b/contrib/get-abc
index f5a397039..8e04ca655 100755
--- a/contrib/get-abc
+++ b/contrib/get-abc
@@ -27,12 +27,12 @@ function webget {
fi
}
-if [ -z "${MACHINE_TYPE}" ]; then
- # get first nibble from config.guess (x86_64, i686, ...)
- MACHINE_TYPE=`config/config.guess | sed 's,-.*,,'`
+if [ -e abc ]; then
+ echo 'error: file or directory "abc" exists; please move it out of the way.' >&2
+ exit 1
fi
-mkdir -p abc
+mkdir abc
cd abc
webget https://bitbucket.org/alanmi/abc/get/$commit.tar.gz abc-$commit.tar.gz
gunzip -f abc-$commit.tar.gz
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback