Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3dc0a514
Commit
3dc0a514
authored
Oct 05, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ Patch #101730 ] Add initial static support for Darwin/MacOSX.
By D.K. Wolfe.
parent
77317ca7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
355 additions
and
343 deletions
+355
-343
configure
configure
+341
-335
configure.in
configure.in
+14
-8
No files found.
configure
View file @
3dc0a514
#! /bin/sh
# From configure.in Revision: 1.16
5
# From configure.in Revision: 1.16
6
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
...
...
@@ -16,9 +16,9 @@ ac_default_prefix=/usr/local
ac_help
=
"
$ac_help
--with-next-archs='arch1 arch2 ..' build MAB binary"
ac_help
=
"
$ac_help
--with-next-framework Build (OpenStep|Rhapsody|MacOSX) framework"
--with-next-framework Build (OpenStep|Rhapsody|MacOSX
|Darwin
) framework"
ac_help
=
"
$ac_help
--with-dyld Use (OpenStep|Rhapsody|MacOSX) dynamic linker"
--with-dyld Use (OpenStep|Rhapsody|MacOSX
|Darwin
) dynamic linker"
ac_help
=
"
$ac_help
--without-gcc never use gcc"
ac_help
=
"
$ac_help
...
...
@@ -569,7 +569,7 @@ fi
VERSION
=
2.0
# NEXTSTEP stuff
# NEXTSTEP
|MacOSX|Darwin
stuff
if
test
-f
/usr/lib/NextStep/software_version
-o
-f
/System/Library/CoreServices/software_version
;
then
echo
$ac_n
"checking for --with-next-archs""...
$ac_c
"
1>&6
...
...
@@ -592,11 +592,16 @@ fi
if
test
-z
"
$MACHDEP
"
then
ac_sys_system
=
`
uname
-s
`
if
test
"
$ac_sys_system
"
=
"Darwin"
;
then
ac_sys_release
=
`
uname
-r
`
else
set
X
`
hostinfo | egrep
'(NeXT Mach|Kernel Release).*:'
|
\
sed
-e
's/://'
-e
's/\./_/'
`
&&
\
ac_sys_system
=
next
&&
ac_sys_release
=
$4
sed
-e
's/://'
-e
's/\./_/'
`
&&
\
ac_sys_system
=
next
&&
ac_sys_release
=
$4
fi
MACHDEP
=
"
$ac_sys_system$ac_sys_release
"
MACHDEP
=
"
$ac_sys_system$ac_sys_release
"
fi
fi
...
...
@@ -616,7 +621,7 @@ fi
# Set name for machine-dependent library files
echo
$ac_n
"checking MACHDEP""...
$ac_c
"
1>&6
echo
"configure:62
0
: checking MACHDEP"
>
&5
echo
"configure:62
5
: checking MACHDEP"
>
&5
if
test
-z
"
$MACHDEP
"
then
ac_sys_system
=
`
uname
-s
`
...
...
@@ -676,7 +681,7 @@ echo "$ac_t""$MACHDEP" 1>&6
# checks for alternative programs
echo
$ac_n
"checking for --without-gcc""...
$ac_c
"
1>&6
echo
"configure:68
0
: checking for --without-gcc"
>
&5
echo
"configure:68
5
: checking for --without-gcc"
>
&5
# Check whether --with-gcc or --without-gcc was given.
if
test
"
${
with_gcc
+set
}
"
=
set
;
then
withval
=
"
$with_gcc
"
...
...
@@ -750,7 +755,7 @@ echo "$ac_t""$without_gcc" 1>&6
MAINOBJ
=
python.o
echo
$ac_n
"checking for --with-cxx=<compiler>""...
$ac_c
"
1>&6
echo
"configure:75
4
: checking for --with-cxx=<compiler>"
>
&5
echo
"configure:75
9
: checking for --with-cxx=<compiler>"
>
&5
# Check whether --with-cxx or --without-cxx was given.
if
test
"
${
with_cxx
+set
}
"
=
set
;
then
withval
=
"
$with_cxx
"
...
...
@@ -794,7 +799,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
798
: checking for
$ac_word
"
>
&5
echo
"configure:
803
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -824,7 +829,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:8
28
: checking for
$ac_word
"
>
&5
echo
"configure:8
33
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -875,7 +880,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:8
79
: checking for
$ac_word
"
>
&5
echo
"configure:8
84
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -907,7 +912,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:91
1
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:91
6
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -918,12 +923,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 92
2
"configure"
#line 92
7
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:9
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:9
32
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -949,12 +954,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:95
3
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:95
8
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:9
58
: checking whether we are using GNU C"
>
&5
echo
"configure:9
63
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -963,7 +968,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:9
67
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:9
72
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -982,7 +987,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:9
86
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:9
91
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1015,7 +1020,7 @@ fi
echo
$ac_n
"checking for --with-suffix""...
$ac_c
"
1>&6
echo
"configure:10
19
: checking for --with-suffix"
>
&5
echo
"configure:10
24
: checking for --with-suffix"
>
&5
# Check whether --with-suffix or --without-suffix was given.
if
test
"
${
with_suffix
+set
}
"
=
set
;
then
withval
=
"
$with_suffix
"
...
...
@@ -1064,7 +1069,7 @@ LDLIBRARY=''
# linking.
echo
$ac_n
"checking LINKCC""...
$ac_c
"
1>&6
echo
"configure:10
68
: checking LINKCC"
>
&5
echo
"configure:10
73
: checking LINKCC"
>
&5
if
test
-z
"
$LINKCC
"
-a
!
-z
"
$CXX
"
then
LINKCC
=
"
$CXX
"
...
...
@@ -1087,7 +1092,7 @@ fi
echo
"
$ac_t
""
$LINKCC
"
1>&6
echo
$ac_n
"checking LDLIBRARY""...
$ac_c
"
1>&6
echo
"configure:109
1
: checking LDLIBRARY"
>
&5
echo
"configure:109
6
: checking LDLIBRARY"
>
&5
# NeXT framework builds require that the 'ar' library be converted into
# a bundle using libtool.
...
...
@@ -1116,7 +1121,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:112
0
: checking for
$ac_word
"
>
&5
echo
"configure:112
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1149,7 +1154,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:115
3
: checking for
$ac_word
"
>
&5
echo
"configure:115
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1228,7 +1233,7 @@ then
fi
# checks for UNIX variants that set C preprocessor variables
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:123
2
: checking how to run the C preprocessor"
>
&5
echo
"configure:123
7
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -1243,13 +1248,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
47
"configure"
#line 12
52
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:125
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:125
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -1260,13 +1265,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 126
4
"configure"
#line 126
9
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:127
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:127
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -1277,13 +1282,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 128
1
"configure"
#line 128
6
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:12
87
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:12
92
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -1308,9 +1313,9 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&6
echo
"configure:131
2
: checking for AIX"
>
&5
echo
"configure:131
7
: checking for AIX"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 131
4
"configure"
#line 131
9
"configure"
#include "confdefs.h"
#ifdef _AIX
yes
...
...
@@ -1333,17 +1338,17 @@ rm -f conftest*
ac_safe
=
`
echo
"minix/config.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for minix/config.h""...
$ac_c
"
1>&6
echo
"configure:13
37
: checking for minix/config.h"
>
&5
echo
"configure:13
42
: checking for minix/config.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 134
2
"configure"
#line 134
7
"configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:13
47
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:13
52
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1382,7 +1387,7 @@ fi
echo
$ac_n
"checking whether
$CC
accepts -OPT:Olimit=0""...
$ac_c
"
1>&6
echo
"configure:13
86
: checking whether
$CC
accepts -OPT:Olimit=0"
>
&5
echo
"configure:13
91
: checking whether
$CC
accepts -OPT:Olimit=0"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_opt_olimit_ok
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1392,11 +1397,11 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
396
"configure"
#line 1
401
"configure"
#include "confdefs.h"
int main() { return 0; }
EOF
if
{
(
eval echo
configure:140
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:140
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_opt_olimit_ok
=
yes
else
...
...
@@ -1416,7 +1421,7 @@ if test $ac_cv_opt_olimit_ok = yes; then
OPT
=
"
$OPT
-OPT:Olimit=0"
else
echo
$ac_n
"checking whether
$CC
accepts -Olimit 1500""...
$ac_c
"
1>&6
echo
"configure:142
0
: checking whether
$CC
accepts -Olimit 1500"
>
&5
echo
"configure:142
5
: checking whether
$CC
accepts -Olimit 1500"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_olimit_ok
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1426,11 +1431,11 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 143
0
"configure"
#line 143
5
"configure"
#include "confdefs.h"
int main() { return 0; }
EOF
if
{
(
eval echo
configure:143
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:143
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_olimit_ok
=
yes
else
...
...
@@ -1454,12 +1459,12 @@ fi
# checks for header files
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:14
58
: checking for ANSI C header files"
>
&5
echo
"configure:14
63
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 146
3
"configure"
#line 146
8
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -1467,7 +1472,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:147
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:147
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1484,7 +1489,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
88
"configure"
#line 14
93
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -1502,7 +1507,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
06
"configure"
#line 15
11
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -1523,7 +1528,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
27
"configure"
#line 15
32
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -1534,7 +1539,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:15
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:15
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -1566,17 +1571,17 @@ ndbm.h db1/ndbm.h gdbm/ndbm.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:157
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:157
5
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
75
"configure"
#line 15
80
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:158
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:158
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1607,12 +1612,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
that defines DIR""...
$ac_c
"
1>&6
echo
"configure:161
1
: checking for
$ac_hdr
that defines DIR"
>
&5
echo
"configure:161
6
: checking for
$ac_hdr
that defines DIR"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_dirent_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
16
"configure"
#line 16
21
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_hdr
>
...
...
@@ -1620,7 +1625,7 @@ int main() {
DIR *dirp = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:162
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:162
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
else
...
...
@@ -1645,7 +1650,7 @@ done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if
test
$ac_header_dirent
=
dirent.h
;
then
echo
$ac_n
"checking for opendir in -ldir""...
$ac_c
"
1>&6
echo
"configure:16
49
: checking for opendir in -ldir"
>
&5
echo
"configure:16
54
: checking for opendir in -ldir"
>
&5
ac_lib_var
=
`
echo dir
'_'
opendir |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1653,7 +1658,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
57
"configure"
#line 16
62
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1664,7 +1669,7 @@ int main() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:16
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:16
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1686,7 +1691,7 @@ fi
else
echo
$ac_n
"checking for opendir in -lx""...
$ac_c
"
1>&6
echo
"configure:169
0
: checking for opendir in -lx"
>
&5
echo
"configure:169
5
: checking for opendir in -lx"
>
&5
ac_lib_var
=
`
echo
x
'_'
opendir |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1694,7 +1699,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
698
"configure"
#line 1
703
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1705,7 +1710,7 @@ int main() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:17
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:17
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1731,9 +1736,9 @@ fi
# checks for typedefs
was_it_defined
=
no
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
echo
"configure:17
35
: checking for clock_t in time.h"
>
&5
echo
"configure:17
40
: checking for clock_t in time.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
37
"configure"
#line 17
42
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -1761,12 +1766,12 @@ EOF
# Type availability checks
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:17
65
: checking for mode_t"
>
&5
echo
"configure:17
70
: checking for mode_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 177
0
"configure"
#line 177
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1794,12 +1799,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:1
798
: checking for off_t"
>
&5
echo
"configure:1
803
: checking for off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 180
3
"configure"
#line 180
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1827,12 +1832,12 @@ EOF
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:183
1
: checking for pid_t"
>
&5
echo
"configure:183
6
: checking for pid_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
36
"configure"
#line 18
41
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1860,12 +1865,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:186
4
: checking return type of signal handlers"
>
&5
echo
"configure:186
9
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
69
"configure"
#line 18
74
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -1882,7 +1887,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:18
86
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:18
91
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -1901,12 +1906,12 @@ EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:19
05
: checking for size_t"
>
&5
echo
"configure:19
10
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 191
0
"configure"
#line 191
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1934,12 +1939,12 @@ EOF
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:19
38
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:19
43
: checking for uid_t in sys/types.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 194
3
"configure"
#line 194
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -1970,7 +1975,7 @@ fi
# Sizes of various common basic types
echo
$ac_n
"checking size of int""...
$ac_c
"
1>&6
echo
"configure:197
4
: checking size of int"
>
&5
echo
"configure:197
9
: checking size of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1978,7 +1983,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 198
2
"configure"
#line 198
7
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -1989,7 +1994,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:199
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:199
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_int
=
`
cat
conftestval
`
else
...
...
@@ -2009,7 +2014,7 @@ EOF
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
"configure:201
3
: checking size of long"
>
&5
echo
"configure:201
8
: checking size of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2017,7 +2022,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 202
1
"configure"
#line 202
6
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2028,7 +2033,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:203
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:203
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long
=
`
cat
conftestval
`
else
...
...
@@ -2048,7 +2053,7 @@ EOF
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:205
2
: checking size of void *"
>
&5
echo
"configure:205
7
: checking size of void *"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_void_p
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2056,7 +2061,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 206
0
"configure"
#line 206
5
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2067,7 +2072,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:207
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:207
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_void_p
=
`
cat
conftestval
`
else
...
...
@@ -2087,7 +2092,7 @@ EOF
echo
$ac_n
"checking size of char""...
$ac_c
"
1>&6
echo
"configure:209
1
: checking size of char"
>
&5
echo
"configure:209
6
: checking size of char"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_char
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2095,7 +2100,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
099
"configure"
#line 2
104
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2106,7 +2111,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:211
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:211
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_char
=
`
cat
conftestval
`
else
...
...
@@ -2126,7 +2131,7 @@ EOF
echo
$ac_n
"checking size of short""...
$ac_c
"
1>&6
echo
"configure:213
0
: checking size of short"
>
&5
echo
"configure:213
5
: checking size of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2134,7 +2139,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
38
"configure"
#line 21
43
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2145,7 +2150,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:21
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:21
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_short
=
`
cat
conftestval
`
else
...
...
@@ -2165,7 +2170,7 @@ EOF
echo
$ac_n
"checking size of float""...
$ac_c
"
1>&6
echo
"configure:21
69
: checking size of float"
>
&5
echo
"configure:21
74
: checking size of float"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_float
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2173,7 +2178,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
77
"configure"
#line 21
82
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2184,7 +2189,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:21
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:21
93
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_float
=
`
cat
conftestval
`
else
...
...
@@ -2204,7 +2209,7 @@ EOF
echo
$ac_n
"checking size of double""...
$ac_c
"
1>&6
echo
"configure:22
08
: checking size of double"
>
&5
echo
"configure:22
13
: checking size of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2212,7 +2217,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
16
"configure"
#line 22
21
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2223,7 +2228,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:22
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:22
32
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_double
=
`
cat
conftestval
`
else
...
...
@@ -2243,7 +2248,7 @@ EOF
echo
$ac_n
"checking size of fpos_t""...
$ac_c
"
1>&6
echo
"configure:22
47
: checking size of fpos_t"
>
&5
echo
"configure:22
52
: checking size of fpos_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_fpos_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2251,7 +2256,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
55
"configure"
#line 22
60
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2262,7 +2267,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:22
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:22
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_fpos_t
=
`
cat
conftestval
`
else
...
...
@@ -2283,17 +2288,17 @@ EOF
echo
$ac_n
"checking for long long support""...
$ac_c
"
1>&6
echo
"configure:22
87
: checking for long long support"
>
&5
echo
"configure:22
92
: checking for long long support"
>
&5
have_long_long
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 229
0
"configure"
#line 229
5
"configure"
#include "confdefs.h"
int main() {
long long x; x = (long long)0;
; return 0; }
EOF
if
{
(
eval echo
configure:2
297
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
302
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LONG_LONG 1
...
...
@@ -2307,7 +2312,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_long_long
"
1>&6
if
test
"
$have_long_long
"
=
yes
;
then
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:231
1
: checking size of long long"
>
&5
echo
"configure:231
6
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2315,7 +2320,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
19
"configure"
#line 23
24
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2326,7 +2331,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:233
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:233
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -2348,17 +2353,17 @@ EOF
fi
echo
$ac_n
"checking for uintptr_t support""...
$ac_c
"
1>&6
echo
"configure:235
2
: checking for uintptr_t support"
>
&5
echo
"configure:235
7
: checking for uintptr_t support"
>
&5
have_uintptr_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
55
"configure"
#line 23
60
"configure"
#include "confdefs.h"
int main() {
uintptr_t x; x = (uintptr_t)0;
; return 0; }
EOF
if
{
(
eval echo
configure:236
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:236
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_UINTPTR_T 1
...
...
@@ -2372,7 +2377,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_uintptr_t
"
1>&6
if
test
"
$have_uintptr_t
"
=
yes
;
then
echo
$ac_n
"checking size of uintptr_t""...
$ac_c
"
1>&6
echo
"configure:23
76
: checking size of uintptr_t"
>
&5
echo
"configure:23
81
: checking size of uintptr_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_uintptr_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2380,7 +2385,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 238
4
"configure"
#line 238
9
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2391,7 +2396,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:2
395
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:2
400
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_uintptr_t
=
`
cat
conftestval
`
else
...
...
@@ -2414,7 +2419,7 @@ fi
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
echo
$ac_n
"checking size of off_t""...
$ac_c
"
1>&6
echo
"configure:24
18
: checking size of off_t"
>
&5
echo
"configure:24
23
: checking size of off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2422,7 +2427,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
26
"configure"
#line 24
31
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -2434,7 +2439,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:24
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:24
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_off_t
=
`
cat
conftestval
`
else
...
...
@@ -2456,7 +2461,7 @@ EOF
echo
$ac_n
"checking whether to enable large file support""...
$ac_c
"
1>&6
echo
"configure:246
0
: checking whether to enable large file support"
>
&5
echo
"configure:246
5
: checking whether to enable large file support"
>
&5
if
test
"
$have_long_long
"
=
yes
-a
\
"
$ac_cv_sizeof_off_t
"
-gt
"
$ac_cv_sizeof_long
"
-a
\
"
$ac_cv_sizeof_long_long
"
-ge
"
$ac_cv_sizeof_off_t
"
;
then
...
...
@@ -2471,7 +2476,7 @@ fi
# AC_CHECK_SIZEOF() doesn't include <time.h>.
echo
$ac_n
"checking size of time_t""...
$ac_c
"
1>&6
echo
"configure:24
75
: checking size of time_t"
>
&5
echo
"configure:24
80
: checking size of time_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_time_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2479,7 +2484,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 248
3
"configure"
#line 248
8
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <time.h>
...
...
@@ -2491,7 +2496,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:2
495
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:2
500
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_time_t
=
`
cat
conftestval
`
else
...
...
@@ -2515,17 +2520,17 @@ EOF
# if have pthread_t then define SIZEOF_PTHREAD_T
echo
$ac_n
"checking for pthread_t""...
$ac_c
"
1>&6
echo
"configure:25
19
: checking for pthread_t"
>
&5
echo
"configure:25
24
: checking for pthread_t"
>
&5
have_pthread_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 252
2
"configure"
#line 252
7
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
pthread_t x; x = *(pthread_t*)0;
; return 0; }
EOF
if
{
(
eval echo
configure:25
29
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:25
34
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
have_pthread_t
=
yes
else
...
...
@@ -2537,7 +2542,7 @@ echo "$ac_t""$have_pthread_t" 1>&6
if
test
"
$have_pthread_t
"
=
yes
;
then
# AC_CHECK_SIZEOF() doesn't include <pthread.h>.
echo
$ac_n
"checking size of pthread_t""...
$ac_c
"
1>&6
echo
"configure:254
1
: checking size of pthread_t"
>
&5
echo
"configure:254
6
: checking size of pthread_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_pthread_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2545,7 +2550,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
49
"configure"
#line 25
54
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <pthread.h>
...
...
@@ -2557,7 +2562,7 @@ else
exit(0);
}
EOF
if
{
(
eval echo
configure:256
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:256
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_pthread_t
=
`
cat
conftestval
`
else
...
...
@@ -2592,7 +2597,7 @@ case $ac_sys_system/$ac_sys_release in
esac
echo
$ac_n
"checking for --with-next-framework""...
$ac_c
"
1>&6
echo
"configure:2
596
: checking for --with-next-framework"
>
&5
echo
"configure:2
601
: checking for --with-next-framework"
>
&5
if
test
"
$with_next_framework
"
then
OPT
=
"
$OPT
-fno-common"
...
...
@@ -2609,7 +2614,7 @@ else
fi
echo
$ac_n
"checking for --with-dyld""...
$ac_c
"
1>&6
echo
"configure:261
3
: checking for --with-dyld"
>
&5
echo
"configure:261
8
: checking for --with-dyld"
>
&5
if
test
"
$with_next_framework
"
-o
"
$with_dyld
"
then
if
test
"
$with_dyld
"
...
...
@@ -2635,7 +2640,7 @@ fi
# SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX
echo
$ac_n
"checking SO""...
$ac_c
"
1>&6
echo
"configure:26
39
: checking SO"
>
&5
echo
"configure:26
44
: checking SO"
>
&5
if
test
-z
"
$SO
"
then
case
$ac_sys_system
in
...
...
@@ -2649,7 +2654,7 @@ echo "$ac_t""$SO" 1>&6
# (Shared libraries in this instance are shared modules to be loaded into
# Python, as opposed to building Python itself as a shared library.)
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&6
echo
"configure:265
3
: checking LDSHARED"
>
&5
echo
"configure:265
8
: checking LDSHARED"
>
&5
if
test
-z
"
$LDSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -2666,12 +2671,12 @@ then
hp
*
|
HP
*
)
LDSHARED
=
"ld -b"
;;
OSF
*
)
LDSHARED
=
"ld -shared -expect_unresolved
\"
*
\"
"
;;
DYNIX/ptx
*
)
LDSHARED
=
"ld -G"
;;
next/
*
)
Darwin/
*
|
next/
*
)
if
test
"
$ns_dyld
"
then
LDSHARED
=
'$(CC) $(LDFLAGS) -bundle -prebind'
else
LDSHARED
=
'$(CC) $(CFLAGS) -nostdlib -r'
;
fi
if
test
"
$with_next_framework
"
;
then
if
test
"
$with_next_framework
"
;
then
LDSHARED
=
"
$LDSHARED
\$
(LDLIBRARY)"
fi
;;
Linux
*
)
LDSHARED
=
"gcc -shared"
;;
...
...
@@ -2701,7 +2706,7 @@ echo "$ac_t""$LDSHARED" 1>&6
# CCSHARED are the C *flags* used to create objects to go into a shared
# library (module) -- this is only needed for a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
"configure:27
05
: checking CCSHARED"
>
&5
echo
"configure:27
10
: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -2725,7 +2730,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
"configure:27
29
: checking LINKFORSHARED"
>
&5
echo
"configure:27
34
: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -2761,7 +2766,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:27
65
: checking for dlopen in -ldl"
>
&5
echo
"configure:27
70
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2769,7 +2774,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 277
3
"configure"
#line 277
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2780,7 +2785,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:278
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:278
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2808,7 +2813,7 @@ else
fi
# Dynamic linking for SunOS/Solaris and SYSV
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
"configure:281
2
: checking for shl_load in -ldld"
>
&5
echo
"configure:281
7
: checking for shl_load in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2816,7 +2821,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 282
0
"configure"
#line 282
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2827,7 +2832,7 @@ int main() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:283
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:283
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2857,7 +2862,7 @@ fi
# Check for --with-pydebug
echo
$ac_n
"checking for --with-pydebug""...
$ac_c
"
1>&6
echo
"configure:286
1
: checking for --with-pydebug"
>
&5
echo
"configure:286
6
: checking for --with-pydebug"
>
&5
# Check whether --with-pydebug or --without-pydebug was given.
if
test
"
${
with_pydebug
+set
}
"
=
set
;
then
withval
=
"
$with_pydebug
"
...
...
@@ -2877,16 +2882,16 @@ fi
# checks for system dependent C++ extensions support
case
"
$ac_sys_system
"
in
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
echo
"configure:288
1
: checking for genuine AIX C++ extensions support"
>
&5
echo
"configure:288
6
: checking for genuine AIX C++ extensions support"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 288
3
"configure"
#line 288
8
"configure"
#include "confdefs.h"
#include "/usr/lpp/xlC/include/load.h"
int main() {
loadAndInit("", 0, "")
; return 0; }
EOF
if
{
(
eval echo
configure:289
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:289
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define AIX_GENUINE_CPLUSPLUS 1
...
...
@@ -2910,7 +2915,7 @@ case "$ac_sys_system" in
IRIX
*
)
;;
*
)
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:291
4
: checking for t_open in -lnsl"
>
&5
echo
"configure:291
9
: checking for t_open in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2918,7 +2923,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 292
2
"configure"
#line 292
7
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2929,7 +2934,7 @@ int main() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:293
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:293
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2950,7 +2955,7 @@ else
fi
# SVR4
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:295
4
: checking for socket in -lsocket"
>
&5
echo
"configure:295
9
: checking for socket in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2958,7 +2963,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 296
2
"configure"
#line 296
7
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2969,7 +2974,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:297
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:297
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2994,7 +2999,7 @@ esac
case
"
$ac_sys_system
"
in
BeOS
*
)
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
"configure:
2998
: checking for socket in -lnet"
>
&5
echo
"configure:
3003
: checking for socket in -lnet"
>
&5
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3002,7 +3007,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
06
"configure"
#line 30
11
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3013,7 +3018,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:30
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3037,7 +3042,7 @@ fi
esac
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:304
1
: checking for --with-libs"
>
&5
echo
"configure:304
6
: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
...
...
@@ -3054,7 +3059,7 @@ fi
USE_THREAD_MODULE
=
""
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:30
58
: checking for --with-dec-threads"
>
&5
echo
"configure:30
63
: checking for --with-dec-threads"
>
&5
# Check whether --with-dec-threads or --without-dec-threads was given.
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
...
...
@@ -3071,7 +3076,7 @@ fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:30
75
: checking for --with-threads"
>
&5
echo
"configure:30
80
: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
...
...
@@ -3109,17 +3114,17 @@ EOF
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:311
3
: checking for mach/cthreads.h"
>
&5
echo
"configure:311
8
: checking for mach/cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
18
"configure"
#line 31
23
"configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:312
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:312
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3148,7 +3153,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for --with-pth""...
$ac_c
"
1>&6
echo
"configure:315
2
: checking for --with-pth"
>
&5
echo
"configure:315
7
: checking for --with-pth"
>
&5
# Check whether --with-pth or --without-pth was given.
if
test
"
${
with_pth
+set
}
"
=
set
;
then
withval
=
"
$with_pth
"
...
...
@@ -3168,7 +3173,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:317
2
: checking for pthread_create in -lpthread"
>
&5
echo
"configure:317
7
: checking for pthread_create in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3176,7 +3181,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 318
0
"configure"
#line 318
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3187,7 +3192,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:319
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:319
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3216,12 +3221,12 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:322
0
: checking for pthread_detach"
>
&5
echo
"configure:322
5
: checking for pthread_detach"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
25
"configure"
#line 32
30
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_detach(); below. */
...
...
@@ -3244,7 +3249,7 @@ pthread_detach();
; return 0; }
EOF
if
{
(
eval echo
configure:32
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_pthread_detach=yes"
else
...
...
@@ -3272,17 +3277,17 @@ else
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
"configure:32
76
: checking for kernel/OS.h"
>
&5
echo
"configure:32
81
: checking for kernel/OS.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 328
1
"configure"
#line 328
6
"configure"
#include "confdefs.h"
#include <kernel/OS.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:32
86
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:32
91
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3311,7 +3316,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:33
15
: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:33
20
: checking for pthread_create in -lpthreads"
>
&5
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3319,7 +3324,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 332
3
"configure"
#line 332
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3330,7 +3335,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:333
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:333
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3359,7 +3364,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
"configure:336
3
: checking for pthread_create in -lc_r"
>
&5
echo
"configure:336
8
: checking for pthread_create in -lc_r"
>
&5
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3367,7 +3372,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 337
1
"configure"
#line 337
6
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3378,7 +3383,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:338
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:338
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3407,7 +3412,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:341
1
: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:341
6
: checking for __d6_pthread_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3415,7 +3420,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
19
"configure"
#line 34
24
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3426,7 +3431,7 @@ int main() {
__d6_pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:343
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:343
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3455,7 +3460,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
"configure:34
59
: checking for pthread_create in -lcma"
>
&5
echo
"configure:34
64
: checking for pthread_create in -lcma"
>
&5
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3463,7 +3468,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
67
"configure"
#line 34
72
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3474,7 +3479,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:34
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3524,7 +3529,7 @@ fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:35
28
: checking for usconfig in -lmpc"
>
&5
echo
"configure:35
33
: checking for usconfig in -lmpc"
>
&5
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3532,7 +3537,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
36
"configure"
#line 35
41
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3543,7 +3548,7 @@ int main() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:35
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3570,7 +3575,7 @@ else
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:357
4
: checking for thr_create in -lthread"
>
&5
echo
"configure:357
9
: checking for thr_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3578,7 +3583,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 358
2
"configure"
#line 358
7
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3589,7 +3594,7 @@ int main() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:359
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:359
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3621,7 +3626,7 @@ fi
USE_GC_MODULE
=
""
echo
$ac_n
"checking for --with-cycle-gc""...
$ac_c
"
1>&6
echo
"configure:36
25
: checking for --with-cycle-gc"
>
&5
echo
"configure:36
30
: checking for --with-cycle-gc"
>
&5
# Check whether --with-cycle-gc or --without-cycle-gc was given.
if
test
"
${
with_cycle_gc
+set
}
"
=
set
;
then
withval
=
"
$with_cycle_gc
"
...
...
@@ -3648,7 +3653,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
USE_BSDDB_MODULE
=
""
echo
$ac_n
"checking for --with-libdb""...
$ac_c
"
1>&6
echo
"configure:365
2
: checking for --with-libdb"
>
&5
echo
"configure:365
7
: checking for --with-libdb"
>
&5
# Check whether --with-libdb or --without-libdb was given.
if
test
"
${
with_libdb
+set
}
"
=
set
;
then
withval
=
"
$with_libdb
"
...
...
@@ -3691,12 +3696,12 @@ then
# Instead, we just trust it is in libdb; linking will fail if it
# is not.
echo
$ac_n
"checking for dbopen""...
$ac_c
"
1>&6
echo
"configure:3
695
: checking for dbopen"
>
&5
echo
"configure:3
700
: checking for dbopen"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_dbopen
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 370
0
"configure"
#line 370
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dbopen(); below. */
...
...
@@ -3719,7 +3724,7 @@ dbopen();
; return 0; }
EOF
if
{
(
eval echo
configure:372
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:372
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_dbopen=yes"
else
...
...
@@ -3743,7 +3748,7 @@ fi
# Check for --with-wctype-functions
echo
$ac_n
"checking for --with-wctype-functions""...
$ac_c
"
1>&6
echo
"configure:37
47
: checking for --with-wctype-functions"
>
&5
echo
"configure:37
52
: checking for --with-wctype-functions"
>
&5
# Check whether --with-wctype-functions or --without-wctype-functions was given.
if
test
"
${
with_wctype_functions
+set
}
"
=
set
;
then
withval
=
"
$with_wctype_functions
"
...
...
@@ -3765,7 +3770,7 @@ fi
DLINCLDIR
=
/
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
"configure:37
69
: checking for --with-sgi-dl"
>
&5
echo
"configure:37
74
: checking for --with-sgi-dl"
>
&5
# Check whether --with-sgi-dl or --without-sgi-dl was given.
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
withval
=
"
$with_sgi_dl
"
...
...
@@ -3789,7 +3794,7 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
"configure:379
3
: checking for --with-dl-dld"
>
&5
echo
"configure:379
8
: checking for --with-dl-dld"
>
&5
# Check whether --with-dl-dld or --without-dl-dld was given.
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
withval
=
"
$with_dl_dld
"
...
...
@@ -3818,12 +3823,12 @@ fi
for
ac_func
in
dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:382
2
: checking for
$ac_func
"
>
&5
echo
"configure:382
7
: 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 38
27
"configure"
#line 38
32
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3846,7 +3851,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:385
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:385
5
:
\"
$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
...
...
@@ -3875,7 +3880,7 @@ done
# loading of modules.
echo
$ac_n
"checking DYNLOADFILE""...
$ac_c
"
1>&6
echo
"configure:38
79
: checking DYNLOADFILE"
>
&5
echo
"configure:38
84
: checking DYNLOADFILE"
>
&5
if
test
-z
"
$DYNLOADFILE
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3916,12 +3921,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
truncate uname
waitpid _getpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:392
0
: checking for
$ac_func
"
>
&5
echo
"configure:392
5
: 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 39
25
"configure"
#line 39
30
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3944,7 +3949,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:39
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
53
:
\"
$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
...
...
@@ -3974,12 +3979,12 @@ done
for
ac_func
in
openpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:39
78
: checking for
$ac_func
"
>
&5
echo
"configure:39
83
: 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 398
3
"configure"
#line 398
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4002,7 +4007,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:40
06
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
11
:
\"
$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
...
...
@@ -4024,7 +4029,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:40
28
: checking for openpty in -lutil"
>
&5
echo
"configure:40
33
: checking for openpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4032,7 +4037,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
36
"configure"
#line 40
41
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4043,7 +4048,7 @@ int main() {
openpty()
; return 0; }
EOF
if
{
(
eval echo
configure:40
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4072,12 +4077,12 @@ done
for
ac_func
in
forkpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:40
76
: checking for
$ac_func
"
>
&5
echo
"configure:40
81
: 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 408
1
"configure"
#line 408
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4100,7 +4105,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:410
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:410
9
:
\"
$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
...
...
@@ -4122,7 +4127,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for forkpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:41
26
: checking for forkpty in -lutil"
>
&5
echo
"configure:41
31
: checking for forkpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
forkpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4130,7 +4135,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 413
4
"configure"
#line 413
9
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4141,7 +4146,7 @@ int main() {
forkpty()
; return 0; }
EOF
if
{
(
eval echo
configure:41
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4172,12 +4177,12 @@ done
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:41
76
: checking for
$ac_func
"
>
&5
echo
"configure:41
81
: 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 418
1
"configure"
#line 418
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4200,7 +4205,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:420
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:420
9
:
\"
$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
...
...
@@ -4228,12 +4233,12 @@ done
for
ac_func
in
dup2 getcwd strdup strerror memmove
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:423
2
: checking for
$ac_func
"
>
&5
echo
"configure:423
7
: 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 42
37
"configure"
#line 42
42
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4256,7 +4261,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:426
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:426
5
:
\"
$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
...
...
@@ -4285,12 +4290,12 @@ done
for
ac_func
in
getpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:42
89
: checking for
$ac_func
"
>
&5
echo
"configure:42
94
: 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 429
4
"configure"
#line 429
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4313,7 +4318,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:43
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
22
:
\"
$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
...
...
@@ -4332,14 +4337,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
36
"configure"
#line 43
41
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:434
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:434
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -4358,12 +4363,12 @@ done
for
ac_func
in
setpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:436
2
: checking for
$ac_func
"
>
&5
echo
"configure:436
7
: 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 43
67
"configure"
#line 43
72
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4386,7 +4391,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:439
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:439
5
:
\"
$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
...
...
@@ -4405,14 +4410,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
09
"configure"
#line 44
14
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:44
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:44
21
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -4431,12 +4436,12 @@ done
for
ac_func
in
gettimeofday
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:44
35
: checking for
$ac_func
"
>
&5
echo
"configure:44
40
: 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 444
0
"configure"
#line 444
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4459,7 +4464,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:446
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:446
8
:
\"
$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
...
...
@@ -4478,14 +4483,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 448
2
"configure"
#line 448
7
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:44
89
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:44
94
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -4505,12 +4510,12 @@ done
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:45
09
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:45
14
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 451
4
"configure"
#line 451
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -4519,7 +4524,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:452
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:452
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -4540,12 +4545,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:454
4
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:454
9
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
49
"configure"
#line 45
54
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -4553,7 +4558,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:45
57
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:45
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -4574,12 +4579,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:45
78
: checking for tm_zone in struct tm"
>
&5
echo
"configure:45
83
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 458
3
"configure"
#line 458
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -4587,7 +4592,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:459
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:459
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -4607,12 +4612,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:461
1
: checking for tzname"
>
&5
echo
"configure:461
6
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
16
"configure"
#line 46
21
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -4622,7 +4627,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:46
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -4645,19 +4650,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:46
49
: checking for time.h that defines altzone"
>
&5
echo
"configure:46
54
: checking for time.h that defines altzone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 465
4
"configure"
#line 465
9
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:466
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:466
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -4679,9 +4684,9 @@ fi
was_it_defined
=
no
echo
$ac_n
"checking whether sys/select.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:468
3
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:468
8
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
85
"configure"
#line 46
90
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -4692,7 +4697,7 @@ int main() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:4
696
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
701
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -4708,14 +4713,14 @@ echo "$ac_t""$was_it_defined" 1>&6
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
"configure:471
2
: checking whether char is unsigned"
>
&5
echo
"configure:471
7
: checking whether char is unsigned"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
19
"configure"
#line 47
24
"configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -4737,7 +4742,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 474
1
"configure"
#line 474
6
"configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -4747,7 +4752,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
if
{
(
eval echo
configure:475
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:475
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_char_unsigned
=
yes
else
...
...
@@ -4771,12 +4776,12 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:47
75
: checking for working const"
>
&5
echo
"configure:47
80
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 478
0
"configure"
#line 478
5
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -4825,7 +4830,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:48
29
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
34
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -4846,21 +4851,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:485
0
: checking for inline"
>
&5
echo
"configure:485
5
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
57
"configure"
#line 48
62
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:486
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:486
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -4888,16 +4893,16 @@ esac
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
"configure:489
2
: checking for working volatile"
>
&5
echo
"configure:489
7
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 489
4
"configure"
#line 489
9
"configure"
#include "confdefs.h"
int main() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:490
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:490
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -4914,16 +4919,16 @@ echo "$ac_t""$works" 1>&6
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
"configure:49
18
: checking for working signed char"
>
&5
echo
"configure:49
23
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 492
0
"configure"
#line 492
5
"configure"
#include "confdefs.h"
int main() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:49
27
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
32
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -4940,16 +4945,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
"configure:494
4
: checking for prototypes"
>
&5
echo
"configure:494
9
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
46
"configure"
#line 49
51
"configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:495
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:495
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -4964,9 +4969,9 @@ echo "$ac_t""$have_prototypes" 1>&6
works
=
no
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
echo
"configure:49
68
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:49
73
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 497
0
"configure"
#line 497
5
"configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -4983,7 +4988,7 @@ int main() {
return foo(10, "", 3.14);
; return 0; }
EOF
if
{
(
eval echo
configure:49
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
92
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -4999,16 +5004,16 @@ echo "$ac_t""$works" 1>&6
if
test
"
$have_prototypes
"
=
yes
;
then
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
"configure:500
3
: checking for bad exec* prototypes"
>
&5
echo
"configure:500
8
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
05
"configure"
#line 50
10
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:501
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:501
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5025,12 +5030,12 @@ fi
bad_forward
=
no
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:50
29
: checking for bad static forward"
>
&5
echo
"configure:50
34
: checking for bad static forward"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 503
4
"configure"
#line 503
9
"configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -5046,7 +5051,7 @@ main() {
}
EOF
if
{
(
eval echo
configure:505
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:505
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -5065,9 +5070,9 @@ echo "$ac_t""$bad_forward" 1>&6
va_list_is_array
=
no
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
"configure:50
69
: checking whether va_list is an array"
>
&5
echo
"configure:50
74
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 507
1
"configure"
#line 507
6
"configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -5080,7 +5085,7 @@ int main() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:508
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:508
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5096,12 +5101,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
echo
$ac_n
"checking for gethostbyname_r""...
$ac_c
"
1>&6
echo
"configure:510
0
: checking for gethostbyname_r"
>
&5
echo
"configure:510
5
: checking for gethostbyname_r"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname_r
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
05
"configure"
#line 51
10
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */
...
...
@@ -5124,7 +5129,7 @@ gethostbyname_r();
; return 0; }
EOF
if
{
(
eval echo
configure:51
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname_r=yes"
else
...
...
@@ -5144,11 +5149,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
EOF
echo
$ac_n
"checking gethostbyname_r with 6 args""...
$ac_c
"
1>&6
echo
"configure:51
48
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:51
53
: checking gethostbyname_r with 6 args"
>
&5
OLD_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$MY_CPPFLAGS
$MY_THREAD_CPPFLAGS
$MY_CFLAGS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 515
2
"configure"
#line 515
7
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -5165,7 +5170,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:51
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
74
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -5185,9 +5190,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 5 args""...
$ac_c
"
1>&6
echo
"configure:51
89
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:51
94
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 519
1
"configure"
#line 519
6
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -5204,7 +5209,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
08
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
13
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -5224,9 +5229,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 3 args""...
$ac_c
"
1>&6
echo
"configure:52
28
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:52
33
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 523
0
"configure"
#line 523
5
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -5241,7 +5246,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -5277,12 +5282,12 @@ else
for
ac_func
in
gethostbyname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:528
1
: checking for
$ac_func
"
>
&5
echo
"configure:528
6
: 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 52
86
"configure"
#line 52
91
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5305,7 +5310,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:53
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
14
:
\"
$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
...
...
@@ -5343,12 +5348,12 @@ fi
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for __fpu_control""...
$ac_c
"
1>&6
echo
"configure:53
47
: checking for __fpu_control"
>
&5
echo
"configure:53
52
: checking for __fpu_control"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func___fpu_control
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 535
2
"configure"
#line 535
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */
...
...
@@ -5371,7 +5376,7 @@ __fpu_control();
; return 0; }
EOF
if
{
(
eval echo
configure:53
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func___fpu_control=yes"
else
...
...
@@ -5389,7 +5394,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
"configure:539
3
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:539
8
: checking for __fpu_control in -lieee"
>
&5
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5397,7 +5402,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 540
1
"configure"
#line 540
6
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -5408,7 +5413,7 @@ int main() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:541
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:541
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -5441,7 +5446,7 @@ fi
# Check for --with-fpectl
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
"configure:54
45
: checking for --with-fpectl"
>
&5
echo
"configure:54
50
: checking for --with-fpectl"
>
&5
# Check whether --with-fpectl or --without-fpectl was given.
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
withval
=
"
$with_fpectl
"
...
...
@@ -5461,12 +5466,13 @@ fi
# check for --with-libm=...
case
$ac_sys_system
in
Darwin
)
;;
next
)
;;
BeOS
)
;;
*
)
LIBM
=
-lm
esac
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
"configure:547
0
: checking for --with-libm=STRING"
>
&5
echo
"configure:547
6
: checking for --with-libm=STRING"
>
&5
# Check whether --with-libm or --without-libm was given.
if
test
"
${
with_libm
+set
}
"
=
set
;
then
withval
=
"
$with_libm
"
...
...
@@ -5487,7 +5493,7 @@ fi
# check for --with-libc=...
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
"configure:549
1
: checking for --with-libc=STRING"
>
&5
echo
"configure:549
7
: checking for --with-libc=STRING"
>
&5
# Check whether --with-libc or --without-libc was given.
if
test
"
${
with_libc
+set
}
"
=
set
;
then
withval
=
"
$with_libc
"
...
...
@@ -5511,12 +5517,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:55
15
: checking for
$ac_func
"
>
&5
echo
"configure:55
21
: 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 552
0
"configure"
#line 552
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5539,7 +5545,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:554
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:554
9
:
\"
$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
...
...
@@ -5569,7 +5575,7 @@ LIBS=$LIBS_SAVE
# check for getopt
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&6
echo
"configure:557
3
: checking for genuine getopt"
>
&5
echo
"configure:557
9
: checking for genuine getopt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5577,7 +5583,7 @@ else
ac_cv_func_getopt
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 558
1
"configure"
#line 558
7
"configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
...
...
@@ -5589,7 +5595,7 @@ int main() {
exit(0);
}
EOF
if
{
(
eval echo
configure:559
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:559
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_getopt
=
yes
else
...
...
@@ -5607,7 +5613,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
# check whether malloc(0) returns NULL or not
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
"configure:561
1
: checking what malloc(0) returns"
>
&5
echo
"configure:561
7
: checking what malloc(0) returns"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5615,7 +5621,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
19
"configure"
#line 56
25
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_STDLIB
...
...
@@ -5634,7 +5640,7 @@ main() {
exit(0);
}
EOF
if
{
(
eval echo
configure:56
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:56
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_malloc_zero
=
nonnull
else
...
...
@@ -5660,17 +5666,17 @@ fi
# check for wchar.h
ac_safe
=
`
echo
"wchar.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for wchar.h""...
$ac_c
"
1>&6
echo
"configure:56
64
: checking for wchar.h"
>
&5
echo
"configure:56
70
: checking for wchar.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
69
"configure"
#line 56
75
"configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:56
74
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:56
80
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -5700,12 +5706,12 @@ fi
# check for usable wchar_t
usable_wchar_t
=
"unkown"
echo
$ac_n
"checking for usable wchar_t""...
$ac_c
"
1>&6
echo
"configure:57
04
: checking for usable wchar_t"
>
&5
echo
"configure:57
10
: checking for usable wchar_t"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
09
"configure"
#line 57
15
"configure"
#include "confdefs.h"
#include "wchar.h"
...
...
@@ -5719,7 +5725,7 @@ main() {
}
EOF
if
{
(
eval echo
configure:572
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:572
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_USABLE_WCHAR_T 1
...
...
@@ -5738,14 +5744,14 @@ echo "$ac_t""$usable_wchar_t" 1>&6
# check for endianness
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:574
2
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:574
8
: checking whether byte ordering is bigendian"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_bigendian
=
unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
49
"configure"
#line 57
55
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -5756,11 +5762,11 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:576
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:576
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
64
"configure"
#line 57
70
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -5771,7 +5777,7 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:57
75
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
else
...
...
@@ -5791,7 +5797,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
795
"configure"
#line 5
801
"configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
...
...
@@ -5804,7 +5810,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if
{
(
eval echo
configure:58
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:58
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_bigendian
=
no
else
...
...
@@ -5831,7 +5837,7 @@ fi
# Check whether right shifting a negative integer extends the sign bit
# or fills with zeros (like the Cray J90, according to Tim Peters).
echo
$ac_n
"checking whether right shift extends the sign bit""...
$ac_c
"
1>&6
echo
"configure:58
35
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:58
41
: checking whether right shift extends the sign bit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_rshift_extends_sign
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5840,7 +5846,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
44
"configure"
#line 58
50
"configure"
#include "confdefs.h"
int main()
...
...
@@ -5849,7 +5855,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:585
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:585
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_rshift_extends_sign
=
yes
else
...
...
@@ -5881,12 +5887,12 @@ cat >> confdefs.h <<\EOF
#endif
EOF
echo
$ac_n
"checking for socklen_t""...
$ac_c
"
1>&6
echo
"configure:58
85
: checking for socklen_t"
>
&5
echo
"configure:58
91
: checking for socklen_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_socklen_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 589
0
"configure"
#line 589
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
configure.in
View file @
3dc0a514
...
...
@@ -8,7 +8,7 @@ AC_CONFIG_HEADER(config.h)
AC_SUBST(VERSION)
VERSION=2.0
# NEXTSTEP stuff
# NEXTSTEP
|MacOSX|Darwin
stuff
if test -f /usr/lib/NextStep/software_version -o -f /System/Library/CoreServices/software_version ; then
AC_MSG_CHECKING(for --with-next-archs)
...
...
@@ -24,18 +24,23 @@ if test -f /usr/lib/NextStep/software_version -o -f /System/Library/CoreServices
if test -z "$MACHDEP"
then
ac_sys_system=`uname -s`
if test "$ac_sys_system" = "Darwin" ; then
ac_sys_release=`uname -r`
else
set X `hostinfo | egrep '(NeXT Mach|Kernel Release).*:' | \
sed -e 's/://' -e 's/\./_/'` && \
ac_sys_system=next && ac_sys_release=$4
sed -e 's/://' -e 's/\./_/'` && \
ac_sys_system=next && ac_sys_release=$4
fi
MACHDEP="$ac_sys_system$ac_sys_release"
MACHDEP="$ac_sys_system$ac_sys_release"
fi
fi
AC_ARG_WITH(next-framework,
[ --with-next-framework Build (OpenStep|Rhapsody|MacOSX) framework],,)
[ --with-next-framework Build (OpenStep|Rhapsody|MacOSX
|Darwin
) framework],,)
AC_ARG_WITH(dyld,
[ --with-dyld Use (OpenStep|Rhapsody|MacOSX) dynamic linker],,)
[ --with-dyld Use (OpenStep|Rhapsody|MacOSX
|Darwin
) dynamic linker],,)
# Set name for machine-dependent library files
AC_SUBST(MACHDEP)
...
...
@@ -574,12 +579,12 @@ then
hp*|HP*) LDSHARED="ld -b";;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
DYNIX/ptx*) LDSHARED="ld -G";;
next/*)
Darwin/*|
next/*)
if test "$ns_dyld"
then LDSHARED='$(CC) $(LDFLAGS) -bundle -prebind'
else LDSHARED='$(CC) $(CFLAGS) -nostdlib -r';
fi
if test "$with_next_framework" ; then
if test "$with_next_framework" ; then
LDSHARED="$LDSHARED \$(LDLIBRARY)"
fi ;;
Linux*) LDSHARED="gcc -shared";;
...
...
@@ -1150,6 +1155,7 @@ fi],
# check for --with-libm=...
AC_SUBST(LIBM)
case $ac_sys_system in
Darwin) ;;
next) ;;
BeOS) ;;
*) LIBM=-lm
...
...
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