# HG changeset patch # User cslag # Date 1448118986 -3600 # Node ID c16bc7736bb4db993886523c2ff23f081dfd71db # Parent 99eaf237568e5f35d7df728dd8c3f8d424922cb7 - added configure (only sh-version) option to display list of settable targets diff -r 99eaf237568e -r c16bc7736bb4 configure --- a/configure Wed Sep 16 09:55:53 2015 +0200 +++ b/configure Sat Nov 21 16:16:26 2015 +0100 @@ -23,6 +23,8 @@ --prefix= --target= uname/special targets: MacOSX,iOS,iPhoneSimulator + use "?" to get a list of explicitly specifiable + targets --sdk= Mac OS X/iOS SDK version (e.g. '6.1' or '10.9.3') Tested iOS SDK versions: 4.3, 6.1, 8.1 --sdkroot= @@ -183,6 +185,10 @@ # ... newlib. printf "LDLIBS=-L${SDKROOT}/lib/ -L`dirname ${FULL}`/dyncall -L`dirname ${FULL}`/dyncallback -ldyncall_s -ldyncallback_s -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lstdc++ -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser \n" >>$C ;; + ?) + cat $0 | awk '/^esac$/{b=0}/^ [A-Za-z0-9|]+\)/{if(b==1) print substr($1,1,length($1)-1)}BEGIN{b=0}/^case.*TARGET.*uname.*in$/{b=1}' | tr '|' '\n' + exit 0 + ;; esac BLDTOP="$PWD"