File tree Expand file tree Collapse file tree 3 files changed +15
-23
lines changed Expand file tree Collapse file tree 3 files changed +15
-23
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ generated_lists:
40
40
$(ZENDDIR ) /acinclude.m4 ext/* /config* .m4 sapi/* /config.m4 >> $@
41
41
42
42
$(STAMP ) : build/buildcheck.sh
43
- @build/buildcheck.sh && touch $(STAMP )
43
+ @build/buildcheck.sh $(STAMP )
44
44
45
45
snapshot :
46
46
distname=' $(DISTNAME)' ; \
Original file line number Diff line number Diff line change 16
16
# | Sascha Schumann <sascha@schumann.cx> |
17
17
# +----------------------------------------------------------------------+
18
18
#
19
- # $Id: buildcheck.sh,v 1.18 2002-06-26 18:42:50 sniper Exp $
19
+ # $Id: buildcheck.sh,v 1.19 2002-07-21 13:09:07 sas Exp $
20
20
#
21
21
22
22
echo " buildconf: checking installation..."
23
23
24
+ stamp=$1
25
+
24
26
# autoconf 2.13 or newer
25
27
ac_version=` autoconf --version 2> /dev/null| head -1| sed -e ' s/^[^0-9]*//' -e ' s/[a-z]* *$//' `
26
28
if test -z " $ac_version " ; then
@@ -40,6 +42,15 @@ echo "buildconf: autoconf version $ac_version (ok)"
40
42
fi
41
43
42
44
45
+ if test " $1 " = " 2" && test " $2 " -ge " 50" ; then
46
+ echo " buildconf: Your version of autoconf likely contains buggy cache code."
47
+ echo " Running cvsclean for you."
48
+ echo " To avoid this, install autoconf-2.13 and automake-1.5."
49
+ ./cvsclean
50
+ stamp=
51
+ fi
52
+
53
+
43
54
# automake 1.4 or newer
44
55
am_version=` automake --version 2> /dev/null| head -1| sed -e ' s/^[^0-9]*//' -e ' s/[a-z]* *$//' `
45
56
am_version_clean=` echo $am_version | sed -e ' s/-p[0-9]*$//' `
@@ -91,4 +102,6 @@ if test "$am_prefix" != "$lt_prefix"; then
91
102
echo " continuing anyway"
92
103
fi
93
104
105
+ test -n " $stamp " && touch $stamp
106
+
94
107
exit 0
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# $Id$
3
3
4
- acv=` autoconf --version | grep GNU | cut -d ' ' -f 4`
5
- res=` expr $acv ' >=' 2.5`
6
-
7
- if test $res = 1; then
8
- echo " cleaning checkout to force rebuild, due to bad autoconf"
9
- ./cvsclean
10
- fi
11
-
12
4
while test $# -gt 0; do
13
5
if test " $1 " = " --copy" ; then
14
6
automake_flags=--copy
@@ -27,19 +19,6 @@ if test -z "$ZENDDIR"; then
27
19
echo " using default Zend directory"
28
20
fi
29
21
30
- # # build.mk does not check aclocal exit status yet
31
- # #
32
- # mv aclocal.m4 aclocal.m4.old 2>/dev/null
33
- # aclocal
34
- # if test "$?" != "0" -a "$am_prefix" != "$lt_prefix"; then
35
- # echo "buildconf: ERROR: aclocal failed, probably because automake and"
36
- # echo " libtool are installed with different prefixes;"
37
- # echo " automake is installed in $am_prefix, but libtool in $lt_prefix."
38
- # echo " Please re-install automake and/or libtool with a common prefix"
39
- # echo " and try again."
40
- # exit 1
41
- # fi
42
-
43
22
rm -f generated_lists
44
23
45
24
${MAKE:- make} -s -f build/build.mk AMFLAGS=" $automake_flags " ZENDDIR=" $ZENDDIR "
You can’t perform that action at this time.
0 commit comments