Build fixes for W32

This commit is contained in:
Werner Koch 2007-06-15 14:27:31 +00:00
parent 1492393e8b
commit 915b7b21fd
35 changed files with 9650 additions and 9445 deletions

View File

@ -1,3 +1,10 @@
2007-06-15 Werner Koch <wk@g10code.com>
* configure.ac (W32SOCKLIBS): New.
* autogen.sh: Use = and not == in test to be POSIXly correct.
<build-w32>: Disable use of regex.
2007-06-14 Werner Koch <wk@g10code.com>
* configure.ac [AH_BOTTOM]: Remove the hardwired names of modules.

7
TODO
View File

@ -71,10 +71,14 @@
** Add a test to check the extkeyusage.
* Windows port
* Windows port (W32)
** Signals are not support
This means we can't reread a configuration
** No card status notifications.
** Regex support is disabled
We need to adjust the test to find the regex we have anyway in
gpg4in. Is that regex compatible to the OpenPGP requirement?
* sm/
** check that we issue NO_SECKEY xxx if a -u key was not found
@ -127,4 +131,3 @@
** Migrate OpenPGP keys to another system

View File

@ -40,7 +40,7 @@ MSGMERGE=${GETTEXT_PREFIX}${MSGMERGE:-msgmerge}${GETTEXT_SUFFIX}
DIE=no
FORCE=
if test "$1" == "--force"; then
if test x"$1" = x"--force"; then
FORCE=" --force"
shift
fi
@ -92,7 +92,8 @@ if test "$1" = "--build-w32"; then
--with-libassuan-prefix=${w32root} \
--with-zlib=${w32root} \
--with-pth-prefix=${w32root} \
--without-included-gettext
--without-included-gettext \
--disable-regex
rc=$?
exit $rc
fi

View File

@ -1152,13 +1152,17 @@ AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
GNUPG_CHECK_GNUMAKE
# Add some extra libs here so that previous tests don't fail for
# mysterious reasons - the final link step should bail out.
# mysterious reasons - the final link step should bail out.
# W32SOCKLIBS is also defined so that if can be used for tools not
# requiring any network stuff but linking to code in libcommon which
# tracks in winsock stuff (e.g. init_common_subsystems.
if test "$have_w32_system" = yes; then
NETLIBS="${NETLIBS} -lwsock32"
W32SOCKLIBS="-lwsock32"
NETLIBS="${NETLIBS} ${W32SOCKLIBS}"
fi
AC_SUBST(NETLIBS)
AC_SUBST(W32SOCKLIBS)
#
# Setup gcc specific options

View File

@ -1,3 +1,7 @@
2007-06-15 Werner Koch <wk@g10code.com>
* Makefile.am (kbxutil_LDADD): Add W32SOCKLIBS.
2007-06-12 Werner Koch <wk@g10code.com>
* kbxutil.c (main): Replace some calls by init_common_subsystems.

View File

@ -44,10 +44,12 @@ common_sources = \
libkeybox_a_SOURCES = $(common_sources)
# Note that libcommon is only required to resolve the LIBOBJS.
# We need W32SOCKLIBS because the init subsystem code in libcommon
# requires it - although we don't actually need it. It is easier
# to do it this way.
kbxutil_SOURCES = kbxutil.c $(common_sources)
kbxutil_LDADD = ../jnlib/libjnlib.a ../gl/libgnu.a ../common/libcommon.a \
$(KSBA_LIBS) $(LIBGCRYPT_LIBS) \
$(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
$(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV) $(W32SOCKLIBS)
$(PROGRAMS) : ../jnlib/libjnlib.a ../gl/libgnu.a ../common/libcommon.a

703
po/be.po

File diff suppressed because it is too large Load Diff

710
po/ca.po

File diff suppressed because it is too large Load Diff

708
po/cs.po

File diff suppressed because it is too large Load Diff

698
po/da.po

File diff suppressed because it is too large Load Diff

705
po/de.po

File diff suppressed because it is too large Load Diff

710
po/el.po

File diff suppressed because it is too large Load Diff

701
po/eo.po

File diff suppressed because it is too large Load Diff

704
po/es.po

File diff suppressed because it is too large Load Diff

705
po/et.po

File diff suppressed because it is too large Load Diff

706
po/fi.po

File diff suppressed because it is too large Load Diff

708
po/fr.po

File diff suppressed because it is too large Load Diff

707
po/gl.po

File diff suppressed because it is too large Load Diff

706
po/hu.po

File diff suppressed because it is too large Load Diff

707
po/id.po

File diff suppressed because it is too large Load Diff

709
po/it.po

File diff suppressed because it is too large Load Diff

704
po/ja.po

File diff suppressed because it is too large Load Diff

705
po/nb.po

File diff suppressed because it is too large Load Diff

709
po/pl.po

File diff suppressed because it is too large Load Diff

710
po/pt.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

709
po/ro.po

File diff suppressed because it is too large Load Diff

703
po/ru.po

File diff suppressed because it is too large Load Diff

709
po/sk.po

File diff suppressed because it is too large Load Diff

703
po/sv.po

File diff suppressed because it is too large Load Diff

701
po/tr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
2007-06-15 Werner Koch <wk@g10code.com>
* Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV.
(gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS.
2007-06-14 Werner Koch <wk@g10code.com>
* symcryptrun.c (main): Setup default socket name for

View File

@ -62,14 +62,15 @@ gpgconf_SOURCES = gpgconf.c gpgconf.h gpgconf-comp.c no-libgcrypt.c
# jnlib/common sucks in gpg-error, will they, nil they (some compilers
# do not eliminate the supposed-to-be-unused-inline-functions).
gpgconf_LDADD = $(common_libs) \
$(LIBINTL) $(GPG_ERROR_LIBS) $(LIBICONV)
$(LIBINTL) $(GPG_ERROR_LIBS) $(LIBICONV) $(W32SOCKLIBS)
gpgparsemail_SOURCES = gpgparsemail.c rfc822parse.c rfc822parse.h
gpgparsemail_LDADD =
symcryptrun_SOURCES = symcryptrun.c
symcryptrun_LDADD = $(LIBUTIL_LIBS) $(common_libs) $(pwquery_libs) \
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBINCONV)
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) \
$(LIBICONV) $(W32SOCKLIBS)
watchgnupg_SOURCES = watchgnupg.c
watchgnupg_LDADD = $(NETLIBS)