gimp r27037 - trunk
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27037 - trunk
- Date: Tue, 23 Sep 2008 19:26:37 +0000 (UTC)
Author: neo
Date: Tue Sep 23 19:26:37 2008
New Revision: 27037
URL: http://svn.gnome.org/viewvc/gimp?rev=27037&view=rev
Log:
2008-09-23 Sven Neumann <sven gimp org>
* INSTALL
* configure.in: added --without-wmf option to disable build of
the
WMF plug-in.
Modified:
trunk/ChangeLog
trunk/INSTALL
trunk/configure.in
Modified: trunk/INSTALL
==============================================================================
--- trunk/INSTALL (original)
+++ trunk/INSTALL Tue Sep 23 19:26:37 2008
@@ -157,11 +157,16 @@
causing any trouble at compile-time, you can build --without-exif.
Get libexif from http://www.sourceforge.net/projects/libexif.
- --without-mng, --without-aa. The MNG plug-in needs libmng and
- configure checks for its presense. If for some reason you don't
- want to build the MNG plug-in even though the library is installed,
- use --without-mng to disable it expliticely. The same switch exists
- for aalib, use --without-aa if you run into problems.
+ --without-aa. The AA plug-in needs libaa and configure checks for
+ its presense. Use --without-aa if you run into problems.
+
+ --without-mng. The MNG plug-in needs libmng and configure checks
+ for its presense. If for some reason you don't want to build the
+ MNG plug-in even though the library is installed, use
+ --without-mng to disable it explicitly.
+
+ --without-wmf. The WMF plug-in needs libwmf2 and configure checks for
+ its presense. Use --without-aa if you run into problems.
--without-webkit. If for some reason you don't want to build the
helpbrowser plug-in, you can use --without-webkit to disable
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Tue Sep 23 19:26:37 2008
@@ -1141,13 +1141,14 @@
AC_ARG_WITH(libmng, [ --without-libmng build without MNG support])
-have_libmng=yes
+have_libmng=no
if test "x$with_libmng" != xno && test -z "$MNG_LIBS" &&
test -n "$PNG_LIBS" && test -n "$JPEG_LIBS" && test -n "$Z_LIBS"; then
AC_CHECK_LIB(mng, mng_create,
[AC_CHECK_HEADER(libmng.h, mng_ok=yes)],
[have_libmng="no (MNG library not found)"], -lz -lm)
if test "$mng_ok" = yes; then
+ have_libmng=yes
FILE_MNG='file-mng$(EXEEXT)'; MNG_LIBS="-lmng $JPEG_LIBS $PNG_LIBS"
else
have_libmng="no (MNG header file not found)"
@@ -1398,22 +1399,26 @@
# Check for libwmf2
###################
+AC_ARG_WITH(wmf, [ --without-wmf build without WMF support])
+
have_libwmf=no
-AC_PATH_PROG(WMF_CONFIG, libwmf-config, no)
-if test "x$WMF_CONFIG" != "xno" ; then
- have_libwmf=yes
- AC_MSG_CHECKING(for libwmf >= wmf_required_version)
- wmf_version=`$WMF_CONFIG --version`
- if expr $wmf_version \>= wmf_required_version >/dev/null; then
- AC_MSG_RESULT([yes (version $wmf_version)])
- FILE_WMF='file-wmf$(EXEEXT)'
- WMF_LIBS=`$WMF_CONFIG --libs`
- WMF_CFLAGS=`$WMF_CONFIG --cflags`
+if test "x$with_wmf" != xno; then
+ AC_PATH_PROG(WMF_CONFIG, libwmf-config, no)
+ if test "x$WMF_CONFIG" != "xno" ; then
+ have_libwmf=yes
+ AC_MSG_CHECKING(for libwmf >= wmf_required_version)
+ wmf_version=`$WMF_CONFIG --version`
+ if expr $wmf_version \>= wmf_required_version >/dev/null; then
+ AC_MSG_RESULT([yes (version $wmf_version)])
+ FILE_WMF='file-wmf$(EXEEXT)'
+ WMF_LIBS=`$WMF_CONFIG --libs`
+ WMF_CFLAGS=`$WMF_CONFIG --cflags`
+ else
+ have_libwmf="no (libwmf is too old)"
+ fi
else
- have_libwmf="no (libwmf is too old)"
+ have_libwmf="no (libwmf not found)"
fi
-else
- have_libwmf="no (libwmf not found)"
fi
if test "x$have_libwmf" = xyes; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]