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

hyperair at users.sourceforge.net hyperair at xxxxx
Thu Mar 10 17:38:07 UTC 2011


Revision: 1973
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1973&view=rev
Author:   hyperair
Date:     2011-03-10 17:38:07 +0000 (Thu, 10 Mar 2011)

Log Message:
-----------
Call AC_MSG_ERROR if AM_PATH_GPGME fails

If --enable-geanypg is passed, we must disable automagic detection of
dependencies and fail immediately if we can't find stuff.

This commit happened due to an assumption that AM_PATH_GPGME fails the configure
script if it didn't find gpgme.

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

Modified: trunk/geany-plugins/build/geanypg.m4
===================================================================
--- trunk/geany-plugins/build/geanypg.m4	2011-03-10 16:13:27 UTC (rev 1972)
+++ trunk/geany-plugins/build/geanypg.m4	2011-03-10 17:38:07 UTC (rev 1973)
@@ -4,7 +4,9 @@
     if test "$enable_geanypg" = "auto"; then
         AM_PATH_GPGME(, enable_geanypg=yes, enable_geanypg=no)
     else
-        AM_PATH_GPGME
+        AM_PATH_GPGME(,,
+            [AC_MSG_ERROR([Could not find GPGME. Please define GPGME_CFLAGS and
+                           GPGME_LIBS if it is installed.])])
     fi
 
     AM_CONDITIONAL(ENABLE_GEANYPG, test "$enable_geanypg" = "yes")


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