"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
libksba-1.4.0.tar.bz2 and libksba-1.5.0.tar.bz2

About: KSBA is a library to make the tasks of working with X.509 certificates, CMS data and related objects more easy.

configure.ac  (libksba-1.4.0.tar.bz2):configure.ac  (libksba-1.5.0.tar.bz2)
skipping to change at line 21 skipping to change at line 21
# #
# KSBA is distributed in the hope that it will be useful, # KSBA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>. # along with this program; if not, see <http://www.gnu.org/licenses/>.
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61) AC_PREREQ([2.61])
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
# (git tag -s libksba-n.m.k) and run "./autogen.sh --force". Please # (git tag -s libksba-n.m.k) and run "./autogen.sh --force". Please
# bump the version number immediately after the release and do another # bump the version number immediately after the release and do another
# commit and push so that the git magic is able to work. See below # commit and push so that the git magic is able to work. See below
# for the LT versions. # for the LT versions.
m4_define([mym4_package],[libksba]) m4_define([mym4_package],[libksba])
m4_define([mym4_major], [1]) m4_define([mym4_major], [1])
m4_define([mym4_minor], [4]) m4_define([mym4_minor], [5])
m4_define([mym4_micro], [0]) m4_define([mym4_micro], [0])
# 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], [http://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.
# (Interfaces removed: CURRENT++, AGE=0, REVISION=0) # (Interfaces removed: CURRENT++, AGE=0, REVISION=0)
# (Interfaces added: CURRENT++, AGE++, REVISION=0) # (Interfaces added: CURRENT++, AGE++, REVISION=0)
# (No interfaces changed: REVISION++) # (No interfaces changed: REVISION++)
# Please remember to document interface changes in the NEWS file. # Please remember to document interface changes in the NEWS file.
LIBKSBA_LT_CURRENT=20 LIBKSBA_LT_CURRENT=21
LIBKSBA_LT_AGE=12 LIBKSBA_LT_AGE=13
LIBKSBA_LT_REVISION=0 LIBKSBA_LT_REVISION=0
#------------------- #-------------------
# If the API is changed in an incompatible way: increment the next counter. # If the API is changed in an incompatible way: increment the next counter.
KSBA_CONFIG_API_VERSION=1 KSBA_CONFIG_API_VERSION=1
NEED_GPG_ERROR_VERSION=1.8 NEED_GPG_ERROR_VERSION=1.8
AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/ksba.h.in]) AC_CONFIG_SRCDIR([src/ksba.h.in])
AM_INIT_AUTOMAKE([serial-tests dist-bzip2 no-dist-gzip]) AM_INIT_AUTOMAKE([serial-tests dist-bzip2 no-dist-gzip])
AM_CONFIG_HEADER(config.h) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_HOST AC_CANONICAL_HOST
AB_INIT AB_INIT
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 183 skipping to change at line 183
CC_FOR_BUILD="${CC_FOR_BUILD-cc}" CC_FOR_BUILD="${CC_FOR_BUILD-cc}"
else else
CC_FOR_BUILD="${CC_FOR_BUILD-$CC}" CC_FOR_BUILD="${CC_FOR_BUILD-$CC}"
fi fi
AC_MSG_RESULT($CC_FOR_BUILD) AC_MSG_RESULT($CC_FOR_BUILD)
AC_ARG_VAR(CC_FOR_BUILD,[build system C compiler]) AC_ARG_VAR(CC_FOR_BUILD,[build system C compiler])
# This is handy for debugging so the compiler doesn't rearrange # This is handy for debugging so the compiler doesn't rearrange
# things and eliminate variables. # things and eliminate variables.
AC_ARG_ENABLE(optimization, AC_ARG_ENABLE(optimization,
AC_HELP_STRING([--disable-optimization], AS_HELP_STRING([--disable-optimization],
[disable compiler optimization]), [disable compiler optimization]),
[if test $enableval = no ; then [if test $enableval = no ; then
CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]//'` CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]//'`
fi]) fi])
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes" CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
if test "$USE_MAINTAINER_MODE" = "yes"; then if test "$USE_MAINTAINER_MODE" = "yes"; then
CFLAGS="$CFLAGS -Wformat -Wno-format-y2k -Wformat-security" CFLAGS="$CFLAGS -Wformat -Wno-format-y2k -Wformat-security"
skipping to change at line 279 skipping to change at line 279
have_ld_version_script=no have_ld_version_script=no
case "${host}" in case "${host}" in
*-*-linux*) *-*-linux*)
have_ld_version_script=yes have_ld_version_script=yes
;; ;;
*-*-gnu*) *-*-gnu*)
have_ld_version_script=yes have_ld_version_script=yes
;; ;;
esac esac
AC_ARG_ENABLE([ld-version-script], AC_ARG_ENABLE([ld-version-script],
AC_HELP_STRING([--enable-ld-version-script], AS_HELP_STRING([--enable-ld-version-script],
[enable/disable use of linker version script. [enable/disable use of linker version script.
(default is system dependent)]), (default is system dependent)]),
[have_ld_version_script=$enableval], [have_ld_version_script=$enableval],
[ : ] ) [ : ] )
AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes") AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
# #
# Check for ELF visibility support. # Check for ELF visibility support.
# #
AC_CACHE_CHECK(whether the visibility attribute is supported, AC_CACHE_CHECK(whether the visibility attribute is supported,
skipping to change at line 392 skipping to change at line 392
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS([string.h]) AC_CHECK_HEADERS([string.h])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST
AC_C_BIGENDIAN AC_C_BIGENDIAN
AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(unsigned long) AC_CHECK_SIZEOF(unsigned long)
GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF) AC_CHECK_TYPES([u32])
# Checks for library functions. # Checks for library functions.
AC_CHECK_FUNCS([memmove strchr strtol strtoul stpcpy gmtime_r getenv]) AC_CHECK_FUNCS([memmove strchr strtol strtoul stpcpy gmtime_r getenv])
# GNUlib checks # GNUlib checks
gl_SOURCE_BASE(gl) gl_SOURCE_BASE(gl)
gl_M4_BASE(gl/m4) gl_M4_BASE(gl/m4)
gl_MODULES(alloca valgrind-tests) gl_MODULES(alloca valgrind-tests)
gl_INIT gl_INIT
skipping to change at line 430 skipping to change at line 430
BUILD_FILEVERSION="${BUILD_FILEVERSION}mym4_revision_dec" BUILD_FILEVERSION="${BUILD_FILEVERSION}mym4_revision_dec"
fi fi
AC_SUBST(BUILD_REVISION) AC_SUBST(BUILD_REVISION)
AC_SUBST(BUILD_FILEVERSION) AC_SUBST(BUILD_FILEVERSION)
BUILD_REVISION="mym4_revision" BUILD_REVISION="mym4_revision"
AC_SUBST(BUILD_REVISION) AC_SUBST(BUILD_REVISION)
AC_DEFINE_UNQUOTED(BUILD_REVISION, "$BUILD_REVISION", AC_DEFINE_UNQUOTED(BUILD_REVISION, "$BUILD_REVISION",
[GIT commit id revision used to build this package]) [GIT commit id revision used to build this package])
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])
build_doc=yes build_doc=yes
AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], AC_ARG_ENABLE([doc], AS_HELP_STRING([--disable-doc],
[do not build the documentation]), [do not build the documentation]),
build_doc=$enableval, build_doc=yes) build_doc=$enableval, build_doc=yes)
AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno])
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
m4/Makefile m4/Makefile
gl/Makefile gl/Makefile
src/Makefile src/Makefile
src/ksba.h src/ksba.h
 End of changes. 11 change blocks. 
13 lines changed or deleted 13 lines changed or added

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