Port quagga to -ng
[openwrt/svn-archive/archive.git] / net / quagga / patches / quagga-readline.patch
1 --- quagga-0.98.4/configure.orig Mon Jun 27 19:05:31 2005
2 +++ quagga-0.98.4/configure Thu Jul 28 07:02:12 2005
3 @@ -10937,7 +10937,7 @@
4 echo $ECHO_N "(cached) $ECHO_C" >&6
5 else
6 ac_check_lib_save_LIBS=$LIBS
7 -LIBS="-lcurses $LIBS"
8 +#LIBS="-lcurses $LIBS"
9 cat >conftest.$ac_ext <<_ACEOF
10 /* confdefs.h. */
11 _ACEOF
12 @@ -11071,7 +11071,8 @@
13 #define HAVE_LIBNCURSES 1
14 _ACEOF
15
16 - LIBS="-lncurses $LIBS"
17 +# LIBS="-lncurses $LIBS"
18 +CURSES=-lncurses
19
20 fi
21
22 @@ -11088,7 +11089,7 @@
23 echo $ECHO_N "(cached) $ECHO_C" >&6
24 else
25 ac_check_lib_save_LIBS=$LIBS
26 -LIBS="-lreadline $LIBS"
27 +LIBS="-lreadline $CURSES $LIBS"
28 cat >conftest.$ac_ext <<_ACEOF
29 /* confdefs.h. */
30 _ACEOF
31 @@ -11144,7 +11145,8 @@
32 #define HAVE_LIBREADLINE 1
33 _ACEOF
34
35 - LIBS="-lreadline $LIBS"
36 +# LIBS="-lreadline $LIBS"
37 +CURSES="$CURSES -lreadline"
38
39 fi
40
41 @@ -11303,7 +11305,7 @@
42 echo $ECHO_N "(cached) $ECHO_C" >&6
43 else
44 ac_check_lib_save_LIBS=$LIBS
45 -LIBS="-lreadline $LIBS"
46 +LIBS="-lreadline $CURSES $LIBS"
47 cat >conftest.$ac_ext <<_ACEOF
48 /* confdefs.h. */
49 _ACEOF
50 @@ -11365,7 +11367,7 @@
51 #define HAVE_LIBREADLINE 1
52 _ACEOF
53
54 - LIBS="-lreadline $LIBS"
55 +# LIBS="-lreadline $LIBS"
56
57 fi
58