X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b816329d1336c0cb4ce15a36dd3d107dd5398724..c8a0500b2fc78101e1a7f3b2c99939f88a33aa4d:/configure.ac diff --git a/configure.ac b/configure.ac index 3f2e5b9..3900105 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_CONFIG_SRCDIR([Console.cpp]) AC_CONFIG_AUX_DIR([.]) LT_INIT([disable-static]) PKG_PROG_PKG_CONFIG([0.22]) -CHECK_GNU_MAKE +AX_CHECK_GNU_MAKE AC_SUBST([GMAKE], [$_cv_gnu_make_command]) AC_SUBST([LTFLAGS]) AS_IF([test "x$GMAKE" = x], [AC_MSG_ERROR([You need GNU make])]) @@ -53,8 +53,7 @@ AS_IF([test "x$ac_cv_path_GNUTAR" != x], [ AC_SUBST([GNUTAR], [:]) AC_MSG_RESULT([no]) ]) -AC_CHECK_PROGS([SVN], [svn]) -AC_CHECK_PROGS([SVNVERSION], [svnversion]) +AC_CHECK_PROGS([GIT], [git]) AC_PROG_CXX AC_PROG_OBJCXX AC_LANG([C++]) @@ -197,6 +196,7 @@ AS_CASE([$am_cv_func_iconv], [yes], [], [ ]) AS_CASE([$am_cv_func_iconv], [yes], [], [AC_MSG_ERROR([You need iconv])]) AC_LANG_POP([C]) +AC_SUBST([SO], [$acl_shlibext]) AS_IF([test "x$CY_OBJECTIVEC" = x1], [ AC_CHECK_HEADER([mach/mach.h], [ AC_CHECK_TOOLS([_OTOOL], [otool]) @@ -205,7 +205,6 @@ AS_IF([test "x$CY_OBJECTIVEC" = x1], [ AS_IF([test "x$_LIPO" = x], [AC_MSG_ERROR([You need lipo])]) AC_CHECK_TOOLS([_NM], [nm]) AS_IF([test "x$_NM" = x], [AC_MSG_ERROR([You need nm])]) - AC_SUBST([SO], [$acl_shlibext]) AC_SUBST([CY_OBJECTIVEC_MACH], [1]) AC_SUBST([CY_ATTACH_GROUP], [procmod]) ])