Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 51 lines (45 sloc) 2.165 kb
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
1 #! /bin/sh
e325e066 » Sascha Schumann
2000-08-20 Add/update license
2 # +----------------------------------------------------------------------+
ccfc46b0 » foobar
2004-01-08 - Happy new year and PHP 5 for rest of the files too..
3 # | PHP Version 5 |
e325e066 » Sascha Schumann
2000-08-20 Add/update license
4 # +----------------------------------------------------------------------+
2df73864 » Ilia Alshanetsky
2007-01-01 Update copyright year
5 # | Copyright (c) 1997-2007 The PHP Group |
e325e066 » Sascha Schumann
2000-08-20 Add/update license
6 # +----------------------------------------------------------------------+
5bd93221 » foobar
2006-01-01 bump year and license version
7 # | This source file is subject to version 3.01 of the PHP license, |
e325e066 » Sascha Schumann
2000-08-20 Add/update license
8 # | that is bundled with this package in the file LICENSE, and is |
f68c7ff2 » James Cox
2003-06-10 updating license information in the headers.
9 # | available through the world-wide-web at the following url: |
5bd93221 » foobar
2006-01-01 bump year and license version
10 # | http://www.php.net/license/3_01.txt |
e325e066 » Sascha Schumann
2000-08-20 Add/update license
11 # | If you did not receive a copy of the PHP license and are unable to |
12 # | obtain it through the world-wide-web, please send a note to |
13 # | license@php.net so we can mail you a copy immediately. |
14 # +----------------------------------------------------------------------+
0e6fca4f » Stig Bakken
2003-03-18 * email address change
15 # | Authors: Stig Bakken <ssb@php.net> |
e325e066 » Sascha Schumann
2000-08-20 Add/update license
16 # | Sascha Schumann <sascha@schumann.cx> |
17 # +----------------------------------------------------------------------+
18 #
2df73864 » Ilia Alshanetsky
2007-01-01 Update copyright year
19 # $Id: buildcheck.sh,v 1.37.2.2.2.1 2007-01-01 19:32:10 iliaa Exp $
e325e066 » Sascha Schumann
2000-08-20 Add/update license
20 #
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
21
22 echo "buildconf: checking installation..."
23
2247d61e » Sascha Schumann
2002-07-21 Move autoconf-2.13 check into buildcheck.sh where we already have
24 stamp=$1
25
34785cf6 » jparise
2005-04-07 Spell "overridden" correctly.
26 # Allow the autoconf executable to be overridden by $PHP_AUTOCONF.
3ac5ec3b » jparise
2005-04-04 Adding the ability to override the autotools executables used by the
27 if test -z "$PHP_AUTOCONF"; then
28 PHP_AUTOCONF='autoconf'
29 fi
30
2e235022 » Christopher Jones
2011-06-08 Relax autoconf support from 2.60 to 2.59. This is the version availab…
31 # autoconf 2.59 or newer
3ac5ec3b » jparise
2005-04-04 Adding the ability to override the autotools executables used by the
32 ac_version=`$PHP_AUTOCONF --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
33 if test -z "$ac_version"; then
34 echo "buildconf: autoconf not found."
2e235022 » Christopher Jones
2011-06-08 Relax autoconf support from 2.60 to 2.59. This is the version availab…
35 echo " You need autoconf version 2.59 or newer installed"
fe8bed83 » rlerdorf
2009-07-13 svn propdel svn:mime-type build/buildcheck.sh
36 echo " to build PHP from SVN."
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
37 exit 1
38 fi
39 IFS=.; set $ac_version; IFS=' '
2e235022 » Christopher Jones
2011-06-08 Relax autoconf support from 2.60 to 2.59. This is the version availab…
40 if test "$1" = "2" -a "$2" -lt "59" || test "$1" -lt "2"; then
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
41 echo "buildconf: autoconf version $ac_version found."
2e235022 » Christopher Jones
2011-06-08 Relax autoconf support from 2.60 to 2.59. This is the version availab…
42 echo " You need autoconf version 2.59 or newer installed"
fe8bed83 » rlerdorf
2009-07-13 svn propdel svn:mime-type build/buildcheck.sh
43 echo " to build PHP from SVN."
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
44 exit 1
45 else
46 echo "buildconf: autoconf version $ac_version (ok)"
47 fi
48
2247d61e » Sascha Schumann
2002-07-21 Move autoconf-2.13 check into buildcheck.sh where we already have
49 test -n "$stamp" && touch $stamp
50
6803c625 » Sascha Schumann
1999-11-28 Add version checks from buildconf
51 exit 0
Something went wrong with that request. Please try again.