| configure.ac (c0ecde16) | configure.ac (160c442c) |
|---|---|
| 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 --- 6268 unchanged lines hidden (view full) --- 6277 [AC_MSG_ERROR(commons-lang.jar replacement not found.)] 6278 ) 6279 ] 6280 ) 6281 else 6282 AC_CHECK_FILE($COMMONS_LANG_JAR, [], 6283 [AC_MSG_ERROR(commons-lang.jar not found.)], []) 6284 fi | 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 --- 6268 unchanged lines hidden (view full) --- 6277 [AC_MSG_ERROR(commons-lang.jar replacement not found.)] 6278 ) 6279 ] 6280 ) 6281 else 6282 AC_CHECK_FILE($COMMONS_LANG_JAR, [], 6283 [AC_MSG_ERROR(commons-lang.jar not found.)], []) 6284 fi |
| 6285 AC_MSG_CHECKING([whether commons-lang is version 3.x]) 6286 export COMMONS_LANG_JAR 6287 if $PERL -e 'use Archive::Zip; 6288 my $file = "$ENV{'COMMONS_LANG_JAR'}"; 6289 my $zip = Archive::Zip->new( $file ); 6290 my $mf = $zip->contents ( "META-INF/MANIFEST.MF" ); 6291 if ( $mf =~ m/Specification-Version: 3.*/ ) { 6292 exit 0; 6293 } else { 6294 exit 1; 6295 }'; then 6296 AC_MSG_RESULT([yes]) 6297 else 6298 AC_MSG_ERROR([no, you need Apache Commons Lang 3.x]) 6299 fi |
|
| 6285 6286 if test -z $COMMONS_HTTPCLIENT_JAR; then 6287 AC_CHECK_FILE(/usr/share/java/commons-httpclient-3.1.jar, 6288 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar ], 6289 [ 6290 AC_CHECK_FILE(/usr/share/java/commons-httpclient.jar, 6291 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar ], 6292 [AC_MSG_ERROR(commons-httpclient.jar replacement not found.)] --- 1023 unchanged lines hidden --- | 6300 6301 if test -z $COMMONS_HTTPCLIENT_JAR; then 6302 AC_CHECK_FILE(/usr/share/java/commons-httpclient-3.1.jar, 6303 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar ], 6304 [ 6305 AC_CHECK_FILE(/usr/share/java/commons-httpclient.jar, 6306 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar ], 6307 [AC_MSG_ERROR(commons-httpclient.jar replacement not found.)] --- 1023 unchanged lines hidden --- |