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
831e78e0
Commit
831e78e0
authored
Oct 03, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better coding of readline tests
parent
1b7332fb
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
365 additions
and
440 deletions
+365
-440
configure
configure
+322
-398
configure.in
configure.in
+35
-21
src/bin/psql/input.h
src/bin/psql/input.h
+2
-2
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+2
-12
src/include/config.h.in
src/include/config.h.in
+4
-7
No files found.
configure
View file @
831e78e0
...
@@ -3026,9 +3026,9 @@ else
...
@@ -3026,9 +3026,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
echo
$ac_n
"checking for
main
in -lreadline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
readline
in -lreadline""...
$ac_c
"
1>&6
echo
"configure:3031: checking for
main
in -lreadline"
>
&5
echo
"configure:3031: checking for
readline
in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
main
|
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
readline
'_'
readline
|
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3037,12 +3037,16 @@ LIBS="-lreadline $LIBS"
...
@@ -3037,12 +3037,16 @@ LIBS="-lreadline $LIBS"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3039 "configure"
#line 3039 "configure"
#include "confdefs.h"
#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
builtin and then its argument prototype would still apply. */
char readline();
int main() {
int main() {
main
()
readline
()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:30
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3069,16 +3073,16 @@ else
...
@@ -3069,16 +3073,16 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
echo
$ac_n
"checking for using_history in -lreadline""...
$ac_c
"
1>&6
echo
"configure:3074: checking for using_history in -lreadline"
>
&5
echo
$ac_n
"checking for library containing using_history""...
$ac_c
"
1>&6
ac_lib_var
=
`
echo
readline
'_'
using_history |
sed
'y%./+-%__p_%'
`
echo
"configure:3079: checking for library containing using_history"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_
lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_
search_using_history
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_
func_search_
save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
ac_cv_search_using_history
=
"no
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 308
2
"configure"
#line 308
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3089,77 +3093,56 @@ int main() {
...
@@ -3089,77 +3093,56 @@ int main() {
using_history()
using_history()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:309
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:309
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes
"
ac_cv_search_using_history
=
"none required
"
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
test
"
$ac_cv_search_using_history
"
=
"no"
&&
for
i
in
history
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_HISTORY_IN_READLINE 1
EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for main in -lhistory""...
$ac_c
"
1>&6
echo
"configure:3115: checking for main in -lhistory"
>
&5
ac_lib_var
=
`
echo history
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
23
"configure"
#line 31
08
"configure"
#include "confdefs.h"
#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
builtin and then its argument prototype would still apply. */
char using_history();
int main() {
int main() {
main
()
using_history
()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:31
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
ac_cv_search_using_history
=
"-l
$i
"
break
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
done
LIBS
=
"
$ac_func_search_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo history
|
sed
-e
's/^a-zA-Z0-9_/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-lhistory
$LIBS
"
echo
"
$ac_t
""
$ac_cv_search_using_history
"
1>&6
if
test
"
$ac_cv_search_using_history
"
!=
"no"
;
then
test
"
$ac_cv_search_using_history
"
=
"none required"
||
LIBS
=
"
$ac_cv_search_using_history
$LIBS
"
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_HISTORY_FUNCTIONS 1
EOF
else
else
:
echo
"
$ac_t
""no"
1>&6
fi
fi
fi
if
test
"
$PORTNAME
"
!=
"aix"
-a
"
$PORTNAME
"
!=
"alpha"
if
test
"
$PORTNAME
"
!=
"aix"
-a
"
$PORTNAME
"
!=
"alpha"
then
then
echo
$ac_n
"checking for main in -lbsd""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lbsd""...
$ac_c
"
1>&6
echo
"configure:31
63
: checking for main in -lbsd"
>
&5
echo
"configure:31
46
: checking for main in -lbsd"
>
&5
ac_lib_var
=
`
echo
bsd
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
bsd
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3167,14 +3150,14 @@ else
...
@@ -3167,14 +3150,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lbsd
$LIBS
"
LIBS
=
"-lbsd
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
71
"configure"
#line 31
54
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:31
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3203,7 +3186,7 @@ fi
...
@@ -3203,7 +3186,7 @@ fi
fi
fi
echo
$ac_n
"checking for setproctitle in -lutil""...
$ac_c
"
1>&6
echo
$ac_n
"checking for setproctitle in -lutil""...
$ac_c
"
1>&6
echo
"configure:3
207
: checking for setproctitle in -lutil"
>
&5
echo
"configure:3
190
: checking for setproctitle in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
setproctitle |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
util
'_'
setproctitle |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3211,7 +3194,7 @@ else
...
@@ -3211,7 +3194,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
215
"configure"
#line 3
198
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3222,7 +3205,7 @@ int main() {
...
@@ -3222,7 +3205,7 @@ int main() {
setproctitle()
setproctitle()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:32
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3250,7 +3233,7 @@ else
...
@@ -3250,7 +3233,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lm""...
$ac_c
"
1>&6
echo
"configure:32
54
: checking for main in -lm"
>
&5
echo
"configure:32
37
: checking for main in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3258,14 +3241,14 @@ else
...
@@ -3258,14 +3241,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
62
"configure"
#line 32
45
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:32
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3293,7 +3276,7 @@ else
...
@@ -3293,7 +3276,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:32
97
: checking for main in -ldl"
>
&5
echo
"configure:32
80
: checking for main in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dl
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3301,14 +3284,14 @@ else
...
@@ -3301,14 +3284,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
305
"configure"
#line 3
288
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
312
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
295
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3336,7 +3319,7 @@ else
...
@@ -3336,7 +3319,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
"configure:33
40
: checking for main in -lsocket"
>
&5
echo
"configure:33
23
: checking for main in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
socket
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3344,14 +3327,14 @@ else
...
@@ -3344,14 +3327,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
48
"configure"
#line 33
31
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:33
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3379,7 +3362,7 @@ else
...
@@ -3379,7 +3362,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
"configure:33
83
: checking for main in -lnsl"
>
&5
echo
"configure:33
66
: checking for main in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
nsl
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3387,14 +3370,14 @@ else
...
@@ -3387,14 +3370,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
91
"configure"
#line 33
74
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:33
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3422,7 +3405,7 @@ else
...
@@ -3422,7 +3405,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lipc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lipc""...
$ac_c
"
1>&6
echo
"configure:34
26
: checking for main in -lipc"
>
&5
echo
"configure:34
09
: checking for main in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ipc
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3430,14 +3413,14 @@ else
...
@@ -3430,14 +3413,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
34
"configure"
#line 34
17
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3465,7 +3448,7 @@ else
...
@@ -3465,7 +3448,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lIPC""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lIPC""...
$ac_c
"
1>&6
echo
"configure:34
69
: checking for main in -lIPC"
>
&5
echo
"configure:34
52
: checking for main in -lIPC"
>
&5
ac_lib_var
=
`
echo
IPC
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
IPC
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3473,14 +3456,14 @@ else
...
@@ -3473,14 +3456,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lIPC
$LIBS
"
LIBS
=
"-lIPC
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
77
"configure"
#line 34
60
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3508,7 +3491,7 @@ else
...
@@ -3508,7 +3491,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -llc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -llc""...
$ac_c
"
1>&6
echo
"configure:3
512
: checking for main in -llc"
>
&5
echo
"configure:3
495
: checking for main in -llc"
>
&5
ac_lib_var
=
`
echo
lc
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
lc
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3516,14 +3499,14 @@ else
...
@@ -3516,14 +3499,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-llc
$LIBS
"
LIBS
=
"-llc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
20
"configure"
#line 35
03
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3551,7 +3534,7 @@ else
...
@@ -3551,7 +3534,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -ldld""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -ldld""...
$ac_c
"
1>&6
echo
"configure:35
55
: checking for main in -ldld"
>
&5
echo
"configure:35
38
: checking for main in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dld
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3559,14 +3542,14 @@ else
...
@@ -3559,14 +3542,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
63
"configure"
#line 35
46
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3594,7 +3577,7 @@ else
...
@@ -3594,7 +3577,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lln""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lln""...
$ac_c
"
1>&6
echo
"configure:35
98
: checking for main in -lln"
>
&5
echo
"configure:35
81
: checking for main in -lln"
>
&5
ac_lib_var
=
`
echo ln
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo ln
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3602,14 +3585,14 @@ else
...
@@ -3602,14 +3585,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lln
$LIBS
"
LIBS
=
"-lln
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
606
"configure"
#line 3
589
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
613
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
596
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3637,7 +3620,7 @@ else
...
@@ -3637,7 +3620,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lld""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lld""...
$ac_c
"
1>&6
echo
"configure:36
41
: checking for main in -lld"
>
&5
echo
"configure:36
24
: checking for main in -lld"
>
&5
ac_lib_var
=
`
echo
ld
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ld
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3645,14 +3628,14 @@ else
...
@@ -3645,14 +3628,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lld
$LIBS
"
LIBS
=
"-lld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
49
"configure"
#line 36
32
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3680,7 +3663,7 @@ else
...
@@ -3680,7 +3663,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lcompat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lcompat""...
$ac_c
"
1>&6
echo
"configure:36
84
: checking for main in -lcompat"
>
&5
echo
"configure:36
67
: checking for main in -lcompat"
>
&5
ac_lib_var
=
`
echo
compat
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
compat
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3688,14 +3671,14 @@ else
...
@@ -3688,14 +3671,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcompat
$LIBS
"
LIBS
=
"-lcompat
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
92
"configure"
#line 36
75
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
99
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3723,7 +3706,7 @@ else
...
@@ -3723,7 +3706,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lBSD""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lBSD""...
$ac_c
"
1>&6
echo
"configure:37
27
: checking for main in -lBSD"
>
&5
echo
"configure:37
10
: checking for main in -lBSD"
>
&5
ac_lib_var
=
`
echo
BSD
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
BSD
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3731,14 +3714,14 @@ else
...
@@ -3731,14 +3714,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lBSD
$LIBS
"
LIBS
=
"-lBSD
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
35
"configure"
#line 37
18
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:37
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3766,7 +3749,7 @@ else
...
@@ -3766,7 +3749,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lgen""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lgen""...
$ac_c
"
1>&6
echo
"configure:37
70
: checking for main in -lgen"
>
&5
echo
"configure:37
53
: checking for main in -lgen"
>
&5
ac_lib_var
=
`
echo
gen
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
gen
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3774,14 +3757,14 @@ else
...
@@ -3774,14 +3757,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lgen
$LIBS
"
LIBS
=
"-lgen
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
78
"configure"
#line 37
61
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:37
85
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3809,7 +3792,7 @@ else
...
@@ -3809,7 +3792,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lPW""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lPW""...
$ac_c
"
1>&6
echo
"configure:3
813
: checking for main in -lPW"
>
&5
echo
"configure:3
796
: checking for main in -lPW"
>
&5
ac_lib_var
=
`
echo
PW
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
PW
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3817,14 +3800,14 @@ else
...
@@ -3817,14 +3800,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lPW
$LIBS
"
LIBS
=
"-lPW
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
21
"configure"
#line 38
04
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3853,14 +3836,14 @@ fi
...
@@ -3853,14 +3836,14 @@ fi
echo
$ac_n
"checking for library containing crypt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for library containing crypt""...
$ac_c
"
1>&6
echo
"configure:38
57
: checking for library containing crypt"
>
&5
echo
"configure:38
40
: checking for library containing crypt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_crypt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_search_crypt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_func_search_save_LIBS
=
"
$LIBS
"
ac_func_search_save_LIBS
=
"
$LIBS
"
ac_cv_search_crypt
=
"no"
ac_cv_search_crypt
=
"no"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
64
"configure"
#line 38
47
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3871,7 +3854,7 @@ int main() {
...
@@ -3871,7 +3854,7 @@ int main() {
crypt()
crypt()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_search_crypt
=
"none required"
ac_cv_search_crypt
=
"none required"
else
else
...
@@ -3882,7 +3865,7 @@ rm -f conftest*
...
@@ -3882,7 +3865,7 @@ rm -f conftest*
test
"
$ac_cv_search_crypt
"
=
"no"
&&
for
i
in
crypt
;
do
test
"
$ac_cv_search_crypt
"
=
"no"
&&
for
i
in
crypt
;
do
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
LIBS
=
"-l
$i
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
86
"configure"
#line 38
69
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3893,7 +3876,7 @@ int main() {
...
@@ -3893,7 +3876,7 @@ int main() {
crypt()
crypt()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_search_crypt
=
"-l
$i
"
ac_cv_search_crypt
=
"-l
$i
"
break
break
...
@@ -3914,7 +3897,7 @@ else :
...
@@ -3914,7 +3897,7 @@ else :
fi
fi
echo
$ac_n
"checking for inflate in -lz""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inflate in -lz""...
$ac_c
"
1>&6
echo
"configure:39
18
: checking for inflate in -lz"
>
&5
echo
"configure:39
01
: checking for inflate in -lz"
>
&5
ac_lib_var
=
`
echo
z
'_'
inflate |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
z
'_'
inflate |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3922,7 +3905,7 @@ else
...
@@ -3922,7 +3905,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lz
$LIBS
"
LIBS
=
"-lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
26
"configure"
#line 39
09
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3933,7 +3916,7 @@ int main() {
...
@@ -3933,7 +3916,7 @@ int main() {
inflate()
inflate()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:39
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3963,7 +3946,7 @@ fi
...
@@ -3963,7 +3946,7 @@ fi
if
test
"
$with_krb4
"
=
yes
;
then
if
test
"
$with_krb4
"
=
yes
;
then
echo
$ac_n
"checking for des_encrypt in -ldes""...
$ac_c
"
1>&6
echo
$ac_n
"checking for des_encrypt in -ldes""...
$ac_c
"
1>&6
echo
"configure:39
67
: checking for des_encrypt in -ldes"
>
&5
echo
"configure:39
50
: checking for des_encrypt in -ldes"
>
&5
ac_lib_var
=
`
echo
des
'_'
des_encrypt |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
des
'_'
des_encrypt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3971,7 +3954,7 @@ else
...
@@ -3971,7 +3954,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldes
$LIBS
"
LIBS
=
"-ldes
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
75
"configure"
#line 39
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3982,7 +3965,7 @@ int main() {
...
@@ -3982,7 +3965,7 @@ int main() {
des_encrypt()
des_encrypt()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:39
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4011,7 +3994,7 @@ else
...
@@ -4011,7 +3994,7 @@ else
fi
fi
echo
$ac_n
"checking for krb_sendauth in -lkrb""...
$ac_c
"
1>&6
echo
$ac_n
"checking for krb_sendauth in -lkrb""...
$ac_c
"
1>&6
echo
"configure:
4015
: checking for krb_sendauth in -lkrb"
>
&5
echo
"configure:
3998
: checking for krb_sendauth in -lkrb"
>
&5
ac_lib_var
=
`
echo
krb
'_'
krb_sendauth |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
krb
'_'
krb_sendauth |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4019,7 +4002,7 @@ else
...
@@ -4019,7 +4002,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb
$LIBS
"
LIBS
=
"-lkrb
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
23
"configure"
#line 40
06
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4030,7 +4013,7 @@ int main() {
...
@@ -4030,7 +4013,7 @@ int main() {
krb_sendauth()
krb_sendauth()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:40
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4062,7 +4045,7 @@ fi
...
@@ -4062,7 +4045,7 @@ fi
if
test
"
$with_krb5
"
=
yes
;
then
if
test
"
$with_krb5
"
=
yes
;
then
echo
$ac_n
"checking for main in -lcom_err""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lcom_err""...
$ac_c
"
1>&6
echo
"configure:40
66
: checking for main in -lcom_err"
>
&5
echo
"configure:40
49
: checking for main in -lcom_err"
>
&5
ac_lib_var
=
`
echo
com_err
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
com_err
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4070,14 +4053,14 @@ else
...
@@ -4070,14 +4053,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcom_err
$LIBS
"
LIBS
=
"-lcom_err
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
74
"configure"
#line 40
57
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:40
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4106,7 +4089,7 @@ else
...
@@ -4106,7 +4089,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lcrypto""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:4
110
: checking for main in -lcrypto"
>
&5
echo
"configure:4
093
: checking for main in -lcrypto"
>
&5
ac_lib_var
=
`
echo
crypto
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
crypto
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4114,14 +4097,14 @@ else
...
@@ -4114,14 +4097,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
18
"configure"
#line 41
01
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4150,7 +4133,7 @@ else
...
@@ -4150,7 +4133,7 @@ else
fi
fi
echo
$ac_n
"checking for main in -lkrb5""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lkrb5""...
$ac_c
"
1>&6
echo
"configure:41
54
: checking for main in -lkrb5"
>
&5
echo
"configure:41
37
: checking for main in -lkrb5"
>
&5
ac_lib_var
=
`
echo
krb5
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
krb5
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4158,14 +4141,14 @@ else
...
@@ -4158,14 +4141,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lkrb5
$LIBS
"
LIBS
=
"-lkrb5
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
62
"configure"
#line 41
45
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4197,7 +4180,7 @@ fi
...
@@ -4197,7 +4180,7 @@ fi
if
test
"
$with_openssl
"
=
yes
;
then
if
test
"
$with_openssl
"
=
yes
;
then
echo
$ac_n
"checking for CRYPTO_new_ex_data in -lcrypto""...
$ac_c
"
1>&6
echo
$ac_n
"checking for CRYPTO_new_ex_data in -lcrypto""...
$ac_c
"
1>&6
echo
"configure:4
201
: checking for CRYPTO_new_ex_data in -lcrypto"
>
&5
echo
"configure:4
184
: checking for CRYPTO_new_ex_data in -lcrypto"
>
&5
ac_lib_var
=
`
echo
crypto
'_'
CRYPTO_new_ex_data |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
crypto
'_'
CRYPTO_new_ex_data |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4205,7 +4188,7 @@ else
...
@@ -4205,7 +4188,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
LIBS
=
"-lcrypto
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
209
"configure"
#line 4
192
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4216,7 +4199,7 @@ int main() {
...
@@ -4216,7 +4199,7 @@ int main() {
CRYPTO_new_ex_data()
CRYPTO_new_ex_data()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:42
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
03
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4245,7 +4228,7 @@ else
...
@@ -4245,7 +4228,7 @@ else
fi
fi
echo
$ac_n
"checking for SSL_library_init in -lssl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for SSL_library_init in -lssl""...
$ac_c
"
1>&6
echo
"configure:42
49
: checking for SSL_library_init in -lssl"
>
&5
echo
"configure:42
32
: checking for SSL_library_init in -lssl"
>
&5
ac_lib_var
=
`
echo
ssl
'_'
SSL_library_init |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ssl
'_'
SSL_library_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4253,7 +4236,7 @@ else
...
@@ -4253,7 +4236,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lssl
$LIBS
"
LIBS
=
"-lssl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
57
"configure"
#line 42
40
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4264,7 +4247,7 @@ int main() {
...
@@ -4264,7 +4247,7 @@ int main() {
SSL_library_init()
SSL_library_init()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:42
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4302,17 +4285,17 @@ for ac_hdr in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h netinet/tcp.h
...
@@ -4302,17 +4285,17 @@ for ac_hdr in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h netinet/tcp.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:4
306
: checking for
$ac_hdr
"
>
&5
echo
"configure:4
289
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 4
311
"configure"
#line 4
294
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
316
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
299
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4343,17 +4326,17 @@ for ac_hdr in readline/readline.h readline.h
...
@@ -4343,17 +4326,17 @@ for ac_hdr in readline/readline.h readline.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:43
47
: checking for
$ac_hdr
"
>
&5
echo
"configure:43
30
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 43
52
"configure"
#line 43
35
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:43
57
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:43
40
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4383,17 +4366,17 @@ for ac_hdr in readline/history.h history.h
...
@@ -4383,17 +4366,17 @@ for ac_hdr in readline/history.h history.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:43
87
: checking for
$ac_hdr
"
>
&5
echo
"configure:43
70
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 43
92
"configure"
#line 43
75
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:43
97
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:43
80
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4423,17 +4406,17 @@ done
...
@@ -4423,17 +4406,17 @@ done
if
test
"
$with_krb4
"
=
yes
;
then
if
test
"
$with_krb4
"
=
yes
;
then
ac_safe
=
`
echo
"krb.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"krb.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for krb.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for krb.h""...
$ac_c
"
1>&6
echo
"configure:44
27
: checking for krb.h"
>
&5
echo
"configure:44
10
: checking for krb.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 44
32
"configure"
#line 44
15
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <krb.h>
#include <krb.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:44
37
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:44
20
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4460,17 +4443,17 @@ fi
...
@@ -4460,17 +4443,17 @@ fi
if
test
"
$with_krb5
"
=
yes
;
then
if
test
"
$with_krb5
"
=
yes
;
then
ac_safe
=
`
echo
"krb5.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"krb5.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for krb5.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for krb5.h""...
$ac_c
"
1>&6
echo
"configure:44
64
: checking for krb5.h"
>
&5
echo
"configure:44
47
: checking for krb5.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 44
69
"configure"
#line 44
52
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <krb5.h>
#include <krb5.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:44
74
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:44
57
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4494,17 +4477,17 @@ fi
...
@@ -4494,17 +4477,17 @@ fi
ac_safe
=
`
echo
"com_err.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"com_err.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for com_err.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for com_err.h""...
$ac_c
"
1>&6
echo
"configure:44
98
: checking for com_err.h"
>
&5
echo
"configure:44
81
: checking for com_err.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 4
503
"configure"
#line 4
486
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <com_err.h>
#include <com_err.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
508
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
491
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4531,17 +4514,17 @@ fi
...
@@ -4531,17 +4514,17 @@ fi
if
test
"
$with_openssl
"
=
yes
;
then
if
test
"
$with_openssl
"
=
yes
;
then
ac_safe
=
`
echo
"openssl/ssl.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"openssl/ssl.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for openssl/ssl.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for openssl/ssl.h""...
$ac_c
"
1>&6
echo
"configure:45
35
: checking for openssl/ssl.h"
>
&5
echo
"configure:45
18
: checking for openssl/ssl.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 45
40
"configure"
#line 45
23
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <openssl/ssl.h>
#include <openssl/ssl.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:45
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:45
28
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4565,17 +4548,17 @@ fi
...
@@ -4565,17 +4548,17 @@ fi
ac_safe
=
`
echo
"openssl/err.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"openssl/err.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for openssl/err.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for openssl/err.h""...
$ac_c
"
1>&6
echo
"configure:45
69
: checking for openssl/err.h"
>
&5
echo
"configure:45
52
: checking for openssl/err.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+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 45
74
"configure"
#line 45
57
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <openssl/err.h>
#include <openssl/err.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:45
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:45
62
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4604,12 +4587,12 @@ fi
...
@@ -4604,12 +4587,12 @@ fi
## Types, structures, compiler characteristics
## Types, structures, compiler characteristics
##
##
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:4
608
: checking for working const"
>
&5
echo
"configure:4
591
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+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 4
613
"configure"
#line 4
596
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -4658,7 +4641,7 @@ ccp = (char const *const *) p;
...
@@ -4658,7 +4641,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:46
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_const
=
yes
ac_cv_c_const
=
yes
else
else
...
@@ -4679,21 +4662,21 @@ EOF
...
@@ -4679,21 +4662,21 @@ EOF
fi
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:46
83
: checking for inline"
>
&5
echo
"configure:46
66
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_cv_c_inline
=
no
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
90
"configure"
#line 46
73
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
}
$ac_kw
foo() {
}
$ac_kw
foo() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:46
97
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
ac_cv_c_inline
=
$ac_kw
;
break
else
else
...
@@ -4721,12 +4704,12 @@ esac
...
@@ -4721,12 +4704,12 @@ esac
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
$ac_n
"checking for preprocessor stringizing operator""...
$ac_c
"
1>&6
echo
"configure:47
25
: checking for preprocessor stringizing operator"
>
&5
echo
"configure:47
08
: checking for preprocessor stringizing operator"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stringize
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stringize
'+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 47
30
"configure"
#line 47
13
"configure"
#include "confdefs.h"
#include "confdefs.h"
#define x(y) #y
#define x(y) #y
...
@@ -4756,19 +4739,19 @@ fi
...
@@ -4756,19 +4739,19 @@ fi
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
"
$ac_t
""
${
ac_cv_c_stringize
}
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
$ac_n
"checking for signed types""...
$ac_c
"
1>&6
echo
"configure:47
60
: checking for signed types"
>
&5
echo
"configure:47
43
: checking for signed types"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_signed
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_signed
'+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 47
65
"configure"
#line 47
48
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
signed char c; signed short s; signed int i;
signed char c; signed short s; signed int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:47
72
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_c_signed
=
yes
pgac_cv_c_signed
=
yes
else
else
...
@@ -4788,19 +4771,19 @@ EOF
...
@@ -4788,19 +4771,19 @@ EOF
fi
fi
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
$ac_n
"checking for volatile""...
$ac_c
"
1>&6
echo
"configure:47
92
: checking for volatile"
>
&5
echo
"configure:47
75
: checking for volatile"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_volatile
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_c_volatile
'+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 47
97
"configure"
#line 47
80
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
extern volatile int i;
extern volatile int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
804
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
787
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_c_volatile
=
yes
pgac_cv_c_volatile
=
yes
else
else
...
@@ -4820,12 +4803,12 @@ EOF
...
@@ -4820,12 +4803,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:48
24
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:48
07
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+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 48
29
"configure"
#line 48
12
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -4833,7 +4816,7 @@ int main() {
...
@@ -4833,7 +4816,7 @@ int main() {
struct tm *tp; tp->tm_sec;
struct tm *tp; tp->tm_sec;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:48
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
ac_cv_struct_tm
=
time.h
else
else
...
@@ -4854,12 +4837,12 @@ EOF
...
@@ -4854,12 +4837,12 @@ EOF
fi
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:48
58
: checking for tm_zone in struct tm"
>
&5
echo
"configure:48
41
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+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 48
63
"configure"
#line 48
46
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
#include <
$ac_cv_struct_tm
>
...
@@ -4867,7 +4850,7 @@ int main() {
...
@@ -4867,7 +4850,7 @@ int main() {
struct tm tm; tm.tm_zone;
struct tm tm; tm.tm_zone;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:48
71
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
ac_cv_struct_tm_zone
=
yes
else
else
...
@@ -4887,12 +4870,12 @@ EOF
...
@@ -4887,12 +4870,12 @@ EOF
else
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:48
91
: checking for tzname"
>
&5
echo
"configure:48
74
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+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 48
96
"configure"
#line 48
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -4902,7 +4885,7 @@ int main() {
...
@@ -4902,7 +4885,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
906
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
889
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
ac_cv_var_tzname
=
yes
else
else
...
@@ -4924,12 +4907,12 @@ EOF
...
@@ -4924,12 +4907,12 @@ EOF
fi
fi
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
$ac_n
"checking for union semun""...
$ac_c
"
1>&6
echo
"configure:49
28
: checking for union semun"
>
&5
echo
"configure:49
11
: checking for union semun"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_union_semun
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_union_semun
'+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 49
33
"configure"
#line 49
16
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/ipc.h>
...
@@ -4938,7 +4921,7 @@ int main() {
...
@@ -4938,7 +4921,7 @@ int main() {
union semun semun;
union semun semun;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:49
42
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
25
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_union_semun
=
yes
pgac_cv_union_semun
=
yes
else
else
...
@@ -4958,12 +4941,12 @@ EOF
...
@@ -4958,12 +4941,12 @@ EOF
fi
fi
echo
$ac_n
"checking for struct sockaddr_un""...
$ac_c
"
1>&6
echo
$ac_n
"checking for struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:49
62
: checking for struct sockaddr_un"
>
&5
echo
"configure:49
45
: checking for struct sockaddr_un"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_struct_sockaddr_un
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_struct_sockaddr_un
'+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 49
67
"configure"
#line 49
50
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_UN_H
#ifdef HAVE_SYS_UN_H
...
@@ -4973,7 +4956,7 @@ int main() {
...
@@ -4973,7 +4956,7 @@ int main() {
struct sockaddr_un un;
struct sockaddr_un un;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:49
77
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
60
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_struct_sockaddr_un
=
yes
pgac_cv_struct_sockaddr_un
=
yes
else
else
...
@@ -4997,19 +4980,19 @@ fi
...
@@ -4997,19 +4980,19 @@ fi
## Functions, global variables
## Functions, global variables
##
##
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
$ac_n
"checking for int timezone""...
$ac_c
"
1>&6
echo
"configure:
5001
: checking for int timezone"
>
&5
echo
"configure:
4984
: checking for int timezone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_timezone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_int_timezone
'+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
5006
"configure"
#line
4989
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
int main() {
int main() {
int res = timezone / 60;
int res = timezone / 60;
; return 0; }
; return 0; }
EOF
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:
4996
:
\"
$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_timezone
=
yes
pgac_cv_var_int_timezone
=
yes
else
else
...
@@ -5029,7 +5012,7 @@ EOF
...
@@ -5029,7 +5012,7 @@ EOF
fi
fi
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
$ac_n
"checking types of arguments for accept()""...
$ac_c
"
1>&6
echo
"configure:50
33
: checking types of arguments for accept()"
>
&5
echo
"configure:50
16
: checking types of arguments for accept()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_accept_arg1
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_accept_arg1
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -5043,7 +5026,7 @@ else
...
@@ -5043,7 +5026,7 @@ else
for
ac_cv_func_accept_arg2
in
'struct sockaddr *'
'const struct sockaddr *'
'void *'
;
do
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
for
ac_cv_func_accept_arg3
in
'int'
'size_t'
'socklen_t'
'unsigned int'
;
do
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
47
"configure"
#line 50
30
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5056,7 +5039,7 @@ int main() {
...
@@ -5056,7 +5039,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:50
60
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
43
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_not_found
=
no
;
break
3
ac_not_found
=
no
;
break
3
else
else
...
@@ -5093,12 +5076,12 @@ EOF
...
@@ -5093,12 +5076,12 @@ EOF
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether gettimeofday takes only one argument""...
$ac_c
"
1>&6
echo
"configure:50
97
: checking whether gettimeofday takes only one argument"
>
&5
echo
"configure:50
80
: checking whether gettimeofday takes only one argument"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_gettimeofday_1arg
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_func_gettimeofday_1arg
'+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 5
102
"configure"
#line 5
085
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/time.h>
#include <sys/time.h>
int main() {
int main() {
...
@@ -5107,7 +5090,7 @@ struct timezone *tzp;
...
@@ -5107,7 +5090,7 @@ struct timezone *tzp;
gettimeofday(tp,tzp);
gettimeofday(tp,tzp);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
111
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
094
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_func_gettimeofday_1arg
=
no
pgac_cv_func_gettimeofday_1arg
=
no
else
else
...
@@ -5128,12 +5111,12 @@ EOF
...
@@ -5128,12 +5111,12 @@ EOF
fi
fi
echo
$ac_n
"checking for fcntl(F_SETLK)""...
$ac_c
"
1>&6
echo
$ac_n
"checking for fcntl(F_SETLK)""...
$ac_c
"
1>&6
echo
"configure:51
32
: checking for fcntl(F_SETLK)"
>
&5
echo
"configure:51
15
: checking for fcntl(F_SETLK)"
>
&5
case
$host_os
in
case
$host_os
in
linux
*
)
echo
"
$ac_t
""broken on Linux"
1>&6
;;
linux
*
)
echo
"
$ac_t
""broken on Linux"
1>&6
;;
*
)
*
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
37
"configure"
#line 51
20
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#include <fcntl.h>
#include <fcntl.h>
...
@@ -5145,7 +5128,7 @@ lck.l_type = F_WRLCK;
...
@@ -5145,7 +5128,7 @@ lck.l_type = F_WRLCK;
fcntl(0, F_SETLK, &lck);
fcntl(0, F_SETLK, &lck);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:51
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
32
:
\"
$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_FCNTL_SETLK 1
#define HAVE_FCNTL_SETLK 1
...
@@ -5164,12 +5147,12 @@ esac
...
@@ -5164,12 +5147,12 @@ esac
for
ac_func
in
fcvt getopt_long memmove pstat setproctitle setsid sigprocmask sysconf waitpid dlopen
for
ac_func
in
fcvt getopt_long memmove pstat setproctitle setsid sigprocmask sysconf waitpid dlopen
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:51
68
: checking for
$ac_func
"
>
&5
echo
"configure:51
51
: 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 51
73
"configure"
#line 51
56
"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. */
...
@@ -5192,7 +5175,7 @@ $ac_func();
...
@@ -5192,7 +5175,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:51
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
79
:
\"
$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
...
@@ -5218,12 +5201,12 @@ done
...
@@ -5218,12 +5201,12 @@ done
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
$ac_n
"checking for PS_STRINGS""...
$ac_c
"
1>&6
echo
"configure:52
22
: checking for PS_STRINGS"
>
&5
echo
"configure:52
05
: checking for PS_STRINGS"
>
&5
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_PS_STRINGS
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
pgac_cv_var_PS_STRINGS
'+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 52
27
"configure"
#line 52
10
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <machine/vmparam.h>
#include <machine/vmparam.h>
#include <sys/exec.h>
#include <sys/exec.h>
...
@@ -5233,7 +5216,7 @@ PS_STRINGS->ps_nargvstr = 1;
...
@@ -5233,7 +5216,7 @@ PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = "foo";
PS_STRINGS->ps_argvstr = "foo";
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:52
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
pgac_cv_var_PS_STRINGS
=
yes
pgac_cv_var_PS_STRINGS
=
yes
else
else
...
@@ -5255,12 +5238,12 @@ fi
...
@@ -5255,12 +5238,12 @@ fi
SNPRINTF
=
''
SNPRINTF
=
''
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
$ac_n
"checking for snprintf""...
$ac_c
"
1>&6
echo
"configure:52
59
: checking for snprintf"
>
&5
echo
"configure:52
42
: checking for snprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_snprintf
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_snprintf
'+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 52
64
"configure"
#line 52
47
"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 snprintf(); below. */
which can conflict with char snprintf(); below. */
...
@@ -5283,7 +5266,7 @@ snprintf();
...
@@ -5283,7 +5266,7 @@ snprintf();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:52
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
70
:
\"
$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_snprintf=yes"
eval
"ac_cv_func_snprintf=yes"
else
else
...
@@ -5307,12 +5290,12 @@ SNPRINTF='snprintf.o'
...
@@ -5307,12 +5290,12 @@ SNPRINTF='snprintf.o'
fi
fi
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
$ac_n
"checking for vsnprintf""...
$ac_c
"
1>&6
echo
"configure:5
311
: checking for vsnprintf"
>
&5
echo
"configure:5
294
: checking for vsnprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vsnprintf
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vsnprintf
'+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 5
316
"configure"
#line 5
299
"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 vsnprintf(); below. */
which can conflict with char vsnprintf(); below. */
...
@@ -5335,7 +5318,7 @@ vsnprintf();
...
@@ -5335,7 +5318,7 @@ vsnprintf();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:53
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
22
:
\"
$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_vsnprintf=yes"
eval
"ac_cv_func_vsnprintf=yes"
else
else
...
@@ -5360,7 +5343,7 @@ fi
...
@@ -5360,7 +5343,7 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
64
"configure"
#line 53
47
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
EOF
EOF
...
@@ -5375,7 +5358,7 @@ fi
...
@@ -5375,7 +5358,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
79
"configure"
#line 53
62
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
EOF
EOF
...
@@ -5392,12 +5375,12 @@ rm -f conftest*
...
@@ -5392,12 +5375,12 @@ rm -f conftest*
# do this one the hard way in case isinf() is a macro
# do this one the hard way in case isinf() is a macro
echo
$ac_n
"checking for isinf""...
$ac_c
"
1>&6
echo
$ac_n
"checking for isinf""...
$ac_c
"
1>&6
echo
"configure:53
96
: checking for isinf"
>
&5
echo
"configure:53
79
: checking for isinf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_isinf
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_isinf
'+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 5
401
"configure"
#line 5
384
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <math.h>
#include <math.h>
...
@@ -5405,7 +5388,7 @@ int main() {
...
@@ -5405,7 +5388,7 @@ int main() {
double x = 0.0; int res = isinf(x);
double x = 0.0; int res = isinf(x);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
409
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
392
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_func_isinf
=
yes
ac_cv_func_isinf
=
yes
else
else
...
@@ -5431,12 +5414,12 @@ else
...
@@ -5431,12 +5414,12 @@ else
for
ac_func
in
fpclass fp_class fp_class_d class
for
ac_func
in
fpclass fp_class fp_class_d class
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:54
35
: checking for
$ac_func
"
>
&5
echo
"configure:54
18
: 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 54
40
"configure"
#line 54
23
"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. */
...
@@ -5459,7 +5442,7 @@ $ac_func();
...
@@ -5459,7 +5442,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:54
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:54
46
:
\"
$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
...
@@ -5487,12 +5470,12 @@ fi
...
@@ -5487,12 +5470,12 @@ fi
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getrusage""...
$ac_c
"
1>&6
echo
"configure:54
91
: checking for getrusage"
>
&5
echo
"configure:54
74
: checking for getrusage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getrusage
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getrusage
'+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 54
96
"configure"
#line 54
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 getrusage(); below. */
which can conflict with char getrusage(); below. */
...
@@ -5515,7 +5498,7 @@ getrusage();
...
@@ -5515,7 +5498,7 @@ getrusage();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:55
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
02
:
\"
$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_getrusage=yes"
eval
"ac_cv_func_getrusage=yes"
else
else
...
@@ -5540,12 +5523,12 @@ fi
...
@@ -5540,12 +5523,12 @@ fi
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
$ac_n
"checking for srandom""...
$ac_c
"
1>&6
echo
"configure:55
44
: checking for srandom"
>
&5
echo
"configure:55
27
: checking for srandom"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_srandom
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_srandom
'+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 55
49
"configure"
#line 55
32
"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 srandom(); below. */
which can conflict with char srandom(); below. */
...
@@ -5568,7 +5551,7 @@ srandom();
...
@@ -5568,7 +5551,7 @@ srandom();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:55
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
55
:
\"
$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_srandom=yes"
eval
"ac_cv_func_srandom=yes"
else
else
...
@@ -5593,12 +5576,12 @@ fi
...
@@ -5593,12 +5576,12 @@ fi
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
$ac_n
"checking for gethostname""...
$ac_c
"
1>&6
echo
"configure:55
97
: checking for gethostname"
>
&5
echo
"configure:55
80
: checking for gethostname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostname
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostname
'+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 5
602
"configure"
#line 5
585
"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 gethostname(); below. */
which can conflict with char gethostname(); below. */
...
@@ -5621,7 +5604,7 @@ gethostname();
...
@@ -5621,7 +5604,7 @@ gethostname();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:56
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
08
:
\"
$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_gethostname=yes"
eval
"ac_cv_func_gethostname=yes"
else
else
...
@@ -5646,12 +5629,12 @@ fi
...
@@ -5646,12 +5629,12 @@ fi
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
$ac_n
"checking for random""...
$ac_c
"
1>&6
echo
"configure:56
50
: checking for random"
>
&5
echo
"configure:56
33
: checking for random"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_random
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_random
'+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 56
55
"configure"
#line 56
38
"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 random(); below. */
which can conflict with char random(); below. */
...
@@ -5674,7 +5657,7 @@ random();
...
@@ -5674,7 +5657,7 @@ random();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:56
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
61
:
\"
$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_random=yes"
eval
"ac_cv_func_random=yes"
else
else
...
@@ -5699,12 +5682,12 @@ fi
...
@@ -5699,12 +5682,12 @@ fi
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:5
703
: checking for inet_aton"
>
&5
echo
"configure:5
686
: checking for inet_aton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+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 5
708
"configure"
#line 5
691
"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 inet_aton(); below. */
which can conflict with char inet_aton(); below. */
...
@@ -5727,7 +5710,7 @@ inet_aton();
...
@@ -5727,7 +5710,7 @@ inet_aton();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
14
:
\"
$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_inet_aton=yes"
eval
"ac_cv_func_inet_aton=yes"
else
else
...
@@ -5752,12 +5735,12 @@ fi
...
@@ -5752,12 +5735,12 @@ fi
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
$ac_n
"checking for strerror""...
$ac_c
"
1>&6
echo
"configure:57
56
: checking for strerror"
>
&5
echo
"configure:57
39
: checking for strerror"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strerror
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strerror
'+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 57
61
"configure"
#line 57
44
"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 strerror(); below. */
which can conflict with char strerror(); below. */
...
@@ -5780,7 +5763,7 @@ strerror();
...
@@ -5780,7 +5763,7 @@ strerror();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
67
:
\"
$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_strerror=yes"
eval
"ac_cv_func_strerror=yes"
else
else
...
@@ -5806,12 +5789,12 @@ fi
...
@@ -5806,12 +5789,12 @@ fi
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
$ac_n
"checking for strdup""...
$ac_c
"
1>&6
echo
"configure:5
810
: checking for strdup"
>
&5
echo
"configure:5
793
: checking for strdup"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strdup
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strdup
'+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 5
815
"configure"
#line 5
798
"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 strdup(); below. */
which can conflict with char strdup(); below. */
...
@@ -5834,7 +5817,7 @@ strdup();
...
@@ -5834,7 +5817,7 @@ strdup();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:58
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
21
:
\"
$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_strdup=yes"
eval
"ac_cv_func_strdup=yes"
else
else
...
@@ -5859,12 +5842,12 @@ fi
...
@@ -5859,12 +5842,12 @@ fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:58
63
: checking for strtol"
>
&5
echo
"configure:58
46
: checking for strtol"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtol
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtol
'+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 58
68
"configure"
#line 58
51
"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 strtol(); below. */
which can conflict with char strtol(); below. */
...
@@ -5887,7 +5870,7 @@ strtol();
...
@@ -5887,7 +5870,7 @@ strtol();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:58
91
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
74
:
\"
$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_strtol=yes"
eval
"ac_cv_func_strtol=yes"
else
else
...
@@ -5912,12 +5895,12 @@ fi
...
@@ -5912,12 +5895,12 @@ fi
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
$ac_n
"checking for strtoul""...
$ac_c
"
1>&6
echo
"configure:5
916
: checking for strtoul"
>
&5
echo
"configure:5
899
: checking for strtoul"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtoul
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtoul
'+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 59
21
"configure"
#line 59
04
"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 strtoul(); below. */
which can conflict with char strtoul(); below. */
...
@@ -5940,7 +5923,7 @@ strtoul();
...
@@ -5940,7 +5923,7 @@ strtoul();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:59
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
27
:
\"
$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_strtoul=yes"
eval
"ac_cv_func_strtoul=yes"
else
else
...
@@ -5965,12 +5948,12 @@ fi
...
@@ -5965,12 +5948,12 @@ fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:59
69
: checking for strcasecmp"
>
&5
echo
"configure:59
52
: checking for strcasecmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strcasecmp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strcasecmp
'+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 59
74
"configure"
#line 59
57
"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 strcasecmp(); below. */
which can conflict with char strcasecmp(); below. */
...
@@ -5993,7 +5976,7 @@ strcasecmp();
...
@@ -5993,7 +5976,7 @@ strcasecmp();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:59
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
80
:
\"
$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_strcasecmp=yes"
eval
"ac_cv_func_strcasecmp=yes"
else
else
...
@@ -6018,12 +6001,12 @@ fi
...
@@ -6018,12 +6001,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:60
22
: checking for cbrt"
>
&5
echo
"configure:60
05
: checking for cbrt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+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 60
27
"configure"
#line 60
10
"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 cbrt(); below. */
which can conflict with char cbrt(); below. */
...
@@ -6046,7 +6029,7 @@ cbrt();
...
@@ -6046,7 +6029,7 @@ cbrt();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:60
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
33
:
\"
$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_cbrt=yes"
eval
"ac_cv_func_cbrt=yes"
else
else
...
@@ -6067,7 +6050,7 @@ EOF
...
@@ -6067,7 +6050,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:60
71
: checking for cbrt in -lm"
>
&5
echo
"configure:60
54
: checking for cbrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -6075,7 +6058,7 @@ else
...
@@ -6075,7 +6058,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
79
"configure"
#line 60
62
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -6086,7 +6069,7 @@ int main() {
...
@@ -6086,7 +6069,7 @@ int main() {
cbrt()
cbrt()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:60
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -6124,12 +6107,12 @@ esac
...
@@ -6124,12 +6107,12 @@ esac
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:61
28
: checking for rint"
>
&5
echo
"configure:61
11
: checking for rint"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+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 61
33
"configure"
#line 61
16
"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 rint(); below. */
which can conflict with char rint(); below. */
...
@@ -6152,7 +6135,7 @@ rint();
...
@@ -6152,7 +6135,7 @@ rint();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:61
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
39
:
\"
$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_rint=yes"
eval
"ac_cv_func_rint=yes"
else
else
...
@@ -6173,7 +6156,7 @@ EOF
...
@@ -6173,7 +6156,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:61
77
: checking for rint in -lm"
>
&5
echo
"configure:61
60
: checking for rint in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -6181,7 +6164,7 @@ else
...
@@ -6181,7 +6164,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
LIBS
=
"-lm
$HPUXMATHLIB
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
85
"configure"
#line 61
68
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -6192,7 +6175,7 @@ int main() {
...
@@ -6192,7 +6175,7 @@ int main() {
rint()
rint()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:61
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -6218,107 +6201,57 @@ fi
...
@@ -6218,107 +6201,57 @@ fi
fi
fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 6223 "configure"
#include "confdefs.h"
#include <readline.h>
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"rl_completion_append_character"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_RL_COMPLETION_APPEND_CHARACTER 1
EOF
else
# Readline versions < 2.1 don't have rl_completion_append_character
rm
-rf
conftest
*
echo
$ac_n
"checking for rl_completion_append_character""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
echo
"configure:6208: checking for rl_completion_append_character"
>
&5
#line 6237 "configure"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6210 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <readline/readline.h>
#include <stdio.h>
#ifdef HAVE_READLINE_H
# include <readline.h>
#endif
#ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>
#endif
int main() {
rl_completion_append_character = 'x';
; return 0; }
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
{
(
eval echo
configure:6223:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
egrep
"rl_completion_append_character"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_RL_COMPLETION_APPEND_CHARACTER 1
#define HAVE_RL_COMPLETION_APPEND_CHARACTER 1
EOF
EOF
fi
rm
-f
conftest
*
fi
rm
-f
conftest
*
for
ac_func
in
filename_completion_function
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:6259: 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 6264 "configure"
#include "confdefs.h"
/* 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
if
{
(
eval echo
configure:6287:
\"
$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
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
rm
-rf
conftest
*
e
val
"ac_cv_func_
$ac_func
=no"
e
cho
"
$ac_t
""no"
1>&6
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
cat
>
conftest.
$ac_ext
<<
EOF
#line 6306 "configure"
#include "confdefs.h"
#include <readline.h>
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"filename_completion_function"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_FILENAME_COMPLETION_FUNCTION_DECL 1
EOF
# 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.
echo
$ac_n
"checking whether filename_completion_function is declared""...
$ac_c
"
1>&6
echo
"configure:6244: 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
rm
-rf
conftest
*
_readline_header
=
'xxx'
cat
>
conftest.
$ac_ext
<<
EOF
fi
#line 6320 "configure"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6253 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
readline/readline.h
>
#include <
$_readline_header
>
EOF
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"filename_completion_function"
>
/dev/null 2>&1
;
then
egrep
"filename_completion_function"
>
/dev/null 2>&1
;
then
...
@@ -6327,33 +6260,27 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -6327,33 +6260,27 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
#define HAVE_FILENAME_COMPLETION_FUNCTION_DECL 1
#define HAVE_FILENAME_COMPLETION_FUNCTION_DECL 1
EOF
EOF
fi
echo
"
$ac_t
""yes"
1>&6
rm
-f
conftest
*
fi
rm
-f
conftest
*
else
else
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
done
rm
-f
conftest
*
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
$ac_n
"checking for finite""...
$ac_c
"
1>&6
echo
"configure:6
348
: checking for finite"
>
&5
echo
"configure:6
275
: checking for finite"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
350
"configure"
#line 6
277
"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
357
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
284
:
\"
$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
...
@@ -6368,16 +6295,16 @@ fi
...
@@ -6368,16 +6295,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:6
372
: checking for sigsetjmp"
>
&5
echo
"configure:6
299
: checking for sigsetjmp"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
74
"configure"
#line 63
01
"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:63
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
08
:
\"
$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
...
@@ -6397,12 +6324,12 @@ if test x"${enable_syslog+set}" = xset; then
...
@@ -6397,12 +6324,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:6
401
: checking for syslog"
>
&5
echo
"configure:6
328
: 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 6
406
"configure"
#line 6
333
"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. */
...
@@ -6425,7 +6352,7 @@ syslog();
...
@@ -6425,7 +6352,7 @@ syslog();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
429
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
356
:
\"
$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
...
@@ -6465,7 +6392,7 @@ fi
...
@@ -6465,7 +6392,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:6
469
: checking whether long int is 64 bits"
>
&5
echo
"configure:6
396
: 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
...
@@ -6474,7 +6401,7 @@ else
...
@@ -6474,7 +6401,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 64
78
"configure"
#line 64
05
"configure"
#include "confdefs.h"
#include "confdefs.h"
typedef long int int64;
typedef long int int64;
...
@@ -6503,7 +6430,7 @@ main() {
...
@@ -6503,7 +6430,7 @@ main() {
exit(! does_int64_work());
exit(! does_int64_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:6
507
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
434
:
\"
$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
...
@@ -6530,7 +6457,7 @@ fi
...
@@ -6530,7 +6457,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:6
534
: checking whether long long int is 64 bits"
>
&5
echo
"configure:6
461
: 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
...
@@ -6539,7 +6466,7 @@ else
...
@@ -6539,7 +6466,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 6
543
"configure"
#line 6
470
"configure"
#include "confdefs.h"
#include "confdefs.h"
typedef long long int int64;
typedef long long int int64;
...
@@ -6568,7 +6495,7 @@ main() {
...
@@ -6568,7 +6495,7 @@ main() {
exit(! does_int64_work());
exit(! does_int64_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:6
572
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
499
:
\"
$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
...
@@ -6599,7 +6526,7 @@ fi
...
@@ -6599,7 +6526,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:6
603
: checking whether snprintf handles 'long long int' as %lld"
>
&5
echo
"configure:6
530
: 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
...
@@ -6608,7 +6535,7 @@ echo "configure:6603: checking whether snprintf handles 'long long int' as %lld"
...
@@ -6608,7 +6535,7 @@ echo "configure:6603: checking whether snprintf handles 'long long int' as %lld"
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
612
"configure"
#line 6
539
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
typedef long long int int64;
typedef long long int int64;
...
@@ -6635,7 +6562,7 @@ main() {
...
@@ -6635,7 +6562,7 @@ main() {
exit(! does_int64_snprintf_work());
exit(! does_int64_snprintf_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:6
639
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
566
:
\"
$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"'
...
@@ -6646,7 +6573,7 @@ else
...
@@ -6646,7 +6573,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:6
650
: checking whether snprintf handles 'long long int' as %qd"
>
&5
echo
"configure:6
577
: 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
...
@@ -6655,7 +6582,7 @@ echo "configure:6650: checking whether snprintf handles 'long long int' as %qd"
...
@@ -6655,7 +6582,7 @@ echo "configure:6650: checking whether snprintf handles 'long long int' as %qd"
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
659
"configure"
#line 6
586
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
typedef long long int int64;
typedef long long int int64;
...
@@ -6682,7 +6609,7 @@ main() {
...
@@ -6682,7 +6609,7 @@ main() {
exit(! does_int64_snprintf_work());
exit(! does_int64_snprintf_work());
}
}
EOF
EOF
if
{
(
eval echo
configure:66
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:66
13
:
\"
$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"'
...
@@ -6721,7 +6648,7 @@ EOF
...
@@ -6721,7 +6648,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:6
725
: checking alignment of short"
>
&5
echo
"configure:6
652
: 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
...
@@ -6729,7 +6656,7 @@ else
...
@@ -6729,7 +6656,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 6
733
"configure"
#line 6
660
"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;
...
@@ -6741,7 +6668,7 @@ main()
...
@@ -6741,7 +6668,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:6
745
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
672
:
\"
$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
...
@@ -6761,7 +6688,7 @@ EOF
...
@@ -6761,7 +6688,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:6
765
: checking alignment of int"
>
&5
echo
"configure:6
692
: 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
...
@@ -6769,7 +6696,7 @@ else
...
@@ -6769,7 +6696,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 67
73
"configure"
#line 67
00
"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;
...
@@ -6781,7 +6708,7 @@ main()
...
@@ -6781,7 +6708,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:67
85
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:67
12
:
\"
$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
...
@@ -6801,7 +6728,7 @@ EOF
...
@@ -6801,7 +6728,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:6
805
: checking alignment of long"
>
&5
echo
"configure:6
732
: 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
...
@@ -6809,7 +6736,7 @@ else
...
@@ -6809,7 +6736,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 6
813
"configure"
#line 6
740
"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;
...
@@ -6821,7 +6748,7 @@ main()
...
@@ -6821,7 +6748,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:6
825
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
752
:
\"
$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
...
@@ -6842,7 +6769,7 @@ EOF
...
@@ -6842,7 +6769,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:6
846
: checking alignment of long long int"
>
&5
echo
"configure:6
773
: 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
...
@@ -6850,7 +6777,7 @@ else
...
@@ -6850,7 +6777,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 6
854
"configure"
#line 6
781
"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;
...
@@ -6862,7 +6789,7 @@ main()
...
@@ -6862,7 +6789,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:6
866
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
793
:
\"
$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
...
@@ -6883,7 +6810,7 @@ EOF
...
@@ -6883,7 +6810,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:68
87
: checking alignment of double"
>
&5
echo
"configure:68
14
: 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
...
@@ -6891,7 +6818,7 @@ else
...
@@ -6891,7 +6818,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 68
95
"configure"
#line 68
22
"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;
...
@@ -6903,7 +6830,7 @@ main()
...
@@ -6903,7 +6830,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:6
907
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
834
:
\"
$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
...
@@ -6941,12 +6868,12 @@ EOF
...
@@ -6941,12 +6868,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:6
945
: checking for POSIX signal interface"
>
&5
echo
"configure:6
872
: 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 6
950
"configure"
#line 6
877
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <signal.h>
#include <signal.h>
...
@@ -6957,7 +6884,7 @@ act.sa_flags = SA_RESTART;
...
@@ -6957,7 +6884,7 @@ act.sa_flags = SA_RESTART;
sigaction(0, &act, &oact);
sigaction(0, &act, &oact);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
961
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
888
:
\"
$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
...
@@ -6987,7 +6914,7 @@ do
...
@@ -6987,7 +6914,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:69
91
: checking for
$ac_word
"
>
&5
echo
"configure:69
18
: 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
...
@@ -7023,7 +6950,7 @@ test -n "$TCLSH" && break
...
@@ -7023,7 +6950,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:
7027
: checking for tclConfig.sh"
>
&5
echo
"configure:
6954
: 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
"
...
@@ -7056,7 +6983,7 @@ fi
...
@@ -7056,7 +6983,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:
7060
: checking for tkConfig.sh"
>
&5
echo
"configure:
6987
: 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
"
...
@@ -7297,9 +7224,6 @@ s%@STRTOL@%$STRTOL%g
...
@@ -7297,9 +7224,6 @@ s%@STRTOL@%$STRTOL%g
s%@STRTOUL@%
$STRTOUL
%g
s%@STRTOUL@%
$STRTOUL
%g
s%@STRCASECMP@%
$STRCASECMP
%g
s%@STRCASECMP@%
$STRCASECMP
%g
s%@HPUXMATHLIB@%
$HPUXMATHLIB
%g
s%@HPUXMATHLIB@%
$HPUXMATHLIB
%g
s%@HAVE_RL_COMPLETION_APPEND_CHARACTER@%
$HAVE_RL_COMPLETION_APPEND_CHARACTER
%g
s%@HAVE_FILENAME_COMPLETION_FUNCTION@%
$HAVE_FILENAME_COMPLETION_FUNCTION
%g
s%@HAVE_FILENAME_COMPLETION_FUNCTION_DECL@%
$HAVE_FILENAME_COMPLETION_FUNCTION_DECL
%g
s%@HAVE_POSIX_SIGNALS@%
$HAVE_POSIX_SIGNALS
%g
s%@HAVE_POSIX_SIGNALS@%
$HAVE_POSIX_SIGNALS
%g
s%@TCLSH@%
$TCLSH
%g
s%@TCLSH@%
$TCLSH
%g
s%@TCL_CONFIG_SH@%
$TCL_CONFIG_SH
%g
s%@TCL_CONFIG_SH@%
$TCL_CONFIG_SH
%g
...
...
configure.in
View file @
831e78e0
...
@@ -612,9 +612,8 @@ fi
...
@@ -612,9 +612,8 @@ fi
AC_CHECK_LIB(sfio, main)
AC_CHECK_LIB(sfio, main)
AC_CHECK_LIB(ncurses, main, [], [AC_CHECK_LIB(curses, main)])
AC_CHECK_LIB(ncurses, main, [], [AC_CHECK_LIB(curses, main)])
AC_CHECK_LIB(termcap, main)
AC_CHECK_LIB(termcap, main)
AC_CHECK_LIB(readline, main)
AC_CHECK_LIB(readline, readline)
AC_CHECK_LIB(readline, using_history, AC_DEFINE(HAVE_HISTORY_IN_READLINE),
AC_SEARCH_LIBS(using_history, history, [AC_DEFINE(HAVE_HISTORY_FUNCTIONS)])
AC_CHECK_LIB(history, main) )
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
then
then
...
@@ -832,24 +831,39 @@ AC_CHECK_FUNC(rint,
...
@@ -832,24 +831,39 @@ AC_CHECK_FUNC(rint,
AC_DEFINE(HAVE_RINT),
AC_DEFINE(HAVE_RINT),
AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT), , $HPUXMATHLIB))
AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT), , $HPUXMATHLIB))
dnl Some old versions of libreadline don't have rl_completion_append_character
AC_EGREP_HEADER(rl_completion_append_character, readline.h,
# Readline versions < 2.1 don't have rl_completion_append_character
AC_DEFINE(HAVE_RL_COMPLETION_APPEND_CHARACTER),
AC_MSG_CHECKING([for rl_completion_append_character])
[AC_EGREP_HEADER(rl_completion_append_character, readline/readline.h,
AC_TRY_LINK([#include <stdio.h>
AC_DEFINE(HAVE_RL_COMPLETION_APPEND_CHARACTER))])
#ifdef HAVE_READLINE_H
AC_SUBST(HAVE_RL_COMPLETION_APPEND_CHARACTER)
# include <readline.h>
#endif
dnl Check for readline's filename_completion_function.
#ifdef HAVE_READLINE_READLINE_H
dnl Some versions have it but it's not in the headers, so we have to take
# include <readline/readline.h>
dnl care of that, too.
#endif],
AC_CHECK_FUNCS(filename_completion_function,
[rl_completion_append_character = 'x';],
AC_EGREP_HEADER(filename_completion_function, readline.h,
[AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FILENAME_COMPLETION_FUNCTION_DECL),
AC_DEFINE(HAVE_RL_COMPLETION_APPEND_CHARACTER)],
[AC_EGREP_HEADER(filename_completion_function, readline/readline.h,
[AC_MSG_RESULT(no)])
AC_DEFINE(HAVE_FILENAME_COMPLETION_FUNCTION_DECL))])
)
AC_SUBST(HAVE_FILENAME_COMPLETION_FUNCTION)
# Check whether readline's filename_completion_function is declared.
AC_SUBST(HAVE_FILENAME_COMPLETION_FUNCTION_DECL)
# 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/input.h
View file @
831e78e0
...
@@ -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/input.h,v 1.1
0 2000/04/12 17:16:22 momjian
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/input.h,v 1.1
1 2000/10/03 19:50:20 petere
Exp $
*/
*/
#ifndef INPUT_H
#ifndef INPUT_H
#define INPUT_H
#define INPUT_H
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#endif
#endif
#endif
#endif
#if defined(HAVE_
LIBHISTORY) || (defined(HAVE_LIBREADLINE) && defined(HAVE_HISTORY_IN_READLINE)
)
#if defined(HAVE_
HISTORY_FUNCTIONS
)
#if defined(HAVE_READLINE_HISTORY_H)
#if defined(HAVE_READLINE_HISTORY_H)
#include <readline/history.h>
#include <readline/history.h>
#define USE_HISTORY 1
#define USE_HISTORY 1
...
...
src/bin/psql/tab-complete.c
View file @
831e78e0
...
@@ -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.2
0 2000/06/25 14:25:51
petere Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.2
1 2000/10/03 19:50:20
petere Exp $
*/
*/
/*----------------------------------------------------------------------
/*----------------------------------------------------------------------
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
#include "common.h"
#include "common.h"
#include "settings.h"
#include "settings.h"
#if
defined(HAVE_FILENAME_COMPLETION_FUNCTION) && !defined(HAVE_FILENAME_COMPLETION_FUNCTION_DECL)
#if
ndef HAVE_FILENAME_COMPLETION_FUNCTION_DECL
char
*
filename_completion_function
(
char
*
,
int
);
char
*
filename_completion_function
(
char
*
,
int
);
#endif
#endif
...
@@ -699,17 +699,7 @@ psql_completion(char *text, int start, int end)
...
@@ -699,17 +699,7 @@ psql_completion(char *text, int start, int end)
strcmp
(
prev_wd
,
"
\\
w"
)
==
0
||
strcmp
(
prev_wd
,
"
\\
write"
)
==
0
strcmp
(
prev_wd
,
"
\\
w"
)
==
0
||
strcmp
(
prev_wd
,
"
\\
write"
)
==
0
)
)
{
{
#ifdef HAVE_FILENAME_COMPLETION_FUNCTION
matches
=
completion_matches
(
text
,
filename_completion_function
);
matches
=
completion_matches
(
text
,
filename_completion_function
);
#else
/*
* This will probably have the same effect, but you never know
* what the heck some readline incarnation out there is going to
* do.
*/
matches
=
NULL
;
#endif
}
}
...
...
src/include/config.h.in
View file @
831e78e0
...
@@ -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.1
39 2000/10/03 03:11:23 momjian
Exp $
* $Id: config.h.in,v 1.1
40 2000/10/03 19:50:21 petere
Exp $
*/
*/
#ifndef CONFIG_H
#ifndef CONFIG_H
...
@@ -384,8 +384,8 @@
...
@@ -384,8 +384,8 @@
/* Define if you have the stricmp function. */
/* Define if you have the stricmp function. */
#undef HAVE_STRICMP
#undef HAVE_STRICMP
/* Set to 1 if you have
libreadline and it includes history functions
*/
/* Set to 1 if you have
history functions (either in libhistory or libreadline)
*/
#undef HAVE_HISTORY_
IN_READLINE
#undef HAVE_HISTORY_
FUNCTIONS
/* Set to 1 if you have <pwd.h> */
/* Set to 1 if you have <pwd.h> */
#undef HAVE_PWD_H
#undef HAVE_PWD_H
...
@@ -547,10 +547,7 @@ extern void srandom(unsigned int seed);
...
@@ -547,10 +547,7 @@ extern void srandom(unsigned int seed);
/* 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 your libreadline has filename_completion_function */
/* Set to 1 if filename_completion_function is declared in the readline header */
#undef HAVE_FILENAME_COMPLETION_FUNCTION
/* Set to 1 if your readline headers actually declare the above */
#undef HAVE_FILENAME_COMPLETION_FUNCTION_DECL
#undef HAVE_FILENAME_COMPLETION_FUNCTION_DECL
/* Set to 1 if you have getopt_long() (GNU long options) */
/* Set to 1 if you have getopt_long() (GNU long options) */
...
...
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