jcpuid/build_jbigi: Default BITS to 64 if unset.

To make sure that our debian build scripts work,
set BITS to 64 if unassigned.
This commit is contained in:
dev
2016-05-05 22:03:27 +00:00
parent 0839b46c8d
commit 4fd0261efa

View File

@@ -4,6 +4,11 @@
# When executed in OSX: Produces a libjbigi.jnilib
[ -z "$CC" ] && CC="gcc"
if [ -z $BITS ]; then
BITS=64
printf "\aBITS variable not set, defaulting to $BITS\n\a" >&2
fi
# If JAVA_HOME isn't set we'll try to figure it out
[ -z $JAVA_HOME ] && . `dirname $0`/../find-java-home
if [ ! -f "$JAVA_HOME/include/jni.h" ]; then