Projects
Extra
iscan
iscan.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iscan.patch of Package iscan
--- a/configure.ac +++ b/configure.ac @@ -282,6 +282,7 @@ AC_DEFUN([ISCAN_FILE_FORMAT], AC_HELP_STRING([--enable-$1], [ensure support for the $3 file format]), [if test "x$enable_$1" != xno; then + PKG_CHECK_MODULES($3, $4) iff_header="`echo $2 | $as_tr_sh`" AC_CHECK_HEADERS([$2]) if test `eval echo '$ac_cv_header_'$iff_header` \ @@ -292,9 +293,9 @@ AC_DEFUN([ISCAN_FILE_FORMAT], [AC_CHECK_HEADERS([$2])]) ]) -ISCAN_FILE_FORMAT(jpeg,jpeglib.h,JPEG) -ISCAN_FILE_FORMAT(png,png.h,PNG) -ISCAN_FILE_FORMAT(tiff,tiffio.h,TIFF) +ISCAN_FILE_FORMAT(jpeg,jpeglib.h,JPEG,libjpeg) +ISCAN_FILE_FORMAT(png,png.h,PNG,libpng) +ISCAN_FILE_FORMAT(tiff,tiffio.h,TIFF,libtiff-4) dnl Support for performance measurements. --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -27,8 +27,8 @@ SUBDIRS = \ if ENABLE_FRONTEND noinst_LTLIBRARIES = libimage-stream.la -libimage_stream_la_CPPFLAGS = -I$(top_srcdir)/include -libimage_stream_la_LDFLAGS = -static +libimage_stream_la_CPPFLAGS = -I$(top_srcdir)/include $(PNG_CFLAGS) $(JPEG_CFLAGS) $(TIFF_CFLAGS) +libimage_stream_la_LDFLAGS = -static $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS) libimage_stream_la_LIBADD = \ $(LIBLTDL) \ $(top_builddir)/lib/pdf/libpdf.la
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.