From fd541e331ea90131aed2dcd68134578f0a77fa63 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 22 Mar 2010 18:17:27 +0000 Subject: [PATCH] handle sdk written in lower case for people that followed: http://code.google.com/p/iphonedevonlinux/wiki/Installation --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index d640f3d5b..201e8105b 100644 --- a/configure.in +++ b/configure.in @@ -124,6 +124,11 @@ if test "x$target" = xiphone; then LDFLAGS="$LDFLAGS -L$SDK_PATH/System/Library/Frameworks/IOKit.framework/Versions/A" LDFLAGS="$LDFLAGS $SDK_PATH/System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager" 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.)