DragonFlyBSD, FreeBSD, and NetBSD do not need vis.c.

This commit is contained in:
Tiago Cunha 2009-08-09 15:48:03 +00:00
parent e098f7b285
commit e6d5633671
1 changed files with 5 additions and 5 deletions

10
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: configure,v 1.20 2009-07-31 10:44:03 nicm Exp $
# $Id: configure,v 1.21 2009-08-09 15:48:03 tcunha Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@ -174,11 +174,11 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_STRTONUM
#define HAVE_VIS
EOF
cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -lcrypt -lutil
SRCS+= osdep-freebsd.c \
compat/vis.c
SRCS+= osdep-freebsd.c
EOF
;;
# ------------------------------------------------------------------------------
@ -197,14 +197,14 @@ EOF
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_UTIL_H
#define HAVE_VIS
EOF
cat <<EOF >>$CONFIG_MK
CPPFLAGS+= -I/usr/pkg/include
LDFLAGS+= -L/usr/pkg/lib
LIBS+= -lncurses -lcrypt -lutil
SRCS+= osdep-netbsd.c \
compat/strtonum.c \
compat/vis.c
compat/strtonum.c
EOF
;;
# ------------------------------------------------------------------------------