configure.ac (74cab430) configure.ac (6f8e4455)
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

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

1383 AC_MSG_RESULT([no])
1384fi
1385AC_SUBST(DISABLE_STRIP)
1386
1387dnl ===================================================================
1388dnl Build options
1389dnl ===================================================================
1390
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

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

1383 AC_MSG_RESULT([no])
1384fi
1385AC_SUBST(DISABLE_STRIP)
1386
1387dnl ===================================================================
1388dnl Build options
1389dnl ===================================================================
1390
1391# Disable or enable libraries seamonkey, nss, hunspell, hyphen, saxon,
1391# Disable or enable category-B librariets: nss, hunspell, hyphen, saxon,
1392# rhino, silgraphite, beanshell.
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])

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

1411 enable_hyphen="yes"
1412 enable_saxon="yes"
1413 enable_javascript="yes"
1414 enable_beanshell="yes"
1415 enable_graphite="yes"
1416 enable_coinmp="yes"
1417 enable_category_b_fonts="yes"
1418
1392# rhino, silgraphite, beanshell.
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])

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

1411 enable_hyphen="yes"
1412 enable_saxon="yes"
1413 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])
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"
1427 enable_beanshell="no"
1428 enable_graphite="no"
1429 enable_coinmp="no"
1430 enable_category_b_fonts="no"
1431
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"
1427 enable_beanshell="no"
1428 enable_graphite="no"
1429 enable_coinmp="no"
1430 enable_category_b_fonts="no"
1431
1432 AC_MSG_RESULT([no: disabled modules, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp])
1432 AC_MSG_RESULT([no: disabled modules nss, hunspell, hyphen, saxon, rhino, beanshell, 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 ===================================================================

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

4769 # it has it. Test for it to be sure
4770 AC_CHECK_LIB(ldap, ldap_set_option, [],
4771 [AC_MSG_ERROR(openldap lib not found or functional)], [])
4772 fi
4773fi
4774AC_SUBST(WITH_LDAP)
4775AC_SUBST(WITH_OPENLDAP)
4776
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 ===================================================================

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

4769 # it has it. Test for it to be sure
4770 AC_CHECK_LIB(ldap, ldap_set_option, [],
4771 [AC_MSG_ERROR(openldap lib not found or functional)], [])
4772 fi
4773fi
4774AC_SUBST(WITH_LDAP)
4775AC_SUBST(WITH_OPENLDAP)
4776
4777AC_MSG_CHECKING([whether to build provided NSS module])
4777AC_MSG_CHECKING([whether to build the internal NSS module])
4778if test "$enable_nss_module" != "no"; then
4779 ENABLE_NSS_MODULE="YES"
4780 BUILD_TYPE="$BUILD_TYPE NSS"
4781 AC_MSG_RESULT([yes])
4782 if test "$_os" = "WINNT"; then
4783 AC_MSG_CHECKING([for Mozilla build tooling])
4784 if test -z "$MOZILLABUILD" ; then
4778if test "$enable_nss_module" != "no"; then
4779 ENABLE_NSS_MODULE="YES"
4780 BUILD_TYPE="$BUILD_TYPE NSS"
4781 AC_MSG_RESULT([yes])
4782 if test "$_os" = "WINNT"; then
4783 AC_MSG_CHECKING([for Mozilla build tooling])
4784 if test -z "$MOZILLABUILD" ; then
4785AC_MSG_ERROR([Mozilla build tooling not found. It is needed for NSS.
4786Use the --with-mozilla-build option after installling the tools obtained
4787from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32])
4785AC_MSG_ERROR([
4786Mozilla build tooling not found!
4787 It is required for NSS that is needed for AOO's security facilities.
4788 Either disable NSS using the option --disable-nss-module
4789 or use the --with-mozilla-build option after installing the tool obtained
4790 from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32])
4788 else
4789 if test \( "$WITH_MINGWIN" = "yes" \) ; then
4790 if test ! -d "$MOZILLABUILD" ; then
4791AC_MSG_ERROR([Mozilla build tooling incomplete!])
4792 else
4793 AC_MSG_RESULT([ok])
4794 fi
4795 else

--- 2621 unchanged lines hidden ---
4791 else
4792 if test \( "$WITH_MINGWIN" = "yes" \) ; then
4793 if test ! -d "$MOZILLABUILD" ; then
4794AC_MSG_ERROR([Mozilla build tooling incomplete!])
4795 else
4796 AC_MSG_RESULT([ok])
4797 fi
4798 else

--- 2621 unchanged lines hidden ---