mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Only default --enable-debug if the user has not turned it off, from Ken Lau.
This commit is contained in:
parent
37771a5a8d
commit
8b1a3bb2e5
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user