gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash configure.ac


From: Martin Guy
Subject: [Gnash-commit] gnash configure.ac
Date: Tue, 30 Jan 2007 21:58:53 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Martin Guy <martinwguy> 07/01/30 21:58:53

Modified files:
        .              : configure.ac 

Log message:
        Make libjpeg presence mandatory and fail otherwise

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.244&r2=1.245

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -b -r1.244 -r1.245
--- configure.ac        30 Jan 2007 17:41:17 -0000      1.244
+++ configure.ac        30 Jan 2007 21:58:53 -0000      1.245
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.244 2007/01/30 17:41:17 martinwguy Exp $
+dnl $Id: configure.ac,v 1.245 2007/01/30 21:58:53 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -412,7 +412,7 @@
 
 dnl AC_CHECK_LIB(c, mremap)
 GNASH_PKG_FIND(z, [zlib.h], [zlib compression library], compress)
-dnl GNASH_PKG_FIND(jpeg, [jpeglib.h], [jpeg images], jpeg_mem_init)
+GNASH_PKG_FIND(jpeg, [jpeglib.h], [jpeg images], jpeg_mem_init)
 GNASH_PATH_JPEG
 
 dnl if we're not building the extensions, then the _FLAGS and _LIBS settings
@@ -434,7 +434,7 @@
 AM_CONDITIONAL(ENABLE_DOXYGEN, [ test x"$DOXYGEN" != x ])
 
 dnl currently unused
-dnl GNASH_PKG_FIND(ogg, [ogg.h], [jpeg images], jpeg_mem_init)
+dnl GNASH_PKG_FIND(ogg, [ogg.h], [decode ogg streams], ogg_stream_init)
 
 if test x$gui = xsdl -o x$sound_handler = xsdl; then
   GNASH_PATH_SDL
@@ -1312,6 +1312,17 @@
  nogo=true
 fi
 
+if test x"$JPEG" != x; then
+    echo "        JPEG flags are: $JPEG_CFLAGS"
+    echo "        JPEG libs are: $JPEG_LIBS"
+else
+    echo "ERROR: No JPEG development package installed!\
+ You need to have the libjpeg package installed\
+ to compile, or install libjpeg-dev (using apt-get)\
+ or libjpeg-devel (using yum)."
+ nogo=true
+fi
+
 if test x"$MING_LIBS" != x; then
     echo "        MING version code is $MING_VERSION_CODE"
     echo "        MING flags are $MING_CFLAGS"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]