freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Steve Murphree" <smurph AT smcomp.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] FreeTDS 0.61 Compile Problem
- Date: Sun, 13 Jul 2003 15:23:21 -0700
----- Original Message -----
From: "James K. Lowden" <jklowden AT schemamania.org>
To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
Sent: Sunday, July 13, 2003 1:22 PM
Subject: Re: [freetds] FreeTDS 0.61 Compile Problem
> I'll do some more checking. Below is the configure.in test for readline.
> Freddy added it a year ago, and I imagine he found it elsewhere. I'm not
> sure what to change; afaict we're doing as you suggest, unless tputs(3) is
> intrinsically different from tgetent(3).
>
> dnl readline test
> dnl Readline is needed by the tty session. Set up a special RL_LIBS
> dnl substitution for it.
> OLDLIBS="$LIBS"
> dnl Readline is linked with curses, and on some systems termcap must be
> dnl linked in. Others (inc debian) have termcap built into ncurses.
> LIBS=""
> AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
> ^^^^^^^ ^^^^^^^^ Good, no?
> AC_CHECK_LIB([readline], [readline], [LIBS="$LIBS -lreadline"
> AC_DEFINE(HAVE_READLINE, 1, [Define to 1 if you have the GNU Readline
> library.])] )
> READLINE_LIBS="$LIBS"
> AC_SUBST(READLINE_LIBS)
> LIBS="$OLDLIBS"
Hmm... Yet his configure run only included -lncurses and -lreadline for
READLINE_LIBS. Perhaps the order of the check should be:
AC_SEARCH_LIBS(tgetent, [termcap readline ncurses curses])
You may find that curses is not even needed.
Steve
-
[freetds] FreeTDS 0.61 Compile Problem,
io, 07/12/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
- <Possible follow-up(s)>
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Langasek, 07/15/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Langasek, 07/15/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Chase Hargraves, 07/15/2003
- RE: [freetds] FreeTDS 0.61 Compile Problem, Lowden, James K, 07/16/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
Archive powered by MHonArc 2.6.24.