diff options
author | Bruno Haible <bruno@clisp.org> | 2008-01-13 17:00:58 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:36 +0200 |
commit | 40311de248f323c46b6bfa1718cdb54cad052345 (patch) | |
tree | 1d0bee4015400cb4360587a00296adedf1dfb6f1 /gnulib-local | |
parent | 3ab41f2649ffe26278fb9657b0b81abcd3a799a5 (diff) | |
download | external_gettext-40311de248f323c46b6bfa1718cdb54cad052345.zip external_gettext-40311de248f323c46b6bfa1718cdb54cad052345.tar.gz external_gettext-40311de248f323c46b6bfa1718cdb54cad052345.tar.bz2 |
Preparation for ncurses/termcap tests.
Diffstat (limited to 'gnulib-local')
-rw-r--r-- | gnulib-local/m4/curses.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnulib-local/m4/curses.m4 b/gnulib-local/m4/curses.m4 new file mode 100644 index 0000000..ef41ffd --- /dev/null +++ b/gnulib-local/m4/curses.m4 @@ -0,0 +1,16 @@ +# curses.m4 serial 1 (gettext-0.18) +dnl Copyright (C) 2008 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +# Sets gl_curses_allowed to yes or no. +AC_DEFUN([gl_CURSES], +[ + AC_MSG_CHECKING([whether curses libraries may be used]) + AC_ARG_ENABLE(curses, + [ --disable-curses do not use libncurses, libtermcap even if they exist], + [gl_curses_allowed="$enableval"], + [gl_curses_allowed=yes]) + AC_MSG_RESULT([$gl_curses_allowed]) +]) |