autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

readline...


From: Harlan.Stenn
Subject: readline...
Date: Fri, 24 May 2002 23:03:08 -0400 (EDT)
User-agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd)

Anybody got anything better than this: 
Date: Fri, 24 May 2002 23:03:04 -0400
Message-ID: <address@hidden>
From: Harlan Stenn <address@hidden>

 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))

and now I really don't like that one anymore, either.

This isn't much better:

 AC_CHECK_LIB(readline, readline, ,
  unset ac_cv_lib_readline_readline
  AC_MSG_NOTICE([Checking again with -lcurses])
  AC_CHECK_LIB(readline, readline,
   LIBS="-lreadline -lcurses $LIBS"
   AC_DEFINE(HAVE_LIBREADLINE)
   AC_DEFINE(HAVE_LIBCURSES)
   , , -lcurses))

H



reply via email to

[Prev in Thread] Current Thread [Next in Thread]