X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=configure;h=90c0e9953b3150d59901ec2096752f93f53e218a;hb=6457e820f3379a9f26986338f4364c40889b51b6;hp=c92fa222f7b6f33310244a4edae7d162d5d5fe0f;hpb=163f18fdace8b3171abe3a3b2282d040b205e0c8;p=lgpl%2Fargeo-commons.git diff --git a/configure b/configure index c92fa222f..90c0e9953 100644 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #!/bin/sh # We build where we are -SDK_BUILD_BASE=$(pwd -P)/build +SDK_BUILD_BASE=$(pwd -P)/output # Source are located where this script is SDK_SRC_BASE="$(cd "$(dirname "$0")"; pwd -P)" @@ -21,6 +21,12 @@ exit 1 else +if [ -z "$JAVA_HOME" ] +then +echo "Environment variable JAVA_HOME must be set" +exit 1 +fi + # Create build directory, so that it can be used right away # and we check whether we have the rights mkdir -p $SDK_BUILD_BASE @@ -34,6 +40,7 @@ fi cat > "$SDK_MK" <