]> git.sur5r.net Git - glabels/commitdiff
Better test for libzint.
authorJim Evins <evins@snaught.com>
Mon, 27 Sep 2010 21:20:33 +0000 (17:20 -0400)
committerJim Evins <evins@snaught.com>
Mon, 27 Sep 2010 21:21:56 +0000 (17:21 -0400)
configure.ac

index 1e064687f3f14b8ca841a3aec5e72b0128af090a..836e342ffa04e176ef4de83fceb7ebb169abe8a5 100644 (file)
@@ -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