diff options
author | unknown <msvensson@pilot.(none)> | 2007-06-07 09:22:26 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.(none)> | 2007-06-07 09:22:26 +0200 |
commit | ca6d71248ebeda965a4a1defa847e9e880547632 (patch) | |
tree | 518c772ed37e69c5625f816fa7a7a8db081c47f0 /configure.in | |
parent | 83f622117593c9103fc8469399ffddcf5a91da1b (diff) | |
parent | 703308a65aed7857a3c97711d6e74834a9b09b7a (diff) | |
download | mariadb-git-ca6d71248ebeda965a4a1defa847e9e880547632.tar.gz |
Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
into pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
configure.in:
Auto merged
sql/sql_acl.cc:
Auto merged
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 3ba8f64cad1..3bff7f52804 100644 --- a/configure.in +++ b/configure.in @@ -1867,6 +1867,19 @@ else fi AC_SUBST(TERMCAP_LIB) +# Check if the termcap function 'tgoto' is already declared in +# system header files or if it need to be declared locally +AC_CHECK_DECLS(tgoto,,,[ +#ifdef HAVE_CURSES_H +# include <curses.h> +#elif HAVE_NCURSES_H +# include <ncurses.h> +#endif +#ifdef HAVE_TERM_H +# include <term.h> +#endif +]) + LIBEDIT_LOBJECTS="" AC_CHECK_FUNC(strunvis, ,[LIBEDIT_LOBJECTS="$LIBEDIT_LOBJECTS unvis.o"]) AC_CHECK_FUNC(strvis, ,[LIBEDIT_LOBJECTS="$LIBEDIT_LOBJECTS vis.o"]) |