diff options
author | tsmith@quadxeon.mysql.com <> | 2007-06-14 23:23:30 +0200 |
---|---|---|
committer | tsmith@quadxeon.mysql.com <> | 2007-06-14 23:23:30 +0200 |
commit | 87fdad4ce8d83e71a469ee5c873833b387f3e440 (patch) | |
tree | a2e6d7b3fecd15d53e148269e3dbb13aa08370b3 /configure.in | |
parent | 9ab46d008858b2780db4d5ceb74a4627a0a6871e (diff) | |
parent | 87e7709fae8cc14aa58ca1d35af0ca14fe2f776d (diff) | |
download | mariadb-git-87fdad4ce8d83e71a469ee5c873833b387f3e440.tar.gz |
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun14/50
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 444a2d957b6..c7ae8941fd0 100644 --- a/configure.in +++ b/configure.in @@ -1952,6 +1952,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"]) |