configure.ac (9b188800) configure.ac (ca7d9e04)
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

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

4132dnl Check for system lucene
4133dnl ===================================================================
4134AC_MSG_CHECKING([which lucene to use])
4135if test -n "$with_system_lucene" -o -n "$with_system_libs" && \
4136 test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then
4137 AC_MSG_RESULT([external])
4138 SYSTEM_LUCENE=YES
4139 if test -z $LUCENE_CORE_JAR; then
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

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

4132dnl Check for system lucene
4133dnl ===================================================================
4134AC_MSG_CHECKING([which lucene to use])
4135if test -n "$with_system_lucene" -o -n "$with_system_libs" && \
4136 test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then
4137 AC_MSG_RESULT([external])
4138 SYSTEM_LUCENE=YES
4139 if test -z $LUCENE_CORE_JAR; then
4140 AC_CHECK_FILE(/usr/share/java/lucene-core-2.3.jar,
4141 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.3.jar ],
4140 AC_CHECK_FILE(/usr/share/java/lucene-core-2.9.4.jar,
4141 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.9.4.jar ],
4142 [
4143 AC_CHECK_FILE(/usr/share/java/lucene-core.jar,
4144 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core.jar ],
4145 [ AC_CHECK_FILE(/usr/share/java/lucene.jar,
4146 [ LUCENE_CORE_JAR=/usr/share/java/lucene.jar ],
4147 [ AC_MSG_ERROR(lucene-core.jar replacement not found)]
4148 )
4149 ]

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

6667# commons-logging
6668if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
6669 AC_MSG_CHECKING([which Apache commons-* libs to use])
6670 if test "$with_system_apache_commons" = "yes"; then
6671 SYSTEM_APACHE_COMMONS=YES
6672 AC_MSG_RESULT([external])
6673 if test "$ENABLE_MEDIAWIKI" = "YES"; then
6674 if test -z $COMMONS_CODEC_JAR; then
4142 [
4143 AC_CHECK_FILE(/usr/share/java/lucene-core.jar,
4144 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core.jar ],
4145 [ AC_CHECK_FILE(/usr/share/java/lucene.jar,
4146 [ LUCENE_CORE_JAR=/usr/share/java/lucene.jar ],
4147 [ AC_MSG_ERROR(lucene-core.jar replacement not found)]
4148 )
4149 ]

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

6667# commons-logging
6668if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
6669 AC_MSG_CHECKING([which Apache commons-* libs to use])
6670 if test "$with_system_apache_commons" = "yes"; then
6671 SYSTEM_APACHE_COMMONS=YES
6672 AC_MSG_RESULT([external])
6673 if test "$ENABLE_MEDIAWIKI" = "YES"; then
6674 if test -z $COMMONS_CODEC_JAR; then
6675 AC_CHECK_FILE(/usr/share/java/commons-codec-1.3.jar,
6676 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.3.jar ],
6675 AC_CHECK_FILE(/usr/share/java/commons-codec-1.6.jar,
6676 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.6.jar ],
6677 [
6678 AC_CHECK_FILE(/usr/share/java/commons-codec.jar,
6679 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec.jar ],
6680 [AC_MSG_ERROR(commons-codec.jar replacement not found.)]
6681 )
6682 ]
6683 )
6684 else
6685 AC_CHECK_FILE($COMMONS_CODEC_JAR, [],
6686 [AC_MSG_ERROR(commons-codec.jar not found.)], [])
6687 fi
6688
6689 if test -z $COMMONS_LANG_JAR; then
6677 [
6678 AC_CHECK_FILE(/usr/share/java/commons-codec.jar,
6679 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec.jar ],
6680 [AC_MSG_ERROR(commons-codec.jar replacement not found.)]
6681 )
6682 ]
6683 )
6684 else
6685 AC_CHECK_FILE($COMMONS_CODEC_JAR, [],
6686 [AC_MSG_ERROR(commons-codec.jar not found.)], [])
6687 fi
6688
6689 if test -z $COMMONS_LANG_JAR; then
6690 AC_CHECK_FILE(/usr/share/java/commons-lang-2.3.jar,
6691 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang-2.3.jar ],
6690 AC_CHECK_FILE(/usr/share/java/commons-lang-2.4.jar,
6691 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang-2.4.jar ],
6692 [
6693 AC_CHECK_FILE(/usr/share/java/commons-lang.jar,
6694 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar ],
6695 [AC_MSG_ERROR(commons-lang.jar replacement not found.)]
6696 )
6697 ]
6698 )
6699 else

--- 1014 unchanged lines hidden ---
6692 [
6693 AC_CHECK_FILE(/usr/share/java/commons-lang.jar,
6694 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar ],
6695 [AC_MSG_ERROR(commons-lang.jar replacement not found.)]
6696 )
6697 ]
6698 )
6699 else

--- 1014 unchanged lines hidden ---