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 @@
...
@@ -86,6 +86,9 @@
/* Define this if your time.h defines altzone */
/* Define this if your time.h defines altzone */
#undef HAVE_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 */
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
#undef HAVE_PROTOTYPES
...
...
configure
View file @
84e7b248
#! /bin/sh
#! /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.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.10
# Generated automatically using autoconf version 2.10
...
@@ -952,6 +952,35 @@ EOF
...
@@ -952,6 +952,35 @@ EOF
fi
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
# checks for header files
# If we cannot run a trivial program, we must be cross compiling.
# If we cannot run a trivial program, we must be cross compiling.
echo
$ac_n
"checking whether cross-compiling""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether cross-compiling""...
$ac_c
"
1>&6
...
@@ -962,11 +991,11 @@ else
...
@@ -962,11 +991,11 @@ else
ac_cv_c_cross
=
yes
ac_cv_c_cross
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
66
"configure"
#line 9
95
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
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
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
ac_cv_c_cross
=
no
ac_cv_c_cross
=
no
else
else
...
@@ -984,7 +1013,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
...
@@ -984,7 +1013,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
988
"configure"
#line
1017
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -992,7 +1021,7 @@ else
...
@@ -992,7 +1021,7 @@ else
#include <float.h>
#include <float.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
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
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1007,7 +1036,7 @@ rm -f conftest*
...
@@ -1007,7 +1036,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
11
"configure"
#line 10
40
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -1025,7 +1054,7 @@ fi
...
@@ -1025,7 +1054,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
29
"configure"
#line 10
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -1046,7 +1075,7 @@ if test "$cross_compiling" = yes; then
...
@@ -1046,7 +1075,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
50
"configure"
#line 10
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h>
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
@@ -1057,7 +1086,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -1057,7 +1086,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
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
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
:
:
else
else
...
@@ -1087,12 +1116,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
...
@@ -1087,12 +1116,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
091
"configure"
#line 1
120
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure: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
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1125,7 +1154,7 @@ if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
...
@@ -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
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
29
"configure"
#line 11
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_hdr
>
#include <
$ac_hdr
>
...
@@ -1134,7 +1163,7 @@ int t() {
...
@@ -1134,7 +1163,7 @@ int t() {
DIR *dirp = 0;
DIR *dirp = 0;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
else
else
...
@@ -1165,7 +1194,7 @@ else
...
@@ -1165,7 +1194,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
69
"configure"
#line 11
98
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1177,7 +1206,7 @@ int t() {
...
@@ -1177,7 +1206,7 @@ int t() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1204,7 +1233,7 @@ else
...
@@ -1204,7 +1233,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
08
"configure"
#line 12
37
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1216,7 +1245,7 @@ int t() {
...
@@ -1216,7 +1245,7 @@ int t() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1241,7 +1270,7 @@ fi
...
@@ -1241,7 +1270,7 @@ fi
was_it_defined
=
no
was_it_defined
=
no
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 12
45
"configure"
#line 12
74
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
EOF
EOF
...
@@ -1260,12 +1289,19 @@ rm -f conftest*
...
@@ -1260,12 +1289,19 @@ rm -f conftest*
echo
"
$ac_t
""
$was_it_defined
"
1>&6
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
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
269
"configure"
#line 1
305
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1296,7 +1332,7 @@ if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
...
@@ -1296,7 +1332,7 @@ if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
00
"configure"
#line 13
36
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1327,7 +1363,7 @@ if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
...
@@ -1327,7 +1363,7 @@ if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
31
"configure"
#line 13
67
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1358,7 +1394,7 @@ if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
...
@@ -1358,7 +1394,7 @@ if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
62
"configure"
#line 13
98
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -1376,7 +1412,7 @@ int t() {
...
@@ -1376,7 +1412,7 @@ int t() {
int i;
int i;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_type_signal
=
void
ac_cv_type_signal
=
void
else
else
...
@@ -1398,7 +1434,7 @@ if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
...
@@ -1398,7 +1434,7 @@ if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
02
"configure"
#line 14
38
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1429,7 +1465,7 @@ if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
...
@@ -1429,7 +1465,7 @@ if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
33
"configure"
#line 14
69
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
EOF
EOF
...
@@ -1482,7 +1518,7 @@ echo $ac_n "checking LDSHARED""... $ac_c" 1>&6
...
@@ -1482,7 +1518,7 @@ echo $ac_n "checking LDSHARED""... $ac_c" 1>&6
if
test
-z
"
$LDSHARED
"
if
test
-z
"
$LDSHARED
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
AIX
*
)
LDSHARED
=
"ld_so_aix"
;;
AIX
*
)
LDSHARED
=
"ld_so_aix
\$
(CC)
"
;;
IRIX
*
)
LDSHARED
=
"ld -shared"
;;
IRIX
*
)
LDSHARED
=
"ld -shared"
;;
SunOS/4
*
)
LDSHARED
=
"ld"
;;
SunOS/4
*
)
LDSHARED
=
"ld"
;;
SunOS/5
*
)
LDSHARED
=
"ld -G"
;;
SunOS/5
*
)
LDSHARED
=
"ld -G"
;;
...
@@ -1492,6 +1528,7 @@ then
...
@@ -1492,6 +1528,7 @@ then
Linux
*
)
LDSHARED
=
"gcc -shared"
;;
Linux
*
)
LDSHARED
=
"gcc -shared"
;;
FreeBSD
*
)
LDSHARED
=
"ld -Bshareable"
;;
FreeBSD
*
)
LDSHARED
=
"ld -Bshareable"
;;
NeXT|next/3
*
)
LDSHARED
=
"ld -u libsys_s"
;;
NeXT|next/3
*
)
LDSHARED
=
"ld -u libsys_s"
;;
SCO_SV
*
)
LDSHARED
=
"cc -G -KPIC -Ki486 -belf -Wl,-Bexport"
;;
*
)
LDSHARED
=
"ld"
;;
*
)
LDSHARED
=
"ld"
;;
esac
esac
fi
fi
...
@@ -1508,6 +1545,7 @@ then
...
@@ -1508,6 +1545,7 @@ then
fi
;;
fi
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
)
CCSHARED
=
"-fpic"
;;
SCO_SV
*
)
CCSHARED
=
"-KPIC -dy -Bdynamic"
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$CCSHARED
"
1>&6
echo
"
$ac_t
""
$CCSHARED
"
1>&6
...
@@ -1520,6 +1558,7 @@ then
...
@@ -1520,6 +1558,7 @@ then
AIX
*
)
LINKFORSHARED
=
"-Wl,-bE:python.exp"
;;
AIX
*
)
LINKFORSHARED
=
"-Wl,-bE:python.exp"
;;
hp
*
|
HP
*
)
LINKFORSHARED
=
"-Wl,-E"
;;
hp
*
|
HP
*
)
LINKFORSHARED
=
"-Wl,-E"
;;
Linux
*
)
LINKFORSHARED
=
"-rdynamic"
;;
Linux
*
)
LINKFORSHARED
=
"-rdynamic"
;;
SCO_SV
*
)
LINKFORSHARED
=
"-Bdynamic -dy -Wl,-Bexport"
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$LINKFORSHARED
"
1>&6
echo
"
$ac_t
""
$LINKFORSHARED
"
1>&6
...
@@ -1533,7 +1572,7 @@ else
...
@@ -1533,7 +1572,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
37
"configure"
#line 15
76
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1545,7 +1584,7 @@ int t() {
...
@@ -1545,7 +1584,7 @@ int t() {
dlopen()
dlopen()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1577,7 +1616,7 @@ else
...
@@ -1577,7 +1616,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
581
"configure"
#line 1
620
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1589,7 +1628,7 @@ int t() {
...
@@ -1589,7 +1628,7 @@ int t() {
shl_load()
shl_load()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1621,7 +1660,7 @@ else
...
@@ -1621,7 +1660,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsun
$LIBS
"
LIBS
=
"-lsun
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
25
"configure"
#line 16
64
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1633,7 +1672,7 @@ int t() {
...
@@ -1633,7 +1672,7 @@ int t() {
getpwnam()
getpwnam()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1673,7 +1712,7 @@ else
...
@@ -1673,7 +1712,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
677
"configure"
#line 1
716
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1685,7 +1724,7 @@ int t() {
...
@@ -1685,7 +1724,7 @@ int t() {
t_open()
t_open()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1711,7 +1750,7 @@ else
...
@@ -1711,7 +1750,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-linet -lnsl
$LIBS
"
LIBS
=
"-linet -lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
15
"configure"
#line 17
54
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1723,7 +1762,7 @@ int t() {
...
@@ -1723,7 +1762,7 @@ int t() {
gethostbyname()
gethostbyname()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1749,7 +1788,7 @@ else
...
@@ -1749,7 +1788,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
53
"configure"
#line 17
92
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1761,7 +1800,7 @@ int t() {
...
@@ -1761,7 +1800,7 @@ int t() {
socket()
socket()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1793,8 +1832,6 @@ else
...
@@ -1793,8 +1832,6 @@ else
fi
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
echo
$ac_n
"checking for --with-readline""...
$ac_c
"
1>&6
# Check whether --with-readline or --without-readline was given.
# Check whether --with-readline or --without-readline was given.
if
test
"
${
with_readline
+set
}
"
=
set
;
then
if
test
"
${
with_readline
+set
}
"
=
set
;
then
...
@@ -1806,7 +1843,7 @@ cat >> confdefs.h <<\EOF
...
@@ -1806,7 +1843,7 @@ cat >> confdefs.h <<\EOF
EOF
EOF
if
test
-d
"
$withval
"
if
test
-d
"
$withval
"
then
L
IBS
=
"
$LIB
S
-L
$withval
"
then
L
DFLAGS
=
"
$LDFLAG
S
-L
$withval
"
fi
fi
termcap
=
termcap
=
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&6
...
@@ -1817,7 +1854,7 @@ else
...
@@ -1817,7 +1854,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
21
"configure"
#line 18
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1829,7 +1866,7 @@ int t() {
...
@@ -1829,7 +1866,7 @@ int t() {
tgetent()
tgetent()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1854,7 +1891,7 @@ else
...
@@ -1854,7 +1891,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermlib
$LIBS
"
LIBS
=
"-ltermlib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
58
"configure"
#line 18
95
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1866,7 +1903,7 @@ int t() {
...
@@ -1866,7 +1903,7 @@ int t() {
tgetent()
tgetent()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1896,7 +1933,7 @@ else
...
@@ -1896,7 +1933,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -l
$termcap
$LIBS
"
LIBS
=
"-lreadline -l
$termcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
00
"configure"
#line 19
37
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1908,7 +1945,7 @@ int t() {
...
@@ -1908,7 +1945,7 @@ int t() {
readline()
readline()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1947,7 +1984,7 @@ if test "${with_thread+set}" = set; then
...
@@ -1947,7 +1984,7 @@ if test "${with_thread+set}" = set; then
echo
"
$ac_t
""
$withval
"
1>&6
echo
"
$ac_t
""
$withval
"
1>&6
if
test
-d
"
$withval
"
if
test
-d
"
$withval
"
then
L
IBS
=
"
$LIB
S
-L
$withval
"
then
L
DFLAGS
=
"
$LDFLAG
S
-L
$withval
"
fi
fi
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define _REENTRANT 1
#define _REENTRANT 1
...
@@ -1959,12 +1996,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
...
@@ -1959,12 +1996,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1963
"configure"
#line
2000
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <mach/cthreads.h>
#include <mach/cthreads.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
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
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1998,7 +2035,7 @@ else
...
@@ -1998,7 +2035,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
02
"configure"
#line 20
39
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2010,7 +2047,7 @@ int t() {
...
@@ -2010,7 +2047,7 @@ int t() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2044,7 +2081,7 @@ else
...
@@ -2044,7 +2081,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
48
"configure"
#line 20
85
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2056,7 +2093,7 @@ int t() {
...
@@ -2056,7 +2093,7 @@ int t() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2096,7 +2133,7 @@ else
...
@@ -2096,7 +2133,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
00
"configure"
#line 21
37
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2108,7 +2145,7 @@ int t() {
...
@@ -2108,7 +2145,7 @@ int t() {
usconfig()
usconfig()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2139,7 +2176,7 @@ else
...
@@ -2139,7 +2176,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
43
"configure"
#line 21
80
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2151,7 +2188,7 @@ int t() {
...
@@ -2151,7 +2188,7 @@ int t() {
thr_create()
thr_create()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2196,7 +2233,7 @@ EOF
...
@@ -2196,7 +2233,7 @@ EOF
dldir
=
$withval
dldir
=
$withval
if
test
-d
"
$dldir
"
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
;
}
else
{
echo
"configure: error: proper usage is --with-sgi-dl=DIRECTORY"
1>&2
;
exit
1
;
}
fi
fi
DLINCLDIR
=
${
dldir
}
DLINCLDIR
=
${
dldir
}
...
@@ -2219,7 +2256,7 @@ EOF
...
@@ -2219,7 +2256,7 @@ EOF
dldir
=
`
echo
"
$withval
"
|
sed
's/,.*//'
`
dldir
=
`
echo
"
$withval
"
|
sed
's/,.*//'
`
dlddir
=
`
echo
"
$withval
"
|
sed
's/.*,//'
`
dlddir
=
`
echo
"
$withval
"
|
sed
's/.*,//'
`
if
test
-d
"
$dldir
"
-a
-d
"
$dlddir
"
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
;
}
else
{
echo
"configure: error: proper usage is --with-dl-dld=DL_DIRECTORY"
1>&2
;
exit
1
;
}
fi
fi
DLINCLDIR
=
${
dldir
}
DLINCLDIR
=
${
dldir
}
...
@@ -2242,7 +2279,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
...
@@ -2242,7 +2279,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
46
"configure"
#line 22
83
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -2266,7 +2303,7 @@ $ac_func();
...
@@ -2266,7 +2303,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -2295,7 +2332,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
...
@@ -2295,7 +2332,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
299
"configure"
#line 2
336
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -2319,7 +2356,7 @@ $ac_func();
...
@@ -2319,7 +2356,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -2344,7 +2381,7 @@ if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
...
@@ -2344,7 +2381,7 @@ if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
48
"configure"
#line 23
85
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */
which can conflict with char getpgrp(); below. */
...
@@ -2368,7 +2405,7 @@ getpgrp();
...
@@ -2368,7 +2405,7 @@ getpgrp();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_getpgrp=yes"
eval
"ac_cv_func_getpgrp=yes"
else
else
...
@@ -2381,7 +2418,7 @@ fi
...
@@ -2381,7 +2418,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
385
"configure"
#line 2
422
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2389,7 +2426,7 @@ int t() {
...
@@ -2389,7 +2426,7 @@ int t() {
getpgrp(0);
getpgrp(0);
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
#define GETPGRP_HAVE_ARG 1
...
@@ -2407,7 +2444,7 @@ if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
...
@@ -2407,7 +2444,7 @@ if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
11
"configure"
#line 24
48
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpgrp(); below. */
which can conflict with char setpgrp(); below. */
...
@@ -2431,7 +2468,7 @@ setpgrp();
...
@@ -2431,7 +2468,7 @@ setpgrp();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_setpgrp=yes"
eval
"ac_cv_func_setpgrp=yes"
else
else
...
@@ -2444,7 +2481,7 @@ fi
...
@@ -2444,7 +2481,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
setpgrp
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
setpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
48
"configure"
#line 24
85
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2452,7 +2489,7 @@ int t() {
...
@@ -2452,7 +2489,7 @@ int t() {
setpgrp(0,0);
setpgrp(0,0);
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
#define SETPGRP_HAVE_ARG 1
...
@@ -2470,7 +2507,7 @@ if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
...
@@ -2470,7 +2507,7 @@ if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
474
"configure"
#line 2
511
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
which can conflict with char gettimeofday(); below. */
...
@@ -2494,7 +2531,7 @@ gettimeofday();
...
@@ -2494,7 +2531,7 @@ gettimeofday();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_gettimeofday=yes"
eval
"ac_cv_func_gettimeofday=yes"
else
else
...
@@ -2507,7 +2544,7 @@ fi
...
@@ -2507,7 +2544,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
11
"configure"
#line 25
48
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/time.h>
#include <sys/time.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2515,7 +2552,7 @@ int t() {
...
@@ -2515,7 +2552,7 @@ int t() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
; return 0; }
EOF
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
else
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2537,7 +2574,7 @@ if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
...
@@ -2537,7 +2574,7 @@ if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
41
"configure"
#line 25
78
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -2547,7 +2584,7 @@ int t() {
...
@@ -2547,7 +2584,7 @@ int t() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_header_time
=
yes
ac_cv_header_time
=
yes
else
else
...
@@ -2571,7 +2608,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
...
@@ -2571,7 +2608,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
575
"configure"
#line 2
612
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -2580,7 +2617,7 @@ int t() {
...
@@ -2580,7 +2617,7 @@ int t() {
struct tm *tp; tp->tm_sec;
struct tm *tp; tp->tm_sec;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
ac_cv_struct_tm
=
time.h
else
else
...
@@ -2604,7 +2641,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
...
@@ -2604,7 +2641,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
08
"configure"
#line 26
45
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
#include <
$ac_cv_struct_tm
>
...
@@ -2613,7 +2650,7 @@ int t() {
...
@@ -2613,7 +2650,7 @@ int t() {
struct tm tm; tm.tm_zone;
struct tm tm; tm.tm_zone;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
ac_cv_struct_tm_zone
=
yes
else
else
...
@@ -2636,7 +2673,7 @@ if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
...
@@ -2636,7 +2673,7 @@ if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
40
"configure"
#line 26
77
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -2647,7 +2684,7 @@ int t() {
...
@@ -2647,7 +2684,7 @@ int t() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
ac_cv_var_tzname
=
yes
else
else
...
@@ -2673,7 +2710,7 @@ if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then
...
@@ -2673,7 +2710,7 @@ if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
677
"configure"
#line 2
714
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2681,7 +2718,7 @@ int t() {
...
@@ -2681,7 +2718,7 @@ int t() {
return altzone;
return altzone;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
ac_cv_header_time_altzone
=
yes
else
else
...
@@ -2703,7 +2740,7 @@ fi
...
@@ -2703,7 +2740,7 @@ fi
was_it_defined
=
no
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
$ac_n
"checking whether sys/select.h and sys/time.h may both be included""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
07
"configure"
#line 27
44
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -2715,7 +2752,7 @@ int t() {
...
@@ -2715,7 +2752,7 @@ int t() {
;
;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
#define SYS_SELECT_WITH_SYS_TIME 1
...
@@ -2735,7 +2772,7 @@ else
...
@@ -2735,7 +2772,7 @@ else
if
test
"
$GCC
"
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
39
"configure"
#line 27
76
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -2757,7 +2794,7 @@ if test "$cross_compiling" = yes; then
...
@@ -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
;
}
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
61
"configure"
#line 27
98
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
#if !defined(__STDC__) || __STDC__ != 1
...
@@ -2767,7 +2804,7 @@ main() {
...
@@ -2767,7 +2804,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
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
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
ac_cv_c_char_unsigned
=
yes
ac_cv_c_char_unsigned
=
yes
else
else
...
@@ -2792,7 +2829,7 @@ if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
...
@@ -2792,7 +2829,7 @@ if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
796
"configure"
#line 2
833
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2842,7 +2879,7 @@ ccp = (char const *const *) p;
...
@@ -2842,7 +2879,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
ac_cv_c_const
=
yes
ac_cv_c_const
=
yes
else
else
...
@@ -2865,7 +2902,7 @@ fi
...
@@ -2865,7 +2902,7 @@ fi
works
=
no
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
869
"configure"
#line 2
906
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2873,7 +2910,7 @@ int t() {
...
@@ -2873,7 +2910,7 @@ int t() {
volatile int x; x = 0;
volatile int x; x = 0;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -2890,7 +2927,7 @@ echo "$ac_t""$works" 1>&6
...
@@ -2890,7 +2927,7 @@ echo "$ac_t""$works" 1>&6
works
=
no
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
894
"configure"
#line 2
931
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2898,7 +2935,7 @@ int t() {
...
@@ -2898,7 +2935,7 @@ int t() {
signed char c;
signed char c;
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -2915,7 +2952,7 @@ echo "$ac_t""$works" 1>&6
...
@@ -2915,7 +2952,7 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
19
"configure"
#line 29
56
"configure"
#include "confdefs.h"
#include "confdefs.h"
int foo(int x) { return 0; }
int foo(int x) { return 0; }
int main() { return 0; }
int main() { return 0; }
...
@@ -2923,7 +2960,7 @@ int t() {
...
@@ -2923,7 +2960,7 @@ int t() {
return foo(10);
return foo(10);
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
#define HAVE_PROTOTYPES 1
...
@@ -2937,7 +2974,7 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -2937,7 +2974,7 @@ echo "$ac_t""$have_prototypes" 1>&6
works
=
no
works
=
no
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
41
"configure"
#line 29
78
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -2948,7 +2985,7 @@ int t() {
...
@@ -2948,7 +2985,7 @@ int t() {
return foo(10, 11, 12);
return foo(10, 11, 12);
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
#define HAVE_STDARG_PROTOTYPES 1
...
@@ -2963,7 +3000,7 @@ if test "$have_prototypes" = yes; then
...
@@ -2963,7 +3000,7 @@ if test "$have_prototypes" = yes; then
bad_prototypes
=
no
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
2967
"configure"
#line
3004
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2971,7 +3008,7 @@ int t() {
...
@@ -2971,7 +3008,7 @@ int t() {
char **t;execve("@",t,t);
char **t;execve("@",t,t);
; return 0; }
; return 0; }
EOF
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
else
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2991,7 +3028,7 @@ if test "$cross_compiling" = yes; then
...
@@ -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
;
}
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
2995
"configure"
#line
3032
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -3007,7 +3044,7 @@ main() {
...
@@ -3007,7 +3044,7 @@ main() {
}
}
EOF
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
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
:
:
else
else
...
@@ -3023,7 +3060,7 @@ echo "$ac_t""$bad_forward" 1>&6
...
@@ -3023,7 +3060,7 @@ echo "$ac_t""$bad_forward" 1>&6
va_list_is_array
=
no
va_list_is_array
=
no
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
27
"configure"
#line 30
64
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -3037,7 +3074,7 @@ int t() {
...
@@ -3037,7 +3074,7 @@ int t() {
va_list list1, list2; list1 = list2;
va_list list1, list2; list1 = list2;
; return 0; }
; return 0; }
EOF
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
else
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -3062,7 +3099,7 @@ else
...
@@ -3062,7 +3099,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
066
"configure"
#line 3
103
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3074,7 +3111,7 @@ int t() {
...
@@ -3074,7 +3111,7 @@ int t() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3136,7 +3173,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
...
@@ -3136,7 +3173,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
40
"configure"
#line 31
77
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -3160,7 +3197,7 @@ $ac_func();
...
@@ -3160,7 +3197,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -3193,7 +3230,7 @@ else
...
@@ -3193,7 +3230,7 @@ else
ac_cv_func_getopt
=
no
ac_cv_func_getopt
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
197
"configure"
#line 3
234
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
extern int optind, opterr, getopt();
extern int optind, opterr, getopt();
...
@@ -3205,7 +3242,7 @@ int main() {
...
@@ -3205,7 +3242,7 @@ int main() {
exit(0);
exit(0);
}
}
EOF
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
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
ac_cv_func_getopt
=
yes
ac_cv_func_getopt
=
yes
else
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