From ccbb717974bfb4edc4b480d38aac5bc04af69fea Mon Sep 17 00:00:00 2001 From: eschnett Date: Mon, 22 Apr 2013 21:53:14 +0000 Subject: Don't search for library for NO_BUILD git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/libjpeg/trunk@30 ba58616d-3abc-4c77-8745-3ba8ad4a582f --- configure.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.sh b/configure.sh index 5a463d0..4d1b4e1 100755 --- a/configure.sh +++ b/configure.sh @@ -11,13 +11,12 @@ fi set -e # Abort on errors + ################################################################################ # Search ################################################################################ -if [ -z "${LIBJPEG_DIR}" \ - -o "$(echo "${LIBJPEG_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ] -then +if [ -z "${LIBJPEG_DIR}" ] then echo "BEGIN MESSAGE" echo "LIBJPEG selected, but LIBJPEG_DIR not set. Checking some places..." echo "END MESSAGE" -- cgit v1.2.3