]> git.pld-linux.org Git - packages/amanda.git/blobdiff - amanda-as_needed.patch
- 3.2.1
[packages/amanda.git] / amanda-as_needed.patch
index 26082331df4ad9a5b119c832cf718111a1be7388..8dbaa01f38045f90989c908120772a112540d68d 100644 (file)
@@ -1,14 +1,16 @@
---- amanda-2.6.0/config/amanda/readline.m4~    2008-03-25 21:23:05.000000000 +0100
-+++ amanda-2.6.0/config/amanda/readline.m4     2008-05-07 13:30:33.000000000 +0200
-@@ -38,9 +38,9 @@
-                 proceed="true"
-             ], [
-                 AC_CHECK_LIB(ncurses, tgetent, [
--                    READLINE_LIBS="-lncurses"
-+                    READLINE_LIBS="-lncurses -ltinfo"
-                     proceed="true"
--                ])
-+                ], [], [-ltinfo])
-             ])
-         ])
+--- amanda-3.2.1/config/amanda/readline.m4~    2008-03-25 21:23:05.000000000 +0100
++++ amanda-3.2.1/config/amanda/readline.m4     2008-05-07 13:30:33.000000000 +0200
+@@ -96,11 +96,11 @@
+                    ax_cv_lib_readline, [
+       ORIG_LIBS="$LIBS"
+       for readline_lib in readline edit editline; do
+-        for termcap_lib in "" termcap curses ncurses; do
++        for termcap_lib in "" ncurses curses termcap; do
+           if test -z "$termcap_lib"; then
+             TRY_LIB="-l$readline_lib"
+           else
+-            TRY_LIB="-l$readline_lib -l$termcap_lib"
++            TRY_LIB="-l$readline_lib -l$termcap_lib -ltinfo"
+           fi
+           LIBS="$ORIG_LIBS $TRY_LIB"
+           AC_TRY_LINK_FUNC(readline, ax_cv_lib_readline="$TRY_LIB")
This page took 0.061754 seconds and 4 git commands to generate.