summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-18 19:18:41 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-18 19:18:41 +0000
commit2f5c3d881ddd76005d4d00628778dc151e8b426c (patch)
treed2724e536355e99b28e5bec49b4bec3fdca69c8d /configure
parenta03cf0e183a057665b3c83ed3b249975546b5519 (diff)
#undef everything in config.h. This is the only bit of the scripting work I am
using now :-).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 23 insertions, 1 deletions
diff --git a/configure b/configure
index 8f293f70..aa72a6b4 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.12 2009-05-16 22:14:47 nicm Exp $
+# $Id: configure,v 1.13 2009-05-18 19:18:41 nicm Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -9,6 +9,28 @@ echo "/* $TMUX_PLATFORM */" >|$CONFIG_H
CONFIG_MK=config.mk
echo "# $TMUX_PLATFORM" >|$CONFIG_MK
+cat <<EOF >>$CONFIG_H
+#undef HAVE_ASPRINTF
+#undef HAVE_CRYPT_H
+#undef HAVE_DAEMON
+#undef HAVE_FGETLN
+#undef HAVE_FORKPTY
+#undef HAVE_GETOPT
+#undef HAVE_LIBUTIL_H
+#undef HAVE_PATHS_H
+#undef HAVE_POLL
+#undef HAVE_PROGNAME
+#undef HAVE_PTY_H
+#undef HAVE_QUEUE_H
+#undef HAVE_SETPROCTITLE
+#undef HAVE_STRLCAT
+#undef HAVE_STRLCPY
+#undef HAVE_STRTONUM
+#undef HAVE_TREE_H
+#undef HAVE_UTIL_H
+#undef HAVE_VSYSLOG
+EOF
+
case $TMUX_PLATFORM in
# ------------------------------------------------------------------------------
OpenBSD)