Fix the libjpeg configure test to look for the right function.
authorpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 11 Sep 2008 04:05:59 +0000 (04:05 +0000)
committerpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 11 Sep 2008 04:05:59 +0000 (04:05 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2044 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/configure.ac

index 79ea10b..0d2c62e 100644 (file)
@@ -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)