blob: b6784e015d3d325f56bf1cff8f2f10f24c1d354e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Inappropriate [configuration]
2
3Index: apr-1.4.2/build/buildcheck.sh
4===================================================================
5--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800
6+++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800
7@@ -32,35 +32,4 @@
8 echo "buildconf: autoconf version $ac_version (ok)"
9 fi
10
11-# Sample libtool --version outputs:
12-# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
13-# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
14-# output is multiline from 1.5 onwards
15-
16-# Require libtool 1.4 or newer
17-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14`
18-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
19-if test -z "$lt_pversion"; then
20-echo "buildconf: libtool not found."
21-echo " You need libtool version 1.4 or newer installed"
22-echo " to build APR from SVN."
23-exit 1
24-fi
25-lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
26-IFS=.; set $lt_version; IFS=' '
27-lt_status="good"
28-if test "$1" = "1"; then
29- if test "$2" -lt "4"; then
30- lt_status="bad"
31- fi
32-fi
33-if test $lt_status = "good"; then
34- echo "buildconf: libtool version $lt_pversion (ok)"
35- exit 0
36-fi
37-
38-echo "buildconf: libtool version $lt_pversion found."
39-echo " You need libtool version 1.4 or newer installed"
40-echo " to build APR from SVN."
41-
42-exit 1
43+exit 0