dumb libjpeg search fix

This commit is contained in:
Glenn Maynard
2004-07-15 20:22:55 +00:00
parent cf5577455a
commit 21ce64de1d
+1 -1
View File
@@ -130,7 +130,7 @@ AC_ARG_WITH(jpeg, AC_HELP_STRING([--without-jpeg], [Disable JPEG support]), with
if test "$with_jpeg" = "yes"; then
have_libjpeg=yes
AC_CHECK_LIB(jpeg, jpeg_read_scanlines, [x=y], have_libjpeg=no) # x=y to stop autoconf from messing with LIBS
AC_CHECK_LIB(jpeg, jpeg_read_scanlines, [x=y], have_libjpeg=no, [-lz -lm]) # x=y to stop autoconf from messing with LIBS
AC_CHECK_HEADER(jpeglib.h, , have_libjpeg=no)
if test "$have_libjpeg" = "no"; then