Hi,

configure --help says:

  --enable-category-b     Activate components under a category B license 
                          (see 
http://www.apache.org/legal/3party.html#category-b):
                          MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
                          CPL (silgraphite), CPL/EPL (CoinMP), SPL (beanshell),
                          OFL (fonts).
                          Flags for individual libraries override this one.

How is this "overriding" supposed to work?

First configure check --enable-category-b and RESETS the enable_hunspell on 
both yes and no in enable-category-b. This way, the code later on doesn't know 
what user entered on the command line:

if test "$enable_category_b" = "yes"; then
   ENABLE_CATEGORY_B=YES
   enable_hunspell="yes"
   enable_hyphen="yes"
   enable_saxon="yes"
   enable_javascript="yes"
   enable_beanshell="yes"
   enable_graphite="yes"
   enable_coinmp="yes"
   enable_category_b_fonts="yes"

   AC_MSG_RESULT([yes: allow modules moz, nss, hunspell, hyphen, saxon, rhino, 
beanshell, graphite, coinmp to be built])
else
   # Disable libaries.
   enable_mozilla="no"
   enable_nss_module="no"
   enable_hunspell="no"
   enable_hyphen="no"
   enable_saxon="no"
   enable_javascript="no"
   enable_beanshell="no"
   enable_graphite="no"
   enable_coinmp="no"
   enable_category_b_fonts="no"

   AC_MSG_RESULT([no: disabled modules moz, nss, hunspell, hyphen, saxon, 
rhino, beanshell, graphite, coinmp])
fi

-- 
Pavel Janík



Reply via email to