Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
79abd73e
Commit
79abd73e
authored
Aug 27, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove configure tests for `signed', `volatile', and signal handler args;
the harm potential outweighs the possible benefits.
parent
bfdd6a71
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
229 additions
and
377 deletions
+229
-377
aclocal.m4
aclocal.m4
+5
-36
config/c-compiler.m4
config/c-compiler.m4
+1
-32
configure
configure
+183
-247
configure.in
configure.in
+0
-2
src/backend/commands/async.c
src/backend/commands/async.c
+2
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+12
-12
src/backend/storage/lmgr/proc.c
src/backend/storage/lmgr/proc.c
+4
-4
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+12
-12
src/bin/psql/common.c
src/bin/psql/common.c
+2
-2
src/bin/psql/common.h
src/bin/psql/common.h
+2
-2
src/include/commands/async.h
src/include/commands/async.h
+2
-2
src/include/config.h.in
src/include/config.h.in
+1
-21
src/include/tcop/tcopprot.h
src/include/tcop/tcopprot.h
+3
-3
No files found.
aclocal.m4
View file @
79abd73e
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
4 2000/08/26 21:11:44
petere Exp $
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
5 2000/08/27 19:00:00
petere Exp $
# This comes from the official Autoconf macro archive at
# <http://research.cys.de/autoconf-archive/>
# (I removed the $ before the Id CVS keyword below.)
...
...
@@ -65,38 +65,7 @@ extern accept ($ac_cv_func_accept_arg1, $ac_cv_func_accept_arg2, $ac_cv_func_acc
AC_DEFINE_UNQUOTED(ACCEPT_TYPE_ARG3,$ac_cv_func_accept_arg3)
])
# Macros to detect C compiler features
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.4 2000/08/26 21:11:44 petere Exp $
# PGAC_C_SIGNED
# -------------
# Check if the C compiler understands signed types.
# (Of course any ISO C compiler should, what is this still doing here?)
AC_DEFUN([PGAC_C_SIGNED],
[AC_CACHE_CHECK(for signed types, pgac_cv_c_signed,
[AC_TRY_COMPILE([],
[signed char c; signed short s; signed int i;],
[pgac_cv_c_signed=yes],
[pgac_cv_c_signed=no])])
if test x"$pgac_cv_c_signed" = xno ; then
AC_DEFINE(signed,, [Define empty if the C compiler does not understand signed types])
fi])# PGAC_C_SIGNED
# PGAC_C_VOLATILE
# ---------------
# Check if the C compiler understands `volatile'. Note that if it doesn't
# then this will potentially break the program semantics.
AC_DEFUN([PGAC_C_VOLATILE],
[AC_CACHE_CHECK(for volatile, pgac_cv_c_volatile,
[AC_TRY_COMPILE([],
[extern volatile int i;],
[pgac_cv_c_volatile=yes],
[pgac_cv_c_volatile=no])])
if test x"$pgac_cv_c_volatile" = xno ; then
AC_DEFINE(volatile,, [Define empty if the C compiler does not understand `volatile'])
fi])# PGAC_C_VOLATILE
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.5 2000/08/27 19:00:00 petere Exp $
...
...
@@ -185,7 +154,7 @@ undefine([AC_TYPE_NAME])dnl
undefine([AC_CV_NAME])dnl
])# PGAC_CHECK_ALIGNOF
# Macros that test various C library quirks
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
4 2000/08/26 21:11:44
petere Exp $
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
5 2000/08/27 19:00:00
petere Exp $
# PGAC_VAR_INT_TIMEZONE
...
...
@@ -264,7 +233,7 @@ fi
HAVE_POSIX_SIGNALS=$pgac_cv_func_posix_signals
AC_SUBST(HAVE_POSIX_SIGNALS)])# PGAC_FUNC_POSIX_SIGNALS
# Macros to detect certain C++ features
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
4 2000/08/26 21:11:44
petere Exp $
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
5 2000/08/27 19:00:00
petere Exp $
# PGAC_CLASS_STRING
...
...
@@ -333,7 +302,7 @@ fi])# PGAC_CXX_NAMESPACE_STD
#
# Autoconf macros for configuring the build of Python extension modules
#
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
4 2000/08/26 21:11:44
petere Exp $
# $Header: /cvsroot/pgsql/aclocal.m4,v 1.
5 2000/08/27 19:00:00
petere Exp $
#
# PGAC_PROG_PYTHON
...
...
config/c-compiler.m4
View file @
79abd73e
# Macros to detect C compiler features
# $Header: /cvsroot/pgsql/config/c-compiler.m4,v 1.1 2000/06/11 11:39:46 petere Exp $
# PGAC_C_SIGNED
# -------------
# Check if the C compiler understands signed types.
# (Of course any ISO C compiler should, what is this still doing here?)
AC_DEFUN([PGAC_C_SIGNED],
[AC_CACHE_CHECK(for signed types, pgac_cv_c_signed,
[AC_TRY_COMPILE([],
[signed char c; signed short s; signed int i;],
[pgac_cv_c_signed=yes],
[pgac_cv_c_signed=no])])
if test x"$pgac_cv_c_signed" = xno ; then
AC_DEFINE(signed,, [Define empty if the C compiler does not understand signed types])
fi])# PGAC_C_SIGNED
# PGAC_C_VOLATILE
# ---------------
# Check if the C compiler understands `volatile'. Note that if it doesn't
# then this will potentially break the program semantics.
AC_DEFUN([PGAC_C_VOLATILE],
[AC_CACHE_CHECK(for volatile, pgac_cv_c_volatile,
[AC_TRY_COMPILE([],
[extern volatile int i;],
[pgac_cv_c_volatile=yes],
[pgac_cv_c_volatile=no])])
if test x"$pgac_cv_c_volatile" = xno ; then
AC_DEFINE(volatile,, [Define empty if the C compiler does not understand `volatile'])
fi])# PGAC_C_VOLATILE
# $Header: /cvsroot/pgsql/config/c-compiler.m4,v 1.2 2000/08/27 19:00:22 petere Exp $
...
...
configure
View file @
79abd73e
...
...
@@ -4463,77 +4463,13 @@ EOF
fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:4468: checking for signed types"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_signed
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4473 "configure"
#include "confdefs.h"
int main() {
signed char c; signed short s; signed int i;
; return 0; }
EOF
if
{
(
eval echo
configure:4480:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_signed
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
pgac_cv_c_signed
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$pgac_cv_c_signed
"
1>&6
if
test
x
"
$pgac_cv_c_signed
"
=
xno
;
then
cat
>>
confdefs.h
<<
\
EOF
#define signed
EOF
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:4500: checking for volatile"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_volatile
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4505 "configure"
#include "confdefs.h"
int main() {
extern volatile int i;
; return 0; }
EOF
if
{
(
eval echo
configure:4512:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_c_volatile
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
pgac_cv_c_volatile
=
no
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$pgac_cv_c_volatile
"
1>&6
if
test
x
"
$pgac_cv_c_volatile
"
=
xno
;
then
cat
>>
confdefs.h
<<
\
EOF
#define volatile
EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:4
532
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:4
468
: 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 4
537
"configure"
#line 4
473
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -4541,7 +4477,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:4
545
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
481
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -4562,12 +4498,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:45
66
: checking for tm_zone in struct tm"
>
&5
echo
"configure:45
02
: 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 45
71
"configure"
#line 45
07
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -4575,7 +4511,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:45
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:45
15
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -4595,12 +4531,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:45
99
: checking for tzname"
>
&5
echo
"configure:45
35
: 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 4
604
"configure"
#line 4
540
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -4610,7 +4546,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:4
614
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
550
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -4632,12 +4568,12 @@ EOF
fi
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:4
636
: checking for union semun"
>
&5
echo
"configure:4
572
: checking for union semun"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_union_semun
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
641
"configure"
#line 4
577
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ipc.h>
...
...
@@ -4646,7 +4582,7 @@ int main() {
union semun semun;
; return 0; }
EOF
if
{
(
eval echo
configure:4
650
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
586
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_union_semun
=
yes
else
...
...
@@ -4671,19 +4607,19 @@ fi
## Functions, global variables
##
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:46
75
: checking for int timezone"
>
&5
echo
"configure:46
11
: checking for int timezone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_timezone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
80
"configure"
#line 46
16
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
int res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:46
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_var_int_timezone
=
yes
else
...
...
@@ -4703,7 +4639,7 @@ EOF
fi
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
"configure:4
707
: checking types of arguments for accept()"
>
&5
echo
"configure:4
643
: checking types of arguments for accept()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_accept_arg1
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4717,7 +4653,7 @@ else
for
ac_cv_func_accept_arg2
in
'struct sockaddr *'
'const struct sockaddr *'
'void *'
;
do
for
ac_cv_func_accept_arg3
in
'int'
'size_t'
'socklen_t'
'unsigned int'
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
721
"configure"
#line 4
657
"configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
...
...
@@ -4730,7 +4666,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:4
734
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
670
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_not_found
=
no
;
break
3
else
...
...
@@ -4767,12 +4703,12 @@ EOF
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
"configure:47
71
: checking whether gettimeofday takes only one argument"
>
&5
echo
"configure:47
07
: checking whether gettimeofday takes only one argument"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_gettimeofday_1arg
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
76
"configure"
#line 47
12
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
...
...
@@ -4781,7 +4717,7 @@ struct timezone *tzp;
gettimeofday(tp,tzp);
; return 0; }
EOF
if
{
(
eval echo
configure:47
85
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
21
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
pgac_cv_func_gettimeofday_1arg
=
no
else
...
...
@@ -4802,12 +4738,12 @@ EOF
fi
echo
$ac_n
"checking for fcntl(F_SETLK)""...
$ac_c
"
1>&6
echo
"configure:4
806
: checking for fcntl(F_SETLK)"
>
&5
echo
"configure:4
742
: checking for fcntl(F_SETLK)"
>
&5
case
$host_os
in
linux
*
)
echo
"
$ac_t
""broken on Linux"
1>&6
;;
*
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
811
"configure"
#line 4
747
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <fcntl.h>
...
...
@@ -4819,7 +4755,7 @@ lck.l_type = F_WRLCK;
fcntl(0, F_SETLK, &lck);
; return 0; }
EOF
if
{
(
eval echo
configure:4
823
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
759
:
\"
$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
...
...
@@ -4838,12 +4774,12 @@ esac
for
ac_func
in
fcvt getopt_long memmove pstat setproctitle setsid sigprocmask sysconf waitpid
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
842
: checking for
$ac_func
"
>
&5
echo
"configure:4
778
: 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 4
847
"configure"
#line 4
783
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4866,7 +4802,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:48
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
06
:
\"
$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
...
...
@@ -4892,12 +4828,12 @@ done
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
"configure:48
96
: checking for PS_STRINGS"
>
&5
echo
"configure:48
32
: checking for PS_STRINGS"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_PS_STRINGS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
901
"configure"
#line 4
837
"configure"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <sys/exec.h>
...
...
@@ -4907,7 +4843,7 @@ PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
EOF
if
{
(
eval echo
configure:4
911
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
847
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_var_PS_STRINGS
=
yes
else
...
...
@@ -4929,12 +4865,12 @@ fi
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:4
933
: checking for snprintf"
>
&5
echo
"configure:4
869
: 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 4
938
"configure"
#line 4
874
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char snprintf(); below. */
...
...
@@ -4957,7 +4893,7 @@ snprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:4
961
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
897
:
\"
$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
...
...
@@ -4981,12 +4917,12 @@ SNPRINTF='snprintf.o'
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:49
85
: checking for vsnprintf"
>
&5
echo
"configure:49
21
: 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 49
90
"configure"
#line 49
26
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
...
...
@@ -5009,7 +4945,7 @@ vsnprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:
5013
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
4949
:
\"
$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
...
...
@@ -5034,7 +4970,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line
5038
"configure"
#line
4974
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5049,7 +4985,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line
5053
"configure"
#line
4989
"configure"
#include "confdefs.h"
#include <stdio.h>
EOF
...
...
@@ -5066,12 +5002,12 @@ rm -f conftest*
# do this one the hard way in case isinf() is a macro
echo
$ac_n
"checking for isinf""...
$ac_c
"
1>&6
echo
"configure:50
70
: checking for isinf"
>
&5
echo
"configure:50
06
: checking for isinf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_isinf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
75
"configure"
#line 50
11
"configure"
#include "confdefs.h"
#include <math.h>
...
...
@@ -5079,7 +5015,7 @@ int main() {
double x = 0.0; int res = isinf(x);
; return 0; }
EOF
if
{
(
eval echo
configure:50
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_isinf
=
yes
else
...
...
@@ -5105,12 +5041,12 @@ else
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:5
109
: checking for
$ac_func
"
>
&5
echo
"configure:5
045
: 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 5
114
"configure"
#line 5
050
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5133,7 +5069,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:5
137
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
073
:
\"
$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
...
...
@@ -5161,12 +5097,12 @@ fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:51
65
: checking for getrusage"
>
&5
echo
"configure:51
01
: 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 51
70
"configure"
#line 51
06
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getrusage(); below. */
...
...
@@ -5189,7 +5125,7 @@ getrusage();
; return 0; }
EOF
if
{
(
eval echo
configure:51
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
29
:
\"
$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
...
...
@@ -5214,12 +5150,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:5
218
: checking for srandom"
>
&5
echo
"configure:5
154
: 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 5
223
"configure"
#line 5
159
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char srandom(); below. */
...
...
@@ -5242,7 +5178,7 @@ srandom();
; return 0; }
EOF
if
{
(
eval echo
configure:5
246
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
182
:
\"
$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
...
...
@@ -5267,12 +5203,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:52
71
: checking for gethostname"
>
&5
echo
"configure:52
07
: 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 52
76
"configure"
#line 52
12
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostname(); below. */
...
...
@@ -5295,7 +5231,7 @@ gethostname();
; return 0; }
EOF
if
{
(
eval echo
configure:52
99
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
35
:
\"
$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
...
...
@@ -5320,12 +5256,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:5
324
: checking for random"
>
&5
echo
"configure:5
260
: 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 5
329
"configure"
#line 5
265
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char random(); below. */
...
...
@@ -5348,7 +5284,7 @@ random();
; return 0; }
EOF
if
{
(
eval echo
configure:5
352
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
288
:
\"
$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
...
...
@@ -5373,12 +5309,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:53
77
: checking for inet_aton"
>
&5
echo
"configure:53
13
: 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 53
82
"configure"
#line 53
18
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -5401,7 +5337,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:5
405
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
341
:
\"
$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
...
...
@@ -5426,12 +5362,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:5
430
: checking for strerror"
>
&5
echo
"configure:5
366
: 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 5
435
"configure"
#line 5
371
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
...
...
@@ -5454,7 +5390,7 @@ strerror();
; return 0; }
EOF
if
{
(
eval echo
configure:5
458
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
394
:
\"
$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
...
...
@@ -5480,12 +5416,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:54
84
: checking for strdup"
>
&5
echo
"configure:54
20
: 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 54
89
"configure"
#line 54
25
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strdup(); below. */
...
...
@@ -5508,7 +5444,7 @@ strdup();
; return 0; }
EOF
if
{
(
eval echo
configure:5
512
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
448
:
\"
$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
...
...
@@ -5533,12 +5469,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:5
537
: checking for strtol"
>
&5
echo
"configure:5
473
: 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 5
542
"configure"
#line 5
478
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
...
...
@@ -5561,7 +5497,7 @@ strtol();
; return 0; }
EOF
if
{
(
eval echo
configure:55
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
01
:
\"
$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
...
...
@@ -5586,12 +5522,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:55
90
: checking for strtoul"
>
&5
echo
"configure:55
26
: 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 55
95
"configure"
#line 55
31
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
...
...
@@ -5614,7 +5550,7 @@ strtoul();
; return 0; }
EOF
if
{
(
eval echo
configure:5
618
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
554
:
\"
$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
...
...
@@ -5639,12 +5575,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:5
643
: checking for strcasecmp"
>
&5
echo
"configure:5
579
: 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 5
648
"configure"
#line 5
584
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -5667,7 +5603,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:56
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
07
:
\"
$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
...
...
@@ -5692,12 +5628,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:56
96
: checking for cbrt"
>
&5
echo
"configure:56
32
: 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 5
701
"configure"
#line 5
637
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -5720,7 +5656,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:5
724
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
660
:
\"
$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
...
...
@@ -5741,7 +5677,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:5
745
: checking for cbrt in -lm"
>
&5
echo
"configure:5
681
: 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
...
...
@@ -5749,7 +5685,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
753
"configure"
#line 5
689
"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
...
...
@@ -5760,7 +5696,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:57
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
00
:
\"
$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
...
...
@@ -5798,12 +5734,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:5
802
: checking for rint"
>
&5
echo
"configure:5
738
: 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 5
807
"configure"
#line 5
743
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -5826,7 +5762,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:5
830
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
766
:
\"
$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
...
...
@@ -5847,7 +5783,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:5
851
: checking for rint in -lm"
>
&5
echo
"configure:5
787
: 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
...
...
@@ -5855,7 +5791,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
859
"configure"
#line 5
795
"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
...
...
@@ -5866,7 +5802,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:58
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
06
:
\"
$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
...
...
@@ -5893,7 +5829,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
97
"configure"
#line 58
33
"configure"
#include "confdefs.h"
#include <readline.h>
EOF
...
...
@@ -5907,7 +5843,7 @@ EOF
else
rm
-rf
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
911
"configure"
#line 5
847
"configure"
#include "confdefs.h"
#include <readline/readline.h>
EOF
...
...
@@ -5929,12 +5865,12 @@ rm -f conftest*
for
ac_func
in
filename_completion_function
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:5
933
: checking for
$ac_func
"
>
&5
echo
"configure:5
869
: 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 5
938
"configure"
#line 5
874
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5957,7 +5893,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:5
961
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
897
:
\"
$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
...
...
@@ -5976,7 +5912,7 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
80
"configure"
#line 59
16
"configure"
#include "confdefs.h"
#include <readline.h>
EOF
...
...
@@ -5990,7 +5926,7 @@ EOF
else
rm
-rf
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
94
"configure"
#line 59
30
"configure"
#include "confdefs.h"
#include <readline/readline.h>
EOF
...
...
@@ -6018,16 +5954,16 @@ done
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:
6022
: checking for finite"
>
&5
echo
"configure:
5958
: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
6024
"configure"
#line
5960
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
int dummy=finite(1.0);
; return 0; }
EOF
if
{
(
eval echo
configure:
6031
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
5967
:
\"
$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
...
...
@@ -6042,16 +5978,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
"configure:
6046
: checking for sigsetjmp"
>
&5
echo
"configure:
5982
: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
6048
"configure"
#line
5984
"configure"
#include "confdefs.h"
#include <setjmp.h>
int main() {
sigjmp_buf x; sigsetjmp(x, 1);
; return 0; }
EOF
if
{
(
eval echo
configure:
6055
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
5991
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SIGSETJMP 1
...
...
@@ -6070,12 +6006,12 @@ if test "${enable_syslog+set}" = set; then
enableval
=
"
$enable_syslog
"
case
$enableval
in
y|ye|yes
)
echo
$ac_n
"checking for syslog""...
$ac_c
"
1>&6
echo
"configure:60
74
: checking for syslog"
>
&5
echo
"configure:60
10
: checking for syslog"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_syslog
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
79
"configure"
#line 60
15
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syslog(); below. */
...
...
@@ -6098,7 +6034,7 @@ syslog();
; return 0; }
EOF
if
{
(
eval echo
configure:6
102
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
038
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_syslog=yes"
else
...
...
@@ -6129,7 +6065,7 @@ fi
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:6
133
: checking whether long int is 64 bits"
>
&5
echo
"configure:6
069
: checking whether long int is 64 bits"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_int_64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6138,7 +6074,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
142
"configure"
#line 6
078
"configure"
#include "confdefs.h"
typedef long int int64;
...
...
@@ -6167,7 +6103,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:61
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:61
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_type_long_int_64
=
yes
else
...
...
@@ -6194,7 +6130,7 @@ fi
if
test
x
"
$HAVE_LONG_INT_64
"
=
x
"no"
;
then
echo
$ac_n
"checking whether long long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:61
98
: checking whether long long int is 64 bits"
>
&5
echo
"configure:61
34
: checking whether long long int is 64 bits"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_long_int_64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6203,7 +6139,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
207
"configure"
#line 6
143
"configure"
#include "confdefs.h"
typedef long long int int64;
...
...
@@ -6232,7 +6168,7 @@ main() {
exit(! does_int64_work());
}
EOF
if
{
(
eval echo
configure:6
236
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
172
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_type_long_long_int_64
=
yes
else
...
...
@@ -6263,7 +6199,7 @@ fi
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
if
[
x
$SNPRINTF
=
x
]
;
then
echo
$ac_n
"checking whether snprintf handles 'long long int' as %lld""...
$ac_c
"
1>&6
echo
"configure:62
67
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:62
03
: 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
...
...
@@ -6272,7 +6208,7 @@ echo "configure:6267: checking whether snprintf handles 'long long int' as %lld"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
76
"configure"
#line 62
12
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6299,7 +6235,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:6
303
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
239
:
\"
$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"'
...
...
@@ -6310,7 +6246,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:6
314
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:6
250
: 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
...
...
@@ -6319,7 +6255,7 @@ echo "configure:6314: checking whether snprintf handles 'long long int' as %qd"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
323
"configure"
#line 6
259
"configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long int int64;
...
...
@@ -6346,7 +6282,7 @@ main() {
exit(! does_int64_snprintf_work());
}
EOF
if
{
(
eval echo
configure:6
350
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
286
:
\"
$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"'
...
...
@@ -6385,7 +6321,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:63
89
: checking alignment of short"
>
&5
echo
"configure:63
25
: checking alignment of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6393,7 +6329,7 @@ else
pgac_cv_alignof_short
=
'sizeof(short)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
97
"configure"
#line 63
33
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; short field; } mystruct;
...
...
@@ -6405,7 +6341,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:6
409
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
345
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_short
=
`
cat
conftestval
`
else
...
...
@@ -6425,7 +6361,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:6
429
: checking alignment of int"
>
&5
echo
"configure:6
365
: checking alignment of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6433,7 +6369,7 @@ else
pgac_cv_alignof_int
=
'sizeof(int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
437
"configure"
#line 6
373
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; int field; } mystruct;
...
...
@@ -6445,7 +6381,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:6
449
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
385
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_int
=
`
cat
conftestval
`
else
...
...
@@ -6465,7 +6401,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:64
69
: checking alignment of long"
>
&5
echo
"configure:64
05
: checking alignment of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6473,7 +6409,7 @@ else
pgac_cv_alignof_long
=
'sizeof(long)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
77
"configure"
#line 64
13
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long field; } mystruct;
...
...
@@ -6485,7 +6421,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:64
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:64
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_long
=
`
cat
conftestval
`
else
...
...
@@ -6506,7 +6442,7 @@ EOF
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
echo
$ac_n
"checking alignment of long long int""...
$ac_c
"
1>&6
echo
"configure:6
510
: checking alignment of long long int"
>
&5
echo
"configure:6
446
: checking alignment of long long int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long_long_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6514,7 +6450,7 @@ else
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
518
"configure"
#line 6
454
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
...
...
@@ -6526,7 +6462,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:6
530
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
466
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_long_long_int
=
`
cat
conftestval
`
else
...
...
@@ -6547,7 +6483,7 @@ EOF
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:6
551
: checking alignment of double"
>
&5
echo
"configure:6
487
: checking alignment of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6555,7 +6491,7 @@ else
pgac_cv_alignof_double
=
'sizeof(double)'
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
559
"configure"
#line 6
495
"configure"
#include "confdefs.h"
#include <stdio.h>
struct { char filler; double field; } mystruct;
...
...
@@ -6567,7 +6503,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:65
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:65
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
pgac_cv_alignof_double
=
`
cat
conftestval
`
else
...
...
@@ -6605,12 +6541,12 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:6
609
: checking for POSIX signal interface"
>
&5
echo
"configure:6
545
: checking for POSIX signal interface"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_posix_signals
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
614
"configure"
#line 6
550
"configure"
#include "confdefs.h"
#include <signal.h>
...
...
@@ -6621,7 +6557,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
; return 0; }
EOF
if
{
(
eval echo
configure:6
625
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
561
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
pgac_cv_func_posix_signals
=
yes
else
...
...
@@ -6650,7 +6586,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
654
: checking for
$ac_word
"
>
&5
echo
"configure:6
590
: 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
...
...
@@ -6687,7 +6623,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:66
91
: checking for
$ac_word
"
>
&5
echo
"configure:66
27
: 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
...
...
@@ -6730,7 +6666,7 @@ fi
if
test
"
$USE_TCL
"
=
true
then
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:6
734
: checking for tclConfig.sh"
>
&5
echo
"configure:6
670
: checking for tclConfig.sh"
>
&5
TCL_CONFIG_SH
=
library_dirs
=
if
test
-z
"
$TCL_DIRS
"
...
...
@@ -6759,7 +6695,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
763
: checking for tkConfig.sh"
>
&5
echo
"configure:6
699
: checking for tkConfig.sh"
>
&5
TK_CONFIG_SH
=
# library_dirs are set in the check for TCL
for
dir
in
$library_dirs
...
...
@@ -6781,7 +6717,7 @@ echo "configure:6763: 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:67
85
: checking for
$ac_word
"
>
&5
echo
"configure:67
21
: 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
...
...
@@ -6832,7 +6768,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:6
836
: checking for X"
>
&5
echo
"configure:6
772
: checking for X"
>
&5
# Check whether --with-x or --without-x was given.
if
test
"
${
with_x
+set
}
"
=
set
;
then
...
...
@@ -6894,12 +6830,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
98
"configure"
#line 68
34
"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:6
903
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:6
839
:
\"
$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
*
...
...
@@ -6968,14 +6904,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 69
72
"configure"
#line 69
08
"configure"
#include "confdefs.h"
int main() {
${
x_direct_test_function
}
()
; return 0; }
EOF
if
{
(
eval echo
configure:69
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:69
15
:
\"
$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.
...
...
@@ -7081,17 +7017,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:70
85
: checking whether -R must be followed by a space"
>
&5
echo
"configure:70
21
: 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 70
88
"configure"
#line 70
24
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:70
95
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:70
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_nospace
=
yes
else
...
...
@@ -7107,14 +7043,14 @@ rm -f conftest*
else
LIBS
=
"
$ac_xsave_LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
111
"configure"
#line 7
047
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:7
118
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
054
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_space
=
yes
else
...
...
@@ -7146,7 +7082,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:7
150
: checking for dnet_ntoa in -ldnet"
>
&5
echo
"configure:7
086
: 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
...
...
@@ -7154,7 +7090,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
158
"configure"
#line 7
094
"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
...
...
@@ -7165,7 +7101,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:71
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:71
05
:
\"
$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
...
...
@@ -7187,7 +7123,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:71
91
: checking for dnet_ntoa in -ldnet_stub"
>
&5
echo
"configure:71
27
: 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
...
...
@@ -7195,7 +7131,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet_stub
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
99
"configure"
#line 71
35
"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
...
...
@@ -7206,7 +7142,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:7
210
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
146
:
\"
$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
...
...
@@ -7235,12 +7171,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:7
239
: checking for gethostbyname"
>
&5
echo
"configure:7
175
: 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 7
244
"configure"
#line 7
180
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -7263,7 +7199,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:72
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:72
03
:
\"
$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
...
...
@@ -7284,7 +7220,7 @@ fi
if
test
$ac_cv_func_gethostbyname
=
no
;
then
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:72
88
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:72
24
: 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
...
...
@@ -7292,7 +7228,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
96
"configure"
#line 72
32
"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
...
...
@@ -7303,7 +7239,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:7
307
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
243
:
\"
$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
...
...
@@ -7333,12 +7269,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:7
337
: checking for connect"
>
&5
echo
"configure:7
273
: 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 7
342
"configure"
#line 7
278
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -7361,7 +7297,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:73
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
01
:
\"
$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
...
...
@@ -7382,7 +7318,7 @@ fi
if
test
$ac_cv_func_connect
=
no
;
then
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:73
86
: checking for connect in -lsocket"
>
&5
echo
"configure:73
22
: 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
...
...
@@ -7390,7 +7326,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
94
"configure"
#line 73
30
"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
...
...
@@ -7401,7 +7337,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:7
405
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
341
:
\"
$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
...
...
@@ -7425,12 +7361,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:7
429
: checking for remove"
>
&5
echo
"configure:7
365
: 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 7
434
"configure"
#line 7
370
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
...
...
@@ -7453,7 +7389,7 @@ remove();
; return 0; }
EOF
if
{
(
eval echo
configure:7
457
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
393
:
\"
$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
...
...
@@ -7474,7 +7410,7 @@ fi
if
test
$ac_cv_func_remove
=
no
;
then
echo
$ac_n
"checking for remove in -lposix""...
$ac_c
"
1>&6
echo
"configure:74
78
: checking for remove in -lposix"
>
&5
echo
"configure:74
14
: 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
...
...
@@ -7482,7 +7418,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
86
"configure"
#line 74
22
"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
...
...
@@ -7493,7 +7429,7 @@ int main() {
remove()
; return 0; }
EOF
if
{
(
eval echo
configure:74
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:74
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
...
...
@@ -7517,12 +7453,12 @@ fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo
$ac_n
"checking for shmat""...
$ac_c
"
1>&6
echo
"configure:7
521
: checking for shmat"
>
&5
echo
"configure:7
457
: 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 7
526
"configure"
#line 7
462
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
...
...
@@ -7545,7 +7481,7 @@ shmat();
; return 0; }
EOF
if
{
(
eval echo
configure:7
549
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
485
:
\"
$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
...
...
@@ -7566,7 +7502,7 @@ fi
if
test
$ac_cv_func_shmat
=
no
;
then
echo
$ac_n
"checking for shmat in -lipc""...
$ac_c
"
1>&6
echo
"configure:75
70
: checking for shmat in -lipc"
>
&5
echo
"configure:75
06
: 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
...
...
@@ -7574,7 +7510,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
78
"configure"
#line 75
14
"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
...
...
@@ -7585,7 +7521,7 @@ int main() {
shmat()
; return 0; }
EOF
if
{
(
eval echo
configure:75
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:75
25
:
\"
$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
...
...
@@ -7618,7 +7554,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:7
622
: checking for IceConnectionNumber in -lICE"
>
&5
echo
"configure:7
558
: 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
...
...
@@ -7626,7 +7562,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lICE
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
630
"configure"
#line 7
566
"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
...
...
@@ -7637,7 +7573,7 @@ int main() {
IceConnectionNumber()
; return 0; }
EOF
if
{
(
eval echo
configure:7
641
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
577
:
\"
$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
...
...
@@ -7670,7 +7606,7 @@ fi
X11_LIBS
=
""
echo
$ac_n
"checking for XOpenDisplay in -lX11""...
$ac_c
"
1>&6
echo
"configure:76
74
: checking for XOpenDisplay in -lX11"
>
&5
echo
"configure:76
10
: 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
...
...
@@ -7678,7 +7614,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lX11
${
X_PRE_LIBS
}
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
82
"configure"
#line 76
18
"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
...
...
@@ -7689,7 +7625,7 @@ int main() {
XOpenDisplay()
; return 0; }
EOF
if
{
(
eval echo
configure:76
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:76
29
:
\"
$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
...
...
configure.in
View file @
79abd73e
...
...
@@ -817,8 +817,6 @@ fi
AC_C_CONST
AC_C_INLINE
AC_C_STRINGIZE
PGAC_C_SIGNED
PGAC_C_VOLATILE
AC_STRUCT_TIMEZONE
PGAC_UNION_SEMUN
...
...
src/backend/commands/async.c
View file @
79abd73e
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.6
6 2000/07/08 03:04:12 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.6
7 2000/08/27 19:00:24 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -587,7 +587,7 @@ AtAbort_Notify()
*/
void
Async_NotifyHandler
(
SIGNAL_ARGS
)
Async_NotifyHandler
(
int
signum
)
{
/*
...
...
src/backend/postmaster/postmaster.c
View file @
79abd73e
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.16
0 2000/08/20 10:55:33
petere Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.16
1 2000/08/27 19:00:26
petere Exp $
*
* NOTES
*
...
...
@@ -231,10 +231,10 @@ static void pmdaemonize(int argc, char *argv[]);
static
Port
*
ConnCreate
(
int
serverFd
);
static
void
ConnFree
(
Port
*
port
);
static
void
reset_shared
(
int
port
);
static
void
SIGHUP_handler
(
SIGNAL_ARGS
);
static
void
pmdie
(
SIGNAL_ARGS
);
static
void
reaper
(
SIGNAL_ARGS
);
static
void
dumpstatus
(
SIGNAL_ARGS
);
static
void
SIGHUP_handler
(
int
signum
);
static
void
pmdie
(
int
signum
);
static
void
reaper
(
int
signum
);
static
void
dumpstatus
(
int
signum
);
static
void
CleanupProc
(
int
pid
,
int
exitstatus
);
static
int
DoBackend
(
Port
*
port
);
static
void
ExitPostmaster
(
int
status
);
...
...
@@ -246,7 +246,7 @@ static int processCancelRequest(Port *port, PacketLen len, void *pkt);
static
int
initMasks
(
fd_set
*
rmask
,
fd_set
*
wmask
);
static
long
PostmasterRandom
(
void
);
static
void
RandomSalt
(
char
*
salt
);
static
void
SignalChildren
(
SIGNAL_ARGS
);
static
void
SignalChildren
(
int
signum
);
static
int
CountChildren
(
void
);
static
bool
CreateOptsFile
(
int
argc
,
char
*
argv
[]);
...
...
@@ -1266,7 +1266,7 @@ reset_shared(int port)
* main loop
*/
static
void
SIGHUP_handler
(
SIGNAL_ARGS
)
SIGHUP_handler
(
int
signum
)
{
got_SIGHUP
=
true
;
if
(
Shutdown
>
SmartShutdown
)
...
...
@@ -1281,14 +1281,14 @@ SIGHUP_handler(SIGNAL_ARGS)
* pmdie -- signal handler for cleaning up after a kill signal.
*/
static
void
pmdie
(
SIGNAL_ARGS
)
pmdie
(
int
signum
)
{
PG_SETMASK
(
&
BlockSig
);
if
(
DebugLvl
>=
1
)
elog
(
DEBUG
,
"pmdie %d"
,
postgres_signal_arg
);
elog
(
DEBUG
,
"pmdie %d"
,
signum
);
switch
(
postgres_signal_arg
)
switch
(
signum
)
{
case
SIGUSR2
:
...
...
@@ -1399,7 +1399,7 @@ pmdie(SIGNAL_ARGS)
* Reaper -- signal handler to cleanup after a backend (child) dies.
*/
static
void
reaper
(
SIGNAL_ARGS
)
reaper
(
int
signum
)
{
/* GH: replace waitpid for !HAVE_WAITPID. Does this work ? */
#ifdef HAVE_WAITPID
...
...
@@ -1970,7 +1970,7 @@ ExitPostmaster(int status)
}
static
void
dumpstatus
(
SIGNAL_ARGS
)
dumpstatus
(
int
signum
)
{
Dlelem
*
curr
;
...
...
src/backend/storage/lmgr/proc.c
View file @
79abd73e
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.7
7 2000/07/31 01:16:24 inou
e Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.7
8 2000/08/27 19:00:28 peter
e Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -47,7 +47,7 @@
* This is so that we can support more backends. (system-wide semaphore
* sets run out pretty fast.) -ay 4/95
*
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.7
7 2000/07/31 01:16:24 inou
e Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.7
8 2000/08/27 19:00:28 peter
e Exp $
*/
#include <sys/time.h>
#include <unistd.h>
...
...
@@ -68,7 +68,7 @@
#include "storage/proc.h"
void
HandleDeadLock
(
SIGNAL_ARGS
);
void
HandleDeadLock
(
int
signum
);
static
void
ProcFreeAllSemaphores
(
void
);
static
bool
GetOffWaitqueue
(
PROC
*
);
...
...
@@ -812,7 +812,7 @@ ProcAddLock(SHM_QUEUE *elem)
* --------------------
*/
void
HandleDeadLock
(
SIGNAL_ARGS
)
HandleDeadLock
(
int
signum
)
{
LOCK
*
mywaitlock
;
...
...
src/backend/tcop/postgres.c
View file @
79abd73e
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.17
1 2000/08/11 23:45:35 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.17
2 2000/08/27 19:00:31 petere
Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -83,7 +83,7 @@ CommandDest whereToSendOutput = Debug;
extern
void
StartupXLOG
(
void
);
extern
void
ShutdownXLOG
(
void
);
extern
void
HandleDeadLock
(
SIGNAL_ARGS
);
extern
void
HandleDeadLock
(
int
signum
);
extern
char
XLogDir
[];
extern
char
ControlFilePath
[];
...
...
@@ -129,9 +129,9 @@ int XfuncMode = 0;
static
int
InteractiveBackend
(
StringInfo
inBuf
);
static
int
SocketBackend
(
StringInfo
inBuf
);
static
int
ReadCommand
(
StringInfo
inBuf
);
static
void
SigHupHandler
(
SIGNAL_ARGS
);
static
void
FloatExceptionHandler
(
SIGNAL_ARGS
);
static
void
quickdie
(
SIGNAL_ARGS
);
static
void
SigHupHandler
(
int
signum
);
static
void
FloatExceptionHandler
(
int
signum
);
static
void
quickdie
(
int
signum
);
/*
* Flag to mark SIGHUP. Whenever the main loop comes around it
...
...
@@ -705,13 +705,13 @@ pg_exec_query_dest(char *query_string, /* string to execute */
*/
void
handle_warn
(
SIGNAL_ARGS
)
handle_warn
(
int
signum
)
{
siglongjmp
(
Warn_restart
,
1
);
}
static
void
quickdie
(
SIGNAL_ARGS
)
quickdie
(
int
signum
)
{
PG_SETMASK
(
&
BlockSig
);
elog
(
NOTICE
,
"Message from PostgreSQL backend:"
...
...
@@ -735,7 +735,7 @@ quickdie(SIGNAL_ARGS)
* Abort transaction and exit
*/
void
die
(
SIGNAL_ARGS
)
die
(
int
signum
)
{
PG_SETMASK
(
&
BlockSig
);
...
...
@@ -752,7 +752,7 @@ die(SIGNAL_ARGS)
/* signal handler for floating point exception */
static
void
FloatExceptionHandler
(
SIGNAL_ARGS
)
FloatExceptionHandler
(
int
signum
)
{
elog
(
ERROR
,
"floating point exception!"
" The last floating point operation either exceeded legal ranges"
...
...
@@ -761,7 +761,7 @@ FloatExceptionHandler(SIGNAL_ARGS)
/* signal handler for query cancel signal from postmaster */
static
void
QueryCancelHandler
(
SIGNAL_ARGS
)
QueryCancelHandler
(
int
signum
)
{
QueryCancel
=
true
;
LockWaitCancel
();
...
...
@@ -779,7 +779,7 @@ CancelQuery(void)
}
static
void
SigHupHandler
(
SIGNAL_ARGS
)
SigHupHandler
(
int
signum
)
{
got_SIGHUP
=
true
;
}
...
...
@@ -1404,7 +1404,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
if
(
!
IsUnderPostmaster
)
{
puts
(
"
\n
POSTGRES backend interactive interface "
);
puts
(
"$Revision: 1.17
1 $ $Date: 2000/08/11 23:45:35
$
\n
"
);
puts
(
"$Revision: 1.17
2 $ $Date: 2000/08/27 19:00:31
$
\n
"
);
}
/*
...
...
src/bin/psql/common.c
View file @
79abd73e
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.2
1 2000/07/02 15:21:17
petere Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.2
2 2000/08/27 19:00:34
petere Exp $
*/
#include "postgres.h"
#include "common.h"
...
...
@@ -252,7 +252,7 @@ volatile bool cancel_pressed;
#define write_stderr(String) write(fileno(stderr), String, strlen(String))
void
handle_sigint
(
SIGNAL_ARGS
)
handle_sigint
(
int
signum
)
{
/* Don't muck around if copying in or prompting for a password. */
if
((
copy_in_state
&&
pset
.
cur_cmd_interactive
)
||
prompt_state
)
...
...
src/bin/psql/common.h
View file @
79abd73e
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.1
0 2000/04/12 17:16:22 momjian
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.1
1 2000/08/27 19:00:36 petere
Exp $
*/
#ifndef COMMON_H
#define COMMON_H
...
...
@@ -34,7 +34,7 @@ extern volatile bool cancel_pressed;
extern
PGconn
*
cancelConn
;
#ifndef WIN32
void
handle_sigint
(
SIGNAL_ARGS
);
void
handle_sigint
(
int
signum
);
#endif
/* not WIN32 */
...
...
src/include/commands/async.h
View file @
79abd73e
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: async.h,v 1.1
4 2000/05/31 00:28:37
petere Exp $
* $Id: async.h,v 1.1
5 2000/08/27 19:00:41
petere Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -25,7 +25,7 @@ extern void AtCommit_Notify(void);
extern
void
AtAbort_Notify
(
void
);
/* signal handler for inbound notifies (SIGUSR2) */
extern
void
Async_NotifyHandler
(
SIGNAL_ARGS
);
extern
void
Async_NotifyHandler
(
int
signum
);
/*
* enable/disable processing of inbound notifies directly from signal handler.
...
...
src/include/config.h.in
View file @
79abd73e
...
...
@@ -8,7 +8,7 @@
* or in config.h afterwards. Of course, if you edit config.h, then your
* changes will be overwritten the next time you run configure.
*
* $Id: config.h.in,v 1.13
2 2000/08/26 21:53:40 tgl
Exp $
* $Id: config.h.in,v 1.13
3 2000/08/27 19:00:39 petere
Exp $
*/
#ifndef CONFIG_H
...
...
@@ -300,12 +300,6 @@
/* Define as your compiler's spelling of "inline", or empty if no inline. */
#undef inline
/* Define signed as empty if your compiler doesn't grok "signed char" etc */
#undef signed
/* Define volatile as empty if your compiler doesn't grok volatile. */
#undef volatile
/* Define if your cpp understands the ANSI stringizing operators in macros */
#undef HAVE_STRINGIZE
...
...
@@ -588,18 +582,4 @@ extern void srandom(unsigned int seed);
#include "os.h"
/*
* The following is used as the arg list for signal handlers. Any ports
* that take something other than an int argument should override this in
* the port-specific os.h file. Note that variable names are required
* because it is used in both the prototypes as well as the definitions.
* Note also the long name. We expect that this won't collide with
* other names causing compiler warnings.
*/
#ifndef SIGNAL_ARGS
#define SIGNAL_ARGS int postgres_signal_arg
#endif
#endif /* CONFIG_H */
src/include/tcop/tcopprot.h
View file @
79abd73e
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: tcopprot.h,v 1.3
1 2000/06/28 03:33:28 tgl
Exp $
* $Id: tcopprot.h,v 1.3
2 2000/08/27 19:00:41 petere
Exp $
*
* OLD COMMENTS
* This file was created so that other c files could get the two
...
...
@@ -41,8 +41,8 @@ extern void pg_exec_query_dest(char *query_string,
#endif
/* BOOTSTRAP_INCLUDE */
extern
void
handle_warn
(
SIGNAL_ARGS
);
extern
void
die
(
SIGNAL_ARGS
);
extern
void
handle_warn
(
int
signum
);
extern
void
die
(
int
signum
);
extern
void
CancelQuery
(
void
);
extern
int
PostgresMain
(
int
argc
,
char
*
argv
[],
int
real_argc
,
char
*
real_argv
[]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment