[EMAIL PROTECTED] writes:

> Anybody got anything better than this:

>  AC_CHECK_LIB(readline, readline, ,
>   AC_CHECK_FUNC(tputs, , AC_CHECK_LIB(curses, tputs))
>   unset ac_cv_lib_readline_readline
>   AC_CHECK_LIB(readline, readline))

In the PostgreSQL source tree there are a number of readline-related tests
that are the results of years of struggle. ;-)

Have a look at

http://developer.postgresql.org/cvsweb.cgi/pgsql/

config/programs.m4
configure.in

-- 
Peter Eisentraut   [EMAIL PROTECTED]


Reply via email to