search for: preserve_lib

Displaying 1 result from an estimated 1 matches for "preserve_lib".

Did you mean: preserve_libs
2002 Jul 01
3
patch: readline support for sftp
...files]) + ]) + + SFTPLIB="-lreadline" + AC_CHECK_LIB(ncurses, tputs, SFTPLIB="-lncurses $SFTPLIB" , + [AC_CHECK_LIB(curses, tputs, SFTPLIB="-lcurses $SFTPLIB" , + [AC_CHECK_LIB(termcap, tputs, SFTPLIB="-ltermcap $SFTPLIB") + ]) + ]) + + PRESERVE_LIBS="$LIBS" + LIBS="$LIBS $SFTPLIB" + AC_MSG_CHECKING([for readline support]) + AC_TRY_RUN( + [ +#include <stdio.h> +#include <readline/readline.h> +#include <readline/history.h> +int main() { add_history(rl_library_version); return 0; } + ], +...