projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the libjpeg configure test to look for the right function.
[synfig.git]
/
synfig-core
/
trunk
/
configure.ac
diff --git
a/synfig-core/trunk/configure.ac
b/synfig-core/trunk/configure.ac
index
79ea10b
..
0d2c62e
100644
(file)
--- 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)