/soc/2013/ankitkv/gobjectification: 5d86212f6451: Document Purpl...

Ankit Vani a at nevitus.org
Sat Aug 3 16:54:10 EDT 2013


Changeset: 5d86212f64513618666f1ddcba3ce13a68e445cd
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-04 02:23 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/5d86212f6451

Description:

Document PurplePlugin correctly based on whether plugins are enabled or not

diffstat:

 Doxyfile.in  |  2 +-
 configure.ac |  2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (29 lines):

diff --git a/Doxyfile.in b/Doxyfile.in
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -1381,7 +1381,7 @@ INCLUDE_FILE_PATTERNS  =
 # undefined via #undef or recursively expanded use the := operator
 # instead of the = operator.
 
-PREDEFINED             =
+PREDEFINED             = "@PLUGINS_MACRO@"
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
 # this tag can be used to specify a list of macro names that should be expanded.
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -2620,11 +2620,13 @@ if test "x$enable_plugins" = "xyes" ; th
 	AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.])
 	AM_CONDITIONAL(PLUGINS, true)
 	PLUGINS_DEFINE="#define PURPLE_PLUGINS 1"
+	PLUGINS_MACRO="PURPLE_PLUGINS"
 else
 	AM_CONDITIONAL(PLUGINS, false)
 	PLUGINS_DEFINE="#undef PURPLE_PLUGINS"
 fi
 AC_SUBST(PLUGINS_DEFINE)
+AC_SUBST(PLUGINS_MACRO)
 
 dnl #######################################################################
 dnl # Check for Cyrus-SASL (for xmpp/irc)



More information about the Commits mailing list