Fix zlib DLL name
[fedora-mingw.git] / libjpeg / libjpeg-autoconf.patch
1 Work around bogosity in autoconf-2.62: it breaks #undef's that have a
2 comment after them, a construct that has worked fine in every previous
3 autoconf release.  See bz #449471 and bz #449245.
4
5
6 diff -Naur jpeg-6b.orig/jconfig.cfg jpeg-6b/jconfig.cfg
7 --- jpeg-6b.orig/jconfig.cfg    1994-12-06 11:43:15.000000000 -0500
8 +++ jpeg-6b/jconfig.cfg 2008-05-31 16:59:32.000000000 -0400
9 @@ -28,11 +28,16 @@
10  
11  #ifdef JPEG_CJPEG_DJPEG
12  
13 -#define BMP_SUPPORTED          /* BMP image file format */
14 -#define GIF_SUPPORTED          /* GIF image file format */
15 -#define PPM_SUPPORTED          /* PBMPLUS PPM/PGM image file format */
16 -#undef RLE_SUPPORTED           /* Utah RLE image file format */
17 -#define TARGA_SUPPORTED                /* Targa image file format */
18 +/* BMP image file format */
19 +#define BMP_SUPPORTED
20 +/* GIF image file format */
21 +#define GIF_SUPPORTED
22 +/* PBMPLUS PPM/PGM image file format */
23 +#define PPM_SUPPORTED
24 +/* Utah RLE image file format */
25 +#undef RLE_SUPPORTED
26 +/* Targa image file format */
27 +#define TARGA_SUPPORTED
28  
29  #undef TWO_FILE_COMMANDLINE
30  #undef NEED_SIGNAL_CATCHER