<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - configure in poppler 0.22.0 fails to find jpeglib.h"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59186#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - configure in poppler 0.22.0 fails to find jpeglib.h"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59186">bug 59186</a>
              from <span class="vcard"><a class="email" href="mailto:Peter_Dyballa@Freenet.DE" title="Peter Dyballa <Peter_Dyballa@Freenet.DE>"> <span class="fn">Peter Dyballa</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=59186#c3">comment #3</a>)
<span class="quote">> Just read my comment and saw that it might be a bit ambigouus.

> I am asking Peter, the reporter if the change he suggests in <a href="show_bug.cgi?id=59186#c1">Comment #1</a>
> actually works for him (the "Looks as if " wording seems a bit non
> conclusive to me)</span >

Yes, according to this output is works:

    checking for LIBOPENJPEG... no
    checking for opj_cio_open in -lopenjpeg... no
    checking openjpeg.h usability... no
    checking openjpeg.h presence... no
    checking for openjpeg.h... no
    checking for TIFFOpen in -ltiff... yes
    checking tiffio.h usability... yes
    checking tiffio.h presence... yes
    checking for tiffio.h... yes
    checking for popen... yes
    checking for mkstemp... yes
    checking for mkstemps... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for fseek64... no
    checking for ftell64... no
    checking for inflate in -lz... yes
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for libjpeg6b... no
    checking for libjpeg... -ljpeg
    checking jpeglib.h usability... yes
    checking jpeglib.h presence... yes
    checking for jpeglib.h... yes
    checking libjpeg.h works correctly... ok

and config.log shows that the C header file is found:

    configure:20335: checking jpeglib.h usability
    configure:20335: gcc -std=gnu99 -c -pipe -fPIC -fno-common -Os -march=core2
-mtune=core2 -m64 -fomit-frame-pointer -msse4.2    -H
-I/Users/pete/Softwaren64/include    conftest.c >&5
    . /usr/include/stdio.h
    .. /usr/include/_types.h
    ... /usr/include/sys/_types.h
    .... /usr/include/sys/cdefs.h
    .... /usr/include/machine/_types.h
    ..... /usr/include/i386/_types.h
    .. /usr/include/secure/_stdio.h
    ... /usr/include/secure/_common.h
    . /usr/include/sys/types.h
    .. /usr/include/sys/appleapiopts.h
    .. /usr/include/machine/types.h
    ... /usr/include/i386/types.h
    .... /usr/include/i386/_types.h
    .. /usr/include/machine/endian.h
    ... /usr/include/i386/endian.h
    .... /usr/include/sys/_endian.h
    ..... /usr/include/libkern/_OSByteOrder.h
    ...... /usr/include/libkern/i386/_OSByteOrder.h
    .. /usr/include/sys/_structs.h
    . /usr/include/sys/stat.h
    .. /usr/include/Availability.h
    ... /usr/include/AvailabilityInternal.h
    .. /usr/include/sys/_structs.h
    . /usr/include/stdlib.h
    .. /usr/include/sys/wait.h
    ... /usr/include/sys/signal.h
    .... /usr/include/machine/signal.h
    ..... /usr/include/i386/signal.h
    ...... /usr/include/i386/_structs.h
    .... /usr/include/sys/_structs.h
    ..... /usr/include/machine/_structs.h
    ...... /usr/include/i386/_structs.h
    ....... /usr/include/mach/i386/_structs.h
    ... /usr/include/sys/resource.h
    .... /usr/include/sys/_structs.h
    .. /usr/include/alloca.h
    . /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h
    . /usr/include/string.h
    .. /usr/include/secure/_string.h
    . /usr/include/strings.h
    . /usr/include/inttypes.h
    .. /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h
    . /usr/include/unistd.h
    .. /usr/include/sys/unistd.h
    .. /usr/include/sys/select.h
    ... /usr/include/sys/_structs.h
    ... /usr/include/sys/_select.h
    . /Users/pete/Softwaren64/include/jpeglib.h
    .. /Users/pete/Softwaren64/include/jconfig.h
    .. /Users/pete/Softwaren64/include/jmorecfg.h
    configure:20335: $? = 0
    configure:20335: result: yes
    configure:20335: checking jpeglib.h presence
    configure:20335: gcc -E -H -I/Users/pete/Softwaren64/include    conftest.c
    . /Users/pete/Softwaren64/include/jpeglib.h
    .. /Users/pete/Softwaren64/include/jconfig.h
    .. /Users/pete/Softwaren64/include/jmorecfg.h
    Multiple include guards may be useful for:
    /Users/pete/Softwaren64/include/jconfig.h
    configure:20335: $? = 0
    configure:20335: result: yes
    configure:20335: checking for jpeglib.h
    configure:20335: result: yes
    configure:20386: checking libjpeg.h works correctly
    configure:20407: gcc -std=gnu99 -c -pipe -fPIC -fno-common -Os -march=core2
-mtune=core2 -m64 -fomit-frame-pointer -msse4.2  -H
-I/Users/pete/Softwaren64/include  conftest.c >&5
    . /usr/include/sys/types.h
    .. /usr/include/sys/appleapiopts.h
    .. /usr/include/sys/cdefs.h
    .. /usr/include/machine/types.h
    ... /usr/include/i386/types.h
    .... /usr/include/i386/_types.h
    .. /usr/include/sys/_types.h
    ... /usr/include/machine/_types.h
    .. /usr/include/machine/endian.h
    ... /usr/include/i386/endian.h
    .... /usr/include/sys/_endian.h
    ..... /usr/include/libkern/_OSByteOrder.h
    ...... /usr/include/libkern/i386/_OSByteOrder.h
    .. /usr/include/sys/_structs.h
    . /usr/include/stdio.h
    .. /usr/include/_types.h
    .. /usr/include/secure/_stdio.h
    ... /usr/include/secure/_common.h
    . /Users/pete/Softwaren64/include/jpeglib.h
    .. /Users/pete/Softwaren64/include/jconfig.h
    .. /Users/pete/Softwaren64/include/jmorecfg.h
    configure:20407: $? = 0
    configure:20409: result: ok
    configure:20485: checking for LIBPNG</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>