autoconf
[Top][All Lists]
Advanced

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

Re: autoconf 2.53 & readline


From: Andreas Schwab
Subject: Re: autoconf 2.53 & readline
Date: Sun, 21 Jul 2002 18:10:47 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux)

Sam Steingold <address@hidden> writes:

|> I am trying to write readline.m4 file (for inclusion into aclocal.m4)
|> and I am having the following problem:
|> 
|> READLINE_FILE_COMPLETE is always defined to an empty string, not either
|> filename_completion_function or rl_filename_completion_function, while
|> READLINE_CONST (and the rest, like HAVE_READLINE_READLINE_H etc)
|> is always correct.
|> I would greatly appreciate some advice.
|> 
|> ------------------------ readline.m4 -------------------------------
|> AC_DEFUN([CL_READLINE],[dnl
|> AC_REQUIRE([CL_TERMCAP])dnl
|> if test $ac_cv_search_tgetent != no ; then
|>   AC_CHECK_HEADERS(readline/readline.h)
|>   if test $ac_cv_header_readline_readline_h = yes ; then
|>     AC_SEARCH_LIBS(readline, readline)
|>     # newer versions of readline prepend "rl_"
|>     AC_CHECK_FUNCS(rl_filename_completion_function)
|>     if [ test $ac_cv_func_rl_filename_completion_function = no ];
|>     then RL_FCF = filename_completion_function;
|>     else RL_FCF = rl_filename_completion_function; fi

These are not variable assignments, instead it's trying to execute the
command RL_FCF with either "= filename_completion_function" or "=
rl_filename_completion_function" as arguments.  Leave out the whitespace
around "=".

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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