build static and shared lib by default - required by gpgol.

This commit is contained in:
Werner Koch 2005-11-15 16:04:28 +00:00
parent e7799b3e92
commit 3acdcbf67b
5 changed files with 17 additions and 8 deletions

View 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> 2005-10-20 Marcus Brinkmann <marcus@g10code.de>
* w32-dll/ChangeLog, w32-dll/build-dll, w32-dll/gpgme.def: Remove * w32-dll/ChangeLog, w32-dll/build-dll, w32-dll/gpgme.def: Remove

View File

@ -75,8 +75,8 @@ if test "$1" = "--build-w32"; then
./configure --enable-maintainer-mode --prefix=${w32root} \ ./configure --enable-maintainer-mode --prefix=${w32root} \
--host=i586-mingw32msvc --build=${build} \ --host=i586-mingw32msvc --build=${build} \
--with-gpg-error-prefix=${w32root} \ --with-gpg-error-prefix=${w32root} --without-gpgsm \
--disable-shared --without-gpgsm --enable-shared --enable-static
exit $? exit $?
fi fi

View File

@ -24,6 +24,7 @@ AC_PREREQ(2.59)
min_automake_version="1.9.3" min_automake_version="1.9.3"
# Version number: Remember to change it immediately *after* a release. # 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]) AC_INIT(gpgme, 1.2.0-cvs, [bug-gpgme@gnupg.org])
# LT Version numbers, remember to change them just *before* a release. # LT Version numbers, remember to change them just *before* a release.
# (Code changed: REVISION++) # (Code changed: REVISION++)
@ -446,12 +447,10 @@ if test "$have_w32_system" = yes; then
BUILD_TIMESTAMP=`date --iso-8601=minutes` BUILD_TIMESTAMP=`date --iso-8601=minutes`
changequote(,)dnl changequote(,)dnl
BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'` BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
tmp="`echo '$Revision$' | sed 's/[^0-9]//g'`"
changequote([,])dnl changequote([,])dnl
case "$VERSION" in test -z "$tmp" && tmp="0"
*-cvs) BUILD_FILEVERSION="${BUILD_FILEVERSION}0" ;; BUILD_FILEVERSION="${BUILD_FILEVERSION}$tmp"
*-rc*) BUILD_FILEVERSION="${BUILD_FILEVERSION}1" ;;
*) BUILD_FILEVERSION="${BUILD_FILEVERSION}2" ;;
esac
fi fi
AC_SUBST(BUILD_TIMESTAMP) AC_SUBST(BUILD_TIMESTAMP)
AC_SUBST(BUILD_FILEVERSION) AC_SUBST(BUILD_FILEVERSION)

View File

@ -2154,7 +2154,7 @@ enabled.
The @code{GPGME_KEYLIST_MODE_VALIDATE} symbol specifies that the The @code{GPGME_KEYLIST_MODE_VALIDATE} symbol specifies that the
backend should do key or certificate validation and not just get the backend should do key or certificate validation and not just get the
validity information from an internal cache. This might be an 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. implemented for the S/MIME backend and ignored for other backends.
@end table @end table

View File

@ -2,6 +2,10 @@
* w32-io.c (_gpgme_io_spawn): Don't minimize window, hide it. * 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> 2005-10-20 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Build versioninfo.lo, not versioninfo.o. Also, fix * Makefile.am: Build versioninfo.lo, not versioninfo.o. Also, fix