configure.ac (0fdc0ac7) configure.ac (8bebafa9)
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

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

914],,)
915AC_ARG_ENABLE(dependency-tracking,
916[ --disable-dependency-tracking Disables generation of dependency information.
917],,)
918AC_ARG_ENABLE(category-b,
919[ --enable-category-b Activate components under a category B license
920 (see http://www.apache.org/legal/3party.html#category-b):
921 MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

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

914],,)
915AC_ARG_ENABLE(dependency-tracking,
916[ --disable-dependency-tracking Disables generation of dependency information.
917],,)
918AC_ARG_ENABLE(category-b,
919[ --enable-category-b Activate components under a category B license
920 (see http://www.apache.org/legal/3party.html#category-b):
921 MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
922 CPL (silgraphite), CPL/EPL (CoinMP), SPL (beanshell),
923 OFL (fonts).
922 CPL (silgraphite), CPL/EPL (CoinMP), OFL (fonts).
924 Flags for individual libraries override this one.
925],,)
926AC_ARG_WITH(arm-target,
927[ --arm-target The minimal targeted arm processor
928 used for the build environment.
929 Cases :
930 arm-target < 6 : armv4t compatibility
931 arm-target = 6 : exact armv6 compatibility

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

1384fi
1385AC_SUBST(DISABLE_STRIP)
1386
1387dnl ===================================================================
1388dnl Build options
1389dnl ===================================================================
1390
1391# Disable or enable category-B librariets: nss, hunspell, hyphen, saxon,
923 Flags for individual libraries override this one.
924],,)
925AC_ARG_WITH(arm-target,
926[ --arm-target The minimal targeted arm processor
927 used for the build environment.
928 Cases :
929 arm-target < 6 : armv4t compatibility
930 arm-target = 6 : exact armv6 compatibility

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

1383fi
1384AC_SUBST(DISABLE_STRIP)
1385
1386dnl ===================================================================
1387dnl Build options
1388dnl ===================================================================
1389
1390# Disable or enable category-B librariets: nss, hunspell, hyphen, saxon,
1392# rhino, silgraphite, beanshell.
1391# rhino, silgraphite.
1393
1394# Note that further below they may be enabled or disabled again by
1395# more specific options.
1396
1397ENABLE_CATEGORY_B=
1398
1399AC_MSG_CHECKING([whether to enable category B components])
1400# Category B modules (libraries):
1401# nss (nss)
1402# hunspell (hunspell)
1403# hyphen (hyphen)
1404# saxon (saxon)
1405# rhino (rhino)
1392
1393# Note that further below they may be enabled or disabled again by
1394# more specific options.
1395
1396ENABLE_CATEGORY_B=
1397
1398AC_MSG_CHECKING([whether to enable category B components])
1399# Category B modules (libraries):
1400# nss (nss)
1401# hunspell (hunspell)
1402# hyphen (hyphen)
1403# saxon (saxon)
1404# rhino (rhino)
1406# beanshell (beanshell)
1407# graphite (silgraphite)
1408if test "$enable_category_b" = "yes"; then
1409 ENABLE_CATEGORY_B=YES
1410 enable_hunspell="yes"
1411 enable_hyphen="yes"
1412 enable_saxon="yes"
1413 enable_javascript="yes"
1405# graphite (silgraphite)
1406if test "$enable_category_b" = "yes"; then
1407 ENABLE_CATEGORY_B=YES
1408 enable_hunspell="yes"
1409 enable_hyphen="yes"
1410 enable_saxon="yes"
1411 enable_javascript="yes"
1414 enable_beanshell="yes"
1415 enable_graphite="yes"
1416 enable_coinmp="yes"
1417 enable_category_b_fonts="yes"
1418
1419 AC_MSG_RESULT([yes: allow modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built])
1420else
1421 # Disable libaries.
1422 enable_nss_module="no"
1423 enable_hunspell="no"
1424 enable_hyphen="no"
1425 enable_saxon="no"
1426 enable_javascript="no"
1412 enable_graphite="yes"
1413 enable_coinmp="yes"
1414 enable_category_b_fonts="yes"
1415
1416 AC_MSG_RESULT([yes: allow modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built])
1417else
1418 # Disable libaries.
1419 enable_nss_module="no"
1420 enable_hunspell="no"
1421 enable_hyphen="no"
1422 enable_saxon="no"
1423 enable_javascript="no"
1427 enable_beanshell="no"
1428 enable_graphite="no"
1429 enable_coinmp="no"
1430 enable_category_b_fonts="no"
1431
1424 enable_graphite="no"
1425 enable_coinmp="no"
1426 enable_category_b_fonts="no"
1427
1432 AC_MSG_RESULT([no: disabled modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp])
1428 AC_MSG_RESULT([no: disabled modules nss, hunspell, hyphen, saxon, rhino, graphite, coinmp])
1433fi
1434AC_SUBST(ENABLE_CATEGORY_B)
1435
1436# gstreamer is used only via pre-installed libraries: not a problem
1437
1438dnl ===================================================================
1439dnl Online Update
1440dnl ===================================================================

--- 5912 unchanged lines hidden ---
1429fi
1430AC_SUBST(ENABLE_CATEGORY_B)
1431
1432# gstreamer is used only via pre-installed libraries: not a problem
1433
1434dnl ===================================================================
1435dnl Online Update
1436dnl ===================================================================

--- 5912 unchanged lines hidden ---