Contents of /trunk/pilot-link/patches/pilot-link-0.12.4-readline.patch
Parent Directory | Revision Log
Revision 847 -
(show annotations)
(download)
Fri Jun 12 17:42:06 2009 UTC (15 years, 3 months ago) by niro
File size: 1833 byte(s)
Fri Jun 12 17:42:06 2009 UTC (15 years, 3 months ago) by niro
File size: 1833 byte(s)
-patches for pilot-link
1 | diff -Naur pilot-link-0.12.2.orig/m4/vl_lib_readline.m4 pilot-link-0.12.2/m4/vl_lib_readline.m4 |
2 | --- pilot-link-0.12.2.orig/m4/vl_lib_readline.m4 2005-06-03 20:39:24.000000000 +0200 |
3 | +++ pilot-link-0.12.2/m4/vl_lib_readline.m4 2007-08-25 15:23:58.000000000 +0200 |
4 | @@ -89,23 +89,23 @@ |
5 | fi |
6 | LIBS="$ORIG_LIBS" |
7 | ]) |
8 | - fi |
9 | |
10 | - if test "$vl_cv_lib_readline" != "no"; then |
11 | - msg_readline="yes" |
12 | - RL_LIBS="$vl_cv_lib_readline" |
13 | - AC_DEFINE(HAVE_LIBREADLINE, 1, |
14 | - [Define if you have a readline compatible library]) |
15 | - AC_CHECK_HEADERS(readline.h readline/readline.h) |
16 | - AC_CACHE_CHECK([whether readline supports history], |
17 | - vl_cv_lib_readline_history, [ |
18 | - vl_cv_lib_readline_history="no" |
19 | - AC_TRY_LINK_FUNC(add_history, vl_cv_lib_readline_history="yes") |
20 | - ]) |
21 | - if test "$vl_cv_lib_readline_history" = "yes"; then |
22 | - AC_DEFINE(HAVE_READLINE_HISTORY, 1, |
23 | - [Define if your readline library has \`add_history']) |
24 | - AC_CHECK_HEADERS(history.h readline/history.h) |
25 | + if test "$vl_cv_lib_readline" != "no"; then |
26 | + msg_readline="yes" |
27 | + RL_LIBS="$vl_cv_lib_readline" |
28 | + AC_DEFINE(HAVE_LIBREADLINE, 1, |
29 | + [Define if you have a readline compatible library]) |
30 | + AC_CHECK_HEADERS(readline.h readline/readline.h) |
31 | + AC_CACHE_CHECK([whether readline supports history], |
32 | + vl_cv_lib_readline_history, [ |
33 | + vl_cv_lib_readline_history="no" |
34 | + AC_TRY_LINK_FUNC(add_history, vl_cv_lib_readline_history="yes") |
35 | + ]) |
36 | + if test "$vl_cv_lib_readline_history" = "yes"; then |
37 | + AC_DEFINE(HAVE_READLINE_HISTORY, 1, |
38 | + [Define if your readline library has \`add_history']) |
39 | + AC_CHECK_HEADERS(history.h readline/history.h) |
40 | + fi |
41 | fi |
42 | fi |
43 | AC_SUBST(RL_LIBS) |