summaryrefslogtreecommitdiff
path: root/lang/perl5.6/files/patch-Configure
blob: 0dfc95d62e2b55c943a33c5b924b8b78c2054154 (plain) (blame)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
--- Configure.orig	Wed Sep 24 00:48:53 2003
+++ Configure	Tue Feb  1 21:40:07 2005
@@ -296,7 +296,7 @@ cppflags=''
 ldflags=''
 lkflags=''
 locincpth=''
-optimize=''
+optimize=${CFLAGS:-''}
 cf_email=''
 cf_by=''
 cf_time=''
@@ -889,6 +889,12 @@ installsitelib=''
 sitelib=''
 sitelib_stem=''
 sitelibexp=''
+installsiteman1dir=''
+siteman1dir=''
+siteman1direxp=''
+installsiteman3dir=''
+siteman3dir=''
+siteman3direxp=''
 siteprefix=''
 siteprefixexp=''
 sizesize=''
@@ -1016,6 +1022,8 @@ plibpth=''
 libswanted=''
 : some systems want to use only the non-versioned libso:s
 ignore_versioned_solibs=''
+siteman1dir=''
+siteman3dir=''
 archname64=''
 ccflags_uselargefiles=''
 ldflags_uselargefiles=''
@@ -7604,6 +7612,47 @@ else
 	installsitebin="$sitebinexp"
 fi
 
+: determine where add-on manual pages go
+case "$siteman1dir" in
+'')     dflt=`echo $man1dir | $sed "s#^$prefix#$siteprefix#"` ;;
+*)      dflt=$siteman1dir ;;
+esac
+case "$dflt" in
+''|' ') dflt=none ;;
+esac
+fn=dn+~
+rp='Pathname where the site-specific manual pages should be installed?'
+. ./getfile
+siteman1dir="$ans"
+siteman1direxp="$ansexp"
+: Change installation prefix, if necessary.
+if $test X"$prefix" != X"$installprefix"; then
+        installsiteman1dir=`echo $siteman1direxp | $sed "s#^$prefix#$installprefix#"`
+else
+        installsiteman1dir="$siteman1direxp"
+fi
+
+: determine where add-on library man pages go
+case "$siteman3dir" in
+'')     dflt=`echo $man3dir | $sed "s#^$prefix#$siteprefix#"` ;;
+*)      dflt=$siteman3dir ;;
+esac
+case "$dflt" in
+''|' ') dflt=none ;;
+esac
+fn=dn+~
+rp='Pathname where the site-specific library manual pages should be installed?'
+. ./getfile
+siteman3dir="$ans"
+siteman3direxp="$ansexp"
+: Change installation prefix, if necessary.
+if $test X"$prefix" != X"$installprefix"; then
+        installsiteman3dir=`echo $siteman3direxp | $sed "s#^$prefix#$installprefix#"`
+else
+        installsiteman3dir="$siteman3direxp"
+fi
+
+
 case "$useperlio" in
 $define|true|[yY]*)	dflt='y';;
 *) dflt='n';;
@@ -14993,7 +15042,7 @@ for i in \`$cc -v -c tmp.c 2>&1 $postpro
 do
 	case "\$i" in
 	-D*) echo "\$i" | $sed 's/^-D//';;
-	-A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A\(.*\)(\(.*\))/\1=\2/';;
+	-A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A//' | $sed 's/\(.*\)(\(.*\))/\1=\2/';;
 	esac
 done
 $rm -f try.c
@@ -16196,6 +16245,8 @@ installscript='$installscript'
 installsitearch='$installsitearch'
 installsitebin='$installsitebin'
 installsitelib='$installsitelib'
+nstallsiteman1dir='$installsiteman1dir'
+installsiteman3dir='$installsiteman3dir'
 installstyle='$installstyle'
 installusrbinperl='$installusrbinperl'
 installvendorarch='$installvendorarch'
@@ -16365,6 +16416,10 @@ sitebinexp='$sitebinexp'
 sitelib='$sitelib'
 sitelib_stem='$sitelib_stem'
 sitelibexp='$sitelibexp'
+siteman1dir='$siteman1dir'
+siteman1direxp='$siteman1direxp'
+siteman3dir='$siteman3dir'
+siteman3direxp='$siteman3direxp'
 siteprefix='$siteprefix'
 siteprefixexp='$siteprefixexp'
 sizesize='$sizesize'