]> git.saurik.com Git - cycript.git/commitdiff
Bypass the autotools build environment on Mac OS X.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 6 Sep 2013 10:45:23 +0000 (03:45 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 6 Sep 2013 10:45:23 +0000 (03:45 -0700)
macosx.sh

index 0b0807a843f2aed50fe680a0ed367a9a4d2514e9..9b9886755896a22c78d3060a730a84609af46bb7 100755 (executable)
--- 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}" "$@"