]> git.saurik.com Git - cycript.git/blobdiff - configure
Remove XXX as cur_term is not part of readline.
[cycript.git] / configure
index c8099d6c1ec87aa9431c01861198a05563b87f45..a6a688a2988198e5c68c6d71019f27fbc5554450 100755 (executable)
--- a/configure
+++ b/configure
@@ -652,6 +652,8 @@ SO
 LTFLAGS
 LTLIBICONV
 LIBICONV
+LTLIBTERMCAP
+LTLIBREADLINE
 CY_OBJECTIVEC_FALSE
 CY_OBJECTIVEC_TRUE
 GNUSTEP_CONFIG
@@ -665,6 +667,7 @@ CY_EXECUTE
 WEBKIT_LIBS
 WEBKIT_CFLAGS
 CY_ARCH
+CY_FILTERS
 GNUTAR
 GPERF
 FLEX
 fi
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
+$as_echo_n "checking bison for %code{}... " >&6; }
+echo '%code{}%%_:' >conftest.y
+if $BISON conftest.y -o/dev/null 2>/dev/null; then
+
+  for element in Bison24; do
+    haveit=
+    for x in $CY_FILTERS; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+      if test "X$x" = "X$element"; then
+        haveit=yes
+        break
+      fi
+    done
+    if test -z "$haveit"; then
+      CY_FILTERS="${CY_FILTERS}${CY_FILTERS:+ }$element"
+    fi
+  done
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  for element in Bison23; do
+    haveit=
+    for x in $CY_FILTERS; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+      if test "X$x" = "X$element"; then
+        haveit=yes
+        break
+      fi
+    done
+    if test -z "$haveit"; then
+      CY_FILTERS="${CY_FILTERS}${CY_FILTERS:+ }$element"
+    fi
+  done
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+rm -f conftest.y
+
+
 
 
 
 
 
 
+
+
+    cy_save=$LIBS
+    LIBS=
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
 $as_echo_n "checking for a readline compatible library... " >&6; }
 if ${ax_cv_lib_readline+:} false; then :
@@ -20024,14 +20092,21 @@ done
     fi
   fi
 
-case $vl_cv_lib_readline in #(
+    LTLIBREADLINE=$LIBS
+    LIBS=$cy_save
+
+
+case $ax_cv_lib_readline in #(
   no) :
     as_fn_error $? "missing \"libreadline\"" "$LINENO" 5 ;; #(
   *) :
      ;;
 esac
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
+
+    cy_save=$LIBS
+    LIBS=
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
 $as_echo_n "checking for library containing cur_term... " >&6; }
 if ${ac_cv_search_cur_term+:} false; then :
   $as_echo_n "(cached) " >&6
@@ -20087,6 +20162,10 @@ if test "$ac_res" != no; then :
 
 fi
 
+    LTLIBTERMCAP=$LIBS
+    LIBS=$cy_save
+
+
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'