X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/2ca4dab349cc3f91032b17ced6b76023b4e67115..588cf8382f6194d3c3eb6f09e17a1be73f5d2cda:/configure diff --git a/configure b/configure index 1973916..c5d3179 100755 --- a/configure +++ b/configure @@ -638,16 +638,6 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS -CY_MACH_FALSE -CY_MACH_TRUE -CY_MACH -CY_ATTACH_GROUP -ac_ct__OTOOL -_OTOOL -ac_ct__NM -_NM -ac_ct__LIPO -_LIPO SO LTFLAGS LTLIBGCC @@ -667,6 +657,8 @@ LIBFFI_LIBS LIBFFI_CFLAGS CY_EXECUTE_FALSE CY_EXECUTE_TRUE +CY_ATTACH_FALSE +CY_ATTACH_TRUE CY_CONSOLE_FALSE CY_CONSOLE_TRUE LTJAVASCRIPTCORE @@ -833,6 +825,7 @@ with_sysroot enable_libtool_lock enable_javascript enable_console +enable_attach ' ac_precious_vars='build_alias host_alias @@ -1499,6 +1492,7 @@ Optional Features: available option for ENGINE is JavaScriptCore) [default=yes] --disable-console disable console + --disable-attach disable attach Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -20434,6 +20428,20 @@ else fi +# Check whether --enable-attach was given. +if test "${enable_attach+set}" = set; then : + enableval=$enable_attach; +fi + + if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1; then + CY_ATTACH_TRUE= + CY_ATTACH_FALSE='#' +else + CY_ATTACH_TRUE='#' + CY_ATTACH_FALSE= +fi + + if test "x$CY_EXECUTE" = x1; then @@ -21372,328 +21380,6 @@ fi SO=$acl_shlibext -if test "x$CY_EXECUTE" = x1; then : - - ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" -if test "x$ac_cv_header_mach_mach_h" = xyes; then : - - if test -n "$ac_tool_prefix"; then - for ac_prog in lipo - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog__LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$_LIPO"; then - ac_cv_prog__LIPO="$_LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -_LIPO=$ac_cv_prog__LIPO -if test -n "$_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5 -$as_echo "$_LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$_LIPO" && break - done -fi -if test -z "$_LIPO"; then - ac_ct__LIPO=$_LIPO - for ac_prog in lipo -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct__LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct__LIPO"; then - ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct__LIPO="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO -if test -n "$ac_ct__LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5 -$as_echo "$ac_ct__LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct__LIPO" && break -done - - if test "x$ac_ct__LIPO" = x; then - _LIPO="as_fn_error $? "missing \"lipo\"" "$LINENO" 5" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - _LIPO=$ac_ct__LIPO - fi -fi - - if test -n "$ac_tool_prefix"; then - for ac_prog in nm - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog__NM+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$_NM"; then - ac_cv_prog__NM="$_NM" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog__NM="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -_NM=$ac_cv_prog__NM -if test -n "$_NM"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5 -$as_echo "$_NM" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$_NM" && break - done -fi -if test -z "$_NM"; then - ac_ct__NM=$_NM - for ac_prog in nm -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct__NM+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct__NM"; then - ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct__NM="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct__NM=$ac_cv_prog_ac_ct__NM -if test -n "$ac_ct__NM"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5 -$as_echo "$ac_ct__NM" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct__NM" && break -done - - if test "x$ac_ct__NM" = x; then - _NM="as_fn_error $? "missing \"nm\"" "$LINENO" 5" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - _NM=$ac_ct__NM - fi -fi - - if test -n "$ac_tool_prefix"; then - for ac_prog in otool - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog__OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$_OTOOL"; then - ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -_OTOOL=$ac_cv_prog__OTOOL -if test -n "$_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5 -$as_echo "$_OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$_OTOOL" && break - done -fi -if test -z "$_OTOOL"; then - ac_ct__OTOOL=$_OTOOL - for ac_prog in otool -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct__OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct__OTOOL"; then - ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct__OTOOL="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL -if test -n "$ac_ct__OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5 -$as_echo "$ac_ct__OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct__OTOOL" && break -done - - if test "x$ac_ct__OTOOL" = x; then - _OTOOL="as_fn_error $? "missing \"otool\"" "$LINENO" 5" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - _OTOOL=$ac_ct__OTOOL - fi -fi - - CY_ATTACH_GROUP=procmod - - CY_MACH=1 - -fi - - -fi - if test "x$CY_MACH" = x1; then - CY_MACH_TRUE= - CY_MACH_FALSE='#' -else - CY_MACH_TRUE='#' - CY_MACH_FALSE= -fi - - ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF @@ -21845,6 +21531,10 @@ if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then as_fn_error $? "conditional \"CY_CONSOLE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then + as_fn_error $? "conditional \"CY_ATTACH\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then as_fn_error $? "conditional \"CY_EXECUTE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -21857,10 +21547,6 @@ if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then as_fn_error $? "conditional \"CY_OBJECTIVEC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then - as_fn_error $? "conditional \"CY_MACH\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0