printf("\n*** 'gdk-pixbuf-config --version' returned %d.%d.%d, but the minimum version\n", $gdk_pixbuf_major_version, $gdk_pixbuf_minor_version, $gdk_pixbuf_micro_version);
printf("*** of GDK_PIXBUF required is %d.%d.%d. If gdk-pixbuf-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If gdk-pixbuf-config was wrong, set the environment variable GDK_PIXBUF_CONFIG\n");
printf("*** to point to the correct copy of gdk-pixbuf-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
EOF
if { (eval echo configure:6043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -fr conftest*
no_gdk_pixbuf=yes
fi
rm -fr conftest*
fi
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gdk_pixbuf" = x ; then
echo "$ac_t""yes" 1>&6
HAVE_GDK_PIXBUF=1
else
echo "$ac_t""no" 1>&6
if test "$GDK_PIXBUF_CONFIG" = "no" ; then
echo "*** The gdk-pixbuf-config script installed by GDK_PIXBUF could not be found"
echo "*** If GDK_PIXBUF was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GDK_PIXBUF_CONFIG environment variable to the"
echo "*** full path to gdk-pixbuf-config."
else
if test -f conf.gdk_pixbuftest ; then
:
else
echo "*** Could not run GDK_PIXBUF test program, checking why..."
CFLAGS="$CFLAGS $GDK_PIXBUF_CFLAGS"
LIBS="$LIBS $GDK_PIXBUF_LIBS"
cat > conftest.$ac_ext <<EOF
#line 6077 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
int main() {
return 0;
; return 0; }
EOF
if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GDK_PIXBUF or finding the wrong"
echo "*** version of GDK_PIXBUF. If it is not finding GDK_PIXBUF, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GDK_PIXBUF was incorrectly installed"
echo "*** or that you have moved GDK_PIXBUF since it was installed. In the latter case, you"
echo "*** may want to edit the gdk-pixbuf-config script: $GDK_PIXBUF_CONFIG"
fi
rm -f conftest*
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GDK_PIXBUF_CFLAGS=""
GDK_PIXBUF_LIBS=""
:
fi
rm -f conf.gdk_pixbuftest
if test "$HAVE_GDK_PIXBUF"; then
MOZ_GDK_PIXBUF_CFLAGS=$GDK_PIXBUF_CFLAGS
MOZ_GDK_PIXBUF_LIBS=$GDK_PIXBUF_LIBS
fi
if test "$no_x" != "yes"
then
# Check whether --with-java-supplement or --without-java-supplement was given.
if test "${with_java_supplement+set}" = set; then
withval="$with_java_supplement"
if test "$withval" = "yes"
then
MOZ_JAVA_SUPPLEMENT=1
else
MOZ_JAVA_SUPPLEMENT=
fi
fi
fi
MOZ_GLE=
MOZ_GLE_LDFLAGS=
# Check whether --with-gle or --without-gle was given.
if test "${with_gle+set}" = set; then
withval="$with_gle"
if test "$withval" = "yes"
then
MOZ_GLE=1
MOZ_GLE_LDFLAGS=-lgle
cat >> confdefs.h <<\EOF
#define MOZ_GLE 1
EOF
else
MOZ_GLE=
MOZ_GLE_LDFLAGS=
fi
fi
# Check whether --with-static-gtk or --without-static-gtk was given.
if test "${with_static_gtk+set}" = set; then
withval="$with_static_gtk"
sysstaticgtk=$withval
fi
if test "$sysstaticgtk" != "yes"
then
MOZ_GTK_LDFLAGS=$GTK_LIBS
if test "$MOZ_GLE"
then
MOZ_GTK_LDFLAGS=`echo $MOZ_GTK_LDFLAGS | sed -e 's/-lgtk/-lgle -lgtk/'`
fi
else
GTK_LIBS_LOC=`echo $GTK_LIBS | sed 's/\(.*\)\(-lgtk.*\)/\1/'`
GTK_STATIC_LOC=`echo $GTK_LIBS | sed 's/^ *-L\([^ ]*\) .*$/\1/'`
GTK_STATIC=`echo $GTK_LIBS | sed 's/^.*-l\(gtk[^ ]*\) .*/\1/'`
GDK_STATIC=`echo $GTK_LIBS | sed 's/^.*-l\(gdk[^ ]*\) .*/\1/'`
/* _dl_loaded isn't defined, so this should be either a libc5 (glibc1) system, or a glibc2 system that doesn't have the multiple load bug (i.e., RH6.0).*/
{ echo "configure: error: Your compiler appears to have a known bug where long long is miscompiled when using -pedantic. Reconfigure using --disable-pedantic. " 1>&2; exit 1; }
;;
maybe)
echo "configure: warning: Cannot test -pedantic long long bug when cross-compiling." 1>&2
;;
esac
fi
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.