mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	DragonFlyBSD, FreeBSD, and NetBSD do not need vis.c.
This commit is contained in:
		
							
								
								
									
										10
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/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`}
 | 
					TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -174,11 +174,11 @@ EOF
 | 
				
			|||||||
#define HAVE_STRLCAT
 | 
					#define HAVE_STRLCAT
 | 
				
			||||||
#define HAVE_STRLCPY
 | 
					#define HAVE_STRLCPY
 | 
				
			||||||
#define HAVE_STRTONUM
 | 
					#define HAVE_STRTONUM
 | 
				
			||||||
 | 
					#define HAVE_VIS
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
	cat <<EOF >>$CONFIG_MK
 | 
						cat <<EOF >>$CONFIG_MK
 | 
				
			||||||
LIBS+= -lcurses -lcrypt -lutil
 | 
					LIBS+= -lcurses -lcrypt -lutil
 | 
				
			||||||
SRCS+= osdep-freebsd.c \
 | 
					SRCS+= osdep-freebsd.c
 | 
				
			||||||
	compat/vis.c
 | 
					 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
	;;
 | 
						;;
 | 
				
			||||||
# ------------------------------------------------------------------------------
 | 
					# ------------------------------------------------------------------------------
 | 
				
			||||||
@@ -197,14 +197,14 @@ EOF
 | 
				
			|||||||
#define HAVE_STRLCAT
 | 
					#define HAVE_STRLCAT
 | 
				
			||||||
#define HAVE_STRLCPY
 | 
					#define HAVE_STRLCPY
 | 
				
			||||||
#define HAVE_UTIL_H
 | 
					#define HAVE_UTIL_H
 | 
				
			||||||
 | 
					#define HAVE_VIS
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
	cat <<EOF >>$CONFIG_MK
 | 
						cat <<EOF >>$CONFIG_MK
 | 
				
			||||||
CPPFLAGS+= -I/usr/pkg/include
 | 
					CPPFLAGS+= -I/usr/pkg/include
 | 
				
			||||||
LDFLAGS+= -L/usr/pkg/lib
 | 
					LDFLAGS+= -L/usr/pkg/lib
 | 
				
			||||||
LIBS+= -lncurses -lcrypt -lutil
 | 
					LIBS+= -lncurses -lcrypt -lutil
 | 
				
			||||||
SRCS+= osdep-netbsd.c \
 | 
					SRCS+= osdep-netbsd.c \
 | 
				
			||||||
	compat/strtonum.c \
 | 
						compat/strtonum.c
 | 
				
			||||||
	compat/vis.c
 | 
					 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
	;;
 | 
						;;
 | 
				
			||||||
# ------------------------------------------------------------------------------
 | 
					# ------------------------------------------------------------------------------
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user