|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] tools/configure: Drop libgcrypt detection
commit 9c4bfc5d667e3c9a226f5386d2ef0282dce8289f
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Fri Sep 28 15:46:53 2018 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri Sep 28 16:44:07 2018 +0100
tools/configure: Drop libgcrypt detection
This was last used by blktap1, which was deleted by c/s f6bcc035084 in 2014.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
config/Tools.mk.in | 1 -
tools/configure | 44 --------------------------------------------
tools/configure.ac | 2 --
3 files changed, 47 deletions(-)
diff --git a/config/Tools.mk.in b/config/Tools.mk.in
index bdba087af0..1e5cc20bf7 100644
--- a/config/Tools.mk.in
+++ b/config/Tools.mk.in
@@ -69,7 +69,6 @@ LINUX_BACKEND_MODULES := @LINUX_BACKEND_MODULES@
#System options
ZLIB := @zlib@
CONFIG_LIBICONV := @libiconv@
-CONFIG_GCRYPT := @libgcrypt@
EXTFS_LIBS := @EXTFS_LIBS@
CURSES_LIBS := @CURSES_LIBS@
TINFO_LIBS := @TINFO_LIBS@
diff --git a/tools/configure b/tools/configure
index acbcf9eb3e..acc857510e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -639,7 +639,6 @@ PTYFUNCS_LIBS
PTHREAD_LIBS
PTHREAD_LDFLAGS
PTHREAD_CFLAGS
-libgcrypt
EXTFS_LIBS
system_aio
zlib
@@ -8624,49 +8623,6 @@ fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_md_hash_buffer in
-lgcrypt" >&5
-$as_echo_n "checking for gcry_md_hash_buffer in -lgcrypt... " >&6; }
-if ${ac_cv_lib_gcrypt_gcry_md_hash_buffer+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgcrypt $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char gcry_md_hash_buffer ();
-int
-main ()
-{
-return gcry_md_hash_buffer ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_gcrypt_gcry_md_hash_buffer=yes
-else
- ac_cv_lib_gcrypt_gcry_md_hash_buffer=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
$ac_cv_lib_gcrypt_gcry_md_hash_buffer" >&5
-$as_echo "$ac_cv_lib_gcrypt_gcry_md_hash_buffer" >&6; }
-if test "x$ac_cv_lib_gcrypt_gcry_md_hash_buffer" = xyes; then :
- libgcrypt="y"
-else
- libgcrypt="n"
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread flag" >&5
$as_echo_n "checking for pthread flag... " >&6; }
diff --git a/tools/configure.ac b/tools/configure.ac
index e7d2e6f4ff..1499344ce6 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -407,8 +407,6 @@ AC_CHECK_LIB([aio], [io_setup], [], [AC_MSG_ERROR([Could
not find libaio])])
])
AC_SUBST(system_aio)
AX_CHECK_EXTFS
-AC_CHECK_LIB([gcrypt], [gcry_md_hash_buffer], [libgcrypt="y"], [libgcrypt="n"])
-AC_SUBST(libgcrypt)
AX_CHECK_PTHREAD
AX_CHECK_PTYFUNCS
AC_CHECK_LIB([yajl], [yajl_alloc], [],
--
generated by git-patchbot for /home/xen/git/xen.git#staging
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |