Print libzip availability at both configure and piler -V output

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2019-05-06 13:52:57 +02:00
parent afcda4939e
commit 2227163b68
3 changed files with 8 additions and 0 deletions

2
configure vendored
View File

@ -4704,6 +4704,8 @@ cat >>confdefs.h <<_ACEOF
_ACEOF _ACEOF
antispam_libs="$antispam_libs -lzip" antispam_libs="$antispam_libs -lzip"
else
echo "zip library: no"
fi fi
if test "$have_tcpwrappers" = "yes"; then if test "$have_tcpwrappers" = "yes"; then

View File

@ -426,6 +426,8 @@ if test "$have_zip" = "yes"; then
echo "zip library: yes" echo "zip library: yes"
AC_DEFINE_UNQUOTED(HAVE_ZIP, 1, [libzip support]) AC_DEFINE_UNQUOTED(HAVE_ZIP, 1, [libzip support])
antispam_libs="$antispam_libs -lzip" antispam_libs="$antispam_libs -lzip"
else
echo "zip library: no"
fi fi
if test "$have_tcpwrappers" = "yes"; then if test "$have_tcpwrappers" = "yes"; then

View File

@ -63,6 +63,10 @@ void get_extractor_list(){
printf("%s ", HAVE_TNEF); printf("%s ", HAVE_TNEF);
#endif #endif
#ifdef HAVE_ZIP
printf("libzip ");
#endif
printf("\n\n"); printf("\n\n");
} }