diff options
author | unknown <msvensson@pilot.(none)> | 2007-06-07 09:21:33 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.(none)> | 2007-06-07 09:21:33 +0200 |
commit | 703308a65aed7857a3c97711d6e74834a9b09b7a (patch) | |
tree | 4c149bd4c29b6ba4de8370aac8d3310438e52827 /configure.in | |
parent | cdb9759ef106dc7517d6468a879c2014c06794d0 (diff) | |
parent | fe8fdfcc156aa3865580fc8187dda0c9cf82aed1 (diff) | |
download | mariadb-git-703308a65aed7857a3c97711d6e74834a9b09b7a.tar.gz |
Merge pilot.(none):/data/msvensson/mysql/mysql-4.1-maint
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
configure.in:
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 989aa978690..9cb502d7d5f 100644 --- a/configure.in +++ b/configure.in @@ -1946,6 +1946,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"]) |