X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8d20f0f1540c4c116f52e333edc57a4f549927e8..1e8d80477a3e058a30c477955f1e0c56deb6e956:/apple-configure.sh diff --git a/apple-configure.sh b/apple-configure.sh index 50b4461..103b11d 100755 --- a/apple-configure.sh +++ b/apple-configure.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -# Cycript - Optimizing JavaScript Compiler/Runtime -# Copyright (C) 2009-2015 Jay Freeman (saurik) +# Cycript - The Truly Universal Scripting Language +# Copyright (C) 2009-2016 Jay Freeman (saurik) # GNU Affero General Public License, Version 3 {{{ # @@ -23,15 +23,6 @@ set -e cd "${0%%/*}" -if ! which aclocal; then - touch aclocal.m4; fi -if ! which autoconf; then - touch configure.ac; fi -if ! which automake; then - touch Makefile.in; fi -if ! which autoheader; then - touch config.h.in; fi - flags=("$@") ccf=(-g0 -O3) @@ -43,7 +34,7 @@ xcs=$(xcode-select --print-path) mac=$(path macosx) xct="${xcs}/Toolchains/XcodeDefault.xctoolchain/usr/lib" -system=0 +system=1 function configure() { local dir=$1 @@ -87,7 +78,8 @@ function configure() { for arch in i386 x86_64; do configure "osx-${arch}" "${mac}" "${arch}" "-mmacosx-version-min=10.6" \ - false "-I../readline.osx" "-L../readline.osx" "" + false "-I../readline.osx" "-L../readline.osx" "" \ + --with-python=/usr/bin/python-config done for arch in i386 x86_64; do