Mercurial > pidgin
annotate libgaim/plugins/perl/common/Debug.xs @ 14797:aae32cf1caac
[gaim-migrate @ 17562]
SF Patch #1581054 from Jason Lynch
Fixes SF Bug #1581014
'Several switches in the configure script
(startup-notification and gtkspell, among others)
explicitly set the relevant enable_x variable to "no"
in the AC_ARG_ENABLE macro in the "action-if-given"
area, with the side effect that if someone explicitly
passes --enable-feature, the feature will be disabled.
replacing the "no" with "$enableval" as in other
AC_ARG_ENABLE calls fixes the problem.'
The signature is:
AC_ARG_ENABLE (FEATURE, HELP-STRING, [ACTION-IF-GIVEN], [ACTION-IF-NOT-GIVEN])
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Sun, 22 Oct 2006 05:12:28 +0000 |
| parents | 60b1bc8dbf37 |
| children | ee79c2c1b5ac |
| rev | line source |
|---|---|
| 14192 | 1 #include "module.h" |
| 2 | |
| 3 MODULE = Gaim::Debug PACKAGE = Gaim::Debug PREFIX = gaim_debug_ | |
| 4 PROTOTYPES: ENABLE | |
| 5 | |
| 6 void | |
| 7 gaim_debug(level, category, string) | |
| 8 Gaim::DebugLevel level | |
| 9 const char *category | |
| 10 const char *string | |
| 11 | |
| 12 void | |
| 13 gaim_debug_misc(category, string) | |
| 14 const char *category | |
| 15 const char *string | |
| 16 | |
| 17 void | |
| 18 gaim_debug_info(category, string) | |
| 19 const char *category | |
| 20 const char *string | |
| 21 | |
| 22 void | |
| 23 gaim_debug_warning(category, string) | |
| 24 const char *category | |
| 25 const char *string | |
| 26 | |
| 27 void | |
| 28 gaim_debug_error(category, string) | |
| 29 const char *category | |
| 30 const char *string | |
| 31 | |
| 32 void | |
| 33 gaim_debug_fatal(category, string) | |
| 34 const char *category | |
| 35 const char *string | |
| 36 | |
| 37 void | |
| 38 gaim_debug_set_enabled(enabled) | |
| 39 gboolean enabled | |
| 40 | |
| 41 gboolean | |
| 42 gaim_debug_is_enabled() |
