1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
--- /o/mnt/mat/lang/p5-ePerl/work/eperl-2.2.14/configure.orig Sun Aug 2 15:48:40 1998
+++ /o/mnt/mat/lang/p5-ePerl/work/eperl-2.2.14/configure Wed Feb 25 12:10:13 2004
@@ -571,7 +571,7 @@
if test "${with_perl+set}" = set; then
withval="$with_perl"
perlprog=$with_perl
-perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
+perlvers=`$perlprog -e 'print $]'`
else
TMPFILE=/tmp/x.$$
@@ -600,7 +600,7 @@
PATH_PERL=$perlprog
echo "$ac_t""$perlprog v$perlvers" 1>&6
case $perlvers in
- 5.003* | 5.004* | 5.005* | 5.006* )
+ 5.003* | 5.004* | 5.005* | 5.006* | 5.008* )
;;
* ) echo ""
echo "Latest Perl found on your system is $perlvers,"
@@ -901,7 +901,6 @@
GCC=yes
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:907: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
@@ -918,16 +917,17 @@
fi
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
+ if false; then
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="$CFLAGS -g -O2"
else
- CFLAGS="-O2"
+ CFLAGS="$CFLAGS -O2"
fi
+ fi
else
GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
fi
# Extract the first word of "ranlib", so it can be a program name with args.
@@ -1025,11 +1025,8 @@
if test "${enable_debug+set}" = set; then
enableval="$enable_debug"
if test ".$ac_cv_prog_gcc" = ".yes"; then
- CFLAGS="-Wall -g -ggdb3"
+ CFLAGS="$CFLAGS -Wall -g -ggdb3"
LDFLAGS="-g -ggdb3"
-else
- CFLAGS="-g"
- LDFLAGS="-g"
fi
x="enabled"
debug=on
@@ -1039,8 +1036,6 @@
else
- CFLAGS=""
-LDFLAGS=""
x=disabled
debug=off
|