aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-31 10:30:40 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-31 10:30:40 +0000
commit5d13704e042a8baf86450580645568488740b9e0 (patch)
tree5c3d23cfd0a5ab8878765bf8f66bec6d025e5bde /configure
parent52f8578984d93da35d4e72bed92954c25e718ecc (diff)
downloadrtmux-5d13704e042a8baf86450580645568488740b9e0.tar.gz
rtmux-5d13704e042a8baf86450580645568488740b9e0.tar.bz2
rtmux-5d13704e042a8baf86450580645568488740b9e0.zip
Some Linuxes/gcc versions hide LLONG_MAX/MIN unless the compiler is told to use
C99, so use -std=c99 on Linux.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index e5fab36f..5edd42f0 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.18 2009-07-14 06:47:12 nicm Exp $
+# $Id: configure,v 1.19 2009-07-31 10:30:40 nicm Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -82,7 +82,7 @@ SRCS+= osdep-linux.c \
compat/strtonum.c \
compat/getopt.c \
compat/vis.c
-CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
+CFLAGS+= -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE
LIBS+= -lcrypt -lutil
EOF
;;