patches/gdb/6.5/110-uclibc-readline-conf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 18:49:23 2009 +0200 (2009-10-03)
changeset 1560 79a609170a83
parent 96 aa1a9fbd6eb8
permissions -rw-r--r--
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).
yann@96
     1
--- gdb-6.1.1-dist/readline/configure	2003-05-27 18:29:47.000000000 -0500
yann@96
     2
+++ gdb-6.1.1/readline/configure	2004-08-09 14:20:23.000000000 -0500
yann@96
     3
@@ -6249,7 +6249,12 @@
yann@96
     4
 
yann@96
     5
 
yann@96
     6
 echo "$as_me:$LINENO: checking for mbstate_t" >&5
yann@96
     7
+echo $ECHO_N "bash_cv_have_mbstate_t=$bash_cv_have_mbstate_t" >&6
yann@96
     8
 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
yann@96
     9
+if test "${bash_cv_have_mbstate_t+set}" != set; then
yann@96
    10
+  bash_cv_have_mbstate_t=yes
yann@96
    11
+  echo $ECHO_N "WARNING!! forcing to yes!!! $ECHO_C" >&6
yann@96
    12
+fi
yann@96
    13
 if test "${bash_cv_have_mbstate_t+set}" = set; then
yann@96
    14
   echo $ECHO_N "(cached) $ECHO_C" >&6
yann@96
    15
 else