| configure.ac (3d781bd6) | configure.ac (b23cf23b) |
|---|---|
| 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 --- 7074 unchanged lines hidden (view full) --- 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]) | 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 --- 7074 unchanged lines hidden (view full) --- 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 | 7091if test -z "$with_rat_scan" -o "$with_rat_scan" == "no"; then 7092 AC_MSG_RESULT([no]) 7093else |
| 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 | 7094 if test "$WITH_JAVA" == "no"; then 7095 AC_MSG_ERROR([no, java disabled, enable with --with-java]) 7096 elif test "$enable_saxon" == "no"; then 7097 AC_MSG_ERROR([no, saxon disabled, enable with --enable-category-b]) 7098 elif test "$with_rat_scan" == "yes"; then 7099 AC_MSG_RESULT([yes, use pre-built library]) 7100 RAT_JAR_HOME="BUILD" 7101 BUILD_TYPE="$BUILD_TYPE RAT" 7102 else 7103 AC_MSG_RESULT([yes, use pre-installed library]) 7104 AC_MSG_CHECKING([whether apache-rat is available]) 7105 if test -d "$with_rat_scan"; then 7106 RAT_JAR_HOME=$with_rat_scan 7107 else 7108 AC_MSG_ERROR([$with_rat_scan is not a directory]) 7109 fi 7110 fi |
| 7109else 7110 AC_MSG_RESULT([no]) | |
| 7111fi 7112AC_SUBST(RAT_JAR_HOME) 7113 7114 7115dnl =================================================================== 7116dnl Test for the presence of Ant and that it works 7117dnl =================================================================== 7118 --- 423 unchanged lines hidden --- | 7111fi 7112AC_SUBST(RAT_JAR_HOME) 7113 7114 7115dnl =================================================================== 7116dnl Test for the presence of Ant and that it works 7117dnl =================================================================== 7118 --- 423 unchanged lines hidden --- |