mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Only default --enable-debug if the user has not turned it off, from Ken Lau.
This commit is contained in:
		@@ -56,10 +56,11 @@ AC_USE_SYSTEM_EXTENSIONS
 | 
			
		||||
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
 | 
			
		||||
 | 
			
		||||
# Is this --enable-debug?
 | 
			
		||||
case "x$VERSION" in xnext*) enable_debug=yes;; esac
 | 
			
		||||
AC_ARG_ENABLE(
 | 
			
		||||
	debug,
 | 
			
		||||
	AS_HELP_STRING(--enable-debug, enable debug build flags),
 | 
			
		||||
	,
 | 
			
		||||
	[case "x$VERSION" in xnext*) enable_debug=yes;; esac]
 | 
			
		||||
)
 | 
			
		||||
AM_CONDITIONAL(IS_DEBUG, test "x$enable_debug" = xyes)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user