Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
875efad4
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
875efad4
编写于
7月 01, 2005
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update to autoconf 2.59 as well as updates of related scripts
上级
2f7d369a
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
7538 addition
and
3732 deletion
+7538
-3732
config/config.guess
config/config.guess
+275
-258
config/config.sub
config/config.sub
+44
-23
config/install-sh
config/install-sh
+213
-159
config/mkinstalldirs
config/mkinstalldirs
+3
-3
configure
configure
+7001
-3278
configure.in
configure.in
+2
-2
src/include/pg_config.h.in
src/include/pg_config.h.in
+0
-9
未找到文件。
config/config.guess
浏览文件 @
875efad4
此差异已折叠。
点击以展开。
config/config.sub
浏览文件 @
875efad4
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004
, 2005
Free Software Foundation, Inc.
timestamp
=
'200
4-08-29
'
timestamp
=
'200
5-06-30
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -21,14 +21,15 @@ timestamp='2004-08-29'
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 5
9 Temple Place - Suite 330,
#
Boston, MA 02111-1307
, USA.
# Foundation, Inc., 5
1 Franklin Street - Fifth Floor, Boston, MA
#
02110-1301
, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Please send patches to <config-patches@gnu.org>. Submit a context
# diff and a properly formatted ChangeLog entry.
#
...
...
@@ -70,7 +71,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version
=
"
\
GNU config.sub (
$timestamp
)
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
, 2005
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
...
...
@@ -83,11 +84,11 @@ Try \`$me --help' for more information."
while
test
$#
-gt
0
;
do
case
$1
in
--time-stamp
|
--time
*
|
-t
)
echo
"
$timestamp
"
;
exit
0
;;
echo
"
$timestamp
"
;
exit
;;
--version
|
-v
)
echo
"
$version
"
;
exit
0
;;
echo
"
$version
"
;
exit
;;
--help
|
--h
*
|
-h
)
echo
"
$usage
"
;
exit
0
;;
echo
"
$usage
"
;
exit
;;
--
)
# Stop option processing
shift
;
break
;;
-
)
# Use stdin as input.
...
...
@@ -99,7 +100,7 @@ while test $# -gt 0 ; do
*
local
*
)
# First pass through any local machine types.
echo
$1
exit
0
;;
exit
;;
*
)
break
;;
...
...
@@ -231,13 +232,14 @@ case $basic_machine in
|
alpha64
|
alpha64ev[4-8]
|
alpha64ev56
|
alpha64ev6[78]
|
alpha64pca5[67]
\
|
am33_2.0
\
|
arc
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2345]
|
armv[345][lb]
|
avr
\
|
bfin
\
|
c4x
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
fr30
|
frv
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
i370
|
i860
|
i960
|
ia64
\
|
ip2k
|
iq2000
\
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
|
mcore
\
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
|
m
axq
|
m
core
\
|
mips
|
mipsbe
|
mipseb
|
mipsel
|
mipsle
\
|
mips16
\
|
mips64
|
mips64el
\
...
...
@@ -246,6 +248,7 @@ case $basic_machine in
|
mips64vr4100
|
mips64vr4100el
\
|
mips64vr4300
|
mips64vr4300el
\
|
mips64vr5000
|
mips64vr5000el
\
|
mips64vr5900
|
mips64vr5900el
\
|
mipsisa32
|
mipsisa32el
\
|
mipsisa32r2
|
mipsisa32r2el
\
|
mipsisa64
|
mipsisa64el
\
...
...
@@ -254,6 +257,7 @@ case $basic_machine in
|
mipsisa64sr71k
|
mipsisa64sr71kel
\
|
mipstx39
|
mipstx39el
\
|
mn10200
|
mn10300
\
|
ms1
\
|
msp430
\
|
ns16k
|
ns32k
\
|
openrisc
|
or32
\
...
...
@@ -262,15 +266,19 @@ case $basic_machine in
|
pyramid
\
|
sh
|
sh[1234]
|
sh[23]e
|
sh[34]eb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc86x
|
sparclet
|
sparclite
|
sparcv8
|
sparcv9
|
sparcv9b
\
|
sparc
|
sparc64
|
sparc64b
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
\
|
strongarm
\
|
tahoe
|
thumb
|
tic4x
|
tic80
|
tron
\
|
v850
|
v850e
\
|
we32k
\
|
x86
|
xscale
|
xstormy16
|
xtensa
\
|
x86
|
xscale
|
xs
calee[bl]
|
xs
tormy16
|
xtensa
\
|
z8k
)
basic_machine
=
$basic_machine
-unknown
;;
m32c
)
basic_machine
=
$basic_machine
-unknown
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
)
# Motorola 68HC11/12.
basic_machine
=
$basic_machine
-unknown
...
...
@@ -298,7 +306,7 @@ case $basic_machine in
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
\
|
bs2000-
*
\
|
b
fin-
*
|
b
s2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
|
c54x-
*
|
c55x-
*
|
c6x-
*
\
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
...
...
@@ -310,7 +318,7 @@ case $basic_machine in
|
ip2k-
*
|
iq2000-
*
\
|
m32r-
*
|
m32rle-
*
\
|
m68000-
*
|
m680[012346]0-
*
|
m68360-
*
|
m683?2-
*
|
m68k-
*
\
|
m88110-
*
|
m88k-
*
|
mcore-
*
\
|
m88110-
*
|
m88k-
*
|
m
axq-
*
|
m
core-
*
\
|
mips-
*
|
mipsbe-
*
|
mipseb-
*
|
mipsel-
*
|
mipsle-
*
\
|
mips16-
*
\
|
mips64-
*
|
mips64el-
*
\
...
...
@@ -319,6 +327,7 @@ case $basic_machine in
|
mips64vr4100-
*
|
mips64vr4100el-
*
\
|
mips64vr4300-
*
|
mips64vr4300el-
*
\
|
mips64vr5000-
*
|
mips64vr5000el-
*
\
|
mips64vr5900-
*
|
mips64vr5900el-
*
\
|
mipsisa32-
*
|
mipsisa32el-
*
\
|
mipsisa32r2-
*
|
mipsisa32r2el-
*
\
|
mipsisa64-
*
|
mipsisa64el-
*
\
...
...
@@ -327,6 +336,7 @@ case $basic_machine in
|
mipsisa64sr71k-
*
|
mipsisa64sr71kel-
*
\
|
mipstx39-
*
|
mipstx39el-
*
\
|
mmix-
*
\
|
ms1-
*
\
|
msp430-
*
\
|
none-
*
|
np1-
*
|
ns16k-
*
|
ns32k-
*
\
|
orion-
*
\
...
...
@@ -336,18 +346,21 @@ case $basic_machine in
|
romp-
*
|
rs6000-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
shbe-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc86x-
*
|
sparclet-
*
|
sparclite-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparclite-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
strongarm-
*
|
sv1-
*
|
sx?-
*
\
|
tahoe-
*
|
thumb-
*
\
|
tic30-
*
|
tic4x-
*
|
tic54x-
*
|
tic55x-
*
|
tic6x-
*
|
tic80-
*
\
|
tron-
*
\
|
v850-
*
|
v850e-
*
|
vax-
*
\
|
we32k-
*
\
|
x86-
*
|
x86_64-
*
|
xps100-
*
|
xscale-
*
|
xs
tormy16
-
*
\
|
xtensa-
*
\
|
x86-
*
|
x86_64-
*
|
xps100-
*
|
xscale-
*
|
xs
calee[bl]
-
*
\
|
x
stormy16-
*
|
x
tensa-
*
\
|
ymp-
*
\
|
z8k-
*
)
;;
m32c-
*
)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd
)
...
...
@@ -489,6 +502,10 @@ case $basic_machine in
basic_machine
=
m88k-motorola
os
=
-sysv3
;;
djgpp
)
basic_machine
=
i586-pc
os
=
-msdosdjgpp
;;
dpx20
|
dpx20-
*
)
basic_machine
=
rs6000-bull
os
=
-bosx
...
...
@@ -1029,6 +1046,10 @@ case $basic_machine in
basic_machine
=
hppa1.1-winbond
os
=
-proelf
;;
xbox
)
basic_machine
=
i686-pc
os
=
-mingw32
;;
xps
|
xps100
)
basic_machine
=
xps100-honeywell
;;
...
...
@@ -1081,9 +1102,6 @@ case $basic_machine in
sh3
|
sh4
|
sh[34]eb
|
sh[1234]le
|
sh[23]ele
)
basic_machine
=
sh-unknown
;;
sh64
)
basic_machine
=
sh64-unknown
;;
sparc
|
sparcv8
|
sparcv9
|
sparcv9b
)
basic_machine
=
sparc-sun
;;
...
...
@@ -1170,7 +1188,7 @@ case $os in
|
-storm-chaos
*
|
-tops10
*
|
-tenex
*
|
-tops20
*
|
-its
*
\
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
)
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
|
-skyos
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
...
...
@@ -1297,6 +1315,9 @@ case $os in
-kaos
*
)
os
=
-kaos
;;
-zvmoe
)
os
=
-zvmoe
;;
-none
)
;;
*
)
...
...
@@ -1545,7 +1566,7 @@ case $basic_machine in
esac
echo
$basic_machine$os
exit
0
exit
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
...
...
config/install-sh
浏览文件 @
875efad4
#!/bin/sh
# install - install a program, script, or datafile
# This originally came from X11R5 (mit/util/scripts/install.sh).
scriptversion
=
200
3-01-17.15
scriptversion
=
200
5-02-02.21
# Copyright 1991 by the Massachusetts Institute of Technology
# (FSF changes in the public domain.)
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
...
...
@@ -41,9 +58,6 @@ stripprog="${STRIPPROG-strip}"
rmprog
=
"
${
RMPROG
-rm
}
"
mkdirprog
=
"
${
MKDIRPROG
-mkdir
}
"
transformbasename
=
transform_arg
=
instcmd
=
"
$mvprog
"
chmodcmd
=
"
$chmodprog
0755"
chowncmd
=
chgrpcmd
=
...
...
@@ -53,22 +67,27 @@ mvcmd="$mvprog"
src
=
dst
=
dir_arg
=
dstarg
=
no_target_directory
=
usage
=
"Usage:
$0
[OPTION]... SRCFILE DSTFILE
or:
$0
-d DIR1 DIR2...
usage
=
"Usage:
$0
[OPTION]... [-T] SRCFILE DSTFILE
or:
$0
[OPTION]... SRCFILES... DIRECTORY
or:
$0
[OPTION]... -t DIRECTORY SRCFILES...
or:
$0
[OPTION]... -d DIRECTORIES...
In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default.
In the second, create the directory path DIR.
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
-b=TRANSFORMBASENAME
-c copy source (using
$cpprog
) instead of moving (using
$mvprog
).
-c (ignored)
-d create directories instead of installing files.
-g GROUP
$chgrp
installed files to GROUP.
-m MODE
$chmod
installed files to MODE.
-o USER
$chown
installed files to USER.
-s strip installed files (using
$stripprog
).
-t=TRANSFORM
-g GROUP
$chgrpprog
installed files to GROUP.
-m MODE
$chmodprog
installed files to MODE.
-o USER
$chownprog
installed files to USER.
-s
$stripprog
installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
--help display this help and exit.
--version display version info and exit.
...
...
@@ -78,12 +97,7 @@ Environment variables override the default commands:
while
test
-n
"
$1
"
;
do
case
$1
in
-b
=
*
)
transformbasename
=
`
echo
$1
|
sed
's/-b=//'
`
shift
continue
;;
-c
)
instcmd
=
$cpprog
shift
-c
)
shift
continue
;;
-d
)
dir_arg
=
true
...
...
@@ -95,7 +109,7 @@ while test -n "$1"; do
shift
continue
;;
--help
)
echo
"
$usage
"
;
exit
0
;;
--help
)
echo
"
$usage
"
;
exit
$?
;;
-m
)
chmodcmd
=
"
$chmodprog
$2
"
shift
...
...
@@ -111,154 +125,194 @@ while test -n "$1"; do
shift
continue
;;
-t
=
*
)
transformarg
=
`
echo
$1
|
sed
's/-t=//'
`
shift
continue
;;
--version
)
echo
"
$0
$scriptversion
"
;
exit
0
;;
*
)
if
test
-z
"
$src
"
;
then
src
=
$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst
=
$1
fi
shift
continue
;;
-t
)
dstarg
=
$2
shift
shift
continue
;;
-T
)
no_target_directory
=
true
shift
continue
;;
--version
)
echo
"
$0
$scriptversion
"
;
exit
$?
;;
*
)
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
test
-n
"
$dir_arg$dstarg
"
&&
break
# Otherwise, the last argument is the destination. Remove it from $@.
for
arg
do
if
test
-n
"
$dstarg
"
;
then
# $@ is not empty: it contains at least $arg.
set
fnord
"
$@
"
"
$dstarg
"
shift
# fnord
fi
shift
# arg
dstarg
=
$arg
done
break
;;
esac
done
if
test
-z
"
$src
"
;
then
echo
"
$0
: no input file specified."
>
&2
exit
1
if
test
-z
"
$1
"
;
then
if
test
-z
"
$dir_arg
"
;
then
echo
"
$0
: no input file specified."
>
&2
exit
1
fi
# It's OK to call `install-sh -d' without argument.
# This can happen when creating conditional directories.
exit
0
fi
if
test
-n
"
$dir_arg
"
;
then
dst
=
$src
src
=
for
src
do
# Protect names starting with `-'.
case
$src
in
-
*
)
src
=
./
$src
;;
esac
if
test
-d
"
$dst
"
;
then
instcmd
=
:
chmodcmd
=
if
test
-n
"
$dir_arg
"
;
then
dst
=
$src
src
=
if
test
-d
"
$dst
"
;
then
mkdircmd
=
:
chmodcmd
=
else
mkdircmd
=
$mkdirprog
fi
else
instcmd
=
$mkdirprog
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if
test
!
-f
"
$src
"
&&
test
!
-d
"
$src
"
;
then
echo
"
$0
:
$src
does not exist."
>
&2
exit
1
fi
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if
test
!
-f
"
$src
"
&&
test
!
-d
"
$src
"
;
then
echo
"
$0
:
$src
does not exist."
>
&2
exit
1
fi
if
test
-z
"
$dst
"
;
then
echo
"
$0
: no destination specified."
>
&2
exit
1
fi
if
test
-z
"
$dstarg
"
;
then
echo
"
$0
: no destination specified."
>
&2
exit
1
fi
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if
test
-d
"
$dst
"
;
then
dst
=
$dst
/
`
basename
"
$src
"
`
dst
=
$dstarg
# Protect names starting with `-'.
case
$dst
in
-
*
)
dst
=
./
$dst
;;
esac
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if
test
-d
"
$dst
"
;
then
if
test
-n
"
$no_target_directory
"
;
then
echo
"
$0
:
$dstarg
: Is a directory"
>
&2
exit
1
fi
dst
=
$dst
/
`
basename
"
$src
"
`
fi
fi
fi
## this sed command emulates the dirname command
dstdir
=
`
echo
"
$dst
"
|
sed
-e
's,[^/]*$,,;s,/$,,;s,^$,.,'
`
# Make sure that the destination directory exists
.
# (this part is taken from Noah Friedman's mkinstalldirs script.)
# This sed command emulates the dirname command
.
dstdir
=
`
echo
"
$dst
"
|
sed
-e
's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'
`
# Skip lots of stat calls in the usual case.
if
test
!
-d
"
$dstdir
"
;
then
defaultIFS
=
'
'
IFS
=
"
${
IFS
-
$defaultIFS
}
"
# Make sure that the destination directory exists.
oIFS
=
$IFS
# Some sh's can't handle IFS=/ for some reason.
IFS
=
'%
'
set
-
`
echo
"
$dstdir
"
|
sed
-e
's@/@%@g'
-e
's@^%@/@'
`
IFS
=
$oIFS
# Skip lots of stat calls in the usual case.
if
test
!
-d
"
$dstdir
"
;
then
defaultIFS
=
'
'
IFS
=
"
${
IFS
-
$defaultIFS
}
"
pathcomp
=
while
test
$#
-ne
0
;
do
pathcomp
=
$pathcomp$1
oIFS
=
$IFS
# Some sh's can't handle IFS=/ for some reason.
IFS
=
'%'
set
x
`
echo
"
$dstdir
"
|
sed
-e
's@/@%@g'
-e
's@^%@/@'
`
shift
test
-d
"
$pathcomp
"
||
$mkdirprog
"
$pathcomp
"
pathcomp
=
$pathcomp
/
done
fi
IFS
=
$oIFS
pathcomp
=
while
test
$#
-ne
0
;
do
pathcomp
=
$pathcomp$1
shift
if
test
!
-d
"
$pathcomp
"
;
then
$mkdirprog
"
$pathcomp
"
# mkdir can fail with a `File exist' error in case several
# install-sh are creating the directory concurrently. This
# is OK.
test
-d
"
$pathcomp
"
||
exit
fi
pathcomp
=
$pathcomp
/
done
fi
if
test
-n
"
$dir_arg
"
;
then
$doit
$inst
cmd
"
$dst
"
\
&&
{
test
-z
"
$chowncmd
"
||
$doit
$chowncmd
"
$dst
"
;
}
\
&&
{
test
-z
"
$chgrpcmd
"
||
$doit
$chgrpcmd
"
$dst
"
;
}
\
&&
{
test
-z
"
$stripcmd
"
||
$doit
$stripcmd
"
$dst
"
;
}
\
&&
{
test
-z
"
$chmodcmd
"
||
$doit
$chmodcmd
"
$dst
"
;
}
if
test
-n
"
$dir_arg
"
;
then
$doit
$mkdir
cmd
"
$dst
"
\
&&
{
test
-z
"
$chowncmd
"
||
$doit
$chowncmd
"
$dst
"
;
}
\
&&
{
test
-z
"
$chgrpcmd
"
||
$doit
$chgrpcmd
"
$dst
"
;
}
\
&&
{
test
-z
"
$stripcmd
"
||
$doit
$stripcmd
"
$dst
"
;
}
\
&&
{
test
-z
"
$chmodcmd
"
||
$doit
$chmodcmd
"
$dst
"
;
}
else
# If we're going to rename the final executable, determine the name now.
if
test
-z
"
$transformarg
"
;
then
dstfile
=
`
basename
"
$dst
"
`
else
dstfile
=
`
basename
"
$dst
"
$transformbasename
\
|
sed
$transformarg
`
$transformbasename
fi
dstfile
=
`
basename
"
$dst
"
`
# don't allow the sed command to completely eliminate the filename.
test
-z
"
$dstfile
"
&&
dstfile
=
`
basename
"
$dst
"
`
# Make a couple of temp file names in the proper directory.
dsttmp
=
$dstdir
/#inst.
$$
#
rmtmp
=
$dstdir
/#rm.
$$
#
# Trap to clean up those temp files at exit.
trap
'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status'
0
trap
'(exit $?); exit'
1 2 13 15
# Move or copy the file name to the temp name
$doit
$instcmd
"
$src
"
"
$dsttmp
"
&&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
#
{
test
-z
"
$chowncmd
"
||
$doit
$chowncmd
"
$dsttmp
"
;
}
\
&&
{
test
-z
"
$chgrpcmd
"
||
$doit
$chgrpcmd
"
$dsttmp
"
;
}
\
&&
{
test
-z
"
$stripcmd
"
||
$doit
$stripcmd
"
$dsttmp
"
;
}
\
&&
{
test
-z
"
$chmodcmd
"
||
$doit
$chmodcmd
"
$dsttmp
"
;
}
&&
# Now remove or move aside any old file at destination location. We
# try this two ways since rm can't unlink itself on some systems and
# the destination file might be busy for other reasons. In this case,
# the final cleanup might fail but the new file should still install
# successfully.
{
if
test
-f
"
$dstdir
/
$dstfile
"
;
then
$doit
$rmcmd
-f
"
$dstdir
/
$dstfile
"
2>/dev/null
\
||
$doit
$mvcmd
-f
"
$dstdir
/
$dstfile
"
"
$rmtmp
"
2>/dev/null
\
# Make a couple of temp file names in the proper directory.
dsttmp
=
$dstdir
/_inst.
$$
_
rmtmp
=
$dstdir
/_rm.
$$
_
# Trap to clean up those temp files at exit.
trap
'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret'
0
trap
'(exit $?); exit'
1 2 13 15
# Copy the file name to the temp name.
$doit
$cpprog
"
$src
"
"
$dsttmp
"
&&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{
test
-z
"
$chowncmd
"
||
$doit
$chowncmd
"
$dsttmp
"
;
}
\
&&
{
test
-z
"
$chgrpcmd
"
||
$doit
$chgrpcmd
"
$dsttmp
"
;
}
\
&&
{
test
-z
"
$stripcmd
"
||
$doit
$stripcmd
"
$dsttmp
"
;
}
\
&&
{
test
-z
"
$chmodcmd
"
||
$doit
$chmodcmd
"
$dsttmp
"
;
}
&&
# Now rename the file to the real destination.
{
$doit
$mvcmd
-f
"
$dsttmp
"
"
$dstdir
/
$dstfile
"
2>/dev/null
\
||
{
echo
"
$0
: cannot unlink or rename
$dstdir
/
$dstfile
"
>
&2
(
exit
1
)
;
exit
}
else
:
fi
}
&&
# Now rename the file to the real destination.
$doit
$mvcmd
"
$dsttmp
"
"
$dstdir
/
$dstfile
"
fi
&&
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
if
test
-f
"
$dstdir
/
$dstfile
"
;
then
$doit
$rmcmd
-f
"
$dstdir
/
$dstfile
"
2>/dev/null
\
||
$doit
$mvcmd
-f
"
$dstdir
/
$dstfile
"
"
$rmtmp
"
2>/dev/null
\
||
{
echo
"
$0
: cannot unlink or rename
$dstdir
/
$dstfile
"
>
&2
(
exit
1
)
;
exit
1
}
else
:
fi
}
&&
# Now rename the file to the real destination.
$doit
$mvcmd
"
$dsttmp
"
"
$dstdir
/
$dstfile
"
}
}
fi
||
{
(
exit
1
)
;
exit
1
;
}
done
# The final little trick to "correctly" pass the exit status to the exit trap.
{
(
exit
0
)
;
exit
(
exit
0
)
;
exit
0
}
# Local variables:
...
...
config/mkinstalldirs
浏览文件 @
875efad4
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion
=
200
4-02-15.20
scriptversion
=
200
5-02-02.21
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
...
...
@@ -27,7 +27,7 @@ while test $# -gt 0 ; do
case
$1
in
-h
|
--help
|
--h
*
)
# -h for help
echo
"
$usage
"
exit
0
exit
$?
;;
-m
)
# -m PERM arg
shift
...
...
@@ -37,7 +37,7 @@ while test $# -gt 0 ; do
;;
--version
)
echo
"
$0
$scriptversion
"
exit
0
exit
$?
;;
--
)
# stop option processing
shift
...
...
configure
浏览文件 @
875efad4
此差异已折叠。
点击以展开。
configure.in
浏览文件 @
875efad4
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.41
3 2005/06/27 02:04:23 neilc
Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.41
4 2005/07/01 18:17:30 petere
Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -19,7 +19,7 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
AC_INIT([PostgreSQL], [8.1devel], [pgsql-bugs@postgresql.org])
AC_PREREQ(2.5
3
)
AC_PREREQ(2.5
9
)
AC_COPYRIGHT([Copyright (c) 1996-2005, PostgreSQL Global Development Group])
AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
AC_CONFIG_AUX_DIR(config)
...
...
src/include/pg_config.h.in
浏览文件 @
875efad4
...
...
@@ -131,9 +131,6 @@
/* Define to 1 if you have the `gethostbyname_r' function. */
#undef HAVE_GETHOSTBYNAME_R
/* Define to 1 if you have the `gethostname' function. */
#undef HAVE_GETHOSTNAME
/* Define to 1 if you have the `getopt' function. */
#undef HAVE_GETOPT
...
...
@@ -218,9 +215,6 @@
/* Define to 1 if you have the `cygipc' library (-lcygipc). */
#undef HAVE_LIBCYGIPC
/* Define to 1 if you have the `des' library (-ldes). */
#undef HAVE_LIBDES
/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL
...
...
@@ -236,9 +230,6 @@
/* Define to 1 if you have the `IPC' library (-lIPC). */
#undef HAVE_LIBIPC
/* Define to 1 if you have the `krb' library (-lkrb). */
#undef HAVE_LIBKRB
/* Define to 1 if you have the `lc' library (-llc). */
#undef HAVE_LIBLC
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录