Revert r20310, "Add optional module that compiles with gtkmm..." - the configure code wasn't taking this as optional for whatever reason.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20311 57a11ea4-9604-0410-9ed3-97b8803252fd
pull/1/head
Christian Stimming 15 years ago
parent 5eba235bac
commit df9044243b

@ -1258,30 +1258,6 @@ else
fi
AC_SUBST(LC_MESSAGES_ENUM)
###--------------------------------------------------------
### Make gtkmm plugin optional
###--------------------------------------------------------
enable_gtkmm=false
AC_ARG_ENABLE(gtkmm,
[AS_HELP_STRING([--enable-gtkmm],[enable gtkmm gui])],
[case "${enableval}" in
yes) enable_gtkmm=true ;;
no) enable_gtkmm=false ;;
*) enable_gtkmm=true ;;
esac]
)
if test x${enable_gtkmm} = "xtrue"
then
GTKMM_DIR=gtkmm
# We require gtkmm, of course
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.16)
# and also the c++ compiler
AC_PROG_CXX
AC_PROG_CXXCPP
fi
AC_SUBST(GTKMM_DIR)
###--------------------------------------------------------
### Make Python bindings optional
###--------------------------------------------------------
@ -1496,7 +1472,6 @@ AC_CONFIG_FILES(
src/libqof/qof/Makefile
src/libqof/qof/test/Makefile
src/optional/Makefile
src/optional/gtkmm/Makefile
src/optional/python-bindings/Makefile
src/optional/python-bindings/tests/Makefile
src/pixmaps/Makefile

@ -576,8 +576,7 @@ load_gnucash_modules()
{ "gnucash/report/utility-reports", 0, FALSE },
{ "gnucash/report/locale-specific/us", 0, FALSE },
{ "gnucash/report/report-gnome", 0, FALSE },
{ "gnucash/business-gnome", 0, TRUE },
{ "gnucash/gtkmm", 0, TRUE },
{ "gnucash/business-gnome", 0, TRUE }
};
/* module initializations go here */

@ -1,2 +1,2 @@
SUBDIRS = ${PYTHON_DIR} ${GTKMM_DIR}
DIST_SUBDIRS = python-bindings gtkmm
SUBDIRS = ${PYTHON_DIR}
DIST_SUBDIRS = python-bindings

Loading…
Cancel
Save