From 9c66e92a921c5109ae2fd63b1da7852f3a274857 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Mon, 16 Jun 2014 16:40:56 -0400 Subject: [PATCH] Minor fixes to get-abc script and configure stuff. --- config/abc.m4 | 1 + contrib/get-abc | 8 ++++---- 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 -- 2.30.2