On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote:

> OK... So we're alledgedly checking in libjpeg...
> 
> > configure:13753: gcc -o conftest -g -O2 -Wall   conftest.c
> > -I/usr/local/lib   -l
> > iconv -lintl -liconv >&5
> 
> But there's no -ljpeg in the actual gcc command.   Something's on

> Did you create a './configure' yourself using autoconf?  If so, the place

Yes.

> to start looking would be a busticated install of autoconf and friends
> (I can't say for sure - first guess would be a failure to run aclocal).

I'll check further.

> If it's the ./configure from a distribution tarball, it may be
> time to find the bell, the book, and the candles.. ;)

>From configure.in there is:

dnl Test for libjpeg
  if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
    AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
      jpeg_ok=yes,
      jpeg_ok=no
      AC_MSG_WARN(*** JPEG loader will not be built (JPEG library not
found) ***
))
    if test "$jpeg_ok" = yes; then
      AC_MSG_CHECKING([for jpeglib.h])
      AC_TRY_CPP(
[#include <stdio.h>
#undef PACKAGE
#undef VERSION
#undef HAVE_STDLIB_H
include <jpeglib.h>],
        jpeg_ok=yes,
        jpeg_ok=no)
      AC_MSG_RESULT($jpeg_ok)
      if test "$jpeg_ok" = yes; then
        LIBJPEG='-ljpeg'
        AC_CHECK_LIB(jpeg, jpeg_simple_progression,     
          AC_DEFINE(HAVE_PROGRESSIVE_JPEG),
          AC_MSG_WARN(JPEG library does not support progressive saving.))
      else
          AC_MSG_WARN(*** JPEG loader will not be built (JPEG header file
not found) ***)



At the beginning is the first mention of $LIBJPEG in the configure.in
script, so I'm not sure where $LIBJPEG is defined.

Thanks,

--Paul


--
William J. Broad: "The crux... is that the vast majority of the mass
of the universe seems to be missing."


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to