From: Jay Freeman (saurik) Date: Fri, 6 Sep 2013 10:45:23 +0000 (-0700) Subject: Bypass the autotools build environment on Mac OS X. X-Git-Tag: v0.9.500%b1~29 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/81d7bcec953ab7e1a918fe1d90d1a754043a3840 Bypass the autotools build environment on Mac OS X. --- diff --git a/macosx.sh b/macosx.sh index 0b0807a..9b98867 100755 --- a/macosx.sh +++ b/macosx.sh @@ -6,7 +6,15 @@ version=6.2 readline=readline-${version} if [[ ! -d "${readline}" ]]; then - ./readline.sh "${version}" -fi + ./readline.sh "${version}"; fi + +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 exec "${0%%/*}/configure" CPPFLAGS="-I${readline}" LDFLAGS="-L${readline}" "$@"