"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
gpgme-1.15.0.tar.bz2 and gpgme-1.15.1.tar.bz2

About: GPGME (GnuPG Made Easy) is a library that provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management.

configure.ac  (gpgme-1.15.0.tar.bz2):configure.ac  (gpgme-1.15.1.tar.bz2)
# configure.ac for GPGME # configure.ac for GPGME
# Copyright (C) 2000 Werner Koch (dd9jn) # Copyright (C) 2000 Werner Koch (dd9jn)
# Copyright (C) 2001-2018 g10 Code GmbH # Copyright (C) 2001-2021 g10 Code GmbH
# #
# This file is part of GPGME. # This file is part of GPGME.
# #
# GPGME is free software; you can redistribute it and/or modify it # GPGME is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as # under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the # published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version. # License, or (at your option) any later version.
# #
# GPGME is distributed in the hope that it will be useful, but WITHOUT # GPGME is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
# Public License for more details. # Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, see <https://gnu.org/licenses/>. # License along with this program; if not, see <https://gnu.org/licenses/>.
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
# (Process this file with autoconf to produce a configure script.) # (Process this file with autoconf to produce a configure script.)
AC_PREREQ(2.59) AC_PREREQ([2.59])
min_automake_version="1.14" min_automake_version="1.14"
# To build a release you need to create a tag with the version number # To build a release you need to create a tag with the version number
# "gpgme-n.m.k" and run "./autogen.sh --force". Please bump the # "gpgme-n.m.k" and run "./autogen.sh --force". Please bump the
# version number immediately after the release and do another commit # version number immediately after the release and do another commit
# and push so that the git magic is able to work. If you start a new # and push so that the git magic is able to work. If you start a new
# series by bumping the minor (m) remember to also create a tag named # series by bumping the minor (m) remember to also create a tag named
# "gpgme-n.m-base" as the start point for beta numbering. See below # "gpgme-n.m-base" as the start point for beta numbering. See below
# for the LT versions. # for the LT versions.
m4_define([mym4_package],[gpgme]) m4_define([mym4_package],[gpgme])
m4_define([mym4_major], [1]) m4_define([mym4_major], [1])
m4_define([mym4_minor], [15]) m4_define([mym4_minor], [15])
m4_define([mym4_micro], [0]) m4_define([mym4_micro], [1])
# Below is m4 magic to extract and compute the git revision number, # Below is m4 magic to extract and compute the git revision number,
# the decimalized short revision number, a beta version string and a # the decimalized short revision number, a beta version string and a
# flag indicating a development version (mym4_isbeta). Note that the # flag indicating a development version (mym4_isbeta). Note that the
# m4 processing is done by autoconf and not during the configure run. # m4 processing is done by autoconf and not during the configure run.
m4_define([mym4_verslist], m4_split(m4_esyscmd([./autogen.sh --find-version] \ m4_define([mym4_verslist], m4_split(m4_esyscmd([./autogen.sh --find-version] \
mym4_package mym4_major mym4_minor mym4_micro),[:])) mym4_package mym4_major mym4_minor mym4_micro),[:]))
m4_define([mym4_isbeta], m4_argn(2, mym4_verslist)) m4_define([mym4_isbeta], m4_argn(2, mym4_verslist))
m4_define([mym4_version], m4_argn(4, mym4_verslist)) m4_define([mym4_version], m4_argn(4, mym4_verslist))
m4_define([mym4_revision], m4_argn(7, mym4_verslist)) m4_define([mym4_revision], m4_argn(7, mym4_verslist))
m4_define([mym4_revision_dec], m4_argn(8, mym4_verslist)) m4_define([mym4_revision_dec], m4_argn(8, mym4_verslist))
m4_esyscmd([echo ]mym4_version[>VERSION]) m4_esyscmd([echo ]mym4_version[>VERSION])
AC_INIT([mym4_package],[mym4_version], [https://bugs.gnupg.org]) AC_INIT([mym4_package],[mym4_version],[https://bugs.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++)
# (Interfaces added/removed/changed: CURRENT++, REVISION=0) # (Interfaces added/removed/changed: CURRENT++, REVISION=0)
# (Interfaces added: AGE++) # (Interfaces added: AGE++)
# (Interfaces removed: AGE=0) # (Interfaces removed: AGE=0)
# #
LIBGPGME_LT_CURRENT=35 LIBGPGME_LT_CURRENT=35
LIBGPGME_LT_AGE=24 LIBGPGME_LT_AGE=24
LIBGPGME_LT_REVISION=0 LIBGPGME_LT_REVISION=1
# If there is an ABI break in gpgmepp or qgpgme also bump the # If there is an ABI break in gpgmepp or qgpgme also bump the
# version in IMPORTED_LOCATION in the GpgmeppConfig-w32.cmake.in.in # version in IMPORTED_LOCATION in the GpgmeppConfig-w32.cmake.in.in
LIBGPGMEPP_LT_CURRENT=18 LIBGPGMEPP_LT_CURRENT=18
LIBGPGMEPP_LT_AGE=12 LIBGPGMEPP_LT_AGE=12
LIBGPGMEPP_LT_REVISION=0 LIBGPGMEPP_LT_REVISION=1
LIBQGPGME_LT_CURRENT=12 LIBQGPGME_LT_CURRENT=12
LIBQGPGME_LT_AGE=5 LIBQGPGME_LT_AGE=5
LIBQGPGME_LT_REVISION=0 LIBQGPGME_LT_REVISION=1
################################################ ################################################
AC_SUBST(LIBGPGME_LT_CURRENT) AC_SUBST(LIBGPGME_LT_CURRENT)
AC_SUBST(LIBGPGME_LT_AGE) AC_SUBST(LIBGPGME_LT_AGE)
AC_SUBST(LIBGPGME_LT_REVISION) AC_SUBST(LIBGPGME_LT_REVISION)
AC_SUBST(LIBGPGMEPP_LT_CURRENT) AC_SUBST(LIBGPGMEPP_LT_CURRENT)
AC_SUBST(LIBGPGMEPP_LT_AGE) AC_SUBST(LIBGPGMEPP_LT_AGE)
AC_SUBST(LIBGPGMEPP_LT_REVISION) AC_SUBST(LIBGPGMEPP_LT_REVISION)
skipping to change at line 107 skipping to change at line 107
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/gpgme.h.in) AC_CONFIG_SRCDIR(src/gpgme.h.in)
AC_CONFIG_HEADER(conf/config.h) AC_CONFIG_HEADER(conf/config.h)
AM_INIT_AUTOMAKE([serial-tests dist-bzip2 no-dist-gzip]) AM_INIT_AUTOMAKE([serial-tests dist-bzip2 no-dist-gzip])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
AC_CANONICAL_HOST AC_CANONICAL_HOST
AM_SILENT_RULES AM_SILENT_RULES
AC_ARG_VAR(SYSROOT,[locate config scripts also below that directory]) AC_ARG_VAR(SYSROOT,[locate config scripts also below that directory])
# Enable GNU extensions on systems that have them. # Enable GNU extensions on systems that have them.
AC_GNU_SOURCE AC_USE_SYSTEM_EXTENSIONS
# Taken from mpfr-4.0.1, then modified for LDADD_FOR_TESTS_KLUDGE # Taken from mpfr-4.0.1, then modified for LDADD_FOR_TESTS_KLUDGE
dnl Under Linux, make sure that the old dtags are used if LD_LIBRARY_PATH dnl Under Linux, make sure that the old dtags are used if LD_LIBRARY_PATH
dnl is defined. The issue is that with the new dtags, LD_LIBRARY_PATH has dnl is defined. The issue is that with the new dtags, LD_LIBRARY_PATH has
dnl the precedence over the run path, so that if a compatible MPFR library dnl the precedence over the run path, so that if a compatible MPFR library
dnl is installed in some directory from $LD_LIBRARY_PATH, then the tested dnl is installed in some directory from $LD_LIBRARY_PATH, then the tested
dnl MPFR library will be this library instead of the MPFR library from the dnl MPFR library will be this library instead of the MPFR library from the
dnl build tree. Other OS with the same issue might be added later. dnl build tree. Other OS with the same issue might be added later.
dnl dnl
dnl References: dnl References:
skipping to change at line 244 skipping to change at line 244
have_dosish_system=yes have_dosish_system=yes
have_w32_system=yes have_w32_system=yes
GPG_DEFAULT='c:\\gnupg\\gpg.exe' GPG_DEFAULT='c:\\gnupg\\gpg.exe'
GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe' GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe'
GPGCONF_DEFAULT='c:\\gnupg\\gpgconf.exe' GPGCONF_DEFAULT='c:\\gnupg\\gpgconf.exe'
G13_DEFAULT='c:\\gnupg\\g13.exe' G13_DEFAULT='c:\\gnupg\\g13.exe'
#component_system='COM+' #component_system='COM+'
AM_PATH_GLIB_2_0 AM_PATH_GLIB_2_0
AC_ARG_ENABLE(w32-glib, AC_ARG_ENABLE(w32-glib,
AC_HELP_STRING([--enable-w32-glib], [build GPGME Glib for W32]), AS_HELP_STRING([--enable-w32-glib],[build GPGME Glib for W32]),
build_w32_glib=$enableval) build_w32_glib=$enableval)
;; ;;
*) *)
# XXX: Probably use exec-prefix here? # XXX: Probably use exec-prefix here?
# GPG_DEFAULT='/usr/bin/gpg' # GPG_DEFAULT='/usr/bin/gpg'
# GPGSM_DEFAULT='/usr/bin/gpgsm' # GPGSM_DEFAULT='/usr/bin/gpgsm'
# GPGCONF_DEFAULT='/usr/bin/gpgconf' # GPGCONF_DEFAULT='/usr/bin/gpgconf'
# G13_DEFAULT='/usr/bin/g13' # G13_DEFAULT='/usr/bin/g13'
;; ;;
skipping to change at line 291 skipping to change at line 291
if test "$have_macos_system" = yes; then if test "$have_macos_system" = yes; then
AC_DEFINE(HAVE_MACOS_SYSTEM,1, AC_DEFINE(HAVE_MACOS_SYSTEM,1,
[Defined if we build for an MacOS system]) [Defined if we build for an MacOS system])
fi fi
AM_CONDITIONAL(HAVE_MACOS_SYSTEM, test "$have_macos_system" = yes) AM_CONDITIONAL(HAVE_MACOS_SYSTEM, test "$have_macos_system" = yes)
AM_CONDITIONAL(BUILD_W32_GLIB, test "$build_w32_glib" = yes) AM_CONDITIONAL(BUILD_W32_GLIB, test "$build_w32_glib" = yes)
AC_ARG_ENABLE([fixed-path], AC_ARG_ENABLE([fixed-path],
AC_HELP_STRING([--enable-fixed-path=PATH], AS_HELP_STRING([--enable-fixed-path=PATH],
[locate binaries only via this PATH]), [locate binaries only via this PATH]),
[fixed_search_path="$enableval"], [fixed_search_path="$enableval"],
[fixed_search_path=""]) [fixed_search_path=""])
if test x$fixed_search_path != x ; then if test x$fixed_search_path != x ; then
AC_DEFINE_UNQUOTED(FIXED_SEARCH_PATH, "$fixed_search_path", AC_DEFINE_UNQUOTED(FIXED_SEARCH_PATH, "$fixed_search_path",
[Locate binaries only via this PATH]) [Locate binaries only via this PATH])
fi fi
# Note: You need to declare all possible languages also in # Note: You need to declare all possible languages also in
# lang/Makefile.am's DIST_SUBDIRS. # lang/Makefile.am's DIST_SUBDIRS.
AC_ARG_ENABLE([languages], AC_ARG_ENABLE([languages],
AC_HELP_STRING([--enable-languages=languages], AS_HELP_STRING([--enable-languages=languages],
[enable only specific language bindings]), [enable only specific language bindings]),
[enabled_languages=`echo $enableval | \ [enabled_languages=`echo $enableval | \
tr ',:' ' ' | tr '[A-Z]' '[a-z]' | \ tr ',:' ' ' | tr '[A-Z]' '[a-z]' | \
sed 's/c++/cpp/'`], sed 's/c++/cpp/'`],
[enabled_languages="maybe"]) [enabled_languages="maybe"])
if test "x$enabled_languages" = "x" \ if test "x$enabled_languages" = "x" \
-o "$enabled_languages" = "no"; then -o "$enabled_languages" = "no"; then
enabled_languages= enabled_languages=
fi fi
skipping to change at line 491 skipping to change at line 491
changequote(,)dnl changequote(,)dnl
BUILD_VERSION=`echo "$PACKAGE_VERSION" | sed 's/\([0-9.]*\).*/\1./'` BUILD_VERSION=`echo "$PACKAGE_VERSION" | sed 's/\([0-9.]*\).*/\1./'`
changequote([,])dnl changequote([,])dnl
BUILD_VERSION="${BUILD_VERSION}mym4_revision_dec" BUILD_VERSION="${BUILD_VERSION}mym4_revision_dec"
BUILD_FILEVERSION=`echo "${BUILD_VERSION}" | tr . ,` BUILD_FILEVERSION=`echo "${BUILD_VERSION}" | tr . ,`
AC_SUBST(BUILD_VERSION) AC_SUBST(BUILD_VERSION)
AC_SUBST(BUILD_FILEVERSION) AC_SUBST(BUILD_FILEVERSION)
AC_ARG_ENABLE([build-timestamp], AC_ARG_ENABLE([build-timestamp],
AC_HELP_STRING([--enable-build-timestamp], AS_HELP_STRING([--enable-build-timestamp],
[set an explicit build timestamp for reproducibility. [set an explicit build timestamp for reproducibility.
(default is the current time in ISO-8601 format)]), (default is the current time in ISO-8601 format)]),
[if test "$enableval" = "yes"; then [if test "$enableval" = "yes"; then
BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date` BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
else else
BUILD_TIMESTAMP="$enableval" BUILD_TIMESTAMP="$enableval"
fi], fi],
[BUILD_TIMESTAMP="<none>"]) [BUILD_TIMESTAMP="<none>"])
AC_SUBST(BUILD_TIMESTAMP) AC_SUBST(BUILD_TIMESTAMP)
AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP", AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP",
[The time this package was configured for a build]) [The time this package was configured for a build])
# #
# Options to disable some regression tests # Options to disable some regression tests
# #
run_gpgconf_test="yes" run_gpgconf_test="yes"
AC_ARG_ENABLE(gpgconf-test, AC_ARG_ENABLE(gpgconf-test,
AC_HELP_STRING([--disable-gpgconf-test], [disable GPGCONF regression test]), AS_HELP_STRING([--disable-gpgconf-test],[disable GPGCONF regression test]),
run_gpgconf_test=$enableval) run_gpgconf_test=$enableval)
AM_CONDITIONAL(RUN_GPGCONF_TESTS, test "$run_gpgconf_test" = "yes") AM_CONDITIONAL(RUN_GPGCONF_TESTS, test "$run_gpgconf_test" = "yes")
run_gpg_test="yes" run_gpg_test="yes"
AC_ARG_ENABLE(gpg-test, AC_ARG_ENABLE(gpg-test,
AC_HELP_STRING([--disable-gpg-test], [disable GPG regression test]), AS_HELP_STRING([--disable-gpg-test],[disable GPG regression test]),
run_gpg_test=$enableval) run_gpg_test=$enableval)
AM_CONDITIONAL(RUN_GPG_TESTS, test "$run_gpg_test" = "yes") AM_CONDITIONAL(RUN_GPG_TESTS, test "$run_gpg_test" = "yes")
run_gpgsm_test="yes" run_gpgsm_test="yes"
AC_ARG_ENABLE(gpgsm-test, AC_ARG_ENABLE(gpgsm-test,
AC_HELP_STRING([--disable-gpgsm-test], [disable GPGSM regression test]), AS_HELP_STRING([--disable-gpgsm-test],[disable GPGSM regression test]),
run_gpgsm_test=$enableval) run_gpgsm_test=$enableval)
AM_CONDITIONAL(RUN_GPGSM_TESTS, test "$run_gpgsm_test" = "yes") AM_CONDITIONAL(RUN_GPGSM_TESTS, test "$run_gpgsm_test" = "yes")
run_g13_test="yes" run_g13_test="yes"
AC_ARG_ENABLE(g13-test, AC_ARG_ENABLE(g13-test,
AC_HELP_STRING([--disable-g13-test], [disable G13 regression test]), AS_HELP_STRING([--disable-g13-test],[disable G13 regression test]),
run_g13_test=$enableval) run_g13_test=$enableval)
AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes") AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes")
# Checks for header files. # Checks for header files.
AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h
unistd.h sys/time.h sys/types.h sys/stat.h]) unistd.h sys/time.h sys/types.h sys/stat.h])
# Type checks. # Type checks.
AC_C_INLINE AC_C_INLINE
AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned int)
skipping to change at line 740 skipping to change at line 740
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
#if HAVE_SYS_UIO_H #if HAVE_SYS_UIO_H
#include <sys/uio.h> #include <sys/uio.h>
#endif #endif
#include <unistd.h> #include <unistd.h>
]) ])
use_descriptor_passing=yes use_descriptor_passing=yes
AC_ARG_ENABLE(fd-passing, AC_ARG_ENABLE(fd-passing,
AC_HELP_STRING([--disable-fd-passing], [do not use FD passing]), AS_HELP_STRING([--disable-fd-passing],[do not use FD passing]),
use_descriptor_passing=$enableval) use_descriptor_passing=$enableval)
if test "$supports_descriptor_passing" != "yes"; then if test "$supports_descriptor_passing" != "yes"; then
use_descriptor_passing=no use_descriptor_passing=no
fi fi
if test "$use_descriptor_passing" = "yes"; then if test "$use_descriptor_passing" = "yes"; then
AC_DEFINE(USE_DESCRIPTOR_PASSING,1, AC_DEFINE(USE_DESCRIPTOR_PASSING,1,
[Defined if descriptor passing is enabled and supported]) [Defined if descriptor passing is enabled and supported])
fi fi
skipping to change at line 770 skipping to change at line 770
[Defined if we are building with uiserver support.]) [Defined if we are building with uiserver support.])
fi fi
AM_CONDITIONAL(HAVE_UISERVER, test "$uiserver" != "no") AM_CONDITIONAL(HAVE_UISERVER, test "$uiserver" != "no")
# Option --disable-linux-getdents # Option --disable-linux-getdents
# #
# By default we use SYS_getdents on Linux to optimize fd closing # By default we use SYS_getdents on Linux to optimize fd closing
# before an exec. This option allows to switch this optimization off. # before an exec. This option allows to switch this optimization off.
use_linux_getdents=yes use_linux_getdents=yes
AC_ARG_ENABLE(linux-getdents, AC_ARG_ENABLE(linux-getdents,
AC_HELP_STRING([--disable-linux-getdents], AS_HELP_STRING([--disable-linux-getdents],
[do not use SYS_getdents on Linux]), [do not use SYS_getdents on Linux]),
use_linux_getdents=$enableval) use_linux_getdents=$enableval)
if test "$use_linux_getdents" = "yes"; then if test "$use_linux_getdents" = "yes"; then
case "${host}" in case "${host}" in
*-*-linux*) *-*-linux*)
AC_DEFINE(USE_LINUX_GETDENTS,1, AC_DEFINE(USE_LINUX_GETDENTS,1,
[Defined if SYS_getdents can be used on Linux]) [Defined if SYS_getdents can be used on Linux])
;; ;;
esac esac
fi fi
skipping to change at line 811 skipping to change at line 811
#if __GNUC__ > 2 #if __GNUC__ > 2
# define GPGME_GCC_A_PURE __attribute__ ((__pure__)) # define GPGME_GCC_A_PURE __attribute__ ((__pure__))
#else #else
# define GPGME_GCC_A_PURE # define GPGME_GCC_A_PURE
#endif #endif
/* Under WindowsCE we need gpg-error's strerror macro. */ /* Under WindowsCE we need gpg-error's strerror macro. */
#define GPG_ERR_ENABLE_ERRNO_MACROS 1 #define GPG_ERR_ENABLE_ERRNO_MACROS 1
#define CRIGHTBLURB "Copyright (C) 2000 Werner Koch\n" \ #define CRIGHTBLURB "Copyright (C) 2000 Werner Koch\n" \
"Copyright (C) 2001--2020 g10 Code GmbH\n" "Copyright (C) 2001--2021 g10 Code GmbH\n"
]) ])
# Substitution used for gpgme-config # Substitution used for gpgme-config
GPGME_CONFIG_LIBS="-lgpgme" GPGME_CONFIG_LIBS="-lgpgme"
GPGME_CONFIG_CFLAGS="" GPGME_CONFIG_CFLAGS=""
GPGME_CONFIG_HOST="$host" GPGME_CONFIG_HOST="$host"
GPGME_CONFIG_AVAIL_LANG="$enabled_languages" GPGME_CONFIG_AVAIL_LANG="$enabled_languages"
AC_SUBST(GPGME_CONFIG_API_VERSION) AC_SUBST(GPGME_CONFIG_API_VERSION)
AC_SUBST(GPGME_CONFIG_LIBS) AC_SUBST(GPGME_CONFIG_LIBS)
AC_SUBST(GPGME_CONFIG_CFLAGS) AC_SUBST(GPGME_CONFIG_CFLAGS)
 End of changes. 19 change blocks. 
19 lines changed or deleted 19 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)