Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
759fba48
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,发现更多精彩内容 >>
提交
759fba48
编写于
1月 16, 2000
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Included all yacc and lex files into the distribution.
上级
a4e1304e
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
823 addition
and
555 deletion
+823
-555
doc/src/sgml/install.sgml
doc/src/sgml/install.sgml
+0
-61
src/GNUmakefile.in
src/GNUmakefile.in
+1
-16
src/backend/bootstrap/Makefile
src/backend/bootstrap/Makefile
+2
-2
src/backend/catalog/aclchk.c
src/backend/catalog/aclchk.c
+3
-3
src/backend/catalog/catalog.c
src/backend/catalog/catalog.c
+4
-4
src/backend/commands/command.c
src/backend/commands/command.c
+238
-18
src/backend/parser/gram.y
src/backend/parser/gram.y
+71
-34
src/backend/tcop/utility.c
src/backend/tcop/utility.c
+39
-19
src/bin/psql/mainloop.c
src/bin/psql/mainloop.c
+3
-2
src/configure
src/configure
+377
-363
src/configure.in
src/configure.in
+14
-0
src/include/catalog/catalog.h
src/include/catalog/catalog.h
+4
-4
src/include/commands/command.h
src/include/commands/command.h
+22
-5
src/include/nodes/nodes.h
src/include/nodes/nodes.h
+2
-2
src/include/nodes/parsenodes.h
src/include/nodes/parsenodes.h
+11
-7
src/include/utils/acl.h
src/include/utils/acl.h
+2
-2
src/pl/plpgsql/src/Makefile.in
src/pl/plpgsql/src/Makefile.in
+2
-2
src/test/regress/run_check.sh
src/test/regress/run_check.sh
+13
-1
src/tools/release_prep
src/tools/release_prep
+15
-10
未找到文件。
doc/src/sgml/install.sgml
浏览文件 @
759fba48
...
...
@@ -176,67 +176,6 @@ Ftp file
</Para>
</Step>
<Step Performance="required">
<Para>
Some platforms use <application>flex</application>.
If your system uses <application>flex</application> then make sure
you have a good version. To check, type
<programlisting>
$ flex --version
</programlisting>
</Para>
<Para>
If the <application>flex</application> command is not found then you probably do not need it.
If the version is 2.5.2 or 2.5.4 or greater then you are okay. If it
is 2.5.3 or before 2.5.2 then you will have to upgrade <application>flex</application>. You may
get it at
<ulink url="ftp://prep.ai.mit.edu/pub/gnu/flex-2.5.4.tar.gz">ftp://prep.ai.mit.edu/pub/gnu/flex-2.5.4.tar.gz</ulink>.
</Para>
<Para>
If you need <application>flex</application> and don't have it or have the wrong version, then
you will be told so when you attempt to compile the program. Feel
free to skip this step if you aren't sure you need it. If you do
need it then you will be told to install/upgrade <application>flex</application> when you try to
compile <productname>Postgres</productname>.
</Para>
<Para>
You may want to do the entire <application>flex</application> installation from
the root account, though that is not absolutely necessary.
Assuming that you want the installation to place files in the usual default
areas, type the following:
<ProgramListing>
$ su -
$ cd /usr/local/src
ftp prep.ai.mit.edu
ftp> cd /pub/gnu/
ftp> binary
ftp> get flex-2.5.4.tar.gz
ftp> quit
$ gunzip -c flex-2.5.4.tar.gz | tar xvf -
$ cd flex-2.5.4
$ configure --prefix=/usr
$ gmake
$ gmake check
# You must be root when typing the next line:
$ gmake install
$ cd /usr/local/src
$ rm -rf flex-2.5.4
</ProgramListing>
</Para>
<Para>
This will update files <filename>/usr/man/man1/flex.1</filename>,
<filename>/usr/bin/flex</filename>,
<filename>/usr/lib/libfl.a</filename>,
<filename>/usr/include/FlexLexer.h</filename> and will add a link
<filename>/usr/bin/flex++</filename> which points to flex.
</Para>
</Step>
<Step Performance="required">
<Para>
If you are not upgrading an existing system then skip to
...
...
src/GNUmakefile.in
浏览文件 @
759fba48
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.4
7 2000/01/09 07:53:52 tgl
Exp $
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.4
8 2000/01/16 20:04:51 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -24,7 +24,6 @@ ETAGS = @etags@
XARGS = @xargs@
all:
$(MAKE) lexverify
$(MAKE) -C utils all
$(MAKE) -C backend all
$(MAKE) -C interfaces all
...
...
@@ -35,7 +34,6 @@ all:
fi
install:
$(MAKE) lexverify
$(MAKE) -C utils install
$(MAKE) -C backend install
$(MAKE) -C interfaces install
...
...
@@ -43,19 +41,7 @@ install:
$(MAKE) -C pl install
cat ../register.txt
lexverify:
$(MAKE) -C lextest all
@if test ! -f lextest/lextest; then \
echo "";\
echo "You have a buggy version of flex. Read INSTALL and search for flex for a fix.";\
echo "";\
false;\
else \
true;\
fi
clean:
$(MAKE) -C lextest clean
$(MAKE) -C utils clean
$(MAKE) -C backend clean
$(MAKE) -C interfaces clean
...
...
@@ -108,7 +94,6 @@ distclean: clean
test/regress/GNUmakefile
.DEFAULT:
$(MAKE) -C lextest $@
$(MAKE) -C utils $@
$(MAKE) -C backend $@
$(MAKE) -C interfaces $@
...
...
src/backend/bootstrap/Makefile
浏览文件 @
759fba48
...
...
@@ -4,7 +4,7 @@
# Makefile for the bootstrap module
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.
19 1999/12/16 16:52:46 momjian
Exp $
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.
20 2000/01/16 20:04:53 petere
Exp $
#
#
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
...
...
@@ -68,7 +68,7 @@ bootscanner.c: bootscanner.l
rm
-f
lex.yy.c sedfile
clean
:
rm
-f
SUBSYS.o
$(OBJS)
bootparse.c bootstrap_tokens.h bootscanner.c
rm
-f
SUBSYS.o
$(OBJS)
# And the garbage that might have been left behind by partial build:
rm
-f
y.tab.h
y.tab.c
y.output
lex.yy.c
...
...
src/backend/catalog/aclchk.c
浏览文件 @
759fba48
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.3
4 2000/01/15 02:59:28
petere Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.3
5 2000/01/16 20:04:54
petere Exp $
*
* NOTES
* See acl.h.
...
...
@@ -444,8 +444,8 @@ pg_aclcheck(char *relname, char *usename, AclMode mode)
}
int32
pg_ownercheck
(
char
*
usename
,
char
*
value
,
pg_ownercheck
(
c
onst
c
har
*
usename
,
c
onst
c
har
*
value
,
int
cacheid
)
{
HeapTuple
tuple
;
...
...
src/backend/catalog/catalog.c
浏览文件 @
759fba48
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.2
7 2000/01/15 02:59:28
petere Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.2
8 2000/01/16 20:04:54
petere Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,7 +26,7 @@
* Perhaps this should be in-line code in relopen().
*/
char
*
relpath
(
char
*
relname
)
relpath
(
c
onst
c
har
*
relname
)
{
char
*
path
;
size_t
bufsize
=
0
;
...
...
@@ -52,7 +52,7 @@ relpath(char *relname)
* XXX this is way bogus. -- pma
*/
bool
IsSystemRelationName
(
char
*
relname
)
IsSystemRelationName
(
c
onst
c
har
*
relname
)
{
if
(
relname
[
0
]
&&
relname
[
1
]
&&
relname
[
2
])
return
(
relname
[
0
]
==
'p'
&&
...
...
@@ -67,7 +67,7 @@ IsSystemRelationName(char *relname)
* True iff name is the name of a shared system catalog relation.
*/
bool
IsSharedSystemRelationName
(
char
*
relname
)
IsSharedSystemRelationName
(
c
onst
c
har
*
relname
)
{
int
i
;
...
...
src/backend/commands/command.c
浏览文件 @
759fba48
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.6
2 1999/12/20 10:40:41 wieck
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.6
3 2000/01/16 20:04:55 petere
Exp $
*
* NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated
...
...
@@ -23,13 +23,16 @@
#include "postgres.h"
#include "access/heapam.h"
#include "access/skey.h"
#include "catalog/catalog.h"
#include "catalog/catname.h"
#include "catalog/indexing.h"
#include "catalog/pg_attrdef.h"
#include "catalog/pg_type.h"
#include "commands/command.h"
#include "executor/execdefs.h"
#include "executor/executor.h"
#include "catalog/heap.h"
#include "miscadmin.h"
#include "optimizer/prep.h"
#include "utils/acl.h"
...
...
@@ -37,6 +40,7 @@
#include "utils/syscache.h"
#include "utils/temprel.h"
/* ----------------
* PortalExecutorHeapMemory stuff
*
...
...
@@ -246,7 +250,8 @@ PerformPortalClose(char *name, CommandDest dest)
}
/* ----------------
* PerformAddAttribute
* AlterTableAddColumn
* (formerly known as PerformAddAttribute)
*
* adds an additional attribute to a relation
*
...
...
@@ -276,8 +281,7 @@ PerformPortalClose(char *name, CommandDest dest)
* ----------------
*/
void
PerformAddAttribute
(
char
*
relationName
,
char
*
userName
,
AlterTableAddColumn
(
const
char
*
relationName
,
bool
inherits
,
ColumnDef
*
colDef
)
{
...
...
@@ -295,6 +299,7 @@ PerformAddAttribute(char *relationName,
Relation
idescs
[
Num_pg_attr_indices
];
Relation
ridescs
[
Num_pg_class_indices
];
bool
hasindex
;
List
*
rawDefaults
=
NIL
;
/*
* permissions checking. this would normally be done in utility.c,
...
...
@@ -303,19 +308,18 @@ PerformAddAttribute(char *relationName,
* normally, only the owner of a class can change its schema.
*/
if
(
!
allowSystemTableMods
&&
IsSystemRelationName
(
relationName
))
elog
(
ERROR
,
"
PerformAddAttribute: class
\"
%s
\"
is a system catalog"
,
elog
(
ERROR
,
"
ALTER TABLE: relation
\"
%s
\"
is a system catalog"
,
relationName
);
#ifndef NO_SECURITY
if
(
!
pg_ownercheck
(
userName
,
relationName
,
RELNAME
))
elog
(
ERROR
,
"PerformAddAttribute: you do not own class
\"
%s
\"
"
,
relationName
);
if
(
!
pg_ownercheck
(
UserName
,
relationName
,
RELNAME
))
elog
(
ERROR
,
"ALTER TABLE: permission denied"
);
#endif
/*
* Grab an exclusive lock on the target table, which we will NOT release
* until end of transaction.
*/
rel
=
heap_openr
(
relationName
,
AccessExclusiveLock
);
rel
=
heap_openr
(
(
char
*
)
relationName
,
AccessExclusiveLock
);
myrelid
=
RelationGetRelid
(
rel
);
heap_close
(
rel
,
NoLock
);
/* close rel but keep lock! */
...
...
@@ -324,8 +328,10 @@ PerformAddAttribute(char *relationName,
*/
if
(
colDef
->
is_not_null
)
elog
(
ERROR
,
"Can't add a NOT NULL attribute to an existing relation"
);
if
(
colDef
->
raw_default
||
colDef
->
cooked_default
)
elog
(
ERROR
,
"ADD ATTRIBUTE: DEFAULT not yet implemented"
);
elog
(
ERROR
,
"Adding columns with defaults is not implemented."
);
/*
* if the first element in the 'schema' list is a "*" then we are
...
...
@@ -358,8 +364,8 @@ PerformAddAttribute(char *relationName,
if
(
childrelid
==
myrelid
)
continue
;
rel
=
heap_open
(
childrelid
,
AccessExclusiveLock
);
PerformAddAttribute
(
RelationGetRelationName
(
rel
),
userName
,
false
,
colDef
);
AlterTableAddColumn
(
RelationGetRelationName
(
rel
),
false
,
colDef
);
heap_close
(
rel
,
AccessExclusiveLock
);
}
}
...
...
@@ -372,7 +378,7 @@ PerformAddAttribute(char *relationName,
0
,
0
,
0
);
if
(
!
HeapTupleIsValid
(
reltup
))
elog
(
ERROR
,
"
PerformAddAttribute
: relation
\"
%s
\"
not found"
,
elog
(
ERROR
,
"
ALTER TABLE
: relation
\"
%s
\"
not found"
,
relationName
);
/*
...
...
@@ -380,14 +386,14 @@ PerformAddAttribute(char *relationName,
*/
if
(((
Form_pg_class
)
GETSTRUCT
(
reltup
))
->
relkind
==
RELKIND_INDEX
)
{
elog
(
ERROR
,
"
PerformAddAttribute
: index relation
\"
%s
\"
not changed"
,
elog
(
ERROR
,
"
ALTER TABLE
: index relation
\"
%s
\"
not changed"
,
relationName
);
}
minattnum
=
((
Form_pg_class
)
GETSTRUCT
(
reltup
))
->
relnatts
;
maxatts
=
minattnum
+
1
;
if
(
maxatts
>
MaxHeapAttributeNumber
)
elog
(
ERROR
,
"
PerformAddAttribute: relations limited to %d attribute
s"
,
elog
(
ERROR
,
"
ALTER TABLE: relations limited to %d column
s"
,
MaxHeapAttributeNumber
);
attrdesc
=
heap_openr
(
AttributeRelationName
,
RowExclusiveLock
);
...
...
@@ -421,7 +427,7 @@ PerformAddAttribute(char *relationName,
0
,
0
);
if
(
HeapTupleIsValid
(
tup
))
elog
(
ERROR
,
"
PerformAddAttribute: attribute
\"
%s
\"
already exists in class
\"
%s
\"
"
,
elog
(
ERROR
,
"
ALTER TABLE: column name
\"
%s
\"
already exists in relation
\"
%s
\"
"
,
colDef
->
colname
,
relationName
);
/*
...
...
@@ -444,7 +450,7 @@ PerformAddAttribute(char *relationName,
tform
=
(
Form_pg_type
)
GETSTRUCT
(
typeTuple
);
if
(
!
HeapTupleIsValid
(
typeTuple
))
elog
(
ERROR
,
"A
dd: type
\"
%s
\"
nonexisten
t"
,
typename
);
elog
(
ERROR
,
"A
LTER TABLE: type
\"
%s
\"
does not exis
t"
,
typename
);
namestrcpy
(
&
(
attribute
->
attname
),
colDef
->
colname
);
attribute
->
atttypid
=
typeTuple
->
t_data
->
t_oid
;
attribute
->
attlen
=
tform
->
typlen
;
...
...
@@ -483,9 +489,223 @@ PerformAddAttribute(char *relationName,
CatalogCloseIndices
(
Num_pg_class_indices
,
ridescs
);
heap_freetuple
(
reltup
);
heap_close
(
rel
,
RowExclusiveLock
);
heap_close
(
rel
,
NoLock
);
}
static
void
drop_default
(
Oid
relid
,
int16
attnum
);
/*
* ALTER TABLE ALTER COLUMN SET/DROP DEFAULT
*/
void
AlterTableAlterColumn
(
const
char
*
relationName
,
bool
inh
,
const
char
*
colName
,
Node
*
newDefault
)
{
Relation
rel
;
HeapTuple
tuple
;
int16
attnum
;
Oid
myrelid
;
if
(
!
allowSystemTableMods
&&
IsSystemRelationName
(
relationName
))
elog
(
ERROR
,
"ALTER TABLE: relation
\"
%s
\"
is a system catalog"
,
relationName
);
#ifndef NO_SECURITY
if
(
!
pg_ownercheck
(
UserName
,
relationName
,
RELNAME
))
elog
(
ERROR
,
"ALTER TABLE: permission denied"
);
#endif
/* XXX should heap_openr take const char * ? */
rel
=
heap_openr
((
char
*
)
relationName
,
AccessExclusiveLock
);
myrelid
=
RelationGetRelid
(
rel
);
heap_close
(
rel
,
NoLock
);
/*
* Propagate to children if desired
*/
if
(
inh
)
{
List
*
child
,
*
children
;
/* this routine is actually in the planner */
children
=
find_all_inheritors
(
myrelid
);
/*
* find_all_inheritors does the recursive search of the
* inheritance hierarchy, so all we have to do is process all
* of the relids in the list that it returns.
*/
foreach
(
child
,
children
)
{
Oid
childrelid
=
lfirsti
(
child
);
if
(
childrelid
==
myrelid
)
continue
;
rel
=
heap_open
(
childrelid
,
AccessExclusiveLock
);
AlterTableAlterColumn
(
RelationGetRelationName
(
rel
),
false
,
colName
,
newDefault
);
heap_close
(
rel
,
AccessExclusiveLock
);
}
}
/* -= now do the thing on this relation =- */
/* reopen the business */
rel
=
heap_openr
((
char
*
)
relationName
,
AccessExclusiveLock
);
/*
* get the number of the attribute
*/
tuple
=
SearchSysCacheTuple
(
ATTNAME
,
ObjectIdGetDatum
(
myrelid
),
NameGetDatum
(
namein
((
char
*
)
colName
)),
0
,
0
);
if
(
!
HeapTupleIsValid
(
tuple
))
{
heap_close
(
rel
,
AccessExclusiveLock
);
elog
(
ERROR
,
"ALTER TABLE: relation
\"
%s
\"
has no column
\"
%s
\"
"
,
relationName
,
colName
);
}
attnum
=
((
Form_pg_attribute
)
GETSTRUCT
(
tuple
))
->
attnum
;
if
(
newDefault
)
/* SET DEFAULT */
{
List
*
rawDefaults
=
NIL
;
RawColumnDefault
*
rawEnt
;
/* Get rid of the old one first */
drop_default
(
myrelid
,
attnum
);
rawEnt
=
(
RawColumnDefault
*
)
palloc
(
sizeof
(
RawColumnDefault
));
rawEnt
->
attnum
=
attnum
;
rawEnt
->
raw_default
=
newDefault
;
rawDefaults
=
lappend
(
rawDefaults
,
rawEnt
);
/*
* This function is intended for CREATE TABLE,
* so it processes a _list_ of defaults, but we just do one.
*/
AddRelationRawConstraints
(
rel
,
rawDefaults
,
NIL
);
}
else
/* DROP DEFAULT */
{
Relation
attr_rel
;
ScanKeyData
scankeys
[
3
];
HeapScanDesc
scan
;
HeapTuple
tuple
;
attr_rel
=
heap_openr
(
AttributeRelationName
,
AccessExclusiveLock
);
ScanKeyEntryInitialize
(
&
scankeys
[
0
],
0x0
,
Anum_pg_attribute_attrelid
,
F_OIDEQ
,
ObjectIdGetDatum
(
myrelid
));
ScanKeyEntryInitialize
(
&
scankeys
[
1
],
0x0
,
Anum_pg_attribute_attnum
,
F_INT2EQ
,
Int16GetDatum
(
attnum
));
ScanKeyEntryInitialize
(
&
scankeys
[
2
],
0x0
,
Anum_pg_attribute_atthasdef
,
F_BOOLEQ
,
TRUE
);
scan
=
heap_beginscan
(
attr_rel
,
false
,
SnapshotNow
,
3
,
scankeys
);
AssertState
(
scan
!=
NULL
);
if
(
HeapTupleIsValid
(
tuple
=
heap_getnext
(
scan
,
0
)))
{
HeapTuple
newtuple
;
Relation
irelations
[
Num_pg_attr_indices
];
/* update to false */
newtuple
=
heap_copytuple
(
tuple
);
((
Form_pg_attribute
)
GETSTRUCT
(
newtuple
))
->
atthasdef
=
FALSE
;
heap_update
(
attr_rel
,
&
tuple
->
t_self
,
newtuple
,
NULL
);
/* keep the system catalog indices current */
CatalogOpenIndices
(
Num_pg_attr_indices
,
Name_pg_attr_indices
,
irelations
);
CatalogIndexInsert
(
irelations
,
Num_pg_attr_indices
,
attr_rel
,
newtuple
);
CatalogCloseIndices
(
Num_pg_class_indices
,
irelations
);
/* get rid of actual default definition */
drop_default
(
myrelid
,
attnum
);
}
else
elog
(
NOTICE
,
"ALTER TABLE: there was no default on column
\"
%s
\"
of relation
\"
%s
\"
"
,
colName
,
relationName
);
heap_endscan
(
scan
);
heap_close
(
attr_rel
,
NoLock
);
}
heap_close
(
rel
,
NoLock
);
}
static
void
drop_default
(
Oid
relid
,
int16
attnum
)
{
ScanKeyData
scankeys
[
2
];
HeapScanDesc
scan
;
Relation
attrdef_rel
;
HeapTuple
tuple
;
attrdef_rel
=
heap_openr
(
AttrDefaultRelationName
,
AccessExclusiveLock
);
ScanKeyEntryInitialize
(
&
scankeys
[
0
],
0x0
,
Anum_pg_attrdef_adrelid
,
F_OIDEQ
,
ObjectIdGetDatum
(
relid
));
ScanKeyEntryInitialize
(
&
scankeys
[
1
],
0x0
,
Anum_pg_attrdef_adnum
,
F_INT2EQ
,
Int16GetDatum
(
attnum
));
scan
=
heap_beginscan
(
attrdef_rel
,
false
,
SnapshotNow
,
2
,
scankeys
);
AssertState
(
scan
!=
NULL
);
if
(
HeapTupleIsValid
(
tuple
=
heap_getnext
(
scan
,
0
)))
heap_delete
(
attrdef_rel
,
&
tuple
->
t_self
,
NULL
);
heap_endscan
(
scan
);
heap_close
(
attrdef_rel
,
NoLock
);
}
/*
* ALTER TABLE DROP COLUMN
*/
void
AlterTableDropColumn
(
const
char
*
relationName
,
bool
inh
,
const
char
*
colName
,
int
behavior
)
{
elog
(
NOTICE
,
"ALTER TABLE / DROP COLUMN is not implemented"
);
}
void
AlterTableAddConstraint
(
const
char
*
relationName
,
bool
inh
,
Node
*
newConstraint
)
{
elog
(
NOTICE
,
"ALTER TABLE / ADD CONSTRAINT is not implemented"
);
}
void
AlterTableDropConstraint
(
const
char
*
relationName
,
bool
inh
,
const
char
*
constrName
,
int
behavior
)
{
elog
(
NOTICE
,
"ALTER TABLE / DROP CONSTRAINT is not implemented"
);
}
/*
*
* LOCK TABLE
*
*/
void
LockTableCommand
(
LockStmt
*
lockstmt
)
{
...
...
src/backend/parser/gram.y
浏览文件 @
759fba48
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.12
6 2000/01/15 02:59:32
petere Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.12
7 2000/01/16 20:04:55
petere Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
...
...
@@ -114,7 +114,7 @@ static Node *doNegate(Node *n);
}
%type <node> stmt,
A
ddAttr
Stmt, ClosePortalStmt,
A
lterTable
Stmt, ClosePortalStmt,
CopyStmt, CreateStmt, CreateAsStmt, CreateSeqStmt, DefineStmt, DropStmt,
TruncateStmt, CommentStmt,
ExtendStmt, FetchStmt, GrantStmt, CreateTrigStmt, DropTrigStmt,
...
...
@@ -130,6 +130,9 @@ static Node *doNegate(Node *n);
RuleActionStmtOrEmpty, ConstraintsSetStmt,
CreateGroupStmt, AlterGroupStmt, DropGroupStmt
%type <node> alter_column_action
%type <ival> drop_behavior
%type <str> createdb_opt_location
%type <ival> createdb_opt_encoding
...
...
@@ -210,7 +213,7 @@ static Node *doNegate(Node *n);
%type <astmt> insert_rest
%type <node> OptTableElement, ConstraintElem
%type <node> columnDef
, alter_clause
%type <node> columnDef
%type <defelt> def_elem
%type <node> def_arg, columnElem, where_clause,
a_expr, a_expr_or_null, b_expr, com_expr, AexprConst,
...
...
@@ -391,7 +394,7 @@ stmtmulti: stmtmulti ';' stmt
}
;
stmt :
AddAttr
Stmt
stmt :
AlterTable
Stmt
| AlterGroupStmt
| AlterUserStmt
| ClosePortalStmt
...
...
@@ -797,40 +800,74 @@ constraints_set_mode: DEFERRED
/*****************************************************************************
*
* QUERY :
* addattr ( attr1 = type1 .. attrn = typen ) to <relname> [*]
* ALTER TABLE variations
*
*****************************************************************************/
AddAttrStmt: ALTER TABLE relation_name opt_inh_star alter_clause
{
AddAttrStmt *n = makeNode(AddAttrStmt);
n->relname = $3;
n->inh = $4;
n->colDef = $5;
$$ = (Node *)n;
}
;
AlterTableStmt:
/* ALTER TABLE <name> ADD [COLUMN] <coldef> */
ALTER TABLE relation_name opt_inh_star ADD opt_column columnDef
{
AlterTableStmt *n = makeNode(AlterTableStmt);
n->subtype = 'A';
n->relname = $3;
n->inh = $4;
n->def = $7;
$$ = (Node *)n;
}
/* ALTER TABLE <name> ALTER [COLUMN] <colname> {SET DEFAULT <expr>|DROP DEFAULT} */
| ALTER TABLE relation_name opt_inh_star ALTER opt_column ColId alter_column_action
{
AlterTableStmt *n = makeNode(AlterTableStmt);
n->subtype = 'T';
n->relname = $3;
n->inh = $4;
n->name = $7;
n->def = $8;
$$ = (Node *)n;
}
/* ALTER TABLE <name> DROP [COLUMN] <name> {RESTRICT|CASCADE} */
| ALTER TABLE relation_name opt_inh_star DROP opt_column ColId drop_behavior
{
AlterTableStmt *n = makeNode(AlterTableStmt);
n->subtype = 'D';
n->relname = $3;
n->inh = $4;
n->name = $7;
n->behavior = $8;
$$ = (Node *)n;
}
/* ALTER TABLE <name> ADD CONSTRAINT ... */
| ALTER TABLE relation_name opt_inh_star ADD TableConstraint
{
AlterTableStmt *n = makeNode(AlterTableStmt);
n->subtype = 'A';
n->relname = $3;
n->inh = $4;
n->def = $6;
$$ = (Node *)n;
}
/* ALTER TABLE <name> DROP CONSTRAINT <name> {RESTRICT|CASCADE} */
| ALTER TABLE relation_name opt_inh_star DROP CONSTRAINT name drop_behavior
{
AlterTableStmt *n = makeNode(AlterTableStmt);
n->relname = $3;
n->inh = $4;
n->name = $7;
n->behavior = $8;
$$ = (Node *)n;
}
;
alter_column_action:
SET DEFAULT a_expr_or_null { $$ = $3; }
| DROP DEFAULT { $$ = NULL; }
;
drop_behavior: CASCADE { $$ = CASCADE; }
| RESTRICT { $$ = RESTRICT; }
;
alter_clause: ADD opt_column columnDef
{
$$ = $3;
}
| ADD '(' OptTableElementList ')'
{
if (length($3) != 1)
elog(ERROR,"ALTER TABLE/ADD() allows one column only");
$$ = (Node *) lfirst($3);
}
| DROP opt_column ColId
{ elog(ERROR,"ALTER TABLE/DROP COLUMN not yet implemented"); }
| ALTER opt_column ColId SET DEFAULT a_expr
{ elog(ERROR,"ALTER TABLE/ALTER COLUMN/SET DEFAULT not yet implemented"); }
| ALTER opt_column ColId DROP DEFAULT
{ elog(ERROR,"ALTER TABLE/ALTER COLUMN/DROP DEFAULT not yet implemented"); }
| ADD ConstraintElem
{ elog(ERROR,"ALTER TABLE/ADD CONSTRAINT not yet implemented"); }
;
/*****************************************************************************
...
...
src/backend/tcop/utility.c
浏览文件 @
759fba48
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
79 2000/01/15 18:30:30
petere Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
80 2000/01/16 20:04:56
petere Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -270,24 +270,6 @@ ProcessUtility(Node *parsetree,
}
break
;
case
T_AddAttrStmt
:
{
AddAttrStmt
*
stmt
=
(
AddAttrStmt
*
)
parsetree
;
PS_SET_STATUS
(
commandTag
=
"ADD"
);
CHECK_IF_ABORTED
();
/*
* owner checking done in PerformAddAttribute (now
* recursive)
*/
PerformAddAttribute
(
stmt
->
relname
,
userName
,
stmt
->
inh
,
(
ColumnDef
*
)
stmt
->
colDef
);
}
break
;
/*
* schema
*/
...
...
@@ -346,6 +328,44 @@ ProcessUtility(Node *parsetree,
}
break
;
/* various Alter Table forms */
case
T_AlterTableStmt
:
{
AlterTableStmt
*
stmt
=
(
AlterTableStmt
*
)
parsetree
;
PS_SET_STATUS
(
commandTag
=
"ALTER TABLE"
);
CHECK_IF_ABORTED
();
/*
* Some or all of these functions are recursive to cover inherited things,
* so permission checks are done there.
*/
switch
(
stmt
->
subtype
)
{
case
'A'
:
/* ADD COLUMN */
AlterTableAddColumn
(
stmt
->
relname
,
stmt
->
inh
,
(
ColumnDef
*
)
stmt
->
def
);
break
;
case
'T'
:
/* ALTER COLUMN */
AlterTableAlterColumn
(
stmt
->
relname
,
stmt
->
inh
,
stmt
->
name
,
stmt
->
def
);
break
;
case
'D'
:
/* ALTER DROP */
AlterTableDropColumn
(
stmt
->
relname
,
stmt
->
inh
,
stmt
->
name
,
stmt
->
behavior
);
break
;
case
'C'
:
/* ADD CONSTRAINT */
AlterTableAddConstraint
(
stmt
->
relname
,
stmt
->
inh
,
stmt
->
def
);
break
;
case
'X'
:
/* DROP CONSTRAINT */
AlterTableDropConstraint
(
stmt
->
relname
,
stmt
->
inh
,
stmt
->
name
,
stmt
->
behavior
);
break
;
default:
/* oops */
elog
(
ERROR
,
"T_AlterTableStmt: unknown subtype"
);
break
;
}
}
break
;
case
T_ChangeACLStmt
:
{
ChangeACLStmt
*
stmt
=
(
ChangeACLStmt
*
)
parsetree
;
...
...
src/bin/psql/mainloop.c
浏览文件 @
759fba48
...
...
@@ -268,8 +268,9 @@ MainLoop(FILE *source, int encoding)
/* colon -> substitute variable */
/* we need to be on the watch for the '::' operator */
else
if
(
line
[
i
]
==
':'
&&
!
was_bslash
&&
strspn
(
line
+
i
+
thislen
,
VALID_VARIABLE_CHARS
)
>
0
else
if
(
line
[
i
]
==
':'
&&
!
was_bslash
&&
strspn
(
line
+
i
+
thislen
,
VALID_VARIABLE_CHARS
)
>
0
&&
!
(
prevlen
>
0
&&
line
[
i
-
prevlen
]
==
':'
)
)
{
size_t
in_length
,
...
...
src/configure
浏览文件 @
759fba48
...
...
@@ -1849,8 +1849,22 @@ fi
fi
if
test
"
$LEX
"
=
"flex"
;
then
$LEX
--version
2> /dev/null |
grep
-s
'2\.5\.3'
>
& /dev/null
if
test
$?
-eq
0
;
then
echo
"configure: warning:
***
You have flex version 2.5.3, which is broken. Get version 2.5.4 or
a different lex.
(If you are using the official distribution of PostgreSQL then you
do not need to worry about this because the lexer files are
pre-generated. However, other software using flex is likely to be
broken as well.)
***"
1>&2
fi
fi
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:18
54
: checking whether ln -s works"
>
&5
echo
"configure:18
68
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1871,7 +1885,7 @@ else
fi
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:18
75
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:18
89
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
|
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1900,7 +1914,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:19
04
: checking for
$ac_word
"
>
&5
echo
"configure:19
18
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1930,7 +1944,7 @@ fi
# Extract the first word of "find", so it can be a program name with args.
set
dummy find
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:19
34
: checking for
$ac_word
"
>
&5
echo
"configure:19
48
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_find
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1965,7 +1979,7 @@ fi
# Extract the first word of "tar", so it can be a program name with args.
set
dummy
tar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:19
69
: checking for
$ac_word
"
>
&5
echo
"configure:19
83
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_tar
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2000,7 +2014,7 @@ fi
# Extract the first word of "split", so it can be a program name with args.
set
dummy
split
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:20
04
: checking for
$ac_word
"
>
&5
echo
"configure:20
18
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_split
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2035,7 +2049,7 @@ fi
# Extract the first word of "etags", so it can be a program name with args.
set
dummy etags
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:20
39
: checking for
$ac_word
"
>
&5
echo
"configure:20
53
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_etags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2070,7 +2084,7 @@ fi
# Extract the first word of "xargs", so it can be a program name with args.
set
dummy xargs
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:20
74
: checking for
$ac_word
"
>
&5
echo
"configure:20
88
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_xargs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2105,7 +2119,7 @@ fi
# Extract the first word of "ipcs", so it can be a program name with args.
set
dummy ipcs
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:21
09
: checking for
$ac_word
"
>
&5
echo
"configure:21
23
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2140,7 +2154,7 @@ fi
# Extract the first word of "ipcrm", so it can be a program name with args.
set
dummy ipcrm
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:21
44
: checking for
$ac_word
"
>
&5
echo
"configure:21
58
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcrm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2177,7 +2191,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:21
81
: checking for
$ac_word
"
>
&5
echo
"configure:21
95
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2218,7 +2232,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:22
22
: checking for
$ac_word
"
>
&5
echo
"configure:22
36
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GZCAT
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2275,7 +2289,7 @@ else
# Extract the first word of "bison", so it can be a program name with args.
set
dummy bison
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:22
79
: checking for
$ac_word
"
>
&5
echo
"configure:22
93
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_bison
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2316,7 +2330,7 @@ fi
# Extract the first word of "yacc", so it can be a program name with args.
set
dummy yacc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:23
20
: checking for
$ac_word
"
>
&5
echo
"configure:23
34
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_yacc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2356,7 +2370,7 @@ fi
echo
$ac_n
"checking for main in -lsfio""...
$ac_c
"
1>&6
echo
"configure:23
60
: checking for main in -lsfio"
>
&5
echo
"configure:23
74
: checking for main in -lsfio"
>
&5
ac_lib_var
=
`
echo
sfio
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2364,14 +2378,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsfio
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
68
"configure"
#line 23
82
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:23
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:23
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2400,7 +2414,7 @@ fi
for
curses
in
ncurses curses
;
do
echo
$ac_n
"checking for main in -l
${
curses
}
""...
$ac_c
"
1>&6
echo
"configure:24
04
: checking for main in -l
${
curses
}
"
>
&5
echo
"configure:24
18
: checking for main in -l
${
curses
}
"
>
&5
ac_lib_var
=
`
echo
${
curses
}
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2408,14 +2422,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
${
curses
}
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
12
"configure"
#line 24
26
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:24
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:24
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2437,7 +2451,7 @@ fi
done
echo
$ac_n
"checking for main in -ltermcap""...
$ac_c
"
1>&6
echo
"configure:24
41
: checking for main in -ltermcap"
>
&5
echo
"configure:24
55
: checking for main in -ltermcap"
>
&5
ac_lib_var
=
`
echo
termcap
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2445,14 +2459,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
49
"configure"
#line 24
63
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:24
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:24
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2480,7 +2494,7 @@ else
fi
echo
$ac_n
"checking for main in -lreadline""...
$ac_c
"
1>&6
echo
"configure:24
84
: checking for main in -lreadline"
>
&5
echo
"configure:24
98
: checking for main in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2488,14 +2502,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
492
"configure"
#line 2
506
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:2
499
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
513
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2523,7 +2537,7 @@ else
fi
echo
$ac_n
"checking for using_history in -lreadline""...
$ac_c
"
1>&6
echo
"configure:25
27
: checking for using_history in -lreadline"
>
&5
echo
"configure:25
41
: checking for using_history in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
using_history |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2531,7 +2545,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
35
"configure"
#line 25
49
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2542,7 +2556,7 @@ int main() {
using_history()
; return 0; }
EOF
if
{
(
eval echo
configure:25
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:25
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2564,7 +2578,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for main in -lhistory""...
$ac_c
"
1>&6
echo
"configure:25
68
: checking for main in -lhistory"
>
&5
echo
"configure:25
82
: checking for main in -lhistory"
>
&5
ac_lib_var
=
`
echo history
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2572,14 +2586,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
76
"configure"
#line 25
90
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:25
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:25
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2612,7 +2626,7 @@ fi
if
test
"
$PORTNAME
"
!=
"aix"
-a
"
$PORTNAME
"
!=
"alpha"
then
echo
$ac_n
"checking for main in -lbsd""...
$ac_c
"
1>&6
echo
"configure:26
16
: checking for main in -lbsd"
>
&5
echo
"configure:26
30
: checking for main in -lbsd"
>
&5
ac_lib_var
=
`
echo
bsd
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2620,14 +2634,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lbsd
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
24
"configure"
#line 26
38
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:26
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:26
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2656,7 +2670,7 @@ fi
fi
echo
$ac_n
"checking for main in -lm""...
$ac_c
"
1>&6
echo
"configure:26
60
: checking for main in -lm"
>
&5
echo
"configure:26
74
: checking for main in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2664,14 +2678,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
68
"configure"
#line 26
82
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:26
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:26
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2699,7 +2713,7 @@ else
fi
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:27
03
: checking for main in -ldl"
>
&5
echo
"configure:27
17
: checking for main in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2707,14 +2721,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
11
"configure"
#line 27
25
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:27
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:27
32
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2742,7 +2756,7 @@ else
fi
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
"configure:27
46
: checking for main in -lsocket"
>
&5
echo
"configure:27
60
: checking for main in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2750,14 +2764,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
54
"configure"
#line 27
68
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:27
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:27
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2785,7 +2799,7 @@ else
fi
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
"configure:2
789
: checking for main in -lnsl"
>
&5
echo
"configure:2
803
: checking for main in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2793,14 +2807,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
797
"configure"
#line 2
811
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:28
04
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:28
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2828,7 +2842,7 @@ else
fi
echo
$ac_n
"checking for main in -lipc""...
$ac_c
"
1>&6
echo
"configure:28
32
: checking for main in -lipc"
>
&5
echo
"configure:28
46
: checking for main in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2836,14 +2850,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
40
"configure"
#line 28
54
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:28
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:28
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2871,7 +2885,7 @@ else
fi
echo
$ac_n
"checking for main in -lIPC""...
$ac_c
"
1>&6
echo
"configure:28
75
: checking for main in -lIPC"
>
&5
echo
"configure:28
89
: checking for main in -lIPC"
>
&5
ac_lib_var
=
`
echo
IPC
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2879,14 +2893,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lIPC
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
83
"configure"
#line 28
97
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:2
890
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
904
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2914,7 +2928,7 @@ else
fi
echo
$ac_n
"checking for main in -llc""...
$ac_c
"
1>&6
echo
"configure:29
18
: checking for main in -llc"
>
&5
echo
"configure:29
32
: checking for main in -llc"
>
&5
ac_lib_var
=
`
echo
lc
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2922,14 +2936,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-llc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
26
"configure"
#line 29
40
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:29
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:29
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2957,7 +2971,7 @@ else
fi
echo
$ac_n
"checking for main in -ldld""...
$ac_c
"
1>&6
echo
"configure:29
61
: checking for main in -ldld"
>
&5
echo
"configure:29
75
: checking for main in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2965,14 +2979,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
69
"configure"
#line 29
83
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:29
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:29
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3000,7 +3014,7 @@ else
fi
echo
$ac_n
"checking for main in -lln""...
$ac_c
"
1>&6
echo
"configure:30
04
: checking for main in -lln"
>
&5
echo
"configure:30
18
: checking for main in -lln"
>
&5
ac_lib_var
=
`
echo ln
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3008,14 +3022,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lln
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
12
"configure"
#line 30
26
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:30
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3043,7 +3057,7 @@ else
fi
echo
$ac_n
"checking for main in -lld""...
$ac_c
"
1>&6
echo
"configure:30
47
: checking for main in -lld"
>
&5
echo
"configure:30
61
: checking for main in -lld"
>
&5
ac_lib_var
=
`
echo
ld
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3051,14 +3065,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
55
"configure"
#line 30
69
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:30
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3086,7 +3100,7 @@ else
fi
echo
$ac_n
"checking for main in -lcompat""...
$ac_c
"
1>&6
echo
"configure:3
090
: checking for main in -lcompat"
>
&5
echo
"configure:3
104
: checking for main in -lcompat"
>
&5
ac_lib_var
=
`
echo
compat
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3094,14 +3108,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcompat
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
098
"configure"
#line 3
112
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:31
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3129,7 +3143,7 @@ else
fi
echo
$ac_n
"checking for main in -lBSD""...
$ac_c
"
1>&6
echo
"configure:31
33
: checking for main in -lBSD"
>
&5
echo
"configure:31
47
: checking for main in -lBSD"
>
&5
ac_lib_var
=
`
echo
BSD
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3137,14 +3151,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lBSD
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
41
"configure"
#line 31
55
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:31
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3172,7 +3186,7 @@ else
fi
echo
$ac_n
"checking for main in -lcrypt""...
$ac_c
"
1>&6
echo
"configure:31
76
: checking for main in -lcrypt"
>
&5
echo
"configure:31
90
: checking for main in -lcrypt"
>
&5
ac_lib_var
=
`
echo
crypt
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3180,14 +3194,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
84
"configure"
#line 31
98
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:3
191
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
205
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3215,7 +3229,7 @@ else
fi
echo
$ac_n
"checking for main in -lgen""...
$ac_c
"
1>&6
echo
"configure:32
19
: checking for main in -lgen"
>
&5
echo
"configure:32
33
: checking for main in -lgen"
>
&5
ac_lib_var
=
`
echo
gen
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3223,14 +3237,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lgen
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
27
"configure"
#line 32
41
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:32
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3258,7 +3272,7 @@ else
fi
echo
$ac_n
"checking for main in -lPW""...
$ac_c
"
1>&6
echo
"configure:32
62
: checking for main in -lPW"
>
&5
echo
"configure:32
76
: checking for main in -lPW"
>
&5
ac_lib_var
=
`
echo
PW
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3266,14 +3280,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lPW
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
70
"configure"
#line 32
84
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:32
77
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
91
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3302,12 +3316,12 @@ fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:33
06
: checking for ANSI C header files"
>
&5
echo
"configure:33
20
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
11
"configure"
#line 33
25
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -3315,7 +3329,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:33
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:33
33
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3332,7 +3346,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
36
"configure"
#line 33
50
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -3350,7 +3364,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
54
"configure"
#line 33
68
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -3371,7 +3385,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
75
"configure"
#line 33
89
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -3382,7 +3396,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:3
386
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:3
400
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -3406,12 +3420,12 @@ EOF
fi
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
"configure:34
10
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
echo
"configure:34
24
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
15
"configure"
#line 34
29
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
...
...
@@ -3427,7 +3441,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if
{
(
eval echo
configure:34
31
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:34
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_sys_wait_h
=
yes
else
...
...
@@ -3451,17 +3465,17 @@ for ac_hdr in arpa/inet.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:34
55
: checking for
$ac_hdr
"
>
&5
echo
"configure:34
69
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
60
"configure"
#line 34
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:34
65
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:34
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3491,17 +3505,17 @@ for ac_hdr in crypt.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
495
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
509
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
00
"configure"
#line 35
14
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:35
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:35
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3531,17 +3545,17 @@ for ac_hdr in dld.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:35
35
: checking for
$ac_hdr
"
>
&5
echo
"configure:35
49
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
40
"configure"
#line 35
54
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:35
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:35
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3571,17 +3585,17 @@ for ac_hdr in endian.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:35
75
: checking for
$ac_hdr
"
>
&5
echo
"configure:35
89
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
80
"configure"
#line 35
94
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:35
85
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:35
99
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3611,17 +3625,17 @@ for ac_hdr in float.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:36
15
: checking for
$ac_hdr
"
>
&5
echo
"configure:36
29
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
20
"configure"
#line 36
34
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:36
25
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:36
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3651,17 +3665,17 @@ for ac_hdr in fp_class.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:36
55
: checking for
$ac_hdr
"
>
&5
echo
"configure:36
69
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
60
"configure"
#line 36
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:36
65
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:36
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3691,17 +3705,17 @@ for ac_hdr in getopt.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
695
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
709
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
00
"configure"
#line 37
14
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3731,17 +3745,17 @@ for ac_hdr in history.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:37
35
: checking for
$ac_hdr
"
>
&5
echo
"configure:37
49
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
40
"configure"
#line 37
54
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3771,17 +3785,17 @@ for ac_hdr in ieeefp.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:37
75
: checking for
$ac_hdr
"
>
&5
echo
"configure:37
89
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
80
"configure"
#line 37
94
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
85
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
99
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3811,17 +3825,17 @@ for ac_hdr in limits.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:38
15
: checking for
$ac_hdr
"
>
&5
echo
"configure:38
29
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
20
"configure"
#line 38
34
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:38
25
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:38
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3851,17 +3865,17 @@ for ac_hdr in netdb.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:38
55
: checking for
$ac_hdr
"
>
&5
echo
"configure:38
69
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
60
"configure"
#line 38
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:38
65
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:38
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3891,17 +3905,17 @@ for ac_hdr in netinet/in.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
895
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
909
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
00
"configure"
#line 39
14
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:39
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:39
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3931,17 +3945,17 @@ for ac_hdr in readline.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:39
35
: checking for
$ac_hdr
"
>
&5
echo
"configure:39
49
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
40
"configure"
#line 39
54
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:39
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:39
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3971,17 +3985,17 @@ for ac_hdr in readline/history.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:39
75
: checking for
$ac_hdr
"
>
&5
echo
"configure:39
89
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
80
"configure"
#line 39
94
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:39
85
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:39
99
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4011,17 +4025,17 @@ for ac_hdr in readline/readline.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:40
15
: checking for
$ac_hdr
"
>
&5
echo
"configure:40
29
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
20
"configure"
#line 40
34
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:40
25
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:40
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4051,17 +4065,17 @@ for ac_hdr in sys/select.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:40
55
: checking for
$ac_hdr
"
>
&5
echo
"configure:40
69
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
60
"configure"
#line 40
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:40
65
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:40
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4091,17 +4105,17 @@ for ac_hdr in termios.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
095
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
109
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
00
"configure"
#line 41
14
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:41
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:41
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4131,17 +4145,17 @@ for ac_hdr in unistd.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:41
35
: checking for
$ac_hdr
"
>
&5
echo
"configure:41
49
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
40
"configure"
#line 41
54
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:41
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:41
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4171,17 +4185,17 @@ for ac_hdr in values.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:41
75
: checking for
$ac_hdr
"
>
&5
echo
"configure:41
89
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
80
"configure"
#line 41
94
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:41
85
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:41
99
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4211,17 +4225,17 @@ for ac_hdr in sys/param.h pwd.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:42
15
: checking for
$ac_hdr
"
>
&5
echo
"configure:42
29
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
20
"configure"
#line 42
34
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:42
25
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:42
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4249,12 +4263,12 @@ done
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:42
53
: checking for working const"
>
&5
echo
"configure:42
67
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
58
"configure"
#line 42
72
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -4303,7 +4317,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:43
07
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:43
21
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -4324,21 +4338,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:43
28
: checking for inline"
>
&5
echo
"configure:43
42
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
35
"configure"
#line 43
49
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:43
42
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:43
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -4366,12 +4380,12 @@ esac
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
"configure:43
70
: checking for preprocessor stringizing operator"
>
&5
echo
"configure:43
84
: checking for preprocessor stringizing operator"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stringize
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
75
"configure"
#line 43
89
"configure"
#include "confdefs.h"
#define x(y) #y
...
...
@@ -4401,12 +4415,12 @@ fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:44
05
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:44
19
: checking for uid_t in sys/types.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
10
"configure"
#line 44
24
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -4435,12 +4449,12 @@ EOF
fi
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:44
39
: checking for mode_t"
>
&5
echo
"configure:44
53
: checking for mode_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
44
"configure"
#line 44
58
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -4468,12 +4482,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:44
72
: checking for off_t"
>
&5
echo
"configure:44
86
: checking for off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
77
"configure"
#line 44
91
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -4501,12 +4515,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:45
05
: checking for size_t"
>
&5
echo
"configure:45
19
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
10
"configure"
#line 45
24
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -4534,12 +4548,12 @@ EOF
fi
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:45
38
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:45
52
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
43
"configure"
#line 45
57
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -4548,7 +4562,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:45
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:45
66
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -4569,12 +4583,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:45
73
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:45
87
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
78
"configure"
#line 45
92
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -4582,7 +4596,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:4
586
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
600
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -4603,12 +4617,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:46
07
: checking for tm_zone in struct tm"
>
&5
echo
"configure:46
21
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
12
"configure"
#line 46
26
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -4616,7 +4630,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:46
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
34
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -4636,12 +4650,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:46
40
: checking for tzname"
>
&5
echo
"configure:46
54
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
45
"configure"
#line 46
59
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -4651,7 +4665,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:46
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -4674,16 +4688,16 @@ fi
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:46
78
: checking for signed types"
>
&5
echo
"configure:46
92
: checking for signed types"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
80
"configure"
#line 46
94
"configure"
#include "confdefs.h"
int main() {
signed char c; signed short s; signed int i;
; return 0; }
EOF
if
{
(
eval echo
configure:4
687
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
701
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -4698,16 +4712,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:47
02
: checking for volatile"
>
&5
echo
"configure:47
16
: checking for volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
04
"configure"
#line 47
18
"configure"
#include "confdefs.h"
int main() {
extern volatile int i;
; return 0; }
EOF
if
{
(
eval echo
configure:47
11
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
25
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
else
...
...
@@ -4722,9 +4736,9 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for type of last arg to accept""...
$ac_c
"
1>&6
echo
"configure:47
26
: checking for type of last arg to accept"
>
&5
echo
"configure:47
40
: checking for type of last arg to accept"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
28
"configure"
#line 47
42
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <sys/types.h>
...
...
@@ -4734,7 +4748,7 @@ int main() {
int a = accept(1, (struct sockaddr *) 0, (size_t *) 0);
; return 0; }
EOF
if
{
(
eval echo
configure:47
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SOCKET_SIZE_TYPE size_t
...
...
@@ -4752,16 +4766,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:47
56
: checking for int timezone"
>
&5
echo
"configure:47
70
: checking for int timezone"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
58
"configure"
#line 47
72
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
int res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:47
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_INT_TIMEZONE 1
...
...
@@ -4776,16 +4790,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for gettimeofday args""...
$ac_c
"
1>&6
echo
"configure:47
80
: checking for gettimeofday args"
>
&5
echo
"configure:47
94
: checking for gettimeofday args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
82
"configure"
#line 47
96
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
struct timeval *tp; struct timezone *tzp; gettimeofday(tp,tzp);
; return 0; }
EOF
if
{
(
eval echo
configure:4
789
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
803
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_GETTIMEOFDAY_2_ARGS 1
...
...
@@ -4800,9 +4814,9 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:48
04
: checking for union semun"
>
&5
echo
"configure:48
18
: checking for union semun"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
06
"configure"
#line 48
20
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
...
...
@@ -4811,7 +4825,7 @@ int main() {
union semun semun;
; return 0; }
EOF
if
{
(
eval echo
configure:48
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_UNION_SEMUN 1
...
...
@@ -4826,9 +4840,9 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for fcntl(F_SETLK)""...
$ac_c
"
1>&6
echo
"configure:48
30
: checking for fcntl(F_SETLK)"
>
&5
echo
"configure:48
44
: checking for fcntl(F_SETLK)"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
32
"configure"
#line 48
46
"configure"
#include "confdefs.h"
#include <fcntl.h>
int main() {
...
...
@@ -4838,7 +4852,7 @@ struct flock lck;
fcntl(0, F_SETLK, &lck);
; return 0; }
EOF
if
{
(
eval echo
configure:48
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_FCNTL_SETLK 1
...
...
@@ -4853,7 +4867,7 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:48
57
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:48
71
: checking for 8-bit clean memcmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4861,7 +4875,7 @@ else
ac_cv_func_memcmp_clean
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
65
"configure"
#line 48
79
"configure"
#include "confdefs.h"
main()
...
...
@@ -4871,7 +4885,7 @@ main()
}
EOF
if
{
(
eval echo
configure:48
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:48
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_memcmp_clean
=
yes
else
...
...
@@ -4889,12 +4903,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.
${
ac_objext
}
"
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:4
893
: checking return type of signal handlers"
>
&5
echo
"configure:4
907
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
898
"configure"
#line 4
912
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -4911,7 +4925,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:49
15
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
29
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -4930,12 +4944,12 @@ EOF
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:49
34
: checking for vprintf"
>
&5
echo
"configure:49
48
: checking for vprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
39
"configure"
#line 49
53
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
...
...
@@ -4958,7 +4972,7 @@ vprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:49
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:49
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
else
...
...
@@ -4982,12 +4996,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:
4986
: checking for _doprnt"
>
&5
echo
"configure:
5000
: checking for _doprnt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
4991
"configure"
#line
5005
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
...
...
@@ -5010,7 +5024,7 @@ _doprnt();
; return 0; }
EOF
if
{
(
eval echo
configure:50
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
else
...
...
@@ -5037,12 +5051,12 @@ fi
for
ac_func
in
memmove sigsetjmp sysconf
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:50
41
: checking for
$ac_func
"
>
&5
echo
"configure:50
55
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
46
"configure"
#line 50
60
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5065,7 +5079,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:50
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5092,12 +5106,12 @@ done
for
ac_func
in
sigprocmask waitpid setsid fcvt
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:5
096
: checking for
$ac_func
"
>
&5
echo
"configure:5
110
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
01
"configure"
#line 51
15
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5120,7 +5134,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:51
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5147,12 +5161,12 @@ done
for
ac_func
in
fpclass fp_class fp_class_d class
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:51
51
: checking for
$ac_func
"
>
&5
echo
"configure:51
65
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
56
"configure"
#line 51
70
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5175,7 +5189,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:51
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5201,12 +5215,12 @@ done
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:52
05
: checking for snprintf"
>
&5
echo
"configure:52
19
: checking for snprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_snprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
10
"configure"
#line 52
24
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char snprintf(); below. */
...
...
@@ -5229,7 +5243,7 @@ snprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:52
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_snprintf=yes"
else
...
...
@@ -5253,12 +5267,12 @@ SNPRINTF='snprintf.o'
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:52
57
: checking for vsnprintf"
>
&5
echo
"configure:52
71
: checking for vsnprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vsnprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
62
"configure"
#line 52
76
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
...
...
@@ -5281,7 +5295,7 @@ vsnprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:52
85
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
99
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vsnprintf=yes"
else
...
...
@@ -5306,7 +5320,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
10
"configure"
#line 53
24
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5321,7 +5335,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
25
"configure"
#line 53
39
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5336,19 +5350,19 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for isinf""...
$ac_c
"
1>&6
echo
"configure:53
40
: checking for isinf"
>
&5
echo
"configure:53
54
: checking for isinf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_or_macro_isinf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
45
"configure"
#line 53
59
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
double x = 0.0; int res = isinf(x);
; return 0; }
EOF
if
{
(
eval echo
configure:53
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_or_macro_isinf
=
yes
else
...
...
@@ -5373,12 +5387,12 @@ else
fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:53
77
: checking for getrusage"
>
&5
echo
"configure:53
91
: checking for getrusage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getrusage
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
82
"configure"
#line 53
96
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getrusage(); below. */
...
...
@@ -5401,7 +5415,7 @@ getrusage();
; return 0; }
EOF
if
{
(
eval echo
configure:54
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:54
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_getrusage=yes"
else
...
...
@@ -5426,12 +5440,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:54
30
: checking for srandom"
>
&5
echo
"configure:54
44
: checking for srandom"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_srandom
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
35
"configure"
#line 54
49
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char srandom(); below. */
...
...
@@ -5454,7 +5468,7 @@ srandom();
; return 0; }
EOF
if
{
(
eval echo
configure:54
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:54
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_srandom=yes"
else
...
...
@@ -5479,12 +5493,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:54
83
: checking for gethostname"
>
&5
echo
"configure:54
97
: checking for gethostname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
488
"configure"
#line 5
502
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostname(); below. */
...
...
@@ -5507,7 +5521,7 @@ gethostname();
; return 0; }
EOF
if
{
(
eval echo
configure:55
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostname=yes"
else
...
...
@@ -5532,12 +5546,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:55
36
: checking for random"
>
&5
echo
"configure:55
50
: checking for random"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_random
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
41
"configure"
#line 55
55
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char random(); below. */
...
...
@@ -5560,7 +5574,7 @@ random();
; return 0; }
EOF
if
{
(
eval echo
configure:55
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_random=yes"
else
...
...
@@ -5585,12 +5599,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:5
589
: checking for inet_aton"
>
&5
echo
"configure:5
603
: checking for inet_aton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
594
"configure"
#line 5
608
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -5613,7 +5627,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:56
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_inet_aton=yes"
else
...
...
@@ -5638,12 +5652,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:56
42
: checking for strerror"
>
&5
echo
"configure:56
56
: checking for strerror"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strerror
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
47
"configure"
#line 56
61
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
...
...
@@ -5666,7 +5680,7 @@ strerror();
; return 0; }
EOF
if
{
(
eval echo
configure:56
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strerror=yes"
else
...
...
@@ -5692,12 +5706,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:5
696
: checking for strdup"
>
&5
echo
"configure:5
710
: checking for strdup"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strdup
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
01
"configure"
#line 57
15
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strdup(); below. */
...
...
@@ -5720,7 +5734,7 @@ strdup();
; return 0; }
EOF
if
{
(
eval echo
configure:57
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strdup=yes"
else
...
...
@@ -5745,12 +5759,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:57
49
: checking for strtol"
>
&5
echo
"configure:57
63
: checking for strtol"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtol
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
54
"configure"
#line 57
68
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
...
...
@@ -5773,7 +5787,7 @@ strtol();
; return 0; }
EOF
if
{
(
eval echo
configure:57
77
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
91
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strtol=yes"
else
...
...
@@ -5798,12 +5812,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:58
02
: checking for strtoul"
>
&5
echo
"configure:58
16
: checking for strtoul"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtoul
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
07
"configure"
#line 58
21
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
...
...
@@ -5826,7 +5840,7 @@ strtoul();
; return 0; }
EOF
if
{
(
eval echo
configure:58
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strtoul=yes"
else
...
...
@@ -5851,12 +5865,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:58
55
: checking for strcasecmp"
>
&5
echo
"configure:58
69
: checking for strcasecmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strcasecmp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
60
"configure"
#line 58
74
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -5879,7 +5893,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:58
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strcasecmp=yes"
else
...
...
@@ -5904,12 +5918,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:59
08
: checking for cbrt"
>
&5
echo
"configure:59
22
: checking for cbrt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
13
"configure"
#line 59
27
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -5932,7 +5946,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:59
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_cbrt=yes"
else
...
...
@@ -5953,7 +5967,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:59
57
: checking for cbrt in -lm"
>
&5
echo
"configure:59
71
: checking for cbrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5961,7 +5975,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
65
"configure"
#line 59
79
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -5972,7 +5986,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:59
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6010,12 +6024,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:60
14
: checking for rint"
>
&5
echo
"configure:60
28
: checking for rint"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
19
"configure"
#line 60
33
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -6038,7 +6052,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:60
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_rint=yes"
else
...
...
@@ -6059,7 +6073,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:60
63
: checking for rint in -lm"
>
&5
echo
"configure:60
77
: checking for rint in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6067,7 +6081,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
71
"configure"
#line 60
85
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6078,7 +6092,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:60
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6108,12 +6122,12 @@ fi
for
ac_func
in
getopt_long
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:61
12
: checking for
$ac_func
"
>
&5
echo
"configure:61
26
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
17
"configure"
#line 61
31
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6136,7 +6150,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:61
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6163,16 +6177,16 @@ done
echo
$ac_n
"checking for finite() macro or function""...
$ac_c
"
1>&6
echo
"configure:61
67
: checking for finite() macro or function"
>
&5
echo
"configure:61
81
: checking for finite() macro or function"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
69
"configure"
#line 61
83
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
int dummy=finite(1.0);
; return 0; }
EOF
if
{
(
eval echo
configure:61
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_FINITE 1
...
...
@@ -6189,12 +6203,12 @@ rm -f conftest*
HAVE_LONG_INT_64
=
0
echo
$ac_n
"checking whether 'long int' is 64 bits""...
$ac_c
"
1>&6
echo
"configure:6
193
: checking whether 'long int' is 64 bits"
>
&5
echo
"configure:6
207
: checking whether 'long int' is 64 bits"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
198
"configure"
#line 6
212
"configure"
#include "confdefs.h"
typedef long int int64;
...
...
@@ -6222,7 +6236,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:62
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:62
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
HAVE_LONG_INT_64
=
1
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6243,12 +6257,12 @@ fi
HAVE_LONG_LONG_INT_64
=
0
if
[
$HAVE_LONG_INT_64
-eq
0
]
;
then
echo
$ac_n
"checking whether 'long long int' is 64 bits""...
$ac_c
"
1>&6
echo
"configure:62
47
: checking whether 'long long int' is 64 bits"
>
&5
echo
"configure:62
61
: checking whether 'long long int' is 64 bits"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
52
"configure"
#line 62
66
"configure"
#include "confdefs.h"
typedef long long int int64;
...
...
@@ -6276,7 +6290,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:62
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:62
94
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
HAVE_LONG_LONG_INT_64
=
1
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6299,7 +6313,7 @@ fi
if
[
$HAVE_LONG_LONG_INT_64
-eq
1
]
;
then
if
[
x
$SNPRINTF
=
x
]
;
then
echo
$ac_n
"checking whether snprintf handles 'long long int' as %lld""...
$ac_c
"
1>&6
echo
"configure:63
03
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:63
17
: checking whether snprintf handles 'long long int' as %lld"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
# Force usage of our own snprintf, since we cannot test foreign snprintf
...
...
@@ -6308,7 +6322,7 @@ echo "configure:6303: checking whether snprintf handles 'long long int' as %lld"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
12
"configure"
#line 63
26
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6335,7 +6349,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:63
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:63
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""yes"
1>&6
INT64_FORMAT
=
'"%lld"'
...
...
@@ -6346,7 +6360,7 @@ else
rm
-fr
conftest
*
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking whether snprintf handles 'long long int' as %qd""...
$ac_c
"
1>&6
echo
"configure:63
50
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:63
64
: checking whether snprintf handles 'long long int' as %qd"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
# Force usage of our own snprintf, since we cannot test foreign snprintf
...
...
@@ -6355,7 +6369,7 @@ echo "configure:6350: checking whether snprintf handles 'long long int' as %qd"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
59
"configure"
#line 63
73
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6382,7 +6396,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:6
386
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
400
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""yes"
1>&6
INT64_FORMAT
=
'"%qd"'
...
...
@@ -6424,7 +6438,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:64
28
: checking alignment of short"
>
&5
echo
"configure:64
42
: checking alignment of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_alignof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6432,7 +6446,7 @@ else
ac_cv_alignof_short
=
'sizeof(short)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
36
"configure"
#line 64
50
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; short field; } mystruct;
...
...
@@ -6444,7 +6458,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:64
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:64
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_alignof_short
=
`
cat
conftestval
`
else
...
...
@@ -6464,7 +6478,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:64
68
: checking alignment of int"
>
&5
echo
"configure:64
82
: checking alignment of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_alignof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6472,7 +6486,7 @@ else
ac_cv_alignof_int
=
'sizeof(int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
76
"configure"
#line 64
90
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; int field; } mystruct;
...
...
@@ -6484,7 +6498,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:6
488
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
502
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_alignof_int
=
`
cat
conftestval
`
else
...
...
@@ -6504,7 +6518,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:65
08
: checking alignment of long"
>
&5
echo
"configure:65
22
: checking alignment of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_alignof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6512,7 +6526,7 @@ else
ac_cv_alignof_long
=
'sizeof(long)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
16
"configure"
#line 65
30
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long field; } mystruct;
...
...
@@ -6524,7 +6538,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:65
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:65
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_alignof_long
=
`
cat
conftestval
`
else
...
...
@@ -6545,7 +6559,7 @@ EOF
if
[
$HAVE_LONG_LONG_INT_64
-eq
1
]
;
then
echo
$ac_n
"checking alignment of long long int""...
$ac_c
"
1>&6
echo
"configure:65
49
: checking alignment of long long int"
>
&5
echo
"configure:65
63
: checking alignment of long long int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_alignof_long_long_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6553,7 +6567,7 @@ else
ac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
57
"configure"
#line 65
71
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
...
...
@@ -6565,7 +6579,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:65
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:65
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_alignof_long_long_int
=
`
cat
conftestval
`
else
...
...
@@ -6586,7 +6600,7 @@ EOF
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:6
590
: checking alignment of double"
>
&5
echo
"configure:6
604
: checking alignment of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_alignof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6594,7 +6608,7 @@ else
ac_cv_alignof_double
=
'sizeof(double)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
598
"configure"
#line 6
612
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; double field; } mystruct;
...
...
@@ -6606,7 +6620,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:66
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:66
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_alignof_double
=
`
cat
conftestval
`
else
...
...
@@ -6648,9 +6662,9 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:66
52
: checking for POSIX signal interface"
>
&5
echo
"configure:66
66
: checking for POSIX signal interface"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
54
"configure"
#line 66
68
"configure"
#include "confdefs.h"
#include <signal.h>
int main() {
...
...
@@ -6660,7 +6674,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
; return 0; }
EOF
if
{
(
eval echo
configure:66
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define USE_POSIX_SIGNALS 1
...
...
@@ -6684,7 +6698,7 @@ then
# Extract the first word of "tclsh", so it can be a program name with args.
set
dummy tclsh
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:6
688
: checking for
$ac_word
"
>
&5
echo
"configure:6
702
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TCLSH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6721,7 +6735,7 @@ fi
# Extract the first word of "tcl", so it can be a program name with args.
set
dummy tcl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:67
25
: checking for
$ac_word
"
>
&5
echo
"configure:67
39
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TCLSH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6764,7 +6778,7 @@ fi
if
test
"
$USE_TCL
"
=
true
then
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:67
68
: checking for tclConfig.sh"
>
&5
echo
"configure:67
82
: checking for tclConfig.sh"
>
&5
TCL_CONFIG_SH
=
library_dirs
=
if
test
-z
"
$TCL_DIRS
"
...
...
@@ -6793,7 +6807,7 @@ USE_TK=$USE_TCL # If TCL is disabled, disable TK
if
test
"
$USE_TK
"
=
true
then
echo
$ac_n
"checking for tkConfig.sh""...
$ac_c
"
1>&6
echo
"configure:6
797
: checking for tkConfig.sh"
>
&5
echo
"configure:6
811
: checking for tkConfig.sh"
>
&5
TK_CONFIG_SH
=
# library_dirs are set in the check for TCL
for
dir
in
$library_dirs
...
...
@@ -6815,7 +6829,7 @@ echo "configure:6797: checking for tkConfig.sh" >&5
# Extract the first word of "wish", so it can be a program name with args.
set
dummy wish
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:68
19
: checking for
$ac_word
"
>
&5
echo
"configure:68
33
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_WISH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6865,7 +6879,7 @@ if test "$USE_X" = true; then
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo
$ac_n
"checking for X""...
$ac_c
"
1>&6
echo
"configure:68
69
: checking for X"
>
&5
echo
"configure:68
83
: checking for X"
>
&5
# Check whether --with-x or --without-x was given.
if
test
"
${
with_x
+set
}
"
=
set
;
then
...
...
@@ -6927,12 +6941,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
31
"configure"
#line 69
45
"configure"
#include "confdefs.h"
#include <
$x_direct_test_include
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:69
36
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:69
50
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -7001,14 +7015,14 @@ if test "$ac_x_libraries" = NO; then
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$x_direct_test_library
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
05
"configure"
#line 70
19
"configure"
#include "confdefs.h"
int main() {
${
x_direct_test_function
}
()
; return 0; }
EOF
if
{
(
eval echo
configure:70
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:70
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
LIBS
=
"
$ac_save_LIBS
"
# We can link X programs with no special library path.
...
...
@@ -7114,17 +7128,17 @@ else
case
"
`
(
uname
-sr
)
2>/dev/null
`
"
in
"SunOS 5"
*
)
echo
$ac_n
"checking whether -R must be followed by a space""...
$ac_c
"
1>&6
echo
"configure:71
18
: checking whether -R must be followed by a space"
>
&5
echo
"configure:71
32
: checking whether -R must be followed by a space"
>
&5
ac_xsave_LIBS
=
"
$LIBS
"
;
LIBS
=
"
$LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
21
"configure"
#line 71
35
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:71
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:71
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_nospace
=
yes
else
...
...
@@ -7140,14 +7154,14 @@ rm -f conftest*
else
LIBS
=
"
$ac_xsave_LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
44
"configure"
#line 71
58
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:71
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:71
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_space
=
yes
else
...
...
@@ -7179,7 +7193,7 @@ rm -f conftest*
# libraries were built with DECnet support. And karl@cs.umb.edu says
# the Alpha needs dnet_stub (dnet does not exist).
echo
$ac_n
"checking for dnet_ntoa in -ldnet""...
$ac_c
"
1>&6
echo
"configure:71
83
: checking for dnet_ntoa in -ldnet"
>
&5
echo
"configure:71
97
: checking for dnet_ntoa in -ldnet"
>
&5
ac_lib_var
=
`
echo
dnet
'_'
dnet_ntoa |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7187,7 +7201,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
191
"configure"
#line 7
205
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7198,7 +7212,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:72
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:72
16
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7220,7 +7234,7 @@ fi
if
test
$ac_cv_lib_dnet_dnet_ntoa
=
no
;
then
echo
$ac_n
"checking for dnet_ntoa in -ldnet_stub""...
$ac_c
"
1>&6
echo
"configure:72
24
: checking for dnet_ntoa in -ldnet_stub"
>
&5
echo
"configure:72
38
: checking for dnet_ntoa in -ldnet_stub"
>
&5
ac_lib_var
=
`
echo
dnet_stub
'_'
dnet_ntoa |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7228,7 +7242,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet_stub
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
32
"configure"
#line 72
46
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7239,7 +7253,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:72
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:72
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7268,12 +7282,12 @@ fi
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to dickey@clark.net.
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:72
72
: checking for gethostbyname"
>
&5
echo
"configure:72
86
: checking for gethostbyname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
77
"configure"
#line 72
91
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -7296,7 +7310,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:73
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname=yes"
else
...
...
@@ -7317,7 +7331,7 @@ fi
if
test
$ac_cv_func_gethostbyname
=
no
;
then
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:73
21
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:73
35
: checking for gethostbyname in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
gethostbyname |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7325,7 +7339,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
29
"configure"
#line 73
43
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7336,7 +7350,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:73
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7366,12 +7380,12 @@ fi
# -lsocket must be given before -lnsl if both are needed.
# We assume that if connect needs -lnsl, so does gethostbyname.
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:73
70
: checking for connect"
>
&5
echo
"configure:73
84
: checking for connect"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_connect
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
75
"configure"
#line 73
89
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -7394,7 +7408,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:7
398
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
412
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_connect=yes"
else
...
...
@@ -7415,7 +7429,7 @@ fi
if
test
$ac_cv_func_connect
=
no
;
then
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:74
19
: checking for connect in -lsocket"
>
&5
echo
"configure:74
33
: checking for connect in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
connect |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7423,7 +7437,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
27
"configure"
#line 74
41
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7434,7 +7448,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:74
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:74
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7458,12 +7472,12 @@ fi
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
echo
$ac_n
"checking for remove""...
$ac_c
"
1>&6
echo
"configure:74
62
: checking for remove"
>
&5
echo
"configure:74
76
: checking for remove"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_remove
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
67
"configure"
#line 74
81
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
...
...
@@ -7486,7 +7500,7 @@ remove();
; return 0; }
EOF
if
{
(
eval echo
configure:7
490
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
504
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_remove=yes"
else
...
...
@@ -7507,7 +7521,7 @@ fi
if
test
$ac_cv_func_remove
=
no
;
then
echo
$ac_n
"checking for remove in -lposix""...
$ac_c
"
1>&6
echo
"configure:75
11
: checking for remove in -lposix"
>
&5
echo
"configure:75
25
: checking for remove in -lposix"
>
&5
ac_lib_var
=
`
echo
posix
'_'
remove |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7515,7 +7529,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
19
"configure"
#line 75
33
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7526,7 +7540,7 @@ int main() {
remove()
; return 0; }
EOF
if
{
(
eval echo
configure:75
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:75
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7550,12 +7564,12 @@ fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo
$ac_n
"checking for shmat""...
$ac_c
"
1>&6
echo
"configure:75
54
: checking for shmat"
>
&5
echo
"configure:75
68
: checking for shmat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_shmat
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
59
"configure"
#line 75
73
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
...
...
@@ -7578,7 +7592,7 @@ shmat();
; return 0; }
EOF
if
{
(
eval echo
configure:75
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:75
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_shmat=yes"
else
...
...
@@ -7599,7 +7613,7 @@ fi
if
test
$ac_cv_func_shmat
=
no
;
then
echo
$ac_n
"checking for shmat in -lipc""...
$ac_c
"
1>&6
echo
"configure:76
03
: checking for shmat in -lipc"
>
&5
echo
"configure:76
17
: checking for shmat in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
shmat |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7607,7 +7621,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
11
"configure"
#line 76
25
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7618,7 +7632,7 @@ int main() {
shmat()
; return 0; }
EOF
if
{
(
eval echo
configure:76
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:76
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7651,7 +7665,7 @@ fi
# libraries we check for below, so use a different variable.
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
echo
$ac_n
"checking for IceConnectionNumber in -lICE""...
$ac_c
"
1>&6
echo
"configure:76
55
: checking for IceConnectionNumber in -lICE"
>
&5
echo
"configure:76
69
: checking for IceConnectionNumber in -lICE"
>
&5
ac_lib_var
=
`
echo
ICE
'_'
IceConnectionNumber |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7659,7 +7673,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lICE
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
63
"configure"
#line 76
77
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7670,7 +7684,7 @@ int main() {
IceConnectionNumber()
; return 0; }
EOF
if
{
(
eval echo
configure:76
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:76
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7703,7 +7717,7 @@ fi
X11_LIBS
=
""
echo
$ac_n
"checking for XOpenDisplay in -lX11""...
$ac_c
"
1>&6
echo
"configure:77
07
: checking for XOpenDisplay in -lX11"
>
&5
echo
"configure:77
21
: checking for XOpenDisplay in -lX11"
>
&5
ac_lib_var
=
`
echo
X11
'_'
XOpenDisplay |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7711,7 +7725,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lX11
${
X_PRE_LIBS
}
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 77
15
"configure"
#line 77
29
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7722,7 +7736,7 @@ int main() {
XOpenDisplay()
; return 0; }
EOF
if
{
(
eval echo
configure:77
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:77
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7769,17 +7783,17 @@ then
PWD_INCDIR
=
no
ac_safe
=
`
echo
"pwd.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for pwd.h""...
$ac_c
"
1>&6
echo
"configure:77
73
: checking for pwd.h"
>
&5
echo
"configure:77
87
: checking for pwd.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 77
78
"configure"
#line 77
92
"configure"
#include "confdefs.h"
#include <pwd.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:77
83
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:77
97
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
src/configure.in
浏览文件 @
759fba48
...
...
@@ -545,6 +545,20 @@ AC_SUBST(DASH_N)
AC_SUBST(BACKSLASH_C)
AC_PROG_LEX
if test "$LEX" = "flex"; then
$LEX --version 2> /dev/null | grep -s '2\.5\.3' >& /dev/null
if test $? -eq 0 ; then
AC_MSG_WARN([
***
You have flex version 2.5.3, which is broken. Get version 2.5.4 or
a different lex.
(If you are using the official distribution of PostgreSQL then you
do not need to worry about this because the lexer files are
pre-generated. However, other software using flex is likely to be
broken as well.)
***])
fi
fi
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
...
...
src/include/catalog/catalog.h
浏览文件 @
759fba48
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: catalog.h,v 1.
8 1999/07/15 23:03:41 momjian
Exp $
* $Id: catalog.h,v 1.
9 2000/01/16 20:04:57 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,9 +15,9 @@
#include "access/tupdesc.h"
extern
char
*
relpath
(
char
*
relname
);
extern
bool
IsSystemRelationName
(
char
*
relname
);
extern
bool
IsSharedSystemRelationName
(
char
*
relname
);
extern
char
*
relpath
(
c
onst
c
har
*
relname
);
extern
bool
IsSystemRelationName
(
c
onst
c
har
*
relname
);
extern
bool
IsSharedSystemRelationName
(
c
onst
c
har
*
relname
);
extern
Oid
newoid
(
void
);
extern
void
fillatt
(
TupleDesc
att
);
...
...
src/include/commands/command.h
浏览文件 @
759fba48
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: command.h,v 1.1
5 1999/07/15 23:03:44 momjian
Exp $
* $Id: command.h,v 1.1
6 2000/01/16 20:04:58 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -38,12 +38,29 @@ extern void PerformPortalClose(char *name, CommandDest dest);
extern
void
PortalCleanup
(
Portal
portal
);
/*
* PerformAddAttribute
* Performs the POSTQUEL function ADD.
* ALTER TABLE variants
*/
extern
void
PerformAddAttribute
(
char
*
relationName
,
char
*
user
Name
,
bool
inh
,
ColumnDef
*
colDef
);
extern
void
AlterTableAddColumn
(
const
char
*
relation
Name
,
bool
inh
,
ColumnDef
*
colDef
);
extern
void
AlterTableAlterColumn
(
const
char
*
relationName
,
bool
inh
,
const
char
*
colName
,
Node
*
newDefault
);
extern
void
AlterTableDropColumn
(
const
char
*
relationName
,
bool
inh
,
const
char
*
colName
,
int
behavior
);
extern
void
AlterTableAddConstraint
(
const
char
*
relationName
,
bool
inh
,
Node
*
newConstraint
);
extern
void
AlterTableDropConstraint
(
const
char
*
relationName
,
bool
inh
,
const
char
*
constrName
,
int
behavior
);
/*
* LOCK
*/
extern
void
LockTableCommand
(
LockStmt
*
lockstmt
);
#endif
/* COMMAND_H */
src/include/nodes/nodes.h
浏览文件 @
759fba48
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nodes.h,v 1.6
0 2000/01/09 00:26:42 tgl
Exp $
* $Id: nodes.h,v 1.6
1 2000/01/16 20:04:58 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -145,7 +145,7 @@ typedef enum NodeTag
T_DeleteStmt
,
T_UpdateStmt
,
T_SelectStmt
,
T_AddAttr
Stmt
,
T_AlterTable
Stmt
,
T_AggregateStmt
,
T_ChangeACLStmt
,
T_ClosePortalStmt
,
...
...
src/include/nodes/parsenodes.h
浏览文件 @
759fba48
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parsenodes.h,v 1.9
3 2000/01/14 22:11:3
8 petere Exp $
* $Id: parsenodes.h,v 1.9
4 2000/01/16 20:04:5
8 petere Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -84,16 +84,20 @@ typedef struct Query
*****************************************************************************/
/* ----------------------
*
Add Column Statement
*
Alter Table
* ----------------------
*/
typedef
struct
AddAttrStmt
/* The fields are used in different ways by the different variants of this command */
typedef
struct
AlterTableStmt
{
NodeTag
type
;
char
*
relname
;
/* the relation to add attr */
bool
inh
;
/* add recursively to children? */
Node
*
colDef
;
/* the attribute definition */
}
AddAttrStmt
;
char
subtype
;
/* A = add, T = alter, D = drop, C = add constr, X = drop constr */
char
*
relname
;
/* table to work on */
bool
inh
;
/* recursively on children? */
char
*
name
;
/* column or constraint name to act on */
Node
*
def
;
/* definition of new column or constraint */
int
behavior
;
/* CASCADE or RESTRICT drop behavior */
}
AlterTableStmt
;
/* ----------------------
* Change ACL Statement
...
...
src/include/utils/acl.h
浏览文件 @
759fba48
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: acl.h,v 1.2
2 1999/07/15 23:04:19 momjian
Exp $
* $Id: acl.h,v 1.2
3 2000/01/16 20:04:59 petere
Exp $
*
* NOTES
* For backward-compatability purposes we have to allow there
...
...
@@ -168,7 +168,7 @@ extern AclId get_grosysid(char *groname);
extern
char
*
get_groname
(
AclId
grosysid
);
extern
int32
pg_aclcheck
(
char
*
relname
,
char
*
usename
,
AclMode
mode
);
extern
int32
pg_ownercheck
(
c
har
*
usename
,
char
*
value
,
int
cacheid
);
extern
int32
pg_ownercheck
(
c
onst
char
*
usename
,
const
char
*
value
,
int
cacheid
);
extern
int32
pg_func_ownercheck
(
char
*
usename
,
char
*
funcname
,
int
nargs
,
Oid
*
arglist
);
extern
int32
pg_aggr_ownercheck
(
char
*
usename
,
char
*
aggname
,
...
...
src/pl/plpgsql/src/Makefile.in
浏览文件 @
759fba48
...
...
@@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.1
8 1999/10/13 11:38:40 momjian
Exp $
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.1
9 2000/01/16 20:04:59 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -79,6 +79,6 @@ pl_scan.c: scan.l
clean
:
clean-shlib
rm
-f
lib
$(NAME)
.a
rm
-f
*
.o
pl.tab.h pl_gram.c pl_scan.c
rm
-f
*
.o
# And the garbage that might have been left behind by partial build:
rm
-f
y.tab.c
y.tab.h
lex.yy.c
src/test/regress/run_check.sh
浏览文件 @
759fba48
#!/bin/sh
#
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.
6 2000/01/09 20:54:36 tgl
Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.
7 2000/01/16 20:05:00 petere
Exp $
# ----------
# Check call syntax
...
...
@@ -37,6 +37,16 @@ export LOGDIR
export
TIMDIR
export
PGPORT
# Needed by psql and pg_encoding (if you run multibyte).
# I hope this covers all platforms with shared libraries,
# otherwise feel free to cover your platform here as well.
if
[
"
$LD_LIBRARY_PATH
"
]
;
then
old_LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
"
LD_LIBRARY_PATH
=
"
$LIBDIR
:
$LD_LIBARY_PATH
"
else
LD_LIBRARY_PATH
=
"
$LIBDIR
"
fi
export
LD_LIBRARY_PATH
# ----------
# Get the commandline parameters
...
...
@@ -111,6 +121,7 @@ trap ' echo ""
echo ""
fi
echo ""
LD_LIBRARY_PATH="$old_LD_LIBRARY_PATH"
exit 1
'
2 15
...
...
@@ -434,5 +445,6 @@ done | tee run_check.out 2>&1
echo
"=============== Terminating regression postmaster ================"
kill
-15
$PMPID
LD_LIBRARY_PATH
=
"
$old_LD_LIBRARY_PATH
"
exit
0
src/tools/release_prep
浏览文件 @
759fba48
...
...
@@ -31,34 +31,39 @@ cd src
./configure
# Generate parser's
gram and lex files.
# Generate parser's
yacc and lex files
cd
backend/parser
rm
-f
gram.c parse.h scan.c
$MAKE
gram.c parse.h scan.c
cd
../..
# Generate bootstrap parser's yacc and lex files
cd
backend/bootstrap
rm
-f
bootstrap_tokens.h bootparse.c bootscanner.c
$MAKE
bootstrap_tokens.h bootparse.c bootscanner.c
cd
../..
# Generate ecpg preprocessor's
gram and lex files.
# Generate ecpg preprocessor's
yacc and lex files
cd
interfaces/ecpg/preproc
rm
-f
preproc.c preproc.h pgc.c
$MAKE
preproc.c preproc.h pgc.c
cd
../../..
# Generate plpgsql's yacc and lex files
cd
pl/plpgsql
rm
-rf
pl_scan.c pl.tab.h pl_gram.c
$MAKE
pl_scan.c pl.tab.h pl_gram.c
cd
../..
# Generate psql's help on SQL command from the SGML docs
cd
bin/psql
rm
-f
sql_help.h
$MAKE
sql_help.h
cd
../..
# Clean up
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录