From 8d0e8eaacee5af06c3d3ed15af1e1ffa39fe29ff Mon Sep 17 00:00:00 2001 From: bmundim Date: Thu, 28 Mar 2013 18:13:31 +0000 Subject: Add NO_BUILD option. git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@42 5c1b1641-b641-47ec-b3d9-0f93d4c445ee --- configure.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 587380e..a13d862 100644 --- a/configure.sh +++ b/configure.sh @@ -16,7 +16,9 @@ set -e # Abort on errors # Search ################################################################################ -if [ -z "${LORENE_DIR}" ]; then +if [ -z "${LORENE_DIR}" \ + -o "$(echo "${LORENE_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ] +then echo "BEGIN MESSAGE" echo "LORENE selected, but LORENE_DIR not set." echo "END MESSAGE" -- cgit v1.2.3