File tree Expand file tree Collapse file tree 4 files changed +34
-22
lines changed Expand file tree Collapse file tree 4 files changed +34
-22
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ ANDROID_GCC_VERSION=4.8
17
17
ANDROID_ARCH=arm
18
18
19
19
# TODO: configure to compile specify 3rd party libraries
20
- OPTIONS="
21
- --enable-lua
22
- --enable-freetype2
23
- --enable-png
24
- --enable-zlib
25
- "
20
+ OPTIONS=" "
26
21
27
22
usage ()
28
23
{
75
70
esac
76
71
done
77
72
73
+ if test -z " $OPTIONS "
74
+ then
75
+ echo " You must specify a OPTIONS parameter."
76
+ usage
77
+ exit 1
78
+ fi
79
+
78
80
if [ " ${ANDROID_ABI} " != " x86" ] && [ " ${ANDROID_ABI} " != " armeabi-v7a" ] && [ " ${ANDROID_ABI} " != " armeabi" ]; then
79
81
echo " You must specify the right Android Arch within {armeabi, armeabi-v7a, x86}"
80
82
exit 1
Original file line number Diff line number Diff line change @@ -10,11 +10,7 @@ SDK_MIN=6.0
10
10
ARCH=armv7
11
11
12
12
# TODO: configure to compile speficy 3rd party libraries
13
- OPTIONS="
14
- --enable-lua
15
- --enable-freetype2
16
- --enable-png
17
- "
13
+ OPTIONS=" "
18
14
19
15
20
16
usage ()
77
73
esac
78
74
done
79
75
76
+ if test -z " $OPTIONS "
77
+ then
78
+ echo " You must specify a OPTIONS parameter."
79
+ usage
80
+ exit 1
81
+ fi
82
+
80
83
shift $(( $OPTIND - 1 ))
81
84
82
85
Original file line number Diff line number Diff line change @@ -15,11 +15,7 @@ OSX_VERSION=$(xcodebuild -showsdks | grep macosx | sort | tail -n 1 | awk '{prin
15
15
SDKROOT=` xcode-select -print-path` /Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION .sdk
16
16
17
17
# TODO: configure to compile specify 3rd party libraries
18
- OPTIONS="
19
- --enable-lua
20
- --enable-freetype2
21
- --enable-png
22
- "
18
+ OPTIONS=" "
23
19
24
20
usage ()
25
21
{
64
60
;;
65
61
esac
66
62
done
63
+
64
+ if test -z " $OPTIONS "
65
+ then
66
+ echo " You must specify a OPTIONS parameter."
67
+ usage
68
+ exit 1
69
+ fi
70
+
67
71
shift $(( $OPTIND - 1 ))
72
+
68
73
if [ " x$1 " != " x" ]; then
69
74
usage
70
75
exit 1
Original file line number Diff line number Diff line change @@ -14,12 +14,7 @@ info()
14
14
15
15
16
16
# TODO: configure to compile specify 3rd party libraries
17
- OPTIONS="
18
- --enable-lua
19
- --enable-freetype2
20
- --enable-png
21
- --enable-tiff
22
- "
17
+ OPTIONS=" "
23
18
24
19
usage ()
25
20
{
60
55
esac
61
56
done
62
57
58
+ if test -z " $OPTIONS "
59
+ then
60
+ echo " You must specify a OPTIONS parameter."
61
+ usage
62
+ exit 1
63
+ fi
64
+
63
65
shift $(( $OPTIND - 1 ))
64
66
if [ " x$1 " != " x" ]; then
65
67
usage
You can’t perform that action at this time.
0 commit comments