mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-26 02:37:41 +00:00
test for SDKs in lower capitals earlier
This commit is contained in:
parent
fd541e331e
commit
15495bba3b
12
configure.in
12
configure.in
@ -113,6 +113,13 @@ if test "x$target" = xiphone; then
|
|||||||
echo "SDK path: $SDK_PATH"
|
echo "SDK path: $SDK_PATH"
|
||||||
# echo "iPhone staging dir: $prefix"
|
# echo "iPhone staging dir: $prefix"
|
||||||
echo "iPhone IP for install-iphone target: $IPHONE_IP"
|
echo "iPhone IP for install-iphone target: $IPHONE_IP"
|
||||||
|
|
||||||
|
# handle sdk written in lower case for people that followed:
|
||||||
|
# http://code.google.com/p/iphonedevonlinux/wiki/Installation
|
||||||
|
if test -e "$DEVELOPER_PATH/sdks/iPhoneOS$SDK_VERSION.sdk" ; then
|
||||||
|
SDK_PATH="$DEVELOPER_PATH/sdks/iPhoneOS$SDK_VERSION.sdk"
|
||||||
|
fi
|
||||||
|
|
||||||
CC="$DEVELOPER_PATH/pre/bin/arm-apple-darwin9-gcc-$GCC_VERSION"
|
CC="$DEVELOPER_PATH/pre/bin/arm-apple-darwin9-gcc-$GCC_VERSION"
|
||||||
OBJC="$DEVELOPER_PATH/pre/bin/arm-apple-darwin9-g++"
|
OBJC="$DEVELOPER_PATH/pre/bin/arm-apple-darwin9-g++"
|
||||||
CFLAGS="$CFLAGS -g"
|
CFLAGS="$CFLAGS -g"
|
||||||
@ -124,11 +131,6 @@ if test "x$target" = xiphone; then
|
|||||||
LDFLAGS="$LDFLAGS -L$SDK_PATH/System/Library/Frameworks/IOKit.framework/Versions/A"
|
LDFLAGS="$LDFLAGS -L$SDK_PATH/System/Library/Frameworks/IOKit.framework/Versions/A"
|
||||||
LDFLAGS="$LDFLAGS $SDK_PATH/System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager"
|
LDFLAGS="$LDFLAGS $SDK_PATH/System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager"
|
||||||
LDFLAGS="$LDFLAGS -lIOKit -lobjc"
|
LDFLAGS="$LDFLAGS -lIOKit -lobjc"
|
||||||
# handle sdk written in lower case for people that followed:
|
|
||||||
# http://code.google.com/p/iphonedevonlinux/wiki/Installation
|
|
||||||
if test -e "$DEVELOPER_PATH/sdks/iPhoneOS$SDK_VERSION.sdk" ; then
|
|
||||||
SDK_PATH="$DEVELOPER_PATH/sdks/iPhoneOS$SDK_VERSION.sdk"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR(Don't know how to compile without Apple's iPhone SDK, sorry.)
|
AC_MSG_ERROR(Don't know how to compile without Apple's iPhone SDK, sorry.)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user