Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 389794 Details for
Bug 514952
dev-libs/libmemcached-1.0.18 - configure misinterprets --disable-debug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libmemcached-1.0.18-fix_debug_flag.patch
libmemcached-1.0.18-fix_debug_flag.patch (text/plain), 1.42 KB, created by
Matthew Schultz
on 2014-11-19 20:38:12 UTC
(
hide
)
Description:
libmemcached-1.0.18-fix_debug_flag.patch
Filename:
MIME Type:
Creator:
Matthew Schultz
Created:
2014-11-19 20:38:12 UTC
Size:
1.42 KB
patch
obsolete
>Fixed a bug that caused configure to disobey the enable/disable debug flag. The debug flag will default to disabled if not specified. >diff -ru libmemcached-1.0.18-orig/m4/ax_debug.m4 libmemcached-1.0.18/m4/ax_debug.m4 >--- libmemcached-1.0.18-orig/m4/ax_debug.m4 2014-11-05 14:43:53.720284916 -0600 >+++ libmemcached-1.0.18/m4/ax_debug.m4 2014-11-19 14:23:19.512482198 -0600 >@@ -49,16 +49,18 @@ > [AC_PREREQ([2.63])dnl > AC_ARG_ENABLE([debug], > [AS_HELP_STRING([--enable-debug], >- [Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])], >- [ax_enable_debug=yes >+ [Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])]) >+ AS_IF([test "x$enable_debug" = "xyes"], [ >+ ax_enable_debug=yes > AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code.]) > AX_CHECK_LIBRARY([MCHECK],[mcheck.h],[mcheck],[AX_APPEND_LINK_FLAGS([-lmcheck])]) > AX_ADD_AM_MACRO([--debug],[AM_YFLAGS]) >- AX_ADD_AM_MACRO([-D_GLIBCXX_DEBUG],[AM_CPPFLAGS])], >- [ax_enable_debug=no >+ AX_ADD_AM_MACRO([-D_GLIBCXX_DEBUG],[AM_CPPFLAGS]) >+ ], [ >+ ax_enable_debug=no > AC_SUBST([MCHECK]) >- AC_DEFINE([DEBUG],[0],[Define to 1 to enable debugging code.])]) >- >+ AC_DEFINE([DEBUG],[0],[Define to 1 to enable debugging code.]) >+ ]) > AC_MSG_CHECKING([for debug]) > AC_MSG_RESULT([$ax_enable_debug]) > AM_CONDITIONAL([DEBUG],[test "x${ax_enable_debug}" = "xyes"])])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 514952
: 389794