diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-31 10:30:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-31 10:30:40 +0000 |
commit | 5d13704e042a8baf86450580645568488740b9e0 (patch) | |
tree | 5c3d23cfd0a5ab8878765bf8f66bec6d025e5bde /configure | |
parent | 52f8578984d93da35d4e72bed92954c25e718ecc (diff) | |
download | rtmux-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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ;; |