From 571650e3d93484909b5bb72cc883fbdee92e104b Mon Sep 17 00:00:00 2001 From: JanLehnardt Date: Sat, 21 Oct 2006 18:41:39 +0000 Subject: [PATCH] default ERLANG_INCLUDE_DIR to /usr/include git-svn-id: http://couchdb.googlecode.com/svn/trunk@26 efc57d8c-411c-0410-91b3-cfdf4dd2bc77 --- CouchProjects/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CouchProjects/build.sh b/CouchProjects/build.sh index 651a3ed..90ff501 100755 --- a/CouchProjects/build.sh +++ b/CouchProjects/build.sh @@ -23,6 +23,8 @@ export COUCHDB_VERSION COUCH_DIR=build/couch-$COUCHDB_VERSION/ebin COUCHDB_INSTALL_DIR=/usr/local/ + + ERLANG_LIB_DIR=false INSTALL_COUCHDB=false BUILD_FABRIC_TESTS=false @@ -94,6 +96,11 @@ if [ ! -x "$JAVA" ]; then exit 1 fi +if [ -z "$ERLANG_INCLUDE_DIR" ]; then + ERLANG_INCLUDE_DIR=/usr/include + export ERLANG_INCLUDE_DIR +fi + if [ ! -e "$ERLANG_INCLUDE_DIR/erl_driver.h" ]; then echo "Cannot find erl_driver.h. Please set ERLANG_INCLUDE_DIR manually. (e.g. export ERLANG_INCLUDE_DIR=/usr/local/erlang/lib/usr/include)" exit 1 -- 2.11.4.GIT