cryptplug compilation

Marcus Brinkmann Marcus.Brinkmann at ruhr-uni-bochum.de
Wed Dec 4 23:36:01 CET 2002


On Wed, Dec 04, 2002 at 11:09:14PM +0100, Jose Carlos Garcia Sogo wrote:
>     - Why doesn't it have a soname? This could bring some problem if
>       ABI changes.

Yeah, well.  It is not allowed to change  :D.

Ideally we would have a function to retrieve the version and a function tor
etrieve the function table with the operations.  That would make it possible
to support all future versions of the interface as well.

However, this is not how things are today.  We will have to make a decision
on the future way and then add or not add a version number.
 
>     - Why aren't both .so files liked with gpgme? This was just the
>       problem after splitting the package, and now they're not linked :)
>       (Yes, I have libgpgme-dev package installed, and configure detects
>       the presence of gpgme-config)

Oops, that's a stupid bug.  Here is a fix (not tested).

2002-12-04  Marcus Brinkmann  <marcus at g10code.de>

	* configure.ac: Complete renaming of LIBGPGME_CFLAGS to
	GPGME_CFLAGS and LIBGPGME_LIBS to GPGME_LIBS.

Index: configure.ac
===================================================================
RCS file: /cvs/aegypten/cryptplug/configure.ac,v
retrieving revision 1.2
diff -u -r1.2 configure.ac
--- configure.ac	28 Nov 2002 18:55:02 -0000	1.2
+++ configure.ac	4 Dec 2002 22:27:39 -0000
@@ -85,8 +85,8 @@
         GPGME_CFLAGS=`$GPGME_CONFIG --cflags`
         GPGME_LIBS=`$GPGME_CONFIG --libs`
     fi
-    AC_SUBST(LIBGPGME_CFLAGS)
-    AC_SUBST(LIBGPGME_LIBS)
+    AC_SUBST(GPGME_CFLAGS)
+    AC_SUBST(GPGME_LIBS)
 fi
 if test "$GPGME_LIBS"; then
   if test "$cryptplug_gpgme" != "no"; then

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




More information about the Gnupg-devel mailing list