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>
* plug-ins/jpeg/jpeg-exif.c (jpeg_setup_exif_for_save): set Software

View File

@ -1466,6 +1466,22 @@ fi
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
###########################################################
@ -1850,6 +1866,7 @@ Optional Plug-Ins:
PNG: $have_libpng
Print: $enable_print
PSP: $have_zlib
Script-Fu: $enable_script_fu
SVG: $have_librsvg
TIFF: $have_libtiff
MacOS X TWAIN: $mac_twain_ok

View File

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