Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 374371 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac.old (-5 / +9 lines)
Lines 259-271 Link Here
259
LIBJPEG=""
259
LIBJPEG=""
260
libjpeg_msg="no"
260
libjpeg_msg="no"
261
AC_SUBST(LIBJPEG)
261
AC_SUBST(LIBJPEG)
262
AC_CHECK_LIB(jpeg,jpeg_start_decompress,[
262
AC_ARG_WITH([jpeg], AS_HELP_STRING([--without-jpeg], [Build without jpeg library (default: no)]))
263
	AC_CHECK_HEADER(jpeglib.h,[
263
AS_IF([test "x$with_jpeg" != "xno"], [
264
		AC_DEFINE(HAVE_LIBJPEG,1,[define if we found LIBJPEG and its headers])
264
	AC_CHECK_LIB(jpeg,jpeg_start_decompress,[
265
		LIBJPEG="-ljpeg"
265
		AC_CHECK_HEADER(jpeglib.h,[
266
		libjpeg_msg="yes"
266
			AC_DEFINE(HAVE_LIBJPEG,1,[define if we found LIBJPEG and its headers])
267
			LIBJPEG="-ljpeg"
268
			libjpeg_msg="yes"
269
		])
267
	])
270
	])
268
])
271
])
272
269
GP_CONFIG_MSG([JPEG mangling support],[${libjpeg_msg}])
273
GP_CONFIG_MSG([JPEG mangling support],[${libjpeg_msg}])
270
274
271
dnl ---------------------------------------------------------------------------
275
dnl ---------------------------------------------------------------------------

Return to bug 374371