]> granicus.if.org Git - graphviz/commitdiff
allow jpg support in diffimg. remove test for HAVE_HAVE_LIBJPEG - Sergej Pupykin
authorJohn Ellson <john.ellson@comcast.net>
Fri, 26 Feb 2016 12:45:03 +0000 (07:45 -0500)
committerJohn Ellson <john.ellson@comcast.net>
Fri, 26 Feb 2016 12:45:03 +0000 (07:45 -0500)
contrib/diffimg/diffimg.c

index 23518b821e9c12890a786f4b1e011c5b83de772f..d3d29144e75b8929524775a7ae815c3e71edf05f 100644 (file)
@@ -136,9 +136,6 @@ static gdImagePtr imageLoad (char *filename)
 #endif
     }
     else if (strcasecmp(ext, ".jpg") == 0) {
-#ifndef HAVE_HAVE_LIBJPEG
-#undef HAVE_GD_JPEG
-#endif
 #ifdef HAVE_GD_JPEG
         im = gdImageCreateFromJpeg(f);
 #else