mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Really fix conditional configure test for gtkmm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20313 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b6f909b75f
commit
9d399b0c2e
17
configure.ac
17
configure.ac
@ -108,22 +108,24 @@ AM_GLIB_GNU_GETTEXT
|
||||
#AC_CONFIG_MACRO_DIR(macros)
|
||||
|
||||
AC_PROG_INSTALL
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
|
||||
###--------------------------------------------------------
|
||||
### Optionally enable gtkmm plugin (requires c++ compiler)
|
||||
###--------------------------------------------------------
|
||||
enable_gtkmm=false
|
||||
enable_GTKMM=false
|
||||
|
||||
AC_ARG_ENABLE(gtkmm,
|
||||
[AS_HELP_STRING([--enable-gtkmm],[enable gtkmm gui])]
|
||||
[AS_HELP_STRING([--enable-gtkmm],[enable gtkmm gui])],
|
||||
[case "${enableval}" in
|
||||
yes) enable_gtkmm=true ;;
|
||||
no) enable_gtkmm=false ;;
|
||||
*) enable_gtkmm=true ;;
|
||||
yes) enable_GTKMM=true ;;
|
||||
no) enable_GTKMM=false ;;
|
||||
*) enable_GTKMM=false ;;
|
||||
esac]
|
||||
)
|
||||
AS_IF([test x${enable_gtkmm} = "xyes"],
|
||||
|
||||
AS_IF([test x${enable_GTKMM} = "xtrue"],
|
||||
[
|
||||
GTKMM_DIR=gtkmm
|
||||
# We require gtkmm, of course
|
||||
@ -1570,6 +1572,9 @@ fi
|
||||
if test x${PYTHON_DIR} != x; then
|
||||
components="$components python-bindings"
|
||||
fi
|
||||
if test x${GTKMM_DIR} != x; then
|
||||
components="${components} ${GTKMM_DIR}"
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([
|
||||
Options detected/selected
|
||||
|
Loading…
Reference in New Issue
Block a user