All pastes #425183 Raw Edit

Something

public text v1 · immutable
·published 2007-04-05 09:46 UTC
rendered paste body
if test "x$build_freeimage" = "xyes" ; then
        AC_CHECK_LIB(freeimage, FreeImage_Load,,,-lstdc++,AC_MSG_ERROR([
****************************************************************
* You do not have FreeImage installed.  This is required.      *
* You may find it at http://freeimage.sourceforge.net/.        *
* Note: You can also provide --disable-freeimage to the build  *
* process to build without it. This is an advanced option      *
* useful only if you provide your own image loading codecs.    *
****************************************************************]))
        AC_DEFINE([OGRE_NO_FREEIMAGE], [0], [Do not use freeimage to load images])
else
        AC_DEFINE([OGRE_NO_FREEIMAGE], [1], [Load images using the freeimage library])
        OGRE_CFLAGS="$OGRE_CFLAGS -DOGRE_NO_FREEIMAGE"
fi