SF.net SVN: geany-plugins:[2169] trunk/geany-plugins/build/devhelp.m4

codebrainz at users.sourceforge.net codebrainz at xxxxx
Wed Aug 24 08:14:32 UTC 2011


Revision: 2169
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2169&view=rev
Author:   codebrainz
Date:     2011-08-24 08:14:32 +0000 (Wed, 24 Aug 2011)

Log Message:
-----------
Fix case of Autotools building Devhelp plugin auto (oops).

Used the code copied from common.m4 directly with wrong substituions.
Now uses hardcoded 'enable_devhelp'.

Modified Paths:
--------------
    trunk/geany-plugins/build/devhelp.m4

Modified: trunk/geany-plugins/build/devhelp.m4
===================================================================
--- trunk/geany-plugins/build/devhelp.m4	2011-08-24 07:58:32 UTC (rev 2168)
+++ trunk/geany-plugins/build/devhelp.m4	2011-08-24 08:14:32 UTC (rev 2169)
@@ -34,14 +34,14 @@
             [PKG_CHECK_MODULES(
                     [DEVHELP],
                     [libdevhelp-1.0 >= ${DEVHELP1_VERSION}],
-                    [m4_tolower(AS_TR_SH(enable_$1))=yes],
-                    [m4_tolower(AS_TR_SH(enable_$1))=no])
+                    [m4_tolower(AS_TR_SH(enable_devhelp))=yes],
+                    [m4_tolower(AS_TR_SH(enable_devhelp))=no])
             ]
         )
     fi
 
-    AM_CONDITIONAL(m4_toupper(AS_TR_SH(ENABLE_$1)),
-                   test "$m4_tolower(AS_TR_SH(enable_$1))" = yes)
+    AM_CONDITIONAL(m4_toupper(AS_TR_SH(ENABLE_devhelp)),
+                   test "$m4_tolower(AS_TR_SH(enable_devhelp))" = yes)
 
     GP_STATUS_PLUGIN_ADD([DevHelp], [$enable_devhelp])
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list