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
7606f25b
Commit
7606f25b
authored
Jul 31, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The usual
parent
b62b4739
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
144 additions
and
120 deletions
+144
-120
config.h.in
config.h.in
+3
-0
configure
configure
+141
-120
No files found.
config.h.in
View file @
7606f25b
...
...
@@ -96,6 +96,9 @@
/* Define if you have POSIX threads */
#undef _POSIX_THREADS
/* Define to force use of thread-safe errno, h_errno, and other functions */
#undef _REENTRANT
/* Define if setpgrp() must be called as setpgrp(0, 0). */
#undef SETPGRP_HAVE_ARG
...
...
configure
View file @
7606f25b
#! /bin/sh
# From configure.in Revision: 1.3
0
# From configure.in Revision: 1.3
1
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.10
...
...
@@ -18,6 +18,8 @@ ac_help="$ac_help
ac_help
=
"
$ac_help
--without-gcc never use gcc"
ac_help
=
"
$ac_help
--with-libs='lib1 ...' link against additional libs"
ac_help
=
"
$ac_help
--with-readline[=DIRECTORY] use GNU readline library"
ac_help
=
"
$ac_help
--with-thread[=DIRECTORY] make interpreter thread-safe"
...
...
@@ -692,7 +694,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:69
6
:
\"
$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:69
8
:
\"
$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
...
...
@@ -810,16 +812,15 @@ fi
if
test
-z
"
$OPT
"
then
case
$ac_sys_system
in
NeXT|next
)
\
if
test
-n
"
$ac_arch_flags
"
;
then
OPT
=
"-g -Wall -O3 -fomit-frame-pointer
$ac_arch_flags
"
;
else
OPT
=
"-g -Wall -O3 -fomit-frame-pointer"
;
fi
;;
NeXT|next
)
OPT
=
"-g -Wall -O3 -fomit-frame-pointer"
;;
*
)
OPT
=
"-O"
;;
esac
fi
if
test
-z
"
$ac_arch_flags
"
then
OPT
=
"
$OPT
$ac_arch_flags
"
fi
# checks for UNIX variants that set C preprocessor variables
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
# On Suns, sometimes $CPP names a directory.
...
...
@@ -836,13 +837,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 84
0
"configure"
#line 84
1
"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:84
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:84
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -851,13 +852,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 85
5
"configure"
#line 85
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:86
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:86
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -879,7 +880,7 @@ echo "$ac_t""$CPP" 1>&6
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 88
3
"configure"
#line 88
4
"configure"
#include "confdefs.h"
#ifdef _AIX
yes
...
...
@@ -906,12 +907,12 @@ 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 91
0
"configure"
#line 91
1
"configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:91
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:91
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
*
...
...
@@ -957,11 +958,11 @@ else
ac_cv_c_cross
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 96
1
"configure"
#line 96
2
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
{
(
eval echo
configure:96
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:96
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
ac_cv_c_cross
=
no
else
...
...
@@ -979,7 +980,7 @@ 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 98
3
"configure"
#line 98
4
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -987,7 +988,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:99
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:99
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1002,7 +1003,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 100
6
"configure"
#line 100
7
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -1020,7 +1021,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 102
4
"configure"
#line 102
5
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -1041,7 +1042,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 104
5
"configure"
#line 104
6
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -1052,7 +1053,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
{
(
eval echo
configure:105
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:105
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
:
else
...
...
@@ -1082,12 +1083,12 @@ 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 108
6
"configure"
#line 108
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:109
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:109
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1120,7 +1121,7 @@ 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 112
4
"configure"
#line 112
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_hdr
>
...
...
@@ -1129,7 +1130,7 @@ int t() {
DIR *dirp = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:113
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:113
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
else
...
...
@@ -1160,7 +1161,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 116
4
"configure"
#line 116
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
...
...
@@ -1172,7 +1173,7 @@ int t() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:117
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:117
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1199,7 +1200,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 120
3
"configure"
#line 120
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
...
...
@@ -1211,7 +1212,7 @@ int t() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:121
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:121
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1236,7 +1237,7 @@ fi
was_it_defined
=
no
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 124
0
"configure"
#line 124
1
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -1260,7 +1261,7 @@ 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 126
4
"configure"
#line 126
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1291,7 +1292,7 @@ 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 129
5
"configure"
#line 129
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1322,7 +1323,7 @@ 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 132
6
"configure"
#line 132
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1353,7 +1354,7 @@ 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 135
7
"configure"
#line 135
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -1371,7 +1372,7 @@ int t() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:137
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:137
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -1393,7 +1394,7 @@ 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 139
7
"configure"
#line 139
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1424,7 +1425,7 @@ 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 142
8
"configure"
#line 142
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -1526,7 +1527,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 153
0
"configure"
#line 153
1
"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
...
...
@@ -1538,7 +1539,7 @@ int t() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:154
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:154
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1570,7 +1571,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 157
4
"configure"
#line 157
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
...
...
@@ -1582,7 +1583,7 @@ int t() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:158
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:158
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1614,7 +1615,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsun
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 161
8
"configure"
#line 161
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
...
...
@@ -1626,7 +1627,7 @@ int t() {
getpwnam()
; return 0; }
EOF
if
{
(
eval echo
configure:163
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:163
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1666,7 +1667,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 167
0
"configure"
#line 167
1
"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
...
...
@@ -1678,7 +1679,7 @@ int t() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:168
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:168
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1704,7 +1705,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-linet -lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 170
8
"configure"
#line 170
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
...
...
@@ -1716,7 +1717,7 @@ int t() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:172
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:172
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1742,7 +1743,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 174
6
"configure"
#line 174
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
...
...
@@ -1754,7 +1755,7 @@ int t() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:175
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:175
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1773,6 +1774,18 @@ else
fi
# SVR4 sockets
fi
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
echo
"
$ac_t
""
$withval
"
1>&6
LIBS
=
"
$withval
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
fi
# XXX need to check whether libreadline.a actually exists there!
# XXX Also, on some systems, it's libreadline.so...
...
...
@@ -1798,7 +1811,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
02
"configure"
#line 18
15
"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
...
...
@@ -1810,7 +1823,7 @@ int t() {
tgetent()
; return 0; }
EOF
if
{
(
eval echo
configure:18
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:18
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1835,7 +1848,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermlib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
39
"configure"
#line 18
52
"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
...
...
@@ -1847,7 +1860,7 @@ int t() {
tgetent()
; return 0; }
EOF
if
{
(
eval echo
configure:18
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:18
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1877,7 +1890,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -l
$termcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
81
"configure"
#line 18
94
"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
...
...
@@ -1889,7 +1902,7 @@ int t() {
readline()
; return 0; }
EOF
if
{
(
eval echo
configure:1
893
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
906
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1936,12 +1949,12 @@ 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 19
40
"configure"
#line 19
53
"configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:19
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:19
58
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1975,7 +1988,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
79
"configure"
#line 19
92
"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
...
...
@@ -1987,7 +2000,7 @@ int t() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:
1991
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
2004
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2008,6 +2021,10 @@ cat >> confdefs.h <<\EOF
#define _POSIX_THREADS 1
EOF
cat
>>
confdefs.h
<<
\
EOF
#define _REENTRANT 1
EOF
LIBS
=
"
$LIBS
-lpthreads"
LIBOBJS
=
"
$LIBOBJS
thread.o"
else
...
...
@@ -2021,7 +2038,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
25
"configure"
#line 20
42
"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
...
...
@@ -2033,7 +2050,7 @@ int t() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:20
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:20
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2054,6 +2071,10 @@ cat >> confdefs.h <<\EOF
#define _POSIX_THREADS 1
EOF
cat
>>
confdefs.h
<<
\
EOF
#define _REENTRANT 1
EOF
LIBS
=
"
$LIBS
-lpthread"
LIBOBJS
=
"
$LIBOBJS
thread.o"
else
...
...
@@ -2073,7 +2094,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
77
"configure"
#line 20
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
...
...
@@ -2085,7 +2106,7 @@ int t() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:2
089
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
110
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2116,7 +2137,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
20
"configure"
#line 21
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
...
...
@@ -2128,7 +2149,7 @@ int t() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:21
32
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:21
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2219,7 +2240,7 @@ 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 22
23
"configure"
#line 22
44
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2243,7 +2264,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:22
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:22
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2272,7 +2293,7 @@ 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 22
76
"configure"
#line 22
97
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2296,7 +2317,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:23
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:23
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2321,7 +2342,7 @@ 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 23
25
"configure"
#line 23
46
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */
...
...
@@ -2345,7 +2366,7 @@ getpgrp();
; return 0; }
EOF
if
{
(
eval echo
configure:23
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:23
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_getpgrp=yes"
else
...
...
@@ -2358,7 +2379,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
62
"configure"
#line 23
83
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
...
...
@@ -2366,7 +2387,7 @@ int t() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:23
70
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:23
91
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -2384,7 +2405,7 @@ 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 2
388
"configure"
#line 2
409
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpgrp(); below. */
...
...
@@ -2408,7 +2429,7 @@ setpgrp();
; return 0; }
EOF
if
{
(
eval echo
configure:24
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_setpgrp=yes"
else
...
...
@@ -2421,7 +2442,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
setpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
25
"configure"
#line 24
46
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
...
...
@@ -2429,7 +2450,7 @@ int t() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:24
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -2447,7 +2468,7 @@ 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 24
51
"configure"
#line 24
72
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
...
...
@@ -2471,7 +2492,7 @@ gettimeofday();
; return 0; }
EOF
if
{
(
eval echo
configure:24
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gettimeofday=yes"
else
...
...
@@ -2484,7 +2505,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
488
"configure"
#line 2
509
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() { return 0; }
...
...
@@ -2492,7 +2513,7 @@ int t() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:2
496
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
517
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
rm
-rf
conftest
*
...
...
@@ -2514,7 +2535,7 @@ 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 25
18
"configure"
#line 25
39
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -2524,7 +2545,7 @@ int t() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:25
28
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:25
49
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -2548,7 +2569,7 @@ 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 25
52
"configure"
#line 25
73
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -2557,7 +2578,7 @@ int t() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:25
61
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:25
82
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -2581,7 +2602,7 @@ 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 2
585
"configure"
#line 2
606
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -2590,7 +2611,7 @@ int t() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:2
594
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
615
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -2613,7 +2634,7 @@ 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 26
17
"configure"
#line 26
38
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -2624,7 +2645,7 @@ int t() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:26
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:26
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -2650,7 +2671,7 @@ 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 26
54
"configure"
#line 26
75
"configure"
#include "confdefs.h"
#include <time.h>
int main() { return 0; }
...
...
@@ -2658,7 +2679,7 @@ int t() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:26
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:26
83
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -2680,7 +2701,7 @@ 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
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
684
"configure"
#line 2
705
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -2692,7 +2713,7 @@ int t() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:2
696
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
717
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -2712,7 +2733,7 @@ else
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
16
"configure"
#line 27
37
"configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -2734,7 +2755,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 27
38
"configure"
#line 27
59
"configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -2744,7 +2765,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
{
(
eval echo
configure:27
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:27
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
ac_cv_c_char_unsigned
=
yes
else
...
...
@@ -2769,7 +2790,7 @@ 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 27
73
"configure"
#line 27
94
"configure"
#include "confdefs.h"
int main() { return 0; }
...
...
@@ -2819,7 +2840,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:28
23
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:28
44
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -2842,7 +2863,7 @@ fi
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
46
"configure"
#line 28
67
"configure"
#include "confdefs.h"
int main() { return 0; }
...
...
@@ -2850,7 +2871,7 @@ int t() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:28
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:28
75
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -2867,7 +2888,7 @@ echo "$ac_t""$works" 1>&6
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
71
"configure"
#line 28
92
"configure"
#include "confdefs.h"
int main() { return 0; }
...
...
@@ -2875,7 +2896,7 @@ int t() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:2
879
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
900
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -2892,7 +2913,7 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
896
"configure"
#line 2
917
"configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() { return 0; }
...
...
@@ -2900,7 +2921,7 @@ int t() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:29
04
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
25
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -2914,7 +2935,7 @@ echo "$ac_t""$have_prototypes" 1>&6
works
=
no
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
18
"configure"
#line 29
39
"configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -2925,7 +2946,7 @@ int t() {
return foo(10, 11, 12);
; return 0; }
EOF
if
{
(
eval echo
configure:29
29
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -2940,7 +2961,7 @@ if test "$have_prototypes" = yes; then
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
44
"configure"
#line 29
65
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
...
...
@@ -2948,7 +2969,7 @@ int t() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:29
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
73
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
rm
-rf
conftest
*
...
...
@@ -2968,7 +2989,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
72
"configure"
#line 29
93
"configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -2984,7 +3005,7 @@ main() {
}
EOF
{
(
eval echo
configure:
2988
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:
3009
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
:
else
...
...
@@ -3000,7 +3021,7 @@ 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
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
04
"configure"
#line 30
25
"configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -3014,7 +3035,7 @@ int t() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:30
18
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:30
39
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
rm
-rf
conftest
*
...
...
@@ -3039,7 +3060,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
43
"configure"
#line 30
64
"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
...
...
@@ -3051,7 +3072,7 @@ int t() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:30
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:30
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3113,7 +3134,7 @@ 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 31
17
"configure"
#line 31
38
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3137,7 +3158,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:31
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3170,7 +3191,7 @@ else
ac_cv_func_getopt
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
74
"configure"
#line 31
95
"configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
...
...
@@ -3182,7 +3203,7 @@ int main() {
exit(0);
}
EOF
{
(
eval echo
configure:3
186
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:3
207
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
ac_cv_func_getopt
=
yes
else
...
...
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