aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-20 12:25:17 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-20 12:25:17 +0000
commit698e003fcdcfc9e464581d8e8e032a79c0779970 (patch)
tree5a639b03612812b80f9c1044747b36ff8f7f98bd /configure
parentcc2c06128988bc39e7f6f879ab958711bde2bcdf (diff)
downloadrtmux-698e003fcdcfc9e464581d8e8e032a79c0779970.tar.gz
rtmux-698e003fcdcfc9e464581d8e8e032a79c0779970.tar.bz2
rtmux-698e003fcdcfc9e464581d8e8e032a79c0779970.zip
Solaris has no bzero().
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index c6a96b4c..b56f2ce6 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.27 2009-08-20 05:34:58 nicm Exp $
+# $Id: configure,v 1.28 2009-08-20 12:25:17 nicm Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -13,6 +13,7 @@ echo "# $TMUX_PLATFORM" >$CONFIG_MK
cat <<EOF >>$CONFIG_H
#undef HAVE_ASPRINTF
+#undef HAVE_BZERO
#undef HAVE_CRYPT_H
#undef HAVE_DAEMON
#undef HAVE_FGETLN
@@ -44,6 +45,7 @@ case $TMUX_PLATFORM in
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
#define HAVE_BITSTRING_H
+#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_FGETLN
#define HAVE_FORKPTY
@@ -75,6 +77,7 @@ EOF
Linux)
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
+#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_FORKPTY
#define HAVE_PATHS_H
@@ -103,6 +106,7 @@ EOF
# ------------------------------------------------------------------------------
AIX)
cat <<EOF >>$CONFIG_H
+#define HAVE_BZERO
#define HAVE_DAEMON
EOF
cat <<EOF >>$CONFIG_MK
@@ -160,6 +164,7 @@ EOF
Darwin)
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
+#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_FGETLN
#define HAVE_FORKPTY
@@ -189,6 +194,7 @@ EOF
FreeBSD|DragonFly)
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
+#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_FGETLN
#define HAVE_FORKPTY
@@ -218,6 +224,7 @@ EOF
NetBSD)
cat <<EOF >>$CONFIG_H
#define HAVE_ASPRINTF
+#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_FGETLN
#define HAVE_FORKPTY