configure.ac (e6e5b0b8) configure.ac (3d781bd6)
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

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

904[ --enable-category-b Activate components under a category B license
905 (see http://www.apache.org/legal/3party.html#category-b):
906 MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
907 CPL (silgraphite), CPL/EPL (CoinMP), SPL (beanshell),
908 OFL (fonts).
909 Flags for individual libraries override this one.
910],,)
911AC_ARG_WITH(arm-target,
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

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

904[ --enable-category-b Activate components under a category B license
905 (see http://www.apache.org/legal/3party.html#category-b):
906 MPL (seamonkey, hunspell, hyphen, nss, saxon, rhino),
907 CPL (silgraphite), CPL/EPL (CoinMP), SPL (beanshell),
908 OFL (fonts).
909 Flags for individual libraries override this one.
910],,)
911AC_ARG_WITH(arm-target,
912[ --arm-target The minimal targeted arm processor
913 used for the build environment.
914 Cases :
915 arm-target < 6 : armv4t compatibility
916 arm-target = 6 : exact armv6 compatibility
917 arm-target > 6 : armv7-a compatibility
912[ --arm-target The minimal targeted arm processor
913 used for the build environment.
914 Cases :
915 arm-target < 6 : armv4t compatibility
916 arm-target = 6 : exact armv6 compatibility
917 arm-target > 6 : armv7-a compatibility
918
918
919 Usage: --with-arm-target=7
919 Usage: --with-arm-target=7
920],with_arm_target=$withval,with_arm_target=4)
920],with_arm_target=$withval,with_arm_target=4)
921AC_ARG_WITH(rat-scan,
922[ --with-rat-scan Scan source code for license headers.
923 Use as --with-rat-scan to automatically download pre-built Rat binaries.
924 Alternatively use as --with-rat-scan=<path-to-rat-direcetory> to use
925 a separately installed library.
926],with_rat_scan=$withval,)
921
922BUILD_TYPE="OOo"
923ADDITIONAL_REPOSITORIES="../ext_libraries"
924SCPDEFS=""
925
926dnl ===================================================================
927dnl Check configure script vs. configure.in
928dnl ===================================================================

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

7072
7073if test "$SYSTEM_LIBJPEG" = "YES"; then
7074 AC_MSG_RESULT([no])
7075else
7076 AC_MSG_RESULT([yes])
7077fi
7078AC_SUBST(SYSTEM_LIBJPEG)
7079
927
928BUILD_TYPE="OOo"
929ADDITIONAL_REPOSITORIES="../ext_libraries"
930SCPDEFS=""
931
932dnl ===================================================================
933dnl Check configure script vs. configure.in
934dnl ===================================================================

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

7078
7079if test "$SYSTEM_LIBJPEG" = "YES"; then
7080 AC_MSG_RESULT([no])
7081else
7082 AC_MSG_RESULT([yes])
7083fi
7084AC_SUBST(SYSTEM_LIBJPEG)
7085
7086dnl ===================================================================
7087dnl Test whether rat scan was requested and whether apache-rat is available
7088dnl ===================================================================
7089RAT_JAR=
7090AC_MSG_CHECKING([whether to trigger rat scan])
7091if test "$with_rat_scan" != "no"; then
7092 if test "$WITH_JAVA" == "no"; then
7093 AC_MSG_ERROR([no, java disabled, enable with --with-java])
7094 elif test "$enable_saxon" == "no"; then
7095 AC_MSG_ERROR([no, saxon disabled, enable with --enable-category-b])
7096 elif test "$with_rat_scan" == "yes"; then
7097 AC_MSG_RESULT([yes, use pre-built library])
7098 RAT_JAR_HOME="BUILD"
7099 BUILD_TYPE="$BUILD_TYPE RAT"
7100 else
7101 AC_MSG_RESULT([yes, use pre-installed library])
7102 AC_MSG_CHECKING([whether apache-rat is available])
7103 if test -d "$with_rat_scan"; then
7104 RAT_JAR_HOME=$with_rat_scan
7105 else
7106 AC_MSG_ERROR([$with_rat_scan is not a directory])
7107 fi
7108 fi
7109else
7110 AC_MSG_RESULT([no])
7111fi
7112AC_SUBST(RAT_JAR_HOME)
7080
7113
7114
7081dnl ===================================================================
7082dnl Test for the presence of Ant and that it works
7083dnl ===================================================================
7084
7085if test "$SOLAR_JAVA" != ""; then
7086ANT_HOME=; export ANT_HOME
7087WITH_ANT_HOME=; export WITH_ANT_HOME
7088if test -z "$with_ant_home"; then

--- 419 unchanged lines hidden ---
7115dnl ===================================================================
7116dnl Test for the presence of Ant and that it works
7117dnl ===================================================================
7118
7119if test "$SOLAR_JAVA" != ""; then
7120ANT_HOME=; export ANT_HOME
7121WITH_ANT_HOME=; export WITH_ANT_HOME
7122if test -z "$with_ant_home"; then

--- 419 unchanged lines hidden ---