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
eb1b1643
Commit
eb1b1643
authored
Apr 14, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work with Readline 4.2.
parent
25efda22
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
131 additions
and
126 deletions
+131
-126
configure
configure
+118
-97
configure.in
configure.in
+5
-22
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+5
-4
src/include/config.h.in
src/include/config.h.in
+3
-3
No files found.
configure
View file @
eb1b1643
...
@@ -6616,12 +6616,12 @@ cat > conftest.$ac_ext <<EOF
...
@@ -6616,12 +6616,12 @@ cat > conftest.$ac_ext <<EOF
#line 6617 "configure"
#line 6617 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_READLINE_H
# include <readline.h>
#endif
#ifdef HAVE_READLINE_READLINE_H
#ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>
# include <readline/readline.h>
#elif defined(HAVE_READLINE_H)
# include <readline.h>
#endif
#endif
int main() {
int main() {
rl_completion_append_character = 'x';
rl_completion_append_character = 'x';
; return 0; }
; return 0; }
...
@@ -6641,53 +6641,74 @@ else
...
@@ -6641,53 +6641,74 @@ else
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
for
ac_func
in
rl_completion_matches
# Check whether readline's filename_completion_function is declared.
do
# Some prehistoric versions of readline, in particular those shipped
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
# with earlier Cygwins don't have this declared, although it's in the
echo
"configure:6648: checking for
$ac_func
"
>
&5
# library.
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"checking whether filename_completion_function is declared""...
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
"configure:6651: checking whether filename_completion_function is declared"
>
&5
if
test
"
$ac_cv_header_readline_h
"
=
yes
;
then
_readline_header
=
'readline.h'
elif
test
"
$ac_cv_header_readline_readline_h
"
=
yes
;
then
_readline_header
=
'readline/readline.h'
else
else
_readline_header
=
'xxx'
cat
>
conftest.
$ac_ext
<<
EOF
fi
#line 6653 "configure"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6660 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$_readline_header
>
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char
$ac_func
();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
#else
$ac_func
();
#endif
; return 0; }
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
{
(
eval echo
configure:6676:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
egrep
"filename_completion_function"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
eval
"ac_cv_func_
$ac_func
=yes"
#define HAVE_FILENAME_COMPLETION_FUNCTION_DECL 1
EOF
echo
"
$ac_t
""yes"
1>&6
else
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
rm
-rf
conftest
*
e
cho
"
$ac_t
""no"
1>&6
e
val
"ac_cv_func_
$ac_func
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_func
=
HAVE_
`
echo
$ac_func
|
tr
'abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
EOF
else
echo
"
$ac_t
""no"
1>&6
fi
done
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:6
682
: checking for finite"
>
&5
echo
"configure:6
703
: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
684
"configure"
#line 6
705
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <math.h>
#include <math.h>
int main() {
int main() {
int dummy=finite(1.0);
int dummy=finite(1.0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
691
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
712
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_FINITE 1
#define HAVE_FINITE 1
...
@@ -6702,16 +6723,16 @@ fi
...
@@ -6702,16 +6723,16 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for sigsetjmp""...
$ac_c
"
1>&6
echo
"configure:67
06
: checking for sigsetjmp"
>
&5
echo
"configure:67
27
: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
08
"configure"
#line 67
29
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <setjmp.h>
#include <setjmp.h>
int main() {
int main() {
sigjmp_buf x; sigsetjmp(x, 1);
sigjmp_buf x; sigsetjmp(x, 1);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:67
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SIGSETJMP 1
#define HAVE_SIGSETJMP 1
...
@@ -6731,12 +6752,12 @@ if test x"${enable_syslog+set}" = xset; then
...
@@ -6731,12 +6752,12 @@ if test x"${enable_syslog+set}" = xset; then
case
$enable_syslog
in
case
$enable_syslog
in
yes
)
yes
)
echo
$ac_n
"checking for syslog""...
$ac_c
"
1>&6
echo
$ac_n
"checking for syslog""...
$ac_c
"
1>&6
echo
"configure:67
35
: checking for syslog"
>
&5
echo
"configure:67
56
: checking for syslog"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_syslog
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_syslog
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
40
"configure"
#line 67
61
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syslog(); below. */
which can conflict with char syslog(); below. */
...
@@ -6759,7 +6780,7 @@ syslog();
...
@@ -6759,7 +6780,7 @@ syslog();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:67
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_syslog=yes"
eval
"ac_cv_func_syslog=yes"
else
else
...
@@ -6798,19 +6819,19 @@ fi
...
@@ -6798,19 +6819,19 @@ fi
echo
$ac_n
"checking for optreset""...
$ac_c
"
1>&6
echo
$ac_n
"checking for optreset""...
$ac_c
"
1>&6
echo
"configure:68
02
: checking for optreset"
>
&5
echo
"configure:68
23
: checking for optreset"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_optreset
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_optreset
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
07
"configure"
#line 68
28
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
extern int optreset; optreset = 1;
extern int optreset; optreset = 1;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:68
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:68
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_var_int_optreset
=
yes
pgac_cv_var_int_optreset
=
yes
else
else
...
@@ -6836,16 +6857,16 @@ fi
...
@@ -6836,16 +6857,16 @@ fi
# This check should come after all modifications of compiler or linker
# This check should come after all modifications of compiler or linker
# variables, and before any other run tests.
# variables, and before any other run tests.
echo
$ac_n
"checking test program""...
$ac_c
"
1>&6
echo
$ac_n
"checking test program""...
$ac_c
"
1>&6
echo
"configure:68
40
: checking test program"
>
&5
echo
"configure:68
61
: checking test program"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""cross-compiling"
1>&6
echo
"
$ac_t
""cross-compiling"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
45
"configure"
#line 68
66
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
EOF
EOF
if
{
(
eval echo
configure:68
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:68
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
echo
"
$ac_t
""ok"
1>&6
echo
"
$ac_t
""ok"
1>&6
else
else
...
@@ -6865,7 +6886,7 @@ fi
...
@@ -6865,7 +6886,7 @@ fi
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:68
69
: checking whether long int is 64 bits"
>
&5
echo
"configure:68
90
: checking whether long int is 64 bits"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_int_64
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_int_64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -6874,7 +6895,7 @@ else
...
@@ -6874,7 +6895,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
78
"configure"
#line 68
99
"configure"
#include "confdefs.h"
#include "confdefs.h"
typedef long int int64;
typedef long int int64;
...
@@ -6903,7 +6924,7 @@ main() {
...
@@ -6903,7 +6924,7 @@ main() {
exit(! does_int64_work());
exit(! does_int64_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:69
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:69
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_type_long_int_64
=
yes
pgac_cv_type_long_int_64
=
yes
else
else
...
@@ -6930,7 +6951,7 @@ fi
...
@@ -6930,7 +6951,7 @@ fi
if
test
x
"
$HAVE_LONG_INT_64
"
=
x
"no"
;
then
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
$ac_n
"checking whether long long int is 64 bits""...
$ac_c
"
1>&6
echo
"configure:69
34
: checking whether long long int is 64 bits"
>
&5
echo
"configure:69
55
: checking whether long long int is 64 bits"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_long_int_64
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_type_long_long_int_64
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -6939,7 +6960,7 @@ else
...
@@ -6939,7 +6960,7 @@ else
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
echo
"configure: warning: 64 bit arithmetic disabled when cross-compiling"
1>&2
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
43
"configure"
#line 69
64
"configure"
#include "confdefs.h"
#include "confdefs.h"
typedef long long int int64;
typedef long long int int64;
...
@@ -6968,7 +6989,7 @@ main() {
...
@@ -6968,7 +6989,7 @@ main() {
exit(! does_int64_work());
exit(! does_int64_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:69
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:69
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_type_long_long_int_64
=
yes
pgac_cv_type_long_long_int_64
=
yes
else
else
...
@@ -6998,7 +7019,7 @@ fi
...
@@ -6998,7 +7019,7 @@ fi
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
02
"configure"
#line 70
23
"configure"
#include "confdefs.h"
#include "confdefs.h"
#define INT64CONST(x) x##LL
#define INT64CONST(x) x##LL
...
@@ -7008,7 +7029,7 @@ int main() {
...
@@ -7008,7 +7029,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:70
12
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:70
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LL_CONSTANTS 1
#define HAVE_LL_CONSTANTS 1
...
@@ -7026,7 +7047,7 @@ fi
...
@@ -7026,7 +7047,7 @@ fi
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
if
[
x
$SNPRINTF
=
x
]
;
then
if
[
x
$SNPRINTF
=
x
]
;
then
echo
$ac_n
"checking whether snprintf handles 'long long int' as %lld""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether snprintf handles 'long long int' as %lld""...
$ac_c
"
1>&6
echo
"configure:70
30
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:70
51
: checking whether snprintf handles 'long long int' as %lld"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
echo
"
$ac_t
""assuming not on target machine"
1>&6
# Force usage of our own snprintf, since we cannot test foreign snprintf
# Force usage of our own snprintf, since we cannot test foreign snprintf
...
@@ -7035,7 +7056,7 @@ echo "configure:7030: checking whether snprintf handles 'long long int' as %lld"
...
@@ -7035,7 +7056,7 @@ echo "configure:7030: checking whether snprintf handles 'long long int' as %lld"
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
39
"configure"
#line 70
60
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
typedef long long int int64;
typedef long long int int64;
...
@@ -7062,7 +7083,7 @@ main() {
...
@@ -7062,7 +7083,7 @@ main() {
exit(! does_int64_snprintf_work());
exit(! does_int64_snprintf_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:70
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:70
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
INT64_FORMAT
=
'"%lld"'
INT64_FORMAT
=
'"%lld"'
...
@@ -7073,7 +7094,7 @@ else
...
@@ -7073,7 +7094,7 @@ else
rm
-fr
conftest
*
rm
-fr
conftest
*
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking whether snprintf handles 'long long int' as %qd""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether snprintf handles 'long long int' as %qd""...
$ac_c
"
1>&6
echo
"configure:70
77
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:70
98
: checking whether snprintf handles 'long long int' as %qd"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""assuming not on target machine"
1>&6
echo
"
$ac_t
""assuming not on target machine"
1>&6
# Force usage of our own snprintf, since we cannot test foreign snprintf
# Force usage of our own snprintf, since we cannot test foreign snprintf
...
@@ -7082,7 +7103,7 @@ echo "configure:7077: checking whether snprintf handles 'long long int' as %qd"
...
@@ -7082,7 +7103,7 @@ echo "configure:7077: checking whether snprintf handles 'long long int' as %qd"
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
086
"configure"
#line 7
107
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
typedef long long int int64;
typedef long long int int64;
...
@@ -7109,7 +7130,7 @@ main() {
...
@@ -7109,7 +7130,7 @@ main() {
exit(! does_int64_snprintf_work());
exit(! does_int64_snprintf_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:71
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:71
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
INT64_FORMAT
=
'"%qd"'
INT64_FORMAT
=
'"%qd"'
...
@@ -7149,12 +7170,12 @@ EOF
...
@@ -7149,12 +7170,12 @@ EOF
for
ac_func
in
strtoll strtoq
for
ac_func
in
strtoll strtoq
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:71
53
: checking for
$ac_func
"
>
&5
echo
"configure:71
74
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
58
"configure"
#line 71
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -7177,7 +7198,7 @@ $ac_func();
...
@@ -7177,7 +7198,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
181
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
202
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -7204,12 +7225,12 @@ done
...
@@ -7204,12 +7225,12 @@ done
for
ac_func
in
strtoull strtouq
for
ac_func
in
strtoull strtouq
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:72
08
: checking for
$ac_func
"
>
&5
echo
"configure:72
29
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
13
"configure"
#line 72
34
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -7232,7 +7253,7 @@ $ac_func();
...
@@ -7232,7 +7253,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:72
36
:
\"
$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
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -7258,12 +7279,12 @@ done
...
@@ -7258,12 +7279,12 @@ done
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
$ac_n
"checking for atexit""...
$ac_c
"
1>&6
echo
"configure:72
62
: checking for atexit"
>
&5
echo
"configure:72
83
: checking for atexit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_atexit
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
67
"configure"
#line 72
88
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char atexit(); below. */
which can conflict with char atexit(); below. */
...
@@ -7286,7 +7307,7 @@ atexit();
...
@@ -7286,7 +7307,7 @@ atexit();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
290
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
311
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_atexit=yes"
eval
"ac_cv_func_atexit=yes"
else
else
...
@@ -7309,12 +7330,12 @@ else
...
@@ -7309,12 +7330,12 @@ else
for
ac_func
in
on_exit
for
ac_func
in
on_exit
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:73
13
: checking for
$ac_func
"
>
&5
echo
"configure:73
34
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
18
"configure"
#line 73
39
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -7337,7 +7358,7 @@ $ac_func();
...
@@ -7337,7 +7358,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:73
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -7370,7 +7391,7 @@ fi
...
@@ -7370,7 +7391,7 @@ fi
echo
$ac_n
"checking size of unsigned long""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of unsigned long""...
$ac_c
"
1>&6
echo
"configure:73
74
: checking size of unsigned long"
>
&5
echo
"configure:73
95
: checking size of unsigned long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_unsigned_long
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_unsigned_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7378,7 +7399,7 @@ else
...
@@ -7378,7 +7399,7 @@ else
ac_cv_sizeof_unsigned_long
=
4
ac_cv_sizeof_unsigned_long
=
4
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
382
"configure"
#line 7
403
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -7389,7 +7410,7 @@ main()
...
@@ -7389,7 +7410,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:7
393
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
414
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_unsigned_long
=
`
cat
conftestval
`
ac_cv_sizeof_unsigned_long
=
`
cat
conftestval
`
else
else
...
@@ -7415,7 +7436,7 @@ EOF
...
@@ -7415,7 +7436,7 @@ EOF
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
$ac_n
"checking alignment of short""...
$ac_c
"
1>&6
echo
"configure:74
19
: checking alignment of short"
>
&5
echo
"configure:74
40
: checking alignment of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_short
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7423,7 +7444,7 @@ else
...
@@ -7423,7 +7444,7 @@ else
pgac_cv_alignof_short
=
'sizeof(short)'
pgac_cv_alignof_short
=
'sizeof(short)'
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
27
"configure"
#line 74
48
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
struct { char filler; short field; } mystruct;
struct { char filler; short field; } mystruct;
...
@@ -7435,7 +7456,7 @@ main()
...
@@ -7435,7 +7456,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:74
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:74
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_alignof_short
=
`
cat
conftestval
`
pgac_cv_alignof_short
=
`
cat
conftestval
`
else
else
...
@@ -7455,7 +7476,7 @@ EOF
...
@@ -7455,7 +7476,7 @@ EOF
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
$ac_n
"checking alignment of int""...
$ac_c
"
1>&6
echo
"configure:74
59
: checking alignment of int"
>
&5
echo
"configure:74
80
: checking alignment of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_int
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7463,7 +7484,7 @@ else
...
@@ -7463,7 +7484,7 @@ else
pgac_cv_alignof_int
=
'sizeof(int)'
pgac_cv_alignof_int
=
'sizeof(int)'
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
67
"configure"
#line 74
88
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
struct { char filler; int field; } mystruct;
struct { char filler; int field; } mystruct;
...
@@ -7475,7 +7496,7 @@ main()
...
@@ -7475,7 +7496,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:7
479
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
500
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_alignof_int
=
`
cat
conftestval
`
pgac_cv_alignof_int
=
`
cat
conftestval
`
else
else
...
@@ -7495,7 +7516,7 @@ EOF
...
@@ -7495,7 +7516,7 @@ EOF
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
$ac_n
"checking alignment of long""...
$ac_c
"
1>&6
echo
"configure:7
499
: checking alignment of long"
>
&5
echo
"configure:7
520
: checking alignment of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7503,7 +7524,7 @@ else
...
@@ -7503,7 +7524,7 @@ else
pgac_cv_alignof_long
=
'sizeof(long)'
pgac_cv_alignof_long
=
'sizeof(long)'
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
07
"configure"
#line 75
28
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
struct { char filler; long field; } mystruct;
struct { char filler; long field; } mystruct;
...
@@ -7515,7 +7536,7 @@ main()
...
@@ -7515,7 +7536,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:75
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:75
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_alignof_long
=
`
cat
conftestval
`
pgac_cv_alignof_long
=
`
cat
conftestval
`
else
else
...
@@ -7536,7 +7557,7 @@ EOF
...
@@ -7536,7 +7557,7 @@ EOF
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
if
[
x
"
$HAVE_LONG_LONG_INT_64
"
=
xyes
]
;
then
echo
$ac_n
"checking alignment of long long int""...
$ac_c
"
1>&6
echo
$ac_n
"checking alignment of long long int""...
$ac_c
"
1>&6
echo
"configure:75
40
: checking alignment of long long int"
>
&5
echo
"configure:75
61
: checking alignment of long long int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long_long_int
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_long_long_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7544,7 +7565,7 @@ else
...
@@ -7544,7 +7565,7 @@ else
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
pgac_cv_alignof_long_long_int
=
'sizeof(long long int)'
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
48
"configure"
#line 75
69
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
struct { char filler; long long int field; } mystruct;
struct { char filler; long long int field; } mystruct;
...
@@ -7556,7 +7577,7 @@ main()
...
@@ -7556,7 +7577,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:75
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:75
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_alignof_long_long_int
=
`
cat
conftestval
`
pgac_cv_alignof_long_long_int
=
`
cat
conftestval
`
else
else
...
@@ -7577,7 +7598,7 @@ EOF
...
@@ -7577,7 +7598,7 @@ EOF
fi
fi
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
$ac_n
"checking alignment of double""...
$ac_c
"
1>&6
echo
"configure:7
581
: checking alignment of double"
>
&5
echo
"configure:7
602
: checking alignment of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_double
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_alignof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7585,7 +7606,7 @@ else
...
@@ -7585,7 +7606,7 @@ else
pgac_cv_alignof_double
=
'sizeof(double)'
pgac_cv_alignof_double
=
'sizeof(double)'
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
589
"configure"
#line 7
610
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
struct { char filler; double field; } mystruct;
struct { char filler; double field; } mystruct;
...
@@ -7597,7 +7618,7 @@ main()
...
@@ -7597,7 +7618,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:76
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:76
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
pgac_cv_alignof_double
=
`
cat
conftestval
`
pgac_cv_alignof_double
=
`
cat
conftestval
`
else
else
...
@@ -7635,12 +7656,12 @@ EOF
...
@@ -7635,12 +7656,12 @@ EOF
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
$ac_n
"checking for POSIX signal interface""...
$ac_c
"
1>&6
echo
"configure:76
39
: checking for POSIX signal interface"
>
&5
echo
"configure:76
60
: checking for POSIX signal interface"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_posix_signals
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_posix_signals
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
44
"configure"
#line 76
65
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <signal.h>
#include <signal.h>
...
@@ -7651,7 +7672,7 @@ act.sa_flags = SA_RESTART;
...
@@ -7651,7 +7672,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
sigaction(0, &act, &oact);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:76
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:76
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_func_posix_signals
=
yes
pgac_cv_func_posix_signals
=
yes
else
else
...
@@ -7681,7 +7702,7 @@ do
...
@@ -7681,7 +7702,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7
685
: checking for
$ac_word
"
>
&5
echo
"configure:7
706
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TCLSH
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_TCLSH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7717,7 +7738,7 @@ test -n "$TCLSH" && break
...
@@ -7717,7 +7738,7 @@ test -n "$TCLSH" && break
done
done
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tclConfig.sh""...
$ac_c
"
1>&6
echo
"configure:77
21
: checking for tclConfig.sh"
>
&5
echo
"configure:77
42
: checking for tclConfig.sh"
>
&5
# Let user override test
# Let user override test
if
test
-z
"
$TCL_CONFIG_SH
"
;
then
if
test
-z
"
$TCL_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tclconfig
"
pgac_test_dirs
=
"
$with_tclconfig
"
...
@@ -7750,7 +7771,7 @@ fi
...
@@ -7750,7 +7771,7 @@ fi
# Check for Tk configuration script tkConfig.sh
# Check for Tk configuration script tkConfig.sh
if
test
"
$with_tk
"
=
yes
;
then
if
test
"
$with_tk
"
=
yes
;
then
echo
$ac_n
"checking for tkConfig.sh""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tkConfig.sh""...
$ac_c
"
1>&6
echo
"configure:77
54
: checking for tkConfig.sh"
>
&5
echo
"configure:77
75
: checking for tkConfig.sh"
>
&5
# Let user override test
# Let user override test
if
test
-z
"
$TK_CONFIG_SH
"
;
then
if
test
-z
"
$TK_CONFIG_SH
"
;
then
pgac_test_dirs
=
"
$with_tkconfig
$with_tclconfig
"
pgac_test_dirs
=
"
$with_tkconfig
$with_tclconfig
"
...
@@ -7789,7 +7810,7 @@ do
...
@@ -7789,7 +7810,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7
793
: checking for
$ac_word
"
>
&5
echo
"configure:7
814
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_NSGMLS
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_NSGMLS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7825,7 +7846,7 @@ do
...
@@ -7825,7 +7846,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:78
29
: checking for
$ac_word
"
>
&5
echo
"configure:78
50
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_JADE
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_JADE
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7856,7 +7877,7 @@ done
...
@@ -7856,7 +7877,7 @@ done
echo
$ac_n
"checking for DocBook V3.1""...
$ac_c
"
1>&6
echo
$ac_n
"checking for DocBook V3.1""...
$ac_c
"
1>&6
echo
"configure:78
60
: checking for DocBook V3.1"
>
&5
echo
"configure:78
81
: checking for DocBook V3.1"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_check_docbook
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_check_docbook
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7889,7 +7910,7 @@ have_docbook=$pgac_cv_check_docbook
...
@@ -7889,7 +7910,7 @@ have_docbook=$pgac_cv_check_docbook
echo
$ac_n
"checking for DocBook stylesheets""...
$ac_c
"
1>&6
echo
$ac_n
"checking for DocBook stylesheets""...
$ac_c
"
1>&6
echo
"configure:7
893
: checking for DocBook stylesheets"
>
&5
echo
"configure:7
914
: checking for DocBook stylesheets"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_path_stylesheets
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_path_stylesheets
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7928,7 +7949,7 @@ do
...
@@ -7928,7 +7949,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:79
32
: checking for
$ac_word
"
>
&5
echo
"configure:79
53
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_SGMLSPL
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_SGMLSPL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
...
configure.in
View file @
eb1b1643
...
@@ -879,35 +879,18 @@ AC_CHECK_FUNC(rint,
...
@@ -879,35 +879,18 @@ AC_CHECK_FUNC(rint,
# Readline versions < 2.1 don't have rl_completion_append_character
# Readline versions < 2.1 don't have rl_completion_append_character
AC_MSG_CHECKING([for rl_completion_append_character])
AC_MSG_CHECKING([for rl_completion_append_character])
AC_TRY_LINK([#include <stdio.h>
AC_TRY_LINK([#include <stdio.h>
#ifdef HAVE_READLINE_H
# include <readline.h>
#endif
#ifdef HAVE_READLINE_READLINE_H
#ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>
# include <readline/readline.h>
#endif],
#elif defined(HAVE_READLINE_H)
# include <readline.h>
#endif
],
[rl_completion_append_character = 'x';],
[rl_completion_append_character = 'x';],
[AC_MSG_RESULT(yes)
[AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_RL_COMPLETION_APPEND_CHARACTER)],
AC_DEFINE(HAVE_RL_COMPLETION_APPEND_CHARACTER)],
[AC_MSG_RESULT(no)])
[AC_MSG_RESULT(no)])
AC_CHECK_FUNCS([rl_completion_matches])
# Check whether readline's filename_completion_function is declared.
# Some prehistoric versions of readline, in particular those shipped
# with earlier Cygwins don't have this declared, although it's in the
# library.
AC_MSG_CHECKING([whether filename_completion_function is declared])
if test "$ac_cv_header_readline_h" = yes; then
_readline_header='readline.h'
elif test "$ac_cv_header_readline_readline_h" = yes; then
_readline_header='readline/readline.h'
else
_readline_header='xxx'
fi
AC_EGREP_HEADER([filename_completion_function], [$_readline_header],
[AC_DEFINE(HAVE_FILENAME_COMPLETION_FUNCTION_DECL)
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
dnl Cannot use AC_CHECK_FUNC because finite may be a macro
dnl Cannot use AC_CHECK_FUNC because finite may be a macro
...
...
src/bin/psql/tab-complete.c
View file @
eb1b1643
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.
29 2001/03/30 04:50:47 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.
30 2001/04/14 22:55:02 petere
Exp $
*/
*/
/*----------------------------------------------------------------------
/*----------------------------------------------------------------------
...
@@ -60,9 +60,10 @@
...
@@ -60,9 +60,10 @@
#include "common.h"
#include "common.h"
#include "settings.h"
#include "settings.h"
#ifndef HAVE_FILENAME_COMPLETION_FUNCTION_DECL
extern
char
*
filename_completion_function
();
char
*
filename_completion_function
(
char
*
,
int
);
#ifdef HAVE_RL_COMPLETION_MATCHES
#define completion_matches(x, y) rl_completion_matches((x), ((rl_compentry_func_t *)(y)))
#endif
#endif
#define BUF_SIZE 2048
#define BUF_SIZE 2048
...
@@ -100,7 +101,7 @@ void
...
@@ -100,7 +101,7 @@ void
initialize_readline
(
void
)
initialize_readline
(
void
)
{
{
rl_readline_name
=
pset
.
progname
;
rl_readline_name
=
pset
.
progname
;
rl_attempted_completion_function
=
psql_completion
;
rl_attempted_completion_function
=
(
void
*
)
psql_completion
;
rl_basic_word_break_characters
=
"
\t\n
@$><=;|&{( "
;
rl_basic_word_break_characters
=
"
\t\n
@$><=;|&{( "
;
...
...
src/include/config.h.in
View file @
eb1b1643
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
* or in config.h afterwards. Of course, if you edit config.h, then your
* or in config.h afterwards. Of course, if you edit config.h, then your
* changes will be overwritten the next time you run configure.
* changes will be overwritten the next time you run configure.
*
*
* $Id: config.h.in,v 1.16
1 2001/03/23 18:42:12 tgl
Exp $
* $Id: config.h.in,v 1.16
2 2001/04/14 22:55:02 petere
Exp $
*/
*/
#ifndef CONFIG_H
#ifndef CONFIG_H
...
@@ -573,8 +573,8 @@ extern int fdatasync(int fildes);
...
@@ -573,8 +573,8 @@ extern int fdatasync(int fildes);
/* Set to 1 if your libreadline defines rl_completion_append_character */
/* Set to 1 if your libreadline defines rl_completion_append_character */
#undef HAVE_RL_COMPLETION_APPEND_CHARACTER
#undef HAVE_RL_COMPLETION_APPEND_CHARACTER
/* Set to 1 if
filename_completion_function is declared in the readline header
*/
/* Set to 1 if
you have rl_completion_matches
*/
#undef HAVE_
FILENAME_COMPLETION_FUNCTION_DECL
#undef HAVE_
RL_COMPLETION_MATCHES
/* Set to 1 if you have getopt_long() (GNU long options) */
/* Set to 1 if you have getopt_long() (GNU long options) */
#undef HAVE_GETOPT_LONG
#undef HAVE_GETOPT_LONG
...
...
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