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
84e7b248
Commit
84e7b248
authored
Aug 19, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The usual...
parent
300fda7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
113 deletions
+153
-113
config.h.in
config.h.in
+3
-0
configure
configure
+150
-113
No files found.
config.h.in
View file @
84e7b248
...
...
@@ -86,6 +86,9 @@
/* Define this if your time.h defines altzone */
#undef HAVE_ALTZONE
/* Define this if you have a K&R style C preprocessor */
#undef HAVE_OLD_CPP
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
...
...
configure
View file @
84e7b248
#! /bin/sh
# From configure.in Revision: 1.3
3
# From configure.in Revision: 1.3
4
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.10
...
...
@@ -952,6 +952,35 @@ EOF
fi
# check for ANSI or K&R ("traditional") preprocessor
echo
$ac_n
"checking for C preprocessor type""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 959 "configure"
#include "confdefs.h"
#define spam(name, doc) {#name, &name, #name "() -- " doc}
int foo;
struct {char *name; int *addr; char *doc;} desc = spam(foo, "something");
int main() { return 0; }
int t() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:971:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cpp_type
=
ansi
else
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_OLD_CPP 1
EOF
cpp_type
=
traditional
fi
rm
-f
conftest
*
echo
"
$ac_t
""
$cpp_type
"
1>&6
# checks for header files
# If we cannot run a trivial program, we must be cross compiling.
echo
$ac_n
"checking whether cross-compiling""...
$ac_c
"
1>&6
...
...
@@ -962,11 +991,11 @@ else
ac_cv_c_cross
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
66
"configure"
#line 9
95
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
{
(
eval echo
configure:9
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:9
99
:
\"
$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
...
...
@@ -984,7 +1013,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
988
"configure"
#line
1017
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -992,7 +1021,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
996
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
1025
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1007,7 +1036,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 10
11
"configure"
#line 10
40
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -1025,7 +1054,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 10
29
"configure"
#line 10
58
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -1046,7 +1075,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
50
"configure"
#line 10
79
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -1057,7 +1086,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
{
(
eval echo
configure:10
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:10
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
:
else
...
...
@@ -1087,12 +1116,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 1
091
"configure"
#line 1
120
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
096
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
125
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1125,7 +1154,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 11
29
"configure"
#line 11
58
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_hdr
>
...
...
@@ -1134,7 +1163,7 @@ int t() {
DIR *dirp = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:11
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:11
67
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
else
...
...
@@ -1165,7 +1194,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
69
"configure"
#line 11
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
...
...
@@ -1177,7 +1206,7 @@ int t() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:1
181
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
210
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1204,7 +1233,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
08
"configure"
#line 12
37
"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
...
...
@@ -1216,7 +1245,7 @@ int t() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:12
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:12
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1241,7 +1270,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 12
45
"configure"
#line 12
74
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -1260,12 +1289,19 @@ rm -f conftest*
echo
"
$ac_t
""
$was_it_defined
"
1>&6
# Add some code to confdefs.h so that the test for off_t works on SCO
cat
>>
confdefs.h
<<
\
EOF
#if defined(SCO_DS)
#undef _OFF_T
#endif
EOF
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
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 1
269
"configure"
#line 1
305
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1296,7 +1332,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 13
00
"configure"
#line 13
36
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1327,7 +1363,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 13
31
"configure"
#line 13
67
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1358,7 +1394,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 13
62
"configure"
#line 13
98
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -1376,7 +1412,7 @@ int t() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:1
380
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
416
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -1398,7 +1434,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 14
02
"configure"
#line 14
38
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -1429,7 +1465,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 14
33
"configure"
#line 14
69
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -1482,7 +1518,7 @@ echo $ac_n "checking LDSHARED""... $ac_c" 1>&6
if
test
-z
"
$LDSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
AIX
*
)
LDSHARED
=
"ld_so_aix"
;;
AIX
*
)
LDSHARED
=
"ld_so_aix
\$
(CC)
"
;;
IRIX
*
)
LDSHARED
=
"ld -shared"
;;
SunOS/4
*
)
LDSHARED
=
"ld"
;;
SunOS/5
*
)
LDSHARED
=
"ld -G"
;;
...
...
@@ -1492,6 +1528,7 @@ then
Linux
*
)
LDSHARED
=
"gcc -shared"
;;
FreeBSD
*
)
LDSHARED
=
"ld -Bshareable"
;;
NeXT|next/3
*
)
LDSHARED
=
"ld -u libsys_s"
;;
SCO_SV
*
)
LDSHARED
=
"cc -G -KPIC -Ki486 -belf -Wl,-Bexport"
;;
*
)
LDSHARED
=
"ld"
;;
esac
fi
...
...
@@ -1508,6 +1545,7 @@ then
fi
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
)
CCSHARED
=
"-fpic"
;;
SCO_SV
*
)
CCSHARED
=
"-KPIC -dy -Bdynamic"
;;
esac
fi
echo
"
$ac_t
""
$CCSHARED
"
1>&6
...
...
@@ -1520,6 +1558,7 @@ then
AIX
*
)
LINKFORSHARED
=
"-Wl,-bE:python.exp"
;;
hp
*
|
HP
*
)
LINKFORSHARED
=
"-Wl,-E"
;;
Linux
*
)
LINKFORSHARED
=
"-rdynamic"
;;
SCO_SV
*
)
LINKFORSHARED
=
"-Bdynamic -dy -Wl,-Bexport"
;;
esac
fi
echo
"
$ac_t
""
$LINKFORSHARED
"
1>&6
...
...
@@ -1533,7 +1572,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
37
"configure"
#line 15
76
"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
...
...
@@ -1545,7 +1584,7 @@ int t() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:15
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:15
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1577,7 +1616,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
581
"configure"
#line 1
620
"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
...
...
@@ -1589,7 +1628,7 @@ int t() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:1
593
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
632
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1621,7 +1660,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsun
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
25
"configure"
#line 16
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
...
...
@@ -1633,7 +1672,7 @@ int t() {
getpwnam()
; return 0; }
EOF
if
{
(
eval echo
configure:16
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:16
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1673,7 +1712,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
677
"configure"
#line 1
716
"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
...
...
@@ -1685,7 +1724,7 @@ int t() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:1
689
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
728
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1711,7 +1750,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-linet -lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
15
"configure"
#line 17
54
"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
...
...
@@ -1723,7 +1762,7 @@ int t() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:17
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:17
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1749,7 +1788,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
53
"configure"
#line 17
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
...
...
@@ -1761,7 +1800,7 @@ int t() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:1
765
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
804
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1793,8 +1832,6 @@ else
fi
# XXX need to check whether libreadline.a actually exists there!
# XXX Also, on some systems, it's libreadline.so...
echo
$ac_n
"checking for --with-readline""...
$ac_c
"
1>&6
# Check whether --with-readline or --without-readline was given.
if
test
"
${
with_readline
+set
}
"
=
set
;
then
...
...
@@ -1806,7 +1843,7 @@ cat >> confdefs.h <<\EOF
EOF
if
test
-d
"
$withval
"
then
L
IBS
=
"
$LIB
S
-L
$withval
"
then
L
DFLAGS
=
"
$LDFLAG
S
-L
$withval
"
fi
termcap
=
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&6
...
...
@@ -1817,7 +1854,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
21
"configure"
#line 18
58
"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
...
...
@@ -1829,7 +1866,7 @@ int t() {
tgetent()
; return 0; }
EOF
if
{
(
eval echo
configure:18
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:18
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1854,7 +1891,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermlib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
58
"configure"
#line 18
95
"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
...
...
@@ -1866,7 +1903,7 @@ int t() {
tgetent()
; return 0; }
EOF
if
{
(
eval echo
configure:1
870
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
907
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1896,7 +1933,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -l
$termcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
00
"configure"
#line 19
37
"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
...
...
@@ -1908,7 +1945,7 @@ int t() {
readline()
; return 0; }
EOF
if
{
(
eval echo
configure:19
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:19
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1947,7 +1984,7 @@ if test "${with_thread+set}" = set; then
echo
"
$ac_t
""
$withval
"
1>&6
if
test
-d
"
$withval
"
then
L
IBS
=
"
$LIB
S
-L
$withval
"
then
L
DFLAGS
=
"
$LDFLAG
S
-L
$withval
"
fi
cat
>>
confdefs.h
<<
\
EOF
#define _REENTRANT 1
...
...
@@ -1959,12 +1996,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
1963
"configure"
#line
2000
"configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
1968
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
2005
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1998,7 +2035,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
02
"configure"
#line 20
39
"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
...
...
@@ -2010,7 +2047,7 @@ int t() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:20
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:20
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2044,7 +2081,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
48
"configure"
#line 20
85
"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
...
...
@@ -2056,7 +2093,7 @@ int t() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:20
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:20
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2096,7 +2133,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
00
"configure"
#line 21
37
"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
...
...
@@ -2108,7 +2145,7 @@ int t() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:21
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:21
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2139,7 +2176,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
43
"configure"
#line 21
80
"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
...
...
@@ -2151,7 +2188,7 @@ int t() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:21
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:21
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2196,7 +2233,7 @@ EOF
dldir
=
$withval
if
test
-d
"
$dldir
"
then
L
IBS
=
"
$LIB
S
-L
$dldir
"
then
L
DFLAGS
=
"
$LDFLAG
S
-L
$dldir
"
else
{
echo
"configure: error: proper usage is --with-sgi-dl=DIRECTORY"
1>&2
;
exit
1
;
}
fi
DLINCLDIR
=
${
dldir
}
...
...
@@ -2219,7 +2256,7 @@ EOF
dldir
=
`
echo
"
$withval
"
|
sed
's/,.*//'
`
dlddir
=
`
echo
"
$withval
"
|
sed
's/.*,//'
`
if
test
-d
"
$dldir
"
-a
-d
"
$dlddir
"
then
L
IBS
=
"
$LIB
S
-L
$dldir
-L
$dlddir
"
then
L
DFLAGS
=
"
$LDFLAG
S
-L
$dldir
-L
$dlddir
"
else
{
echo
"configure: error: proper usage is --with-dl-dld=DL_DIRECTORY"
1>&2
;
exit
1
;
}
fi
DLINCLDIR
=
${
dldir
}
...
...
@@ -2242,7 +2279,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
46
"configure"
#line 22
83
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2266,7 +2303,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:2
270
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
307
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2295,7 +2332,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 2
299
"configure"
#line 2
336
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2319,7 +2356,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:23
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:23
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2344,7 +2381,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
48
"configure"
#line 23
85
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */
...
...
@@ -2368,7 +2405,7 @@ getpgrp();
; return 0; }
EOF
if
{
(
eval echo
configure:2
372
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
409
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_getpgrp=yes"
else
...
...
@@ -2381,7 +2418,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
385
"configure"
#line 2
422
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
...
...
@@ -2389,7 +2426,7 @@ int t() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:2
393
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
430
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -2407,7 +2444,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 24
11
"configure"
#line 24
48
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpgrp(); below. */
...
...
@@ -2431,7 +2468,7 @@ setpgrp();
; return 0; }
EOF
if
{
(
eval echo
configure:24
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_setpgrp=yes"
else
...
...
@@ -2444,7 +2481,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
48
"configure"
#line 24
85
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
...
...
@@ -2452,7 +2489,7 @@ int t() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:24
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
93
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -2470,7 +2507,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 2
474
"configure"
#line 2
511
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
...
...
@@ -2494,7 +2531,7 @@ gettimeofday();
; return 0; }
EOF
if
{
(
eval echo
configure:2
498
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
535
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gettimeofday=yes"
else
...
...
@@ -2507,7 +2544,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
11
"configure"
#line 25
48
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() { return 0; }
...
...
@@ -2515,7 +2552,7 @@ int t() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:25
19
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:25
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
rm
-rf
conftest
*
...
...
@@ -2537,7 +2574,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
41
"configure"
#line 25
78
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -2547,7 +2584,7 @@ int t() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:25
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:25
88
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -2571,7 +2608,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 2
575
"configure"
#line 2
612
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -2580,7 +2617,7 @@ int t() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:2
584
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
621
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -2604,7 +2641,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 26
08
"configure"
#line 26
45
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -2613,7 +2650,7 @@ int t() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:26
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:26
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -2636,7 +2673,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
40
"configure"
#line 26
77
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -2647,7 +2684,7 @@ int t() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:26
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:26
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -2673,7 +2710,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 2
677
"configure"
#line 2
714
"configure"
#include "confdefs.h"
#include <time.h>
int main() { return 0; }
...
...
@@ -2681,7 +2718,7 @@ int t() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:2
685
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
722
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -2703,7 +2740,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 27
07
"configure"
#line 27
44
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -2715,7 +2752,7 @@ int t() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:27
19
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:27
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -2735,7 +2772,7 @@ else
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
39
"configure"
#line 27
76
"configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -2757,7 +2794,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
61
"configure"
#line 27
98
"configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -2767,7 +2804,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
{
(
eval echo
configure:2
771
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:2
808
:
\"
$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
...
...
@@ -2792,7 +2829,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 2
796
"configure"
#line 2
833
"configure"
#include "confdefs.h"
int main() { return 0; }
...
...
@@ -2842,7 +2879,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:28
46
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:28
83
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -2865,7 +2902,7 @@ fi
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
869
"configure"
#line 2
906
"configure"
#include "confdefs.h"
int main() { return 0; }
...
...
@@ -2873,7 +2910,7 @@ int t() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:2
877
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
914
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -2890,7 +2927,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 2
894
"configure"
#line 2
931
"configure"
#include "confdefs.h"
int main() { return 0; }
...
...
@@ -2898,7 +2935,7 @@ int t() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:29
02
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
39
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -2915,7 +2952,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 29
19
"configure"
#line 29
56
"configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() { return 0; }
...
...
@@ -2923,7 +2960,7 @@ int t() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:29
27
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
64
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -2937,7 +2974,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
41
"configure"
#line 29
78
"configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -2948,7 +2985,7 @@ int t() {
return foo(10, 11, 12);
; return 0; }
EOF
if
{
(
eval echo
configure:29
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
89
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -2963,7 +3000,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
2967
"configure"
#line
3004
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
...
...
@@ -2971,7 +3008,7 @@ int t() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:
2975
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
3012
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
rm
-rf
conftest
*
...
...
@@ -2991,7 +3028,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
2995
"configure"
#line
3032
"configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -3007,7 +3044,7 @@ main() {
}
EOF
{
(
eval echo
configure:30
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:30
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
:
else
...
...
@@ -3023,7 +3060,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
27
"configure"
#line 30
64
"configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -3037,7 +3074,7 @@ int t() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:30
41
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:30
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
rm
-rf
conftest
*
...
...
@@ -3062,7 +3099,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
066
"configure"
#line 3
103
"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
...
...
@@ -3074,7 +3111,7 @@ int t() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:3
078
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
115
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3136,7 +3173,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
40
"configure"
#line 31
77
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3160,7 +3197,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
164
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
201
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3193,7 +3230,7 @@ else
ac_cv_func_getopt
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
197
"configure"
#line 3
234
"configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
...
...
@@ -3205,7 +3242,7 @@ int main() {
exit(0);
}
EOF
{
(
eval echo
configure:32
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
{
(
eval echo
configure:32
46
:
\"
$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