build static and shared lib by default - required by gpgol.
authorWerner Koch <wk@gnupg.org>
Tue, 15 Nov 2005 16:04:28 +0000 (16:04 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 15 Nov 2005 16:04:28 +0000 (16:04 +0000)
trunk/ChangeLog
trunk/autogen.sh
trunk/configure.ac
trunk/doc/gpgme.texi
trunk/gpgme/ChangeLog

index ec894bf4f28657ee5727bd08735fa3199016a9d2..661117a2ab2f59788357b03e1ffc1f7faca49b4c 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-15  Werner Koch  <wk@g10code.com>
+
+       * configure.ac: Create BUILD_FILEVERSION from SVN Revision.
+
+       * autogen.sh [W32]: Build shared and static versions of the library.
+
 2005-10-20  Marcus Brinkmann  <marcus@g10code.de>
 
        * w32-dll/ChangeLog, w32-dll/build-dll, w32-dll/gpgme.def: Remove
index 80e1136a0e2254e80a5678a2d029d751a86faf28..fe6a0209dcf7ecfa7871827cd1fe0d12e83ddd45 100755 (executable)
@@ -75,8 +75,8 @@ if test "$1" = "--build-w32"; then
 
     ./configure --enable-maintainer-mode  --prefix=${w32root}  \
             --host=i586-mingw32msvc --build=${build} \
-            --with-gpg-error-prefix=${w32root}  \
-            --disable-shared --without-gpgsm
+            --with-gpg-error-prefix=${w32root} --without-gpgsm \
+            --enable-shared --enable-static
 
     exit $?
 fi
index 831ca31d440ec5778da8e852662e98b807d64c8d..cd165961502747f0793a8080ddc4bff108e5c946 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.59)
 min_automake_version="1.9.3"
 
 # Version number: Remember to change it immediately *after* a release.
+#                 Make sure to run  "svn up" before a "make dist".
 AC_INIT(gpgme, 1.2.0-cvs, [bug-gpgme@gnupg.org])
 # LT Version numbers, remember to change them just *before* a release.
 #   (Code changed:                     REVISION++)
@@ -446,12 +447,10 @@ if test "$have_w32_system" = yes; then
     BUILD_TIMESTAMP=`date --iso-8601=minutes`
     changequote(,)dnl 
     BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
+    tmp="`echo '$Revision$' | sed 's/[^0-9]//g'`"
     changequote([,])dnl
-    case "$VERSION" in
-      *-cvs) BUILD_FILEVERSION="${BUILD_FILEVERSION}0" ;;
-      *-rc*) BUILD_FILEVERSION="${BUILD_FILEVERSION}1" ;;
-      *)     BUILD_FILEVERSION="${BUILD_FILEVERSION}2" ;;
-    esac
+    test -z "$tmp" && tmp="0"
+    BUILD_FILEVERSION="${BUILD_FILEVERSION}$tmp"
 fi
 AC_SUBST(BUILD_TIMESTAMP)
 AC_SUBST(BUILD_FILEVERSION)
index fc3a0f389685cb4779255bfe96c24ddd63257c9e..8db505cc68b073529d8fb21464ab986f51282ba6 100644 (file)
@@ -2154,7 +2154,7 @@ enabled.
 The @code{GPGME_KEYLIST_MODE_VALIDATE} symbol specifies that the
 backend should do key or certificate validation and not just get the
 validity information from an internal cache.  This might be an
-expensive operation and is in general not usefule.  Currently only
+expensive operation and is in general not useful.  Currently only
 implemented for the S/MIME backend and ignored for other backends.
 
 @end table
index ec2040ea741097c1d4ca24bc1b8b51765fd9caad..b7fb4e451e455eb8d7877bdd623d9d1116facf13 100644 (file)
@@ -2,6 +2,10 @@
 
        * w32-io.c (_gpgme_io_spawn): Don't minimize window, hide it.
 
+2005-10-21  Werner Koch  <wk@g10code.com>
+
+       * Makefile.am: Fixed cut+paste problem
+
 2005-10-20  Marcus Brinkmann  <marcus@g10code.de>
 
        * Makefile.am: Build versioninfo.lo, not versioninfo.o.  Also, fix