SF.net SVN: geany-plugins:[1949] trunk/geany-plugins/build/geanypg.m4

hyperair at users.sourceforge.net hyperair at xxxxx
Sun Mar 6 17:52:08 UTC 2011


Revision: 1949
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1949&view=rev
Author:   hyperair
Date:     2011-03-06 17:52:07 +0000 (Sun, 06 Mar 2011)

Log Message:
-----------
Add auto-detection of gpgme for geanypg

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

Modified: trunk/geany-plugins/build/geanypg.m4
===================================================================
--- trunk/geany-plugins/build/geanypg.m4	2011-03-06 17:51:35 UTC (rev 1948)
+++ trunk/geany-plugins/build/geanypg.m4	2011-03-06 17:52:07 UTC (rev 1949)
@@ -1,8 +1,13 @@
 AC_DEFUN([GP_CHECK_GEANYPG],
 [
-    GP_ARG_DISABLE([geanypg], [yes])
+    GP_ARG_DISABLE([geanypg], [auto])
+    if test "$enable_geanypg" = "auto"; then
+        AM_PATH_GPGME(, enable_geanypg=yes, enable_geanypg=no)
+    else
+        AM_PATH_GPGME
+    fi
+
     GP_STATUS_PLUGIN_ADD([GeanyPG], [$enable_geanypg])
-    AM_PATH_GPGME
     AC_CONFIG_FILES([
         geanypg/Makefile
         geanypg/src/Makefile


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