mirror of
https://github.com/tmux/tmux.git
synced 2025-04-14 15:28:50 +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
|
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
|
||||||
|
|
||||||
# Is this --enable-debug?
|
# Is this --enable-debug?
|
||||||
case "x$VERSION" in xnext*) enable_debug=yes;; esac
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
debug,
|
debug,
|
||||||
AS_HELP_STRING(--enable-debug, enable debug build flags),
|
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)
|
AM_CONDITIONAL(IS_DEBUG, test "x$enable_debug" = xyes)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user