Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ec2f073a
Kaydet (Commit)
ec2f073a
authored
Ock 22, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
The usual
üst
44be35ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
228 additions
and
199 deletions
+228
-199
configure
configure
+228
-199
No files found.
configure
Dosyayı görüntüle @
ec2f073a
#! /bin/sh
# From configure.in Revision: 1.4
3
# From configure.in Revision: 1.4
4
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12
...
...
@@ -23,6 +23,10 @@ ac_help="$ac_help
--with-readline=DIRECTORY search GNU readline library in DIRECTORY
--without-readline do not use GNU readline library"
ac_help
=
"
$ac_help
--with-dec-threads use DEC Alpha/OSF1 thread-safe libraries"
ac_help
=
"
$ac_help
--with-threads alias for --with-thread"
ac_help
=
"
$ac_help
--with-thread[=DIRECTORY] make interpreter thread-safe"
ac_help
=
"
$ac_help
--with-sgi-dl=DIRECTORY IRIX 4 dynamic linking"
...
...
@@ -545,7 +549,7 @@ fi
if
test
-f
/usr/lib/NextStep/software_version
;
then
echo
$ac_n
"checking for --with-next-archs""...
$ac_c
"
1>&6
echo
"configure:5
49
: checking for --with-next-archs"
>
&5
echo
"configure:5
53
: checking for --with-next-archs"
>
&5
# Check whether --with-next-archs or --without-next-archs was given.
if
test
"
${
with_next_archs
+set
}
"
=
set
;
then
withval
=
"
$with_next_archs
"
...
...
@@ -575,7 +579,7 @@ fi
# Set name for machine-dependent library files
echo
$ac_n
"checking MACHDEP""...
$ac_c
"
1>&6
echo
"configure:5
79
: checking MACHDEP"
>
&5
echo
"configure:5
83
: checking MACHDEP"
>
&5
if
test
-z
"
$MACHDEP
"
then
ac_sys_system
=
`
uname
-s
`
...
...
@@ -598,7 +602,7 @@ echo "$ac_t""$MACHDEP" 1>&6
# checks for alternative programs
echo
$ac_n
"checking for --without-gcc""...
$ac_c
"
1>&6
echo
"configure:60
2
: checking for --without-gcc"
>
&5
echo
"configure:60
6
: checking for --without-gcc"
>
&5
# Check whether --with-gcc or --without-gcc was given.
if
test
"
${
with_gcc
+set
}
"
=
set
;
then
withval
=
"
$with_gcc
"
...
...
@@ -632,7 +636,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:6
36
: checking for
$ac_word
"
>
&5
echo
"configure:6
40
: 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
...
...
@@ -661,7 +665,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:66
5
: checking for
$ac_word
"
>
&5
echo
"configure:66
9
: 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
...
...
@@ -709,7 +713,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:71
3
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:71
7
: 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.
...
...
@@ -719,11 +723,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
3
"configure"
#line 72
7
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:7
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:7
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
...
@@ -743,12 +747,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:7
47
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:7
51
: 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:75
2
: checking whether we are using GNU C"
>
&5
echo
"configure:75
6
: 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
...
...
@@ -757,7 +761,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:76
1
:
\"
$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:76
5
:
\"
$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
...
...
@@ -772,7 +776,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:7
76
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:7
80
: 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
...
...
@@ -802,7 +806,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:8
06
: checking for
$ac_word
"
>
&5
echo
"configure:8
10
: 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
...
...
@@ -834,7 +838,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:8
38
: checking for
$ac_word
"
>
&5
echo
"configure:8
42
: 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
...
...
@@ -892,7 +896,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:
896
: checking how to run the C preprocessor"
>
&5
echo
"configure:
900
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -907,13 +911,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 91
1
"configure"
#line 91
5
"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:9
17
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:9
21
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -924,13 +928,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
28
"configure"
#line 9
32
"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:93
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:93
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -953,9 +957,9 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&6
echo
"configure:9
57
: checking for AIX"
>
&5
echo
"configure:9
61
: checking for AIX"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
59
"configure"
#line 9
63
"configure"
#include "confdefs.h"
#ifdef _AIX
yes
...
...
@@ -978,17 +982,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:98
2
: checking for minix/config.h"
>
&5
echo
"configure:98
6
: 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 9
87
"configure"
#line 9
91
"configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:99
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:99
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1028,9 +1032,9 @@ fi
# check for ANSI or K&R ("traditional") preprocessor
echo
$ac_n
"checking for C preprocessor type""...
$ac_c
"
1>&6
echo
"configure:103
2
: checking for C preprocessor type"
>
&5
echo
"configure:103
6
: checking for C preprocessor type"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 103
4
"configure"
#line 103
8
"configure"
#include "confdefs.h"
#define spam(name, doc) {#name, &name, #name "() -- " doc}
...
...
@@ -1041,7 +1045,7 @@ int main() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:104
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:104
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cpp_type
=
ansi
else
...
...
@@ -1058,12 +1062,12 @@ echo "$ac_t""$cpp_type" 1>&6
# checks for header files
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:106
2
: checking for ANSI C header files"
>
&5
echo
"configure:106
6
: 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 10
67
"configure"
#line 10
71
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -1071,7 +1075,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:107
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:107
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1088,7 +1092,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 109
2
"configure"
#line 109
6
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -1106,7 +1110,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 111
0
"configure"
#line 111
4
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -1127,7 +1131,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 113
1
"configure"
#line 113
5
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -1138,7 +1142,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:114
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:114
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -1169,17 +1173,17 @@ sys/un.h sys/utsname.h sys/wait.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:117
3
: checking for
$ac_hdr
"
>
&5
echo
"configure:117
7
: 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 11
78
"configure"
#line 11
82
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:118
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:118
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1210,12 +1214,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:121
4
: checking for
$ac_hdr
that defines DIR"
>
&5
echo
"configure:121
8
: 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 12
19
"configure"
#line 12
23
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_hdr
>
...
...
@@ -1223,7 +1227,7 @@ int main() {
DIR *dirp = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:12
27
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
31
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
else
...
...
@@ -1248,7 +1252,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:125
2
: checking for opendir in -ldir"
>
&5
echo
"configure:125
6
: 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
...
...
@@ -1256,7 +1260,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 126
0
"configure"
#line 126
4
"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
...
...
@@ -1267,7 +1271,7 @@ int main() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:127
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:127
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1289,7 +1293,7 @@ fi
else
echo
$ac_n
"checking for opendir in -lx""...
$ac_c
"
1>&6
echo
"configure:129
3
: checking for opendir in -lx"
>
&5
echo
"configure:129
7
: 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
...
...
@@ -1297,7 +1301,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 130
1
"configure"
#line 130
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
...
...
@@ -1308,7 +1312,7 @@ int main() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:131
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:131
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1334,9 +1338,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:13
38
: checking for clock_t in time.h"
>
&5
echo
"configure:13
42
: checking for clock_t in time.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 134
0
"configure"
#line 134
4
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -1363,12 +1367,12 @@ cat >> confdefs.h <<\EOF
EOF
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:13
67
: checking for mode_t"
>
&5
echo
"configure:13
71
: 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 137
2
"configure"
#line 137
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1396,12 +1400,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:140
0
: checking for off_t"
>
&5
echo
"configure:140
4
: 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 140
5
"configure"
#line 140
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1429,12 +1433,12 @@ EOF
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:143
3
: checking for pid_t"
>
&5
echo
"configure:143
7
: 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 14
38
"configure"
#line 14
42
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1462,12 +1466,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:14
66
: checking return type of signal handlers"
>
&5
echo
"configure:14
70
: 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 147
1
"configure"
#line 147
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -1484,7 +1488,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:14
88
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:14
92
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -1503,12 +1507,12 @@ EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:15
07
: checking for size_t"
>
&5
echo
"configure:15
11
: 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 151
2
"configure"
#line 151
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1536,12 +1540,12 @@ EOF
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:154
0
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:154
4
: 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 154
5
"configure"
#line 154
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -1571,7 +1575,7 @@ fi
echo
$ac_n
"checking size of int""...
$ac_c
"
1>&6
echo
"configure:157
5
: checking size of int"
>
&5
echo
"configure:157
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
...
...
@@ -1579,7 +1583,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 158
3
"configure"
#line 158
7
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -1590,7 +1594,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:159
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:159
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_int
=
`
cat
conftestval
`
else
...
...
@@ -1610,7 +1614,7 @@ EOF
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
"configure:161
4
: checking size of long"
>
&5
echo
"configure:161
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
...
...
@@ -1618,7 +1622,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 162
2
"configure"
#line 162
6
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -1629,7 +1633,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:163
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:163
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long
=
`
cat
conftestval
`
else
...
...
@@ -1657,7 +1661,7 @@ EOF
# 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:166
1
: checking SO"
>
&5
echo
"configure:166
5
: checking SO"
>
&5
if
test
-z
"
$SO
"
then
case
$ac_sys_system
in
...
...
@@ -1669,7 +1673,7 @@ echo "$ac_t""$SO" 1>&6
# LDSHARED is the ld *command* used to create shared library
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&6
echo
"configure:167
3
: checking LDSHARED"
>
&5
echo
"configure:167
7
: checking LDSHARED"
>
&5
if
test
-z
"
$LDSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -1691,7 +1695,7 @@ echo "$ac_t""$LDSHARED" 1>&6
# CCSHARED are the C *flags* used to create objects to go into a shared
# library -- this is only needed for a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
"configure:169
5
: checking CCSHARED"
>
&5
echo
"configure:169
9
: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
then
case
$ac_sys_system
in
...
...
@@ -1708,7 +1712,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:171
2
: checking LINKFORSHARED"
>
&5
echo
"configure:171
6
: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
then
case
$ac_sys_system
in
...
...
@@ -1724,7 +1728,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:17
28
: checking for dlopen in -ldl"
>
&5
echo
"configure:17
32
: 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
...
...
@@ -1732,7 +1736,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
36
"configure"
#line 17
40
"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
...
...
@@ -1743,7 +1747,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:17
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:17
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1771,7 +1775,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:177
5
: checking for shl_load in -ldld"
>
&5
echo
"configure:177
9
: 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
...
...
@@ -1779,7 +1783,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 178
3
"configure"
#line 178
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
...
...
@@ -1790,7 +1794,7 @@ int main() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:179
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:179
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1818,7 +1822,7 @@ else
fi
# Dynamic linking for HP-UX
echo
$ac_n
"checking for getpwnam in -lsun""...
$ac_c
"
1>&6
echo
"configure:182
2
: checking for getpwnam in -lsun"
>
&5
echo
"configure:182
6
: checking for getpwnam in -lsun"
>
&5
ac_lib_var
=
`
echo
sun
'_'
getpwnam |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1826,7 +1830,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsun
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 183
0
"configure"
#line 183
4
"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
...
...
@@ -1837,7 +1841,7 @@ int main() {
getpwnam()
; return 0; }
EOF
if
{
(
eval echo
configure:184
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:184
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1873,7 +1877,7 @@ fi
if
test
"
$ac_sys_system
"
!=
IRIX
then
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:18
77
: checking for t_open in -lnsl"
>
&5
echo
"configure:18
81
: 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
...
...
@@ -1881,7 +1885,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 188
5
"configure"
#line 188
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
...
...
@@ -1892,7 +1896,7 @@ int main() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:1
896
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
900
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1913,7 +1917,7 @@ else
fi
# SVR4
echo
$ac_n
"checking for gethostbyname in -linet""...
$ac_c
"
1>&6
echo
"configure:19
17
: checking for gethostbyname in -linet"
>
&5
echo
"configure:19
21
: checking for gethostbyname in -linet"
>
&5
ac_lib_var
=
`
echo
inet
'_'
gethostbyname |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1921,7 +1925,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-linet -lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 192
5
"configure"
#line 192
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
...
...
@@ -1932,7 +1936,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:19
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:19
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1953,7 +1957,7 @@ else
fi
# Sequent
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:19
57
: checking for socket in -lsocket"
>
&5
echo
"configure:19
61
: 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
...
...
@@ -1961,7 +1965,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 196
5
"configure"
#line 196
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
...
...
@@ -1972,7 +1976,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:19
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:19
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1994,7 +1998,7 @@ fi
# SVR4 sockets
fi
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:
1998
: checking for --with-libs"
>
&5
echo
"configure:
2002
: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
...
...
@@ -2008,7 +2012,7 @@ fi
echo
$ac_n
"checking for --with(out)-readline""...
$ac_c
"
1>&6
echo
"configure:201
2
: checking for --with(out)-readline"
>
&5
echo
"configure:201
6
: checking for --with(out)-readline"
>
&5
use_readline
=
"yes"
# Check whether --with-readline or --without-readline was given.
if
test
"
${
with_readline
+set
}
"
=
set
;
then
...
...
@@ -2026,7 +2030,7 @@ then
fi
# See where the termcap interface could be hiding...
echo
$ac_n
"checking for readline and termcap libraries""...
$ac_c
"
1>&6
echo
"configure:203
0
: checking for readline and termcap libraries"
>
&5
echo
"configure:203
4
: checking for readline and termcap libraries"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_readline_termcap
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2050,17 +2054,17 @@ else
"
$first
"
"-ltermcap"
"-ltermlib"
"-lcurses"
"-lncurses"
do
echo
$ac_n
"checking for
$rl
$add_lib
""...
$ac_c
"
1>&6
echo
"configure:205
4
: checking for
$rl
$add_lib
"
>
&5
echo
"configure:205
8
: checking for
$rl
$add_lib
"
>
&5
LIBS
=
"
$save_libs
$rl
$add_lib
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
57
"configure"
#line 20
61
"configure"
#include "confdefs.h"
extern char *readline();
int main() {
char *line=readline();
; return 0; }
EOF
if
{
(
eval echo
configure:206
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:206
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
;
ac_cv_readline_termcap
=
"
$rl
$add_lib
"
...
...
@@ -2078,7 +2082,7 @@ rm -f conftest*
LIBS
=
"
$save_libs
"
LDFLAGS
=
"
$save_ldflags
"
echo
$ac_n
"checking result from check for readline and termcap""...
$ac_c
"
1>&6
echo
"configure:208
2
: checking result from check for readline and termcap"
>
&5
echo
"configure:208
6
: checking result from check for readline and termcap"
>
&5
fi
...
...
@@ -2097,14 +2101,38 @@ EOF
fi
fi
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&6
echo
"configure:2102: checking for --with-thread"
>
&5
# Let --with-threads be an alias for --with-thread
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:2106: 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
withval
=
"
$with_dec_threads
"
echo
"
$ac_t
""
$withval
"
1>&6
LDLAST
=
-threads
if
test
"
${
with_thread
+set
}
"
!=
set
;
then
with_thread
=
"
$withval
"
;
fi
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:2122: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
echo
"
$ac_t
""
$withval
"
1>&6
if
test
"
${
with_thread
+set
}
"
!=
set
;
then
if
test
"
${
with_threads
+set
}
"
=
set
;
then
with_thread
=
"
$with_threads
"
;
fi
with_thread
=
"
$withval
"
;
fi
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&6
echo
"configure:2136: checking for --with-thread"
>
&5
# Check whether --with-thread or --without-thread was given.
if
test
"
${
with_thread
+set
}
"
=
set
;
then
withval
=
"
$with_thread
"
...
...
@@ -2119,17 +2147,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:21
23
: checking for mach/cthreads.h"
>
&5
echo
"configure:21
51
: 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 21
28
"configure"
#line 21
56
"configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:21
33
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:21
61
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2158,7 +2186,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:21
62
: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:21
90
: 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
...
...
@@ -2166,7 +2194,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
70
"configure"
#line 21
98
"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
...
...
@@ -2177,7 +2205,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:2
181
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
209
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2206,7 +2234,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:22
10
: checking for pthread_create in -lpthread"
>
&5
echo
"configure:22
38
: 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
...
...
@@ -2214,7 +2242,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
18
"configure"
#line 22
46
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2225,7 +2253,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:22
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:22
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2260,7 +2288,7 @@ fi
fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:22
64
: checking for usconfig in -lmpc"
>
&5
echo
"configure:22
92
: 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
...
...
@@ -2268,7 +2296,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
272
"configure"
#line 2
300
"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
...
...
@@ -2279,7 +2307,7 @@ int main() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:2
283
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
311
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2305,7 +2333,7 @@ else
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:23
09
: checking for thr_create in -lthread"
>
&5
echo
"configure:23
37
: 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
...
...
@@ -2313,7 +2341,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
17
"configure"
#line 23
45
"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
...
...
@@ -2324,7 +2352,7 @@ int main() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:23
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:23
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2360,7 +2388,7 @@ fi
DLINCLDIR
=
/
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
"configure:23
64
: checking for --with-sgi-dl"
>
&5
echo
"configure:23
92
: 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
"
...
...
@@ -2383,7 +2411,7 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
"configure:2
387
: checking for --with-dl-dld"
>
&5
echo
"configure:2
415
: 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
"
...
...
@@ -2415,12 +2443,12 @@ for ac_func in chown clock dlopen flock ftime ftruncate \
tcgetpgrp tcsetpgrp
times truncate uname
waitpid
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:24
19
: checking for
$ac_func
"
>
&5
echo
"configure:24
47
: 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 24
24
"configure"
#line 24
52
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2443,7 +2471,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:24
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:24
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2470,12 +2498,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:2
474
: checking for
$ac_func
"
>
&5
echo
"configure:2
502
: 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 2
479
"configure"
#line 2
507
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2498,7 +2526,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:25
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:25
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2525,12 +2553,12 @@ done
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&6
echo
"configure:25
29
: checking for getpgrp"
>
&5
echo
"configure:25
57
: checking for getpgrp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getpgrp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
34
"configure"
#line 25
62
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */
...
...
@@ -2553,7 +2581,7 @@ getpgrp();
; return 0; }
EOF
if
{
(
eval echo
configure:25
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:25
85
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_getpgrp=yes"
else
...
...
@@ -2568,14 +2596,14 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
572
"configure"
#line 2
600
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:2
579
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
607
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -2591,12 +2619,12 @@ else
fi
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&6
echo
"configure:2
595
: checking for setpgrp"
>
&5
echo
"configure:2
623
: checking for setpgrp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_setpgrp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
00
"configure"
#line 26
28
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpgrp(); below. */
...
...
@@ -2619,7 +2647,7 @@ setpgrp();
; return 0; }
EOF
if
{
(
eval echo
configure:26
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:26
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_setpgrp=yes"
else
...
...
@@ -2634,14 +2662,14 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
setpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
38
"configure"
#line 26
66
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:26
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:26
73
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -2657,12 +2685,12 @@ else
fi
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&6
echo
"configure:26
61
: checking for gettimeofday"
>
&5
echo
"configure:26
89
: checking for gettimeofday"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gettimeofday
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
66
"configure"
#line 26
94
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
...
...
@@ -2685,7 +2713,7 @@ gettimeofday();
; return 0; }
EOF
if
{
(
eval echo
configure:2
689
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
717
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gettimeofday=yes"
else
...
...
@@ -2700,14 +2728,14 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
04
"configure"
#line 27
32
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:27
11
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:27
39
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -2726,12 +2754,12 @@ fi
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:27
30
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:27
58
: 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 27
35
"configure"
#line 27
63
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -2740,7 +2768,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:27
44
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:27
72
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -2761,12 +2789,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:27
65
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:27
93
: 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 27
70
"configure"
#line 27
98
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -2774,7 +2802,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:2
778
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
806
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -2795,12 +2823,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:2
799
: checking for tm_zone in struct tm"
>
&5
echo
"configure:2
827
: 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 28
04
"configure"
#line 28
32
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -2808,7 +2836,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:28
12
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:28
40
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -2828,12 +2856,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:28
32
: checking for tzname"
>
&5
echo
"configure:28
60
: 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 28
37
"configure"
#line 28
65
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -2843,7 +2871,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:28
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:28
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -2866,19 +2894,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:28
70
: checking for time.h that defines altzone"
>
&5
echo
"configure:28
98
: 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 2
875
"configure"
#line 2
903
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:2
882
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
910
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -2900,9 +2928,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:29
04
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:29
32
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
06
"configure"
#line 29
34
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -2913,7 +2941,7 @@ int main() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:29
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -2929,14 +2957,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:29
33
: checking whether char is unsigned"
>
&5
echo
"configure:29
61
: 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 29
40
"configure"
#line 29
68
"configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -2958,7 +2986,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 29
62
"configure"
#line 29
90
"configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -2968,7 +2996,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
if
{
(
eval echo
configure:
2972
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
3000
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_char_unsigned
=
yes
else
...
...
@@ -2993,12 +3021,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:
2997
: checking for working const"
>
&5
echo
"configure:
3025
: 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 30
02
"configure"
#line 30
30
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -3047,7 +3075,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:30
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:30
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -3070,16 +3098,16 @@ fi
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
"configure:3
074
: checking for working volatile"
>
&5
echo
"configure:3
102
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
076
"configure"
#line 3
104
"configure"
#include "confdefs.h"
int main() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:3
083
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
111
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -3096,16 +3124,16 @@ echo "$ac_t""$works" 1>&6
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
"configure:31
00
: checking for working signed char"
>
&5
echo
"configure:31
28
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
02
"configure"
#line 31
30
"configure"
#include "confdefs.h"
int main() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:31
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -3122,16 +3150,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
"configure:31
26
: checking for prototypes"
>
&5
echo
"configure:31
54
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
28
"configure"
#line 31
56
"configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:31
35
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
63
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -3146,9 +3174,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:31
50
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:31
78
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
52
"configure"
#line 31
80
"configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -3165,7 +3193,7 @@ int main() {
return foo(10, "", 3.14);
; return 0; }
EOF
if
{
(
eval echo
configure:31
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
97
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -3181,16 +3209,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:3
185
: checking for bad exec* prototypes"
>
&5
echo
"configure:3
213
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
187
"configure"
#line 3
215
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:3
194
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
222
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -3207,12 +3235,12 @@ fi
bad_forward
=
no
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:32
11
: checking for bad static forward"
>
&5
echo
"configure:32
39
: 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 32
16
"configure"
#line 32
44
"configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -3228,7 +3256,7 @@ main() {
}
EOF
if
{
(
eval echo
configure:32
32
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:32
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -3247,9 +3275,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:32
51
: checking whether va_list is an array"
>
&5
echo
"configure:32
79
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
53
"configure"
#line 32
81
"configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -3262,7 +3290,7 @@ int main() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:32
66
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:32
94
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -3281,7 +3309,7 @@ echo "$ac_t""$va_list_is_array" 1>&6
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
"configure:3
285
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:3
313
: 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
...
...
@@ -3289,7 +3317,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
293
"configure"
#line 3
321
"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
...
...
@@ -3300,7 +3328,7 @@ int main() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:33
04
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:33
32
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3364,12 +3392,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:33
68
: checking for
$ac_func
"
>
&5
echo
"configure:33
96
: 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 3
373
"configure"
#line 3
401
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3392,7 +3420,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
396
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
424
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3419,12 +3447,12 @@ done
for
ac_func
in
hypot
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:34
23
: checking for
$ac_func
"
>
&5
echo
"configure:34
51
: 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 34
28
"configure"
#line 34
56
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3447,7 +3475,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:34
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:34
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3477,7 +3505,7 @@ LIBS=$LIBS_SAVE
# check for getopt
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&6
echo
"configure:3
481
: checking for genuine getopt"
>
&5
echo
"configure:3
509
: 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
...
...
@@ -3485,7 +3513,7 @@ else
ac_cv_func_getopt
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
489
"configure"
#line 3
517
"configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
...
...
@@ -3497,7 +3525,7 @@ int main() {
exit(0);
}
EOF
if
{
(
eval echo
configure:35
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:35
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_getopt
=
yes
else
...
...
@@ -3661,6 +3689,7 @@ s%@SO@%$SO%g
s%@LDSHARED@%
$LDSHARED
%g
s%@CCSHARED@%
$CCSHARED
%g
s%@LINKFORSHARED@%
$LINKFORSHARED
%g
s%@LDLAST@%
$LDLAST
%g
s%@DLINCLDIR@%
$DLINCLDIR
%g
s%@LIBOBJS@%
$LIBOBJS
%g
s%@LIBM@%
$LIBM
%g
...
...
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