aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-11-26 09:19:05 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-11-26 09:19:05 +0000
commit399002baa4661a8191170cba6385cbf9aba9d1c0 (patch)
treeaf762e5a91bf17b344cfa9201489942d66999cc4 /configure
parent809902226e8e852858bef16e9045b570a1d8d035 (diff)
downloadrtmux-399002baa4661a8191170cba6385cbf9aba9d1c0.tar.gz
rtmux-399002baa4661a8191170cba6385cbf9aba9d1c0.tar.bz2
rtmux-399002baa4661a8191170cba6385cbf9aba9d1c0.zip
Despite terminfo being in use for around 20 years, NetBSD still haven't got
their act together, so add an ifdef to use ncurses.h instead of curses.h. Untested.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index b7484554..6e5c8643 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.45 2009-11-11 09:54:07 nicm Exp $
+# $Id: configure,v 1.46 2009-11-26 09:19:04 nicm Exp $
#
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
#
@@ -29,6 +29,7 @@ echo "# $TMUX_PLATFORM" >$CONFIG_MK
cat <<EOF >>$CONFIG_H
#undef HAVE_ASPRINTF
#undef HAVE_BROKEN_CMSG_FIRSTHDR
+#undef HAVE_BROKEN_CURSES_H
#undef HAVE_BROKEN_KQUEUE
#undef HAVE_BROKEN_POLL
#undef HAVE_BZERO
@@ -230,6 +231,7 @@ EOF
NetBSD)
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
+#define HAVE_BROKEN_CURSES_H
#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_FGETLN