configure.in Added --disable-script-fu to allow building of GIMP without

2006-07-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.in
	* plug-ins/Makefile.am: Added --disable-script-fu to allow building
	of GIMP without the Script-Fu plug-in. See bug #347570.
This commit is contained in:
Kevin Cozens 2006-07-16 16:30:14 +00:00 committed by Kevin Cozens
parent 9ae2bd5046
commit 662d422609
3 changed files with 29 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-07-16 Kevin Cozens <kcozens@cvs.gnome.org>
* configure.in
* plug-ins/Makefile.am: Added --disable-script-fu to allow building
of GIMP without the Script-Fu plug-in. See bug #347570.
2006-07-16 Sven Neumann <sven@gimp.org> 2006-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_setup_exif_for_save): set Software * plug-ins/jpeg/jpeg-exif.c (jpeg_setup_exif_for_save): set Software

View File

@ -1181,7 +1181,7 @@ AC_SUBST(LIBSVG)
#################################### ####################################
enable_print=no enable_print=no
AC_ARG_WITH(print,[ --without-print build without print support]) AC_ARG_WITH(print,[ --without-print build without print support])
if test "x$with_print" != xno; then if test "x$with_print" != xno; then
PKG_CHECK_MODULES(PRINT, gtk+-2.0 >= 2.9.3, PKG_CHECK_MODULES(PRINT, gtk+-2.0 >= 2.9.3,
@ -1466,6 +1466,22 @@ fi
AM_CONDITIONAL(BUILD_PYTHON, test "x$enable_python" != xno) AM_CONDITIONAL(BUILD_PYTHON, test "x$enable_python" != xno)
#########################################
# Check whether script_fu should be built
#########################################
AC_ARG_ENABLE(script-fu,
AC_HELP_STRING([--disable-script-fu],
[do not build the script-fu extension]))
if test "x$enable_script_fu" != "xno"; then
enable_script_fu="yes"
else
enable_script_fu="no (script-fu extension disabled)"
fi
AM_CONDITIONAL(BUILD_SCRIPT_FU, test "x$enable_script_fu" == "xyes")
########################################################### ###########################################################
# Some plug-ins don't build on Win32, others are Win32-only # Some plug-ins don't build on Win32, others are Win32-only
########################################################### ###########################################################
@ -1850,6 +1866,7 @@ Optional Plug-Ins:
PNG: $have_libpng PNG: $have_libpng
Print: $enable_print Print: $enable_print
PSP: $have_zlib PSP: $have_zlib
Script-Fu: $enable_script_fu
SVG: $have_librsvg SVG: $have_librsvg
TIFF: $have_libtiff TIFF: $have_libtiff
MacOS X TWAIN: $mac_twain_ok MacOS X TWAIN: $mac_twain_ok

View File

@ -16,6 +16,10 @@ if BUILD_PYTHON
pygimp = pygimp pygimp = pygimp
endif endif
if BUILD_SCRIPT_FU
script_fu = script-fu
endif
if HAVE_MAC_TWAIN if HAVE_MAC_TWAIN
twain = twain twain = twain
endif endif
@ -33,7 +37,7 @@ endif
SUBDIRS = \ SUBDIRS = \
script-fu \ $(script_fu) \
FractalExplorer \ FractalExplorer \
Lighting \ Lighting \
MapObject \ MapObject \