[git] NTBTLS - branch, master, updated. ntbtls-0.1.2-13-g07568d0
by NIIBE Yutaka
cvs at cvs.gnupg.org
Fri Oct 26 03:54:00 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Not Too Bad TLS".
The branch, master has been updated
via 07568d097f3e9662a5e49297d27324cbcd2407a4 (commit)
from cf45bc9db3d63283169026bf6e8300712991fc01 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 07568d097f3e9662a5e49297d27324cbcd2407a4
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Fri Oct 26 10:53:11 2018 +0900
build: Update ksba.m4 and libgcrypt.m4.
* m4/ksba.m4: Update.
* m4/libgcrypt.m4: Update.
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
diff --git a/m4/ksba.m4 b/m4/ksba.m4
index 1333979..c61ca55 100644
--- a/m4/ksba.m4
+++ b/m4/ksba.m4
@@ -45,12 +45,12 @@ AC_DEFUN([AM_PATH_KSBA],
use_gpgrt_config=""
if test x"$KSBA_CONFIG" != x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
if CC=$CC $GPGRT_CONFIG libksba >/dev/null 2>&1; then
- LIBKSBA_CONFIG="$GPGRT_CONFIG libksba"
+ KSBA_CONFIG="$GPGRT_CONFIG libksba"
use_gpgrt_config=yes
fi
fi
if test -z "$use_gpgrt_config"; then
- AC_PATH_PROG(LIBKSBA_CONFIG, ksba-config, no)
+ AC_PATH_PROG(KSBA_CONFIG, ksba-config, no)
fi
tmp=ifelse([$1], ,1:1.0.0,$1)
@@ -71,7 +71,11 @@ AC_DEFUN([AM_PATH_KSBA],
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
req_micro=`echo $min_ksba_version | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
- ksba_config_version=`CC=$CC $KSBA_CONFIG --modversion`
+ if test -z "$use_gpgrt_config"; then
+ ksba_config_version=`CC=$CC $KSBA_CONFIG --version`
+ else
+ ksba_config_version=`CC=$CC $KSBA_CONFIG --modversion`
+ fi
major=`echo $ksba_config_version | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
minor=`echo $ksba_config_version | \
@@ -103,7 +107,11 @@ AC_DEFUN([AM_PATH_KSBA],
# Even if we have a recent libksba, we should check that the
# API is compatible.
if test "$req_ksba_api" -gt 0 ; then
- tmp=`CC=$CC $KSBA_CONFIG --variable=api_version 2>/dev/null || echo 0`
+ if test -z "$use_gpgrt_config"; then
+ tmp=`CC=$CC $KSBA_CONFIG --api-version 2>/dev/null || echo 0`
+ else
+ tmp=`CC=$CC $KSBA_CONFIG --variable=api_version 2>/dev/null || echo 0`
+ fi
if test "$tmp" -gt 0 ; then
AC_MSG_CHECKING([KSBA API version])
if test "$req_ksba_api" -eq "$tmp" ; then
@@ -119,7 +127,11 @@ AC_DEFUN([AM_PATH_KSBA],
KSBA_CFLAGS=`CC=$CC $KSBA_CONFIG --cflags`
KSBA_LIBS=`CC=$CC $KSBA_CONFIG --libs`
ifelse([$2], , :, [$2])
- libksba_config_host=`CC=$CC $KSBA_CONFIG --variable=host 2>/dev/null || echo none`
+ if test -z "$use_gpgrt_config"; then
+ libksba_config_host=`CC=$CC $KSBA_CONFIG --host 2>/dev/null || echo none`
+ else
+ libksba_config_host=`CC=$CC $KSBA_CONFIG --variable=host 2>/dev/null || echo none`
+ fi
if test x"$libksba_config_host" != xnone ; then
if test x"$libksba_config_host" != x"$host" ; then
AC_MSG_WARN([[
diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4
index e674293..5c3f6e1 100644
--- a/m4/libgcrypt.m4
+++ b/m4/libgcrypt.m4
@@ -81,7 +81,11 @@ AC_DEFUN([AM_PATH_LIBGCRYPT],
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
req_micro=`echo $min_libgcrypt_version | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
- libgcrypt_config_version=`CC=$CC $LIBGCRYPT_CONFIG --modversion`
+ if test -z "$use_gpgrt_config"; then
+ libgcrypt_config_version=`CC=$CC $LIBGCRYPT_CONFIG --version`
+ else
+ libgcrypt_config_version=`CC=$CC $LIBGCRYPT_CONFIG --modversion`
+ fi
major=`echo $libgcrypt_config_version | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
minor=`echo $libgcrypt_config_version | \
@@ -113,7 +117,11 @@ AC_DEFUN([AM_PATH_LIBGCRYPT],
# If we have a recent libgcrypt, we should also check that the
# API is compatible
if test "$req_libgcrypt_api" -gt 0 ; then
- tmp=`CC=$CC $LIBGCRYPT_CONFIG --variable=api_version 2>/dev/null || echo 0`
+ if test -z "$use_gpgrt_config"; then
+ tmp=`CC=$CC $LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
+ else
+ tmp=`CC=$CC $LIBGCRYPT_CONFIG --variable=api_version 2>/dev/null || echo 0`
+ fi
if test "$tmp" -gt 0 ; then
AC_MSG_CHECKING([LIBGCRYPT API version])
if test "$req_libgcrypt_api" -eq "$tmp" ; then
@@ -129,7 +137,11 @@ AC_DEFUN([AM_PATH_LIBGCRYPT],
LIBGCRYPT_CFLAGS=`CC=$CC $LIBGCRYPT_CONFIG --cflags`
LIBGCRYPT_LIBS=`CC=$CC $LIBGCRYPT_CONFIG --libs`
ifelse([$2], , :, [$2])
- libgcrypt_config_host=`CC=$CC $LIBGCRYPT_CONFIG --variable=host 2>/dev/null || echo none`
+ if test -z "$use_gpgrt_config"; then
+ libgcrypt_config_host=`CC=$CC $LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
+ else
+ libgcrypt_config_host=`CC=$CC $LIBGCRYPT_CONFIG --variable=host 2>/dev/null || echo none`
+ fi
if test x"$libgcrypt_config_host" != xnone ; then
if test x"$libgcrypt_config_host" != x"$host" ; then
AC_MSG_WARN([[
-----------------------------------------------------------------------
Summary of changes:
m4/ksba.m4 | 22 +++++++++++++++++-----
m4/libgcrypt.m4 | 18 +++++++++++++++---
2 files changed, 32 insertions(+), 8 deletions(-)
hooks/post-receive
--
Not Too Bad TLS
http://git.gnupg.org
More information about the Gnupg-commits
mailing list