summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-02 07:31:02 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-02 07:31:02 +0000
commit1f1623e04d8d926af440b98a5c20e5eac94bca11 (patch)
treeeaf3feb5d9c530c66fc274e0c53bdce46ae688cb /configure
parent3c0500f2824b6013e28d0d4b9722b8f676df4870 (diff)
Solaris has no strcasestr.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index 218aad1d..dbc4e5d3 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.16 2009-07-01 22:28:56 nicm Exp $
+# $Id: configure,v 1.17 2009-07-02 07:31:01 nicm Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -25,6 +25,7 @@ cat <<EOF >>$CONFIG_H
#undef HAVE_PTY_H
#undef HAVE_QUEUE_H
#undef HAVE_SETPROCTITLE
+#undef HAVE_STRCASESTR
#undef HAVE_STRLCAT
#undef HAVE_STRLCPY
#undef HAVE_STRTONUM
@@ -48,6 +49,7 @@ case $TMUX_PLATFORM in
#define HAVE_PROGNAME
#define HAVE_QUEUE_H
#define HAVE_SETPROCTITLE
+#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRTONUM
@@ -70,6 +72,7 @@ EOF
#define HAVE_POLL
#define HAVE_PROGNAME
#define HAVE_PTY_H
+#define HAVE_STRCASESTR
EOF
cat <<EOF >>$CONFIG_MK
SRCS+= osdep-linux.c \
@@ -95,6 +98,7 @@ SRCS+= osdep-unknown.c \
compat/bsd-poll.c \
compat/daemon.c \
compat/forkpty-aix.c \
+ compat/strcasestr.c \
compat/strlcat.c \
compat/strlcpy.c \
compat/strtonum.c \
@@ -125,6 +129,7 @@ SRCS+= osdep-unknown.c \
compat/fgetln.c \
compat/forkpty-sunos.c \
compat/getopt.c \
+ compat/strcasestr.c \
compat/strtonum.c \
compat/vis.c
EOF
@@ -139,6 +144,7 @@ EOF
#define HAVE_GETOPT
#define HAVE_PATHS_H
#define HAVE_PROGNAME
+#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_UTIL_H
@@ -163,6 +169,7 @@ EOF
#define HAVE_POLL
#define HAVE_PROGNAME
#define HAVE_SETPROCTITLE
+#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRTONUM
@@ -185,6 +192,7 @@ EOF
#define HAVE_POLL
#define HAVE_PROGNAME
#define HAVE_SETPROCTITLE
+#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_UTIL_H