summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 14 insertions, 4 deletions
diff --git a/configure b/configure
index 8a4c89ed08..bef47d29f1 100755
--- a/configure
+++ b/configure
@@ -2965,11 +2965,21 @@ if [ -f "$relpath"/LICENSE.PREVIEW.COMMERCIAL ] && [ $COMMERCIAL_USER = "yes" ];
EditionString="Technology Preview"
elif [ $COMMERCIAL_USER = "yes" ]; then
if [ $UNAME_SYSTEM = "Linux" ]; then
- if file -L /bin/sh | grep -q "64-bit" ; then
- Licheck=licheck64
- else
+ case "$PLATFORM" in
+ *-32)
Licheck=licheck32
- fi
+ ;;
+ *-64)
+ Licheck=licheck64
+ ;;
+ *)
+ if file -L /bin/sh | grep -q "64-bit" ; then
+ Licheck=licheck64
+ else
+ Licheck=licheck32
+ fi
+ ;;
+ esac
elif [ $UNAME_SYSTEM = "Darwin" ]; then
Licheck=licheck_mac
else