summaryrefslogtreecommitdiff
path: root/autogen
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-07-23 06:17:48 -0400
committerGlenn Morris <rgm@gnu.org>2013-07-23 06:17:48 -0400
commit20d5e28ab33010943af43c92e57788549e08a991 (patch)
treeeba9a6011b82f25619265850605177cf825ed5d5 /autogen
parente3ebe15a742508bf11b12fbe3d77e48ff67a170c (diff)
downloademacs-20d5e28ab33010943af43c92e57788549e08a991.tar.gz
Auto-commit of generated files.
Diffstat (limited to 'autogen')
-rw-r--r--autogen/config.in3
-rwxr-xr-xautogen/configure5
2 files changed, 8 insertions, 0 deletions
diff --git a/autogen/config.in b/autogen/config.in
index 3fe82ce0f92..5c5b2dfdbca 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -1468,6 +1468,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 if using the Motif X toolkit. */
#undef USE_MOTIF
+/* Define to 1 if you use ncurses. */
+#undef USE_NCURSES
+
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
diff --git a/autogen/configure b/autogen/configure
index 5c02e0d4ecb..73f92d98d08 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -15022,6 +15022,11 @@ $as_echo "#define TERMINFO 1" >>confdefs.h
TERMCAP_OBJ=terminfo.o
fi
+if test "X$LIBS_TERMCAP" = "X-lncurses"; then
+
+$as_echo "#define USE_NCURSES 1" >>confdefs.h
+
+fi