configure.ac (416de96f) configure.ac (3c6578e9)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl *
7dnl * Desc: This file serves as input for the GNU autoconf package
8dnl * in order to create a configure script.

--- 875 unchanged lines hidden (view full) ---

884],,)
885AC_ARG_ENABLE(dependency-tracking,
886[ --disable-dependency-tracking Disables generation of dependency information.
887],,)
888AC_ARG_ENABLE(category-b,
889[ --enable-category-b Activate components under a category B license
890 (see http://www.apache.org/legal/3party.html#category-b):
891 MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl *
7dnl * Desc: This file serves as input for the GNU autoconf package
8dnl * in order to create a configure script.

--- 875 unchanged lines hidden (view full) ---

884],,)
885AC_ARG_ENABLE(dependency-tracking,
886[ --disable-dependency-tracking Disables generation of dependency information.
887],,)
888AC_ARG_ENABLE(category-b,
889[ --enable-category-b Activate components under a category B license
890 (see http://www.apache.org/legal/3party.html#category-b):
891 MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
892 CPL (silgraphite), CPL/EPL (CoinMP), SPL (beanshell).
892 CPL (silgraphite), CPL/EPL (CoinMP), SPL (beanshell),
893 OFL (fonts).
893 Flags for individual libraries override this one.
894],,)
895AC_ARG_WITH(arm-target,
896[ --arm-target The minimal targeted arm processor
897 used for the build environment.
898 Cases :
899 arm-target < 6 : armv4t compatibility
900 arm-target = 6 : exact armv6 compatibility

--- 444 unchanged lines hidden (view full) ---

1345 ENABLE_CATEGORY_B=YES
1346 enable_hunspell="yes"
1347 enable_hyphen="yes"
1348 enable_saxon="yes"
1349 enable_javascript="yes"
1350 enable_beanshell="yes"
1351 enable_graphite="yes"
1352 enable_coinmp="yes"
894 Flags for individual libraries override this one.
895],,)
896AC_ARG_WITH(arm-target,
897[ --arm-target The minimal targeted arm processor
898 used for the build environment.
899 Cases :
900 arm-target < 6 : armv4t compatibility
901 arm-target = 6 : exact armv6 compatibility

--- 444 unchanged lines hidden (view full) ---

1346 ENABLE_CATEGORY_B=YES
1347 enable_hunspell="yes"
1348 enable_hyphen="yes"
1349 enable_saxon="yes"
1350 enable_javascript="yes"
1351 enable_beanshell="yes"
1352 enable_graphite="yes"
1353 enable_coinmp="yes"
1354 enable_category_b_fonts="yes"
1353
1354 AC_MSG_RESULT([yes: allow modules moz, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built])
1355else
1356 # Disable libaries.
1357 enable_mozilla="no"
1358 enable_nss_module="no"
1359 enable_hunspell="no"
1360 enable_hyphen="no"
1361 enable_saxon="no"
1362 enable_javascript="no"
1363 enable_beanshell="no"
1364 enable_graphite="no"
1365 enable_coinmp="no"
1355
1356 AC_MSG_RESULT([yes: allow modules moz, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built])
1357else
1358 # Disable libaries.
1359 enable_mozilla="no"
1360 enable_nss_module="no"
1361 enable_hunspell="no"
1362 enable_hyphen="no"
1363 enable_saxon="no"
1364 enable_javascript="no"
1365 enable_beanshell="no"
1366 enable_graphite="no"
1367 enable_coinmp="no"
1368 enable_category_b_fonts="no"
1366
1367 AC_MSG_RESULT([no: disabled modules moz, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp])
1368fi
1369AC_SUBST(ENABLE_CATEGORY_B)
1370
1371# gstreamer is used only via pre-installed libraries: not a problem
1372
1373dnl ===================================================================

--- 5397 unchanged lines hidden (view full) ---

6771 BUILD_TYPE="$BUILD_TYPE MATHMLDTD"
6772 fi
6773else
6774 AC_MSG_RESULT([no])
6775 SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
6776fi
6777
6778dnl ===================================================================
1369
1370 AC_MSG_RESULT([no: disabled modules moz, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp])
1371fi
1372AC_SUBST(ENABLE_CATEGORY_B)
1373
1374# gstreamer is used only via pre-installed libraries: not a problem
1375
1376dnl ===================================================================

--- 5397 unchanged lines hidden (view full) ---

6774 BUILD_TYPE="$BUILD_TYPE MATHMLDTD"
6775 fi
6776else
6777 AC_MSG_RESULT([no])
6778 SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
6779fi
6780
6781dnl ===================================================================
6779dnl Test whether to include fonts
6782dnl Test whether to include category-B fonts
6780dnl ===================================================================
6783dnl ===================================================================
6781AC_MSG_CHECKING([whether to include third-party fonts])
6782if test "$with_fonts" != "no" ; then
6784WITH_CATB_FONTS=
6785AC_MSG_CHECKING([whether to include category B fonts])
6786if test "x$enable_category_b_fonts" = "xyes"; then
6787 AC_MSG_RESULT([yes])
6788 BUILD_TYPE="$BUILD_TYPE CATB_FONTS"
6789 WITH_CATB_FONTS=YES
6790 SCPDEFS="$SCPDEFS -DWITH_CATB_FONTS"
6791else
6792 AC_MSG_RESULT([no])
6793 WITH_CATB_FONTS=NO
6794fi
6795
6796dnl ===================================================================
6797dnl Test whether to include category-A fonts
6798dnl ===================================================================
6799WITH_CATA_FONTS=
6800AC_MSG_CHECKING([whether to include category A fonts])
6801if test "x$with_fonts" != "xno" ; then
6783 AC_MSG_RESULT([yes])
6802 AC_MSG_RESULT([yes])
6784 WITH_FONTS=YES
6803 WITH_CATA_FONTS=YES
6804 SCPDEFS="$SCPDEFS -DWITH_CATA_FONTS"
6805else
6806 AC_MSG_RESULT([no])
6807 WITH_CATA_FONTS=NO
6808 WITH_CATB_FONTS=NO
6809fi
6810
6811WITH_FONTS=NO
6812AC_MSG_CHECKING([whether any fonts are included])
6813if test "x$WITH_CATA_FONTS" = "xYES" -o "x$WITH_CATB_FONTS" = "xYES"; then
6785 BUILD_TYPE="$BUILD_TYPE MORE_FONTS"
6814 BUILD_TYPE="$BUILD_TYPE MORE_FONTS"
6815 WITH_FONTS=YES
6816 AC_MSG_RESULT([yes])
6786else
6787 AC_MSG_RESULT([no])
6817else
6818 AC_MSG_RESULT([no])
6788 WITH_FONTS=NO
6789 SCPDEFS="$SCPDEFS -DWITHOUT_FONTS"
6790fi
6819fi
6820
6821AC_SUBST(WITH_CATA_FONTS)
6822AC_SUBST(WITH_CATB_FONTS)
6791AC_SUBST(WITH_FONTS)
6792
6793dnl ===================================================================
6794dnl Test whether to include ppds
6795dnl ===================================================================
6796AC_MSG_CHECKING([whether to include PPDs])
6797if test "$with_ppds" != "no"; then
6798 AC_MSG_RESULT([yes])

--- 587 unchanged lines hidden ---
6823AC_SUBST(WITH_FONTS)
6824
6825dnl ===================================================================
6826dnl Test whether to include ppds
6827dnl ===================================================================
6828AC_MSG_CHECKING([whether to include PPDs])
6829if test "$with_ppds" != "no"; then
6830 AC_MSG_RESULT([yes])

--- 587 unchanged lines hidden ---