From 2cc9977dd9fb2e069b9dac4439af952c2f2c15ee Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Mon, 27 Sep 2010 17:20:33 -0400 Subject: [PATCH] Better test for libzint. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1e064687..836e342f 100644 --- a/configure.ac +++ b/configure.ac @@ -81,7 +81,7 @@ LIBEBOOK_REQUIRED=2.28.0 LIBBARCODE_REQUIRED=0.98 LIBQRENCODE_REQUIRED=3.1.0 LIBIEC16022_REQUIRED=0.2.4 -LIBZINT_REQUIRED=2.3.1 +LIBZINT_REQUIRED=2.4.0 dnl Make above strings available for packaging files (e.g. rpm spec files) AC_SUBST(GLIB_REQUIRED) @@ -169,7 +169,7 @@ AC_ARG_WITH(libzint, [AS_HELP_STRING([--without-libzint],[build without Zint Barcode support])]) have_libzint=no if test "x$with_libzint" != xno; then - AC_CHECK_LIB(zint, ZBarcode_Create, + AC_CHECK_LIB(zint, ZBarcode_Render, [have_libzint=yes], [have_libzint=no]) fi -- 2.39.5