mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* configure.ac: New option --disable-gnupg-iconv, define
USE_GNUPG_ICONV. (AC_CANONICAL_TARGET): Replaced by AC_CANONICAL_HOST. Changed all reference to TARGET to HOST. Made sure that i586-mingw32msvc gets detected as mingw32. (UNIT64_C): Don't include inttype.h uncoditional but use a test to ensure that it gets into conftest.h. (AH_TOP): New. Prevent double inclusion of config.h. * config.links: Use HOST instead of TARGET.
This commit is contained in:
parent
426819244c
commit
d7fd47185e
@ -2,7 +2,13 @@
|
||||
|
||||
* configure.ac: New option --disable-gnupg-iconv, define
|
||||
USE_GNUPG_ICONV.
|
||||
|
||||
(AC_CANONICAL_TARGET): Replaced by AC_CANONICAL_HOST. Changed all
|
||||
reference to TARGET to HOST. Made sure that i586-mingw32msvc gets
|
||||
detected as mingw32.
|
||||
(UNIT64_C): Don't include inttype.h uncoditional but use a test to
|
||||
ensure that it gets into conftest.h.
|
||||
(AH_TOP): New. Prevent double inclusion of config.h.
|
||||
|
||||
2004-10-21 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* acinclude.m4: aclocal 1.9 wants quoting on AC_DEFUN arguments.
|
||||
|
35
configure.ac
35
configure.ac
@ -34,7 +34,7 @@ development_version=yes
|
||||
|
||||
AC_CONFIG_AUX_DIR(scripts)
|
||||
AC_CONFIG_SRCDIR(g10/g10.c)
|
||||
AC_CANONICAL_TARGET
|
||||
AC_CANONICAL_HOST
|
||||
AM_INIT_AUTOMAKE([std-options])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
@ -380,6 +380,12 @@ AC_ARG_WITH(capabilities,
|
||||
[use_capabilities="$withval"],[use_capabilities=no])
|
||||
AC_MSG_RESULT($use_capabilities)
|
||||
|
||||
# To avoid double inclusion of config.h which might happen at some
|
||||
# places, we add the usual double inclusion protection.
|
||||
AH_TOP([
|
||||
#ifndef GNUPG_CONFIG_H_INCLUDED
|
||||
#define GNUPG_CONFIG_H_INCLUDED
|
||||
])
|
||||
|
||||
AH_BOTTOM([
|
||||
#if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
|
||||
@ -391,6 +397,8 @@ AH_BOTTOM([
|
||||
#define GNUPG_MAJOR_VERSION 1
|
||||
|
||||
#include "g10defs.h"
|
||||
|
||||
#endif /*GNUPG_CONFIG_H_INCLUDED*/
|
||||
])
|
||||
|
||||
|
||||
@ -427,8 +435,8 @@ MPI_OPT_FLAGS=""
|
||||
try_gettext=yes
|
||||
have_dosish_system=no
|
||||
need_dlopen=yes
|
||||
case "${target}" in
|
||||
*-*-mingw32*)
|
||||
case "${host}" in
|
||||
*-mingw32*)
|
||||
# special stuff for Windoze NT
|
||||
ac_cv_have_dev_random=no
|
||||
AC_DEFINE(USE_ONLY_8DOT3,1,
|
||||
@ -638,8 +646,8 @@ fi
|
||||
|
||||
AC_SUBST(GPGKEYS_MAILTO)
|
||||
|
||||
case "${target}" in
|
||||
*-*-mingw32*)
|
||||
case "${host}" in
|
||||
*-mingw32*)
|
||||
PRINTABLE_OS_NAME="MingW32"
|
||||
;;
|
||||
*-*-cygwin*)
|
||||
@ -668,7 +676,7 @@ AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME",
|
||||
#
|
||||
NAME_OF_DEV_RANDOM="/dev/random"
|
||||
NAME_OF_DEV_URANDOM="/dev/urandom"
|
||||
case "${target}" in
|
||||
case "${host}" in
|
||||
*-openbsd*)
|
||||
NAME_OF_DEV_RANDOM="/dev/srandom"
|
||||
NAME_OF_DEV_URANDOM="/dev/urandom"
|
||||
@ -778,8 +786,9 @@ AC_CHECK_SIZEOF(unsigned long)
|
||||
AC_CHECK_SIZEOF(unsigned long long)
|
||||
|
||||
# Ensure that we have UINT64_C before we bother to check for uint64_t
|
||||
AC_CACHE_CHECK([for UINT64_C],[gnupg_cv_uint64_c_works],
|
||||
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#include <inttypes.h>
|
||||
gt_HEADER_INTTYPES_H
|
||||
AC_CACHE_CHECK([for UINT64_C], [gnupg_cv_uint64_c_works],
|
||||
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([
|
||||
uint64_t foo=UINT64_C(42);]),gnupg_cv_uint64_c_works=yes,gnupg_cv_uint64_c_works=no))
|
||||
|
||||
if test "$gnupg_cv_uint64_c_works" = "yes" ; then
|
||||
@ -932,8 +941,8 @@ if test "$use_static_rnd" = default; then
|
||||
if test "$ac_cv_have_dev_random" = yes; then
|
||||
random_modules="rndlinux"
|
||||
else
|
||||
case "${target}" in
|
||||
*-*-mingw32*|*-*-cygwin*)
|
||||
case "${host}" in
|
||||
*-mingw32*|*-*-cygwin*)
|
||||
random_modules="rndw32"
|
||||
;;
|
||||
i?86-emx-os2|i?86-*-os2*emx)
|
||||
@ -1169,8 +1178,8 @@ 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.
|
||||
case "${target}" in
|
||||
*-*-mingw32*)
|
||||
case "${host}" in
|
||||
*-mingw32*)
|
||||
dnl NETLIBS="$NETLIBS -lwsock32"
|
||||
W32LIBS="-lwsock32"
|
||||
;;
|
||||
@ -1294,7 +1303,7 @@ AC_OUTPUT
|
||||
|
||||
# Give some feedback
|
||||
echo
|
||||
echo " Configured for: $PRINTABLE_OS_NAME ($target)"
|
||||
echo " Configured for: $PRINTABLE_OS_NAME ($host)"
|
||||
if test -n "$show_extraasm"; then
|
||||
echo " Extra cpu specific functions:$show_extraasm"
|
||||
fi
|
||||
|
@ -22,9 +22,9 @@ AUTOMAKE_OPTIONS = no-texinfo.tex
|
||||
|
||||
EXTRA_DIST = DETAILS gpg.sgml gpg.1 gpgv.sgml gpgv.1 faq.raw FAQ faq.html \
|
||||
HACKING OpenPGP README.W32 samplekeys.asc gnupg.7 gnupg-w32.reg \
|
||||
TRANSLATE
|
||||
TRANSLATE gpg.ru.sgml
|
||||
|
||||
man_MANS = gpg.1 gpgv.1 gnupg.7
|
||||
man_MANS = gpg.1 gpgv.1 gnupg.7 gpg.ru.1
|
||||
|
||||
info_TEXINFOS = gpg.texi gpgv.texi
|
||||
|
||||
@ -37,7 +37,7 @@ BUILT_SOURCES = FAQ faq.html
|
||||
# we can't add gpg.texi gpgv.texi here because automake does not like them to
|
||||
# be built files.
|
||||
|
||||
CLEANFILES = faq.raw.xref gpg.xml gpgv.xml
|
||||
CLEANFILES = faq.raw.xref gpg.xml gpgv.xml gpg.ru.xml
|
||||
|
||||
|
||||
# We better build the texi versions manually.
|
||||
|
3050
doc/gpg.ru.sgml
Normal file
3050
doc/gpg.ru.sgml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
\input texinfo
|
||||
@setfilename gpg.info
|
||||
@documentencoding us-ascii
|
||||
@dircategory GnuPG
|
||||
@direntry
|
||||
* gpg: . encryption and signing tool
|
||||
* gpg: (gpg). GnuPG encryption and signing tool.
|
||||
@end direntry
|
||||
|
||||
@node Top, , , (dir)
|
||||
|
@ -1,8 +1,8 @@
|
||||
\input texinfo
|
||||
@setfilename gpgv.info
|
||||
@documentencoding us-ascii
|
||||
@dircategory GnuPG
|
||||
@direntry
|
||||
* gpgv: . signature verification tool
|
||||
* gpgv: (gpgv). GnuPG signature verification tool.
|
||||
@end direntry
|
||||
|
||||
@node Top, , , (dir)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2004-10-26 Werner Koch <wk@g10code.com>
|
||||
|
||||
* config.links: Use HOST instead of TARGET.
|
||||
|
||||
2004-10-12 Werner Koch <wk@g10code.com>
|
||||
|
||||
* Makefile.am (.S.o): Include MPI_SFLAGS. This is our bug 145.
|
||||
|
@ -29,10 +29,10 @@ mpi_sflags=
|
||||
test -d ./mpi || mkdir ./mpi
|
||||
|
||||
echo '/* created by config.links - do not edit */' >./mpi/asm-syntax.h
|
||||
echo "/* Target: ${target} */" >>./mpi/asm-syntax.h
|
||||
echo "/* Host: ${host} */" >>./mpi/asm-syntax.h
|
||||
|
||||
if test "$try_asm_modules" = "yes" ; then
|
||||
case "${target}" in
|
||||
case "${host}" in
|
||||
powerpc-apple-darwin* | \
|
||||
i[34567]86*-*-openbsd[12]* | \
|
||||
i[34567]86*-*-openbsd3.[0123]*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user