changeset 12120:b8c5b67a5475

[gaim-migrate @ 14420] Perl and Mono should probably be listed in the About box as enabled/disabled. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 17 Nov 2005 03:38:38 +0000
parents 312efb43c49a
children 943307dd6ee9
files configure.ac src/gtkdialogs.c
diffstat 2 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Nov 17 00:11:53 2005 +0000
+++ b/configure.ac	Thu Nov 17 03:38:38 2005 +0000
@@ -726,7 +726,8 @@
 	else
 		AC_SUBST(PERL_CFLAGS)
 		AC_SUBST(PERL_LIBS)
-		AM_CONDITIONAL(USE_PERL, test "x$enable_perl" = "xyes")
+		AM_CONDITIONAL(USE_PERL, true)
+		AC_DEFINE(HAVE_PERL, [1], [Compile with support for perl])
 
 		dnl This is almost definitely wrong, but in case there's
 		dnl something I'm missing, I'll leave it in.
--- a/src/gtkdialogs.c	Thu Nov 17 00:11:53 2005 +0000
+++ b/src/gtkdialogs.c	Thu Nov 17 03:38:38 2005 +0000
@@ -403,6 +403,18 @@
 	g_string_append(str, "    <b>Startup Notification:</b> Disabled<br/>");
 #endif
 
+#ifdef ENABLE_MONO
+	g_string_append(str, "    <b>Mono:</b> Enabled<br/>");
+#else
+	g_string_append(str, "    <b>Mono:</b> Disabled<br/>");
+#endif
+
+#ifdef HAVE_PERL
+	g_string_append(str, "    <b>Perl:</b> Enabled<br/>");
+#else
+	g_string_append(str, "    <b>Perl:</b> Disabled<br/>");
+#endif
+
 #ifdef HAVE_TCL
 	g_string_append(str, "    <b>Tcl:</b> Enabled<br/>");
 #else