From c5ae4b70b2a59853cb9248b03ad5ac2d26f4112a Mon Sep 17 00:00:00 2001 From: pabs3 Date: Thu, 11 Sep 2008 04:05:59 +0000 Subject: [PATCH] Fix the libjpeg configure test to look for the right function. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2044 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/configure.ac b/synfig-core/trunk/configure.ac index 79ea10b..0d2c62e 100644 --- a/synfig-core/trunk/configure.ac +++ b/synfig-core/trunk/configure.ac @@ -430,7 +430,7 @@ AC_CHECK_LIB(mng, mng_initialize,[ AM_CONDITIONAL(HAVE_LIBMNG,false) ],[-lz -L${exec_prefix}/lib]) -AC_CHECK_LIB(jpeg, main,[ +AC_CHECK_LIB(jpeg, jpeg_CreateCompress,[ JPEG_LIBS="-ljpeg" AC_DEFINE(HAVE_LIBJPEG,[], [ Define if JPEG library is available ] ) AC_SUBST(JPEG_LIBS) -- 2.7.4