]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Preparation for ncurses/termcap tests.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Jan 2008 17:00:58 +0000 (17:00 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:36 +0000 (12:15 +0200)
gnulib-local/m4/curses.m4 [new file with mode: 0644]

diff --git a/gnulib-local/m4/curses.m4 b/gnulib-local/m4/curses.m4
new file mode 100644 (file)
index 0000000..ef41ffd
--- /dev/null
@@ -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])
+])