mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/configure: Drop libgcrypt detection
This was last used by blktap1, which was deleted by c/s f6bcc03508 in 2014.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
82f7659c9b
commit
9c4bfc5d66
3 files changed
-47
No files matched your search
@@ -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@
|
||||
|
||||
Vendored
-44
@@ -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; }
|
||||
|
||||
@@ -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], [],
|
||||
|
||||