From 28d3048679c449238ddf703f0595076468e12bd9 Mon Sep 17 00:00:00 2001 From: Chia-liang Kao Date: Wed, 30 Oct 2013 11:42:43 +0800 Subject: [PATCH] Improve libtsm installation Also attempt to install on darwin --- script/setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/setup b/script/setup index ced3b43..eefc8b7 100755 --- a/script/setup +++ b/script/setup @@ -2,13 +2,13 @@ set -e -if [ ! -e /usr/local/lib/libtsm.so ]; +if [ ! -e /usr/local/lib/libtsm.a ]; then echo "libtsm missing, compiling from source..." - DIR=$(mktemp -d) + DIR=$(mktemp -d -t tsmXXXXXX) cd $DIR - git clone https://github.com/dvdhrm/libtsm.git . - git checkout d8fff00 + git clone git://github.com/sickill/libtsm.git . + git checkout 7dfa43d test -f ./configure || NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr/local make