summaryrefslogtreecommitdiff
blob: 7e84b39209dd8fd2762b83580ebdf96271292a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- povray-3.6.1/acinclude.m4~       2011-09-28 10:53:30.000000000 -0600
+++ povray-3.6.1/acinclude.m4        2011-09-28 10:54:17.000000000 -0600
@@ -494,7 +494,7 @@ AC_DEFUN([POV_CHECK_LIBJPEG],
         [jpeglib.h],
         [
           # check library version, update LIBS
-          AC_MSG_CHECKING([for libjpeg version >= $1])
+          AC_MSG_CHECKING([for libjpeg version == $1])
           AC_RUN_IFELSE(
             [
               AC_LANG_SOURCE(
@@ -507,7 +507,7 @@ int main (void)
   sprintf (ver_string, "%d", JPEG_LIB_VERSION);
   ver_string[[1]] = (ver_string[[1]] > '0') ? ver_string[[1]] + 48 : '\0';
   fprintf (stderr, "%s\n", ver_string);
-  return ! (strcmp (ver_string, "$1") >= 0);
+  return ! (strcmp (ver_string, "$1") == 0);
 }]
               )
             ],