mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01:00
DragonFlyBSD, FreeBSD, and NetBSD do not need vis.c.
This commit is contained in:
parent
e098f7b285
commit
e6d5633671
10
configure
vendored
10
configure
vendored
@ -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
|
||||
;;
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user