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
8ddd0add
Commit
8ddd0add
authored
Jun 14, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
derived from new configure.in
parent
36bc6802
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
447 additions
and
451 deletions
+447
-451
config.h.in
config.h.in
+5
-0
configure
configure
+442
-451
No files found.
config.h.in
View file @
8ddd0add
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
#endif
#endif
/* Define if type char is unsigned and you are not using gcc. */
/* Define if type char is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
#undef __CHAR_UNSIGNED__
#undef __CHAR_UNSIGNED__
#endif
/* Define to empty if the keyword does not work. */
/* Define to empty if the keyword does not work. */
#undef const
#undef const
...
@@ -278,6 +280,9 @@
...
@@ -278,6 +280,9 @@
/* Define if you have the <sys/utsname.h> header file. */
/* Define if you have the <sys/utsname.h> header file. */
#undef HAVE_SYS_UTSNAME_H
#undef HAVE_SYS_UTSNAME_H
/* Define if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define if you have the <thread.h> header file. */
/* Define if you have the <thread.h> header file. */
#undef HAVE_THREAD_H
#undef HAVE_THREAD_H
...
...
configure
View file @
8ddd0add
#!/bin/sh
#!
/bin/sh
# From configure.in Revision: 1.
19
# From configure.in Revision: 1.
21
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.
0
# Generated automatically using autoconf version 2.
3
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# This configure script is free software; the Free Software Foundation
...
@@ -28,37 +28,6 @@ ac_help="$ac_help
...
@@ -28,37 +28,6 @@ ac_help="$ac_help
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-libc=STRING C library"
--with-libc=STRING C library"
# Omit some internal or obsolete options to make the list less imposing.
ac_usage
=
"Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print
\`
checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[
$ac_default_prefix
]
--exec-prefix=PREFIX install architecture-dependent files in PREFIX
[same as prefix]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
$ac_help
"
# Initialize some variables set by options.
# Initialize some variables set by options.
# The variables have the same names as the options, with
# The variables have the same names as the options, with
# dashes changed to underlines.
# dashes changed to underlines.
...
@@ -152,8 +121,38 @@ do
...
@@ -152,8 +121,38 @@ do
with_gas
=
yes
;;
with_gas
=
yes
;;
-help
|
--help
|
--hel
|
--he
)
-help
|
--help
|
--hel
|
--he
)
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
EOF
cat
<<
EOF
$ac_usage
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print
\`
checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[
$ac_default_prefix
]
--exec-prefix=PREFIX install architecture-dependent files in PREFIX
[same as prefix]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
$ac_help
EOF
EOF
exit
0
;;
exit
0
;;
...
@@ -233,7 +232,7 @@ EOF
...
@@ -233,7 +232,7 @@ EOF
verbose
=
yes
;;
verbose
=
yes
;;
-version
|
--version
|
--versio
|
--versi
|
--vers
)
-version
|
--version
|
--versio
|
--versi
|
--vers
)
echo
"configure generated by autoconf version 2.
0
"
echo
"configure generated by autoconf version 2.
3
"
exit
0
;;
exit
0
;;
-with-
*
|
--with-
*
)
-with-
*
|
--with-
*
)
...
@@ -296,19 +295,20 @@ if test -n "$ac_prev"; then
...
@@ -296,19 +295,20 @@ if test -n "$ac_prev"; then
{
echo
"configure: error: missing argument to --
`
echo
$ac_prev
|
sed
's/_/-/g'
`
"
1>&2
;
exit
1
;
}
{
echo
"configure: error: missing argument to --
`
echo
$ac_prev
|
sed
's/_/-/g'
`
"
1>&2
;
exit
1
;
}
fi
fi
trap
'rm -fr conftest* confdefs* core $ac_clean_files; exit 1'
1 2 15
trap
'rm -fr conftest* confdefs* core
core.* *.core
$ac_clean_files; exit 1'
1 2 15
# File descriptor usage:
# File descriptor usage:
# 0
unused;
standard input
# 0 standard input
# 1 file creation
# 1 file creation
# 2 errors and warnings
# 2 errors and warnings
# 3 unused; some systems may open it to /dev/tty
# 3 some systems may open it to /dev/tty
# 4 checking for... messages and results
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
# 5 compiler messages saved in config.log
if
test
"
$silent
"
=
yes
;
then
if
test
"
$silent
"
=
yes
;
then
exec
4
>/dev/null
exec
6
>/dev/null
else
else
exec
4
>&1
exec
6
>&1
fi
fi
exec
5>./config.log
exec
5>./config.log
...
@@ -398,8 +398,8 @@ fi
...
@@ -398,8 +398,8 @@ fi
ac_ext
=
c
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp
=
'$CPP $CPPFLAGS'
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'${CC-cc}
$CFLAGS $CPPFLAGS conftest.$ac_ext -c
1>&5 2>&5'
ac_compile
=
'${CC-cc}
-c $CFLAGS $CPPFLAGS conftest.$ac_ext
1>&5 2>&5'
ac_link
=
'${CC-cc}
$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftes
t $LIBS 1>&5 2>&5'
ac_link
=
'${CC-cc}
-o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
t $LIBS 1>&5 2>&5'
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
if
(
echo
"testing
\c
"
;
echo
1,2,3
)
|
grep
c
>
/dev/null
;
then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
...
@@ -417,7 +417,7 @@ fi
...
@@ -417,7 +417,7 @@ fi
# checks for alternative programs
# checks for alternative programs
echo
$ac_n
"checking for --without-gcc""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for --without-gcc""...
$ac_c
"
1>&
6
# Check whether --with-gcc or --without-gcc was given.
# Check whether --with-gcc or --without-gcc was given.
withval
=
"
$with_gcc
"
withval
=
"
$with_gcc
"
if
test
-n
"
$withval
"
;
then
if
test
-n
"
$withval
"
;
then
...
@@ -434,7 +434,7 @@ else
...
@@ -434,7 +434,7 @@ else
without_gcc
=
no
without_gcc
=
no
fi
fi
echo
"
$ac_t
""
$without_gcc
"
1>&
4
echo
"
$ac_t
""
$without_gcc
"
1>&
6
# If the user switches compilers, we can't believe the cache
# If the user switches compilers, we can't believe the cache
if
test
!
-z
"
$ac_cv_prog_CC
"
-a
!
-z
"
$CC
"
-a
"
$CC
"
!=
"
$ac_cv_prog_CC
"
if
test
!
-z
"
$ac_cv_prog_CC
"
-a
!
-z
"
$CC
"
-a
"
$CC
"
!=
"
$ac_cv_prog_CC
"
...
@@ -445,9 +445,9 @@ fi
...
@@ -445,9 +445,9 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
...
@@ -466,15 +466,15 @@ fi
...
@@ -466,15 +466,15 @@ fi
fi
fi
CC
=
"
$ac_cv_prog_CC
"
CC
=
"
$ac_cv_prog_CC
"
if
test
-n
"
$CC
"
;
then
if
test
-n
"
$CC
"
;
then
echo
"
$ac_t
""
$CC
"
1>&
4
echo
"
$ac_t
""
$CC
"
1>&
6
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&
4
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.c
<<
EOF
cat
>
conftest.c
<<
EOF
#ifdef __GNUC__
#ifdef __GNUC__
...
@@ -487,13 +487,13 @@ else
...
@@ -487,13 +487,13 @@ else
ac_cv_prog_gcc
=
no
ac_cv_prog_gcc
=
no
fi
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_gcc
"
1>&
4
echo
"
$ac_t
""
$ac_cv_prog_gcc
"
1>&
6
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
GCC
=
yes
GCC
=
yes
if
test
"
${
CFLAGS
+set
}
"
!=
set
;
then
if
test
"
${
CFLAGS
+set
}
"
!=
set
;
then
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&
4
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_prog_gcc_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_prog_gcc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
echo
'void f(){}'
>
conftest.c
echo
'void f(){}'
>
conftest.c
if
test
-z
"
`
${
CC
-cc
}
-g
-c
conftest.c 2>&1
`
"
;
then
if
test
-z
"
`
${
CC
-cc
}
-g
-c
conftest.c 2>&1
`
"
;
then
...
@@ -504,7 +504,7 @@ fi
...
@@ -504,7 +504,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_gcc_g
"
1>&
4
echo
"
$ac_t
""
$ac_cv_prog_gcc_g
"
1>&
6
if
test
$ac_cv_prog_gcc_g
=
yes
;
then
if
test
$ac_cv_prog_gcc_g
=
yes
;
then
CFLAGS
=
"-g -O"
CFLAGS
=
"-g -O"
else
else
...
@@ -518,9 +518,9 @@ fi
...
@@ -518,9 +518,9 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
if
test
-n
"
$RANLIB
"
;
then
if
test
-n
"
$RANLIB
"
;
then
ac_cv_prog_RANLIB
=
"
$RANLIB
"
# Let the user override the test.
ac_cv_prog_RANLIB
=
"
$RANLIB
"
# Let the user override the test.
...
@@ -539,9 +539,9 @@ fi
...
@@ -539,9 +539,9 @@ fi
fi
fi
RANLIB
=
"
$ac_cv_prog_RANLIB
"
RANLIB
=
"
$ac_cv_prog_RANLIB
"
if
test
-n
"
$RANLIB
"
;
then
if
test
-n
"
$RANLIB
"
;
then
echo
"
$ac_t
""
$RANLIB
"
1>&
4
echo
"
$ac_t
""
$RANLIB
"
1>&
6
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
...
@@ -549,9 +549,9 @@ for ac_prog in ar aal
...
@@ -549,9 +549,9 @@ for ac_prog in ar aal
do
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
if
test
-n
"
$AR
"
;
then
if
test
-n
"
$AR
"
;
then
ac_cv_prog_AR
=
"
$AR
"
# Let the user override the test.
ac_cv_prog_AR
=
"
$AR
"
# Let the user override the test.
...
@@ -569,9 +569,9 @@ fi
...
@@ -569,9 +569,9 @@ fi
fi
fi
AR
=
"
$ac_cv_prog_AR
"
AR
=
"
$ac_cv_prog_AR
"
if
test
-n
"
$AR
"
;
then
if
test
-n
"
$AR
"
;
then
echo
"
$ac_t
""
$AR
"
1>&
4
echo
"
$ac_t
""
$AR
"
1>&
6
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
test
-n
"
$AR
"
&&
break
test
-n
"
$AR
"
&&
break
...
@@ -598,14 +598,14 @@ then OPT=-O
...
@@ -598,14 +598,14 @@ then OPT=-O
fi
fi
# checks for UNIX variants that set C preprocessor variables
# checks for UNIX variants that set C preprocessor variables
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&
4
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&
6
# On Suns, sometimes $CPP names a directory.
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
CPP
=
fi
fi
if
test
-z
"
$CPP
"
;
then
if
test
-z
"
$CPP
"
;
then
if
eval
"test
\"
`
echo
'${'
ac_cv_prog_CPP
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_prog_CPP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
# This must be in double quotes, not single quotes, because CPP may get
# This must be in double quotes, not single quotes, because CPP may get
# substituted into the Makefile and "${CC-cc}" will confuse make.
# substituted into the Makefile and "${CC-cc}" will confuse make.
...
@@ -648,9 +648,9 @@ rm -f conftest*
...
@@ -648,9 +648,9 @@ rm -f conftest*
fi
fi
fi
fi
CPP
=
"
$ac_cv_prog_CPP
"
CPP
=
"
$ac_cv_prog_CPP
"
echo
"
$ac_t
""
$CPP
"
1>&
4
echo
"
$ac_t
""
$CPP
"
1>&
6
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 656 "configure"
#line 656 "configure"
#include "confdefs.h"
#include "confdefs.h"
...
@@ -662,44 +662,24 @@ EOF
...
@@ -662,44 +662,24 @@ EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&
4
;
cat
>>
confdefs.h
<<
\
EOF
echo
"
$ac_t
""yes"
1>&
6
;
cat
>>
confdefs.h
<<
\
EOF
#define _ALL_SOURCE 1
#define _ALL_SOURCE 1
EOF
EOF
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
$ac_n
"checking for POSIXized ISC""...
$ac_c
"
1>&4
if
test
-d
/etc/conf/kconfig.d
&&
grep
_POSIX_VERSION /usr/include/sys/unistd.h
>
/dev/null 2>&1
then
echo
"
$ac_t
""yes"
1>&4
ISC
=
yes
# If later tests want to check for ISC.
cat
>>
confdefs.h
<<
\
EOF
#define _POSIX_SOURCE 1
EOF
if
test
"
$GCC
"
=
yes
;
then
CC
=
"
$CC
-posix"
else
CC
=
"
$CC
-Xp"
fi
else
echo
"
$ac_t
""no"
1>&4
ISC
=
fi
ac_safe
=
`
echo
"minix/config.h"
|
tr
'./\055'
'___'
`
ac_safe
=
`
echo
"minix/config.h"
|
tr
'./\055'
'___'
`
echo
$ac_n
"checking for minix/config.h""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for minix/config.h""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
70
3 "configure"
#line
68
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <minix/config.h>
#include <minix/config.h>
EOF
EOF
...
@@ -716,10 +696,10 @@ fi
...
@@ -716,10 +696,10 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
MINIX
=
yes
MINIX
=
yes
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
MINIX
=
MINIX
=
fi
fi
...
@@ -739,17 +719,17 @@ EOF
...
@@ -739,17 +719,17 @@ EOF
fi
fi
was_it_defined
=
no
# 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>&
4
echo
$ac_n
"checking whether cross-compiling""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_c_cross
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_c_cross
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
ac_cv_cross
=
yes
ac_cv_c
_c
ross
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
5
3 "configure"
#line 7
3
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
...
@@ -763,40 +743,14 @@ fi
...
@@ -763,40 +743,14 @@ fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
cross_compiling
=
$ac_cv_c_cross
cross_compiling
=
$ac_cv_c_cross
echo
"
$ac_t
""
$ac_cv_c_cross
"
1>&4
echo
"
$ac_t
""
$ac_cv_c_cross
"
1>&6
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 773 "configure"
#include "confdefs.h"
#ifdef _NEXT_SOURCE
main() { exit(0); }
#endif
EOF
eval
$ac_link
if
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
;
then
cat
>>
confdefs.h
<<
\
EOF
#define _POSIX_SOURCE 1
EOF
CC
=
"
$CC
-posix"
;
was_it_defined
=
yes
fi
fi
rm
-fr
conftest
*
echo
$ac_n
"checking for NeXT""...
$ac_c
"
1>&4
echo
"
$ac_t
""
$was_it_defined
"
1>&4
# checks for header files
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&4
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
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>&4
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
800
"configure"
#line
754
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -818,7 +772,7 @@ rm -f conftest*
...
@@ -818,7 +772,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
822
"configure"
#line
776
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -836,7 +790,7 @@ fi
...
@@ -836,7 +790,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
840
"configure"
#line
794
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -857,7 +811,7 @@ if test "$cross_compiling" = yes; then
...
@@ -857,7 +811,7 @@ if test "$cross_compiling" = yes; then
ac_cv_header_stdc
=
no
ac_cv_header_stdc
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
61
"configure"
#line 8
15
"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')
...
@@ -878,7 +832,7 @@ fi
...
@@ -878,7 +832,7 @@ fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_header_stdc
"
1>&
4
echo
"
$ac_t
""
$ac_cv_header_stdc
"
1>&
6
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define STDC_HEADERS 1
#define STDC_HEADERS 1
...
@@ -886,15 +840,15 @@ EOF
...
@@ -886,15 +840,15 @@ EOF
fi
fi
for
ac_hdr
in
dlfcn.h fcntl.h limits.h signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h sys/un.h sys/utsname.h
for
ac_hdr
in
dlfcn.h fcntl.h limits.h signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h sys/un.h sys/utsname.h
sys/wait.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
tr
'./\055'
'___'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
tr
'./\055'
'___'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
98
"configure"
#line 8
52
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
...
@@ -911,14 +865,14 @@ fi
...
@@ -911,14 +865,14 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
tr
'[a-z]./\055'
'[A-Z]___'
`
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
tr
'[a-z]./\055'
'[A-Z]___'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
#define
$ac_tr_hdr
1
EOF
EOF
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
done
done
...
@@ -926,12 +880,12 @@ ac_header_dirent=no
...
@@ -926,12 +880,12 @@ ac_header_dirent=no
for
ac_hdr
in
dirent.h sys/ndir.h sys/dir.h ndir.h
for
ac_hdr
in
dirent.h sys/ndir.h sys/dir.h ndir.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
tr
'./\055'
'___'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
tr
'./\055'
'___'
`
echo
$ac_n
"checking for
$ac_hdr
that defines DIR""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_hdr
that defines DIR""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_header_dirent_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_header_dirent_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
935
"configure"
#line
889
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_hdr
>
#include <
$ac_hdr
>
...
@@ -951,26 +905,26 @@ rm -f conftest*
...
@@ -951,26 +905,26 @@ rm -f conftest*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_header_dirent_'
$ac_safe
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_header_dirent_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
tr
'[a-z]./\055'
'[A-Z]___'
`
ac_tr_hdr
=
HAVE_
`
echo
$ac_hdr
|
tr
'[a-z]./\055'
'[A-Z]___'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
#define
$ac_tr_hdr
1
EOF
EOF
ac_header_dirent
=
$ac_hdr
;
break
ac_header_dirent
=
$ac_hdr
;
break
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
done
done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if
test
$ac_header_dirent
=
dirent.h
;
then
if
test
$ac_header_dirent
=
dirent.h
;
then
echo
$ac_n
"checking for -ldir""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -ldir""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_dir
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_dir
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-ldir
"
LIBS
=
"
-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 9
74
"configure"
#line 9
28
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -990,21 +944,21 @@ LIBS="$ac_save_LIBS"
...
@@ -990,21 +944,21 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dir
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dir
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
LIBS
=
"
$LIBS
-ldir"
LIBS
=
"
$LIBS
-ldir"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
else
else
echo
$ac_n
"checking for -lx""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lx""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_x
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_x
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lx
"
LIBS
=
"
-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1008
"configure"
#line
962
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1024,10 +978,10 @@ LIBS="$ac_save_LIBS"
...
@@ -1024,10 +978,10 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
x
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
x
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
LIBS
=
"
$LIBS
-lx"
LIBS
=
"
$LIBS
-lx"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
fi
fi
...
@@ -1035,9 +989,9 @@ fi
...
@@ -1035,9 +989,9 @@ fi
# checks for typedefs
# checks for typedefs
was_it_defined
=
no
was_it_defined
=
no
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&
4
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
1041
"configure"
#line
995
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
EOF
EOF
...
@@ -1054,14 +1008,14 @@ EOF
...
@@ -1054,14 +1008,14 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$was_it_defined
"
1>&
4
echo
"
$ac_t
""
$was_it_defined
"
1>&
6
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&
4
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>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
65
"configure"
#line 10
19
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1079,7 +1033,7 @@ fi
...
@@ -1079,7 +1033,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_mode_t
"
1>&
4
echo
"
$ac_t
""
$ac_cv_type_mode_t
"
1>&
6
if
test
$ac_cv_type_mode_t
=
no
;
then
if
test
$ac_cv_type_mode_t
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define mode_t int
#define mode_t int
...
@@ -1087,12 +1041,12 @@ EOF
...
@@ -1087,12 +1041,12 @@ EOF
fi
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
96
"configure"
#line 10
50
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1110,7 +1064,7 @@ fi
...
@@ -1110,7 +1064,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_off_t
"
1>&
4
echo
"
$ac_t
""
$ac_cv_type_off_t
"
1>&
6
if
test
$ac_cv_type_off_t
=
no
;
then
if
test
$ac_cv_type_off_t
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define off_t long
#define off_t long
...
@@ -1118,12 +1072,12 @@ EOF
...
@@ -1118,12 +1072,12 @@ EOF
fi
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
127
"configure"
#line 1
081
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1141,7 +1095,7 @@ fi
...
@@ -1141,7 +1095,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_pid_t
"
1>&
4
echo
"
$ac_t
""
$ac_cv_type_pid_t
"
1>&
6
if
test
$ac_cv_type_pid_t
=
no
;
then
if
test
$ac_cv_type_pid_t
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define pid_t int
#define pid_t int
...
@@ -1149,19 +1103,22 @@ EOF
...
@@ -1149,19 +1103,22 @@ EOF
fi
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&
4
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
58
"configure"
#line 11
12
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
#ifdef signal
#ifdef signal
#undef signal
#undef signal
#endif
#endif
extern void (*signal ()) ();
#ifdef __cplusplus
extern "C"
#endif
void (*signal ()) ();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
int i;
int i;
...
@@ -1177,18 +1134,18 @@ fi
...
@@ -1177,18 +1134,18 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_signal
"
1>&
4
echo
"
$ac_t
""
$ac_cv_type_signal
"
1>&
6
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define RETSIGTYPE
$ac_cv_type_signal
#define RETSIGTYPE
$ac_cv_type_signal
EOF
EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
92
"configure"
#line 11
49
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1206,7 +1163,7 @@ fi
...
@@ -1206,7 +1163,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_size_t
"
1>&
4
echo
"
$ac_t
""
$ac_cv_type_size_t
"
1>&
6
if
test
$ac_cv_type_size_t
=
no
;
then
if
test
$ac_cv_type_size_t
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define size_t unsigned
#define size_t unsigned
...
@@ -1214,12 +1171,12 @@ EOF
...
@@ -1214,12 +1171,12 @@ EOF
fi
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
223
"configure"
#line 1
180
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
EOF
EOF
...
@@ -1234,7 +1191,7 @@ fi
...
@@ -1234,7 +1191,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_uid_t
"
1>&
4
echo
"
$ac_t
""
$ac_cv_type_uid_t
"
1>&
6
if
test
$ac_cv_type_uid_t
=
no
;
then
if
test
$ac_cv_type_uid_t
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define uid_t int
#define uid_t int
...
@@ -1249,7 +1206,7 @@ fi
...
@@ -1249,7 +1206,7 @@ fi
# Set name for machine-dependent library files
# Set name for machine-dependent library files
echo
$ac_n
"checking MACHDEP""...
$ac_c
"
1>&
4
echo
$ac_n
"checking MACHDEP""...
$ac_c
"
1>&
6
if
test
-z
"
$MACHDEP
"
if
test
-z
"
$MACHDEP
"
then
then
ac_sys_system
=
`
uname
-s
|
tr
-d
' '
|
tr
'[A-Z]'
'[a-z]'
`
ac_sys_system
=
`
uname
-s
|
tr
-d
' '
|
tr
'[A-Z]'
'[a-z]'
`
...
@@ -1259,7 +1216,7 @@ then
...
@@ -1259,7 +1216,7 @@ then
''
)
MACHDEP
=
unknown
;;
''
)
MACHDEP
=
unknown
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$MACHDEP
"
1>&
4
echo
"
$ac_t
""
$MACHDEP
"
1>&
6
# Set info about shared libraries.
# Set info about shared libraries.
# XXX This should try things out instead of testing uname!
# XXX This should try things out instead of testing uname!
...
@@ -1271,7 +1228,7 @@ ac_sys_system=`uname -s`
...
@@ -1271,7 +1228,7 @@ ac_sys_system=`uname -s`
ac_sys_release
=
`
uname
-r
`
ac_sys_release
=
`
uname
-r
`
# SO is the extension of shared libraries `(including the dot!)
# SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX
# -- usually .so, .sl on HP-UX
echo
$ac_n
"checking SO""...
$ac_c
"
1>&
4
echo
$ac_n
"checking SO""...
$ac_c
"
1>&
6
if
test
-z
"
$SO
"
if
test
-z
"
$SO
"
then
then
case
$ac_sys_system
in
case
$ac_sys_system
in
...
@@ -1279,10 +1236,10 @@ then
...
@@ -1279,10 +1236,10 @@ then
*
)
SO
=
.so
;;
*
)
SO
=
.so
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$SO
"
1>&
4
echo
"
$ac_t
""
$SO
"
1>&
6
# LDSHARED is the ld *command* used to create shared library
# LDSHARED is the ld *command* used to create shared library
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&
4
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
...
@@ -1292,13 +1249,14 @@ then
...
@@ -1292,13 +1249,14 @@ then
hp
*
|
HP
*
)
LDSHARED
=
"ld -b"
;;
hp
*
|
HP
*
)
LDSHARED
=
"ld -b"
;;
OSF
*
)
LDSHARED
=
"ld -shared -expect_unresolved
\"
*
\"
"
;;
OSF
*
)
LDSHARED
=
"ld -shared -expect_unresolved
\"
*
\"
"
;;
DYNIX/ptx
*
)
LDSHARED
=
"ld -G"
;;
DYNIX/ptx
*
)
LDSHARED
=
"ld -G"
;;
Linux
*
)
LDSHARED
=
"gcc-elf -shared"
;;
*
)
LDSHARED
=
"ld"
;;
*
)
LDSHARED
=
"ld"
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$LDSHARED
"
1>&
4
echo
"
$ac_t
""
$LDSHARED
"
1>&
6
# CCSHARED are the C *flags* used to create objects to go into a shared
# CCSHARED are the C *flags* used to create objects to go into a shared
# library -- this is only needed for
HP-UX
# library -- this is only needed for
a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&
4
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&
6
if
test
-z
"
$CCSHARED
"
if
test
-z
"
$CCSHARED
"
then
then
case
$ac_sys_system
in
case
$ac_sys_system
in
...
@@ -1306,29 +1264,31 @@ then
...
@@ -1306,29 +1264,31 @@ then
then
CCSHARED
=
"-fpic"
;
then
CCSHARED
=
"-fpic"
;
else
CCSHARED
=
"+z"
;
else
CCSHARED
=
"+z"
;
fi
;;
fi
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$CCSHARED
"
1>&
4
echo
"
$ac_t
""
$CCSHARED
"
1>&
6
# LINKFORSHARED are the flags passed to the $(CC) command that links
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for
HP-UX
# the python executable -- this is only needed for
a few systems
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&
4
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&
6
if
test
-z
"
$LINKFORSHARED
"
if
test
-z
"
$LINKFORSHARED
"
then
then
case
$ac_sys_system
in
case
$ac_sys_system
in
hp
*
|
HP
*
)
LINKFORSHARED
=
"-Wl,-E"
;;
hp
*
|
HP
*
)
LINKFORSHARED
=
"-Wl,-E"
;;
Linux
*
)
LINKFORSHARED
=
"-rdynamic"
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$LINKFORSHARED
"
1>&
4
echo
"
$ac_t
""
$LINKFORSHARED
"
1>&
6
# checks for libraries
# checks for libraries
echo
$ac_n
"checking for -ldl""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -ldl""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_dl
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_dl
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-ldl
"
LIBS
=
"
-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
33
2 "configure"
#line 1
29
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1348,26 +1308,26 @@ LIBS="$ac_save_LIBS"
...
@@ -1348,26 +1308,26 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dl
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dl
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_lib
=
HAVE_LIB
`
echo
dl |
tr
'[a-z]'
'[A-Z]'
`
ac_tr_lib
=
HAVE_LIB
`
echo
dl |
tr
'[a-z]'
'[A-Z]'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
LIBS
=
"
$LIBS
-ldl
"
LIBS
=
"
-ldl
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# Dynamic linking for SunOS/Solaris and SYSV
# Dynamic linking for SunOS/Solaris and SYSV
echo
$ac_n
"checking for -ldld""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -ldld""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_dld
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_dld
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-ldld
"
LIBS
=
"
-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
7
1 "configure"
#line 13
3
1 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1387,26 +1347,26 @@ LIBS="$ac_save_LIBS"
...
@@ -1387,26 +1347,26 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dld
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dld
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_lib
=
HAVE_LIB
`
echo
dld |
tr
'[a-z]'
'[A-Z]'
`
ac_tr_lib
=
HAVE_LIB
`
echo
dld |
tr
'[a-z]'
'[A-Z]'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
LIBS
=
"
$LIBS
-ldld
"
LIBS
=
"
-ldld
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# Dynamic linking for HP-UX
# Dynamic linking for HP-UX
echo
$ac_n
"checking for -lsun""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lsun""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_sun
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_sun
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lsun
"
LIBS
=
"
-lsun
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
41
0 "configure"
#line 1
37
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1426,16 +1386,16 @@ LIBS="$ac_save_LIBS"
...
@@ -1426,16 +1386,16 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
sun
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
sun
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_lib
=
HAVE_LIB
`
echo
sun |
tr
'[a-z]'
'[A-Z]'
`
ac_tr_lib
=
HAVE_LIB
`
echo
sun |
tr
'[a-z]'
'[A-Z]'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
LIBS
=
"
$LIBS
-lsun
"
LIBS
=
"
-lsun
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# NIS (== YP) interface for IRIX 4
# NIS (== YP) interface for IRIX 4
# The following three (nsl,inet,socket) are needed on Sequent;
# The following three (nsl,inet,socket) are needed on Sequent;
...
@@ -1446,14 +1406,14 @@ fi
...
@@ -1446,14 +1406,14 @@ fi
# satisfied without it).
# satisfied without it).
if
test
"
`
uname
-s
`
"
!=
IRIX
if
test
"
`
uname
-s
`
"
!=
IRIX
then
then
echo
$ac_n
"checking for -lnsl""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lnsl""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_nsl
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_nsl
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lnsl
"
LIBS
=
"
-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
5
7 "configure"
#line 14
1
7 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1473,20 +1433,20 @@ LIBS="$ac_save_LIBS"
...
@@ -1473,20 +1433,20 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
nsl
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
nsl
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
LIBS
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# SVR4
# SVR4
echo
$ac_n
"checking for -linet""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -linet""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_inet
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_inet
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-linet -lnsl
"
LIBS
=
"
-linet -lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
9
0 "configure"
#line 14
5
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1506,20 +1466,20 @@ LIBS="$ac_save_LIBS"
...
@@ -1506,20 +1466,20 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
inet
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
inet
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
LIBS
=
"-linet
$LIBS
"
LIBS
=
"-linet
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# Sequent
# Sequent
echo
$ac_n
"checking for -lsocket""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lsocket""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_socket
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_socket
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lsocket
$LIBS
"
LIBS
=
"
-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
52
3 "configure"
#line 1
48
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1539,20 +1499,20 @@ LIBS="$ac_save_LIBS"
...
@@ -1539,20 +1499,20 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
socket
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
socket
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
LIBS
=
"-lsocket
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# SVR4 sockets
# SVR4 sockets
fi
fi
echo
$ac_n
"checking for --with-readline""...
$ac_c
"
1>&
4
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.
withval
=
"
$with_readline
"
withval
=
"
$with_readline
"
if
test
-n
"
$withval
"
;
then
if
test
-n
"
$withval
"
;
then
echo
"
$ac_t
""
$withval
"
1>&
4
echo
"
$ac_t
""
$withval
"
1>&
6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_READLINE 1
#define WITH_READLINE 1
EOF
EOF
...
@@ -1561,14 +1521,14 @@ if test ! -d "$withval"
...
@@ -1561,14 +1521,14 @@ if test ! -d "$withval"
then
{
echo
"configure: error: proper usage is --with-readline=DIRECTORY"
1>&2
;
exit
1
;
}
then
{
echo
"configure: error: proper usage is --with-readline=DIRECTORY"
1>&2
;
exit
1
;
}
fi
fi
termcap
=
termcap
=
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_termcap
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_termcap
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-ltermcap
"
LIBS
=
"
-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
7
2 "configure"
#line 15
3
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1588,19 +1548,19 @@ LIBS="$ac_save_LIBS"
...
@@ -1588,19 +1548,19 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
termcap
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
termcap
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
termcap
=
termcap
termcap
=
termcap
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
echo
$ac_n
"checking for -ltermlib""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -ltermlib""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_termlib
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_termlib
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-ltermlib
"
LIBS
=
"
-ltermlib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
60
4 "configure"
#line 1
56
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1620,10 +1580,10 @@ LIBS="$ac_save_LIBS"
...
@@ -1620,10 +1580,10 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
termlib
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
termlib
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
termcap
=
termlib
termcap
=
termlib
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
fi
fi
...
@@ -1639,27 +1599,27 @@ then LIBS="$LIBS $withval/libreadline.a"
...
@@ -1639,27 +1599,27 @@ then LIBS="$LIBS $withval/libreadline.a"
else
{
echo
"configure: error: no working termcap/termlib"
1>&2
;
exit
1
;
}
else
{
echo
"configure: error: no working termcap/termlib"
1>&2
;
exit
1
;
}
fi
fi
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&
6
# Check whether --with-thread or --without-thread was given.
# Check whether --with-thread or --without-thread was given.
withval
=
"
$with_thread
"
withval
=
"
$with_thread
"
if
test
-n
"
$withval
"
;
then
if
test
-n
"
$withval
"
;
then
echo
"
$ac_t
""
$withval
"
1>&
4
echo
"
$ac_t
""
$withval
"
1>&
6
if
test
-d
"
$withval
"
if
test
-d
"
$withval
"
then
LIBS
=
"
$LIBS
-L
$withval
"
then
LIBS
=
"
$LIBS
-L
$withval
"
fi
fi
echo
$ac_n
"checking for -lpthreads""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lpthreads""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_pthreads
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_pthreads
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lpthreads
"
LIBS
=
"
-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
6
3 "configure"
#line 16
2
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1679,7 +1639,7 @@ LIBS="$ac_save_LIBS"
...
@@ -1679,7 +1639,7 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
pthreads
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
pthreads
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_THREAD 1
#define WITH_THREAD 1
EOF
EOF
...
@@ -1691,17 +1651,17 @@ EOF
...
@@ -1691,17 +1651,17 @@ EOF
LIBS
=
"
$LIBS
-lpthreads"
LIBS
=
"
$LIBS
-lpthreads"
LIBOBJS
=
"
$LIBOBJS
thread.o"
LIBOBJS
=
"
$LIBOBJS
thread.o"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking for -lmpc""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lmpc""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_mpc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_mpc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lmpc
"
LIBS
=
"
-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
70
5 "configure"
#line 1
66
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1721,7 +1681,7 @@ LIBS="$ac_save_LIBS"
...
@@ -1721,7 +1681,7 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
mpc
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
mpc
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_THREAD 1
#define WITH_THREAD 1
EOF
EOF
...
@@ -1729,17 +1689,17 @@ EOF
...
@@ -1729,17 +1689,17 @@ EOF
LIBS
=
"
$LIBS
-lmpc"
LIBS
=
"
$LIBS
-lmpc"
LIBOBJS
=
"
$LIBOBJS
thread.o"
LIBOBJS
=
"
$LIBOBJS
thread.o"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking for -lthread""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lthread""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_thread
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_thread
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lthread
"
LIBS
=
"
-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
4
3 "configure"
#line 17
0
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -1759,7 +1719,7 @@ LIBS="$ac_save_LIBS"
...
@@ -1759,7 +1719,7 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
thread
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
thread
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_THREAD 1
#define WITH_THREAD 1
EOF
EOF
...
@@ -1767,12 +1727,12 @@ EOF
...
@@ -1767,12 +1727,12 @@ EOF
LIBS
=
"
$LIBS
-lthread"
LIBS
=
"
$LIBS
-lthread"
LIBOBJS
=
"
$LIBOBJS
thread.o"
LIBOBJS
=
"
$LIBOBJS
thread.o"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
...
@@ -1780,12 +1740,12 @@ fi
...
@@ -1780,12 +1740,12 @@ fi
DLINCLDIR
=
/
DLINCLDIR
=
/
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&
6
# Check whether --with-sgi-dl or --without-sgi-dl was given.
# Check whether --with-sgi-dl or --without-sgi-dl was given.
withval
=
"
$with_sgi_dl
"
withval
=
"
$with_sgi_dl
"
if
test
-n
"
$withval
"
;
then
if
test
-n
"
$withval
"
;
then
echo
"
$ac_t
""
$withval
"
1>&
4
echo
"
$ac_t
""
$withval
"
1>&
6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_SGI_DL 1
#define WITH_SGI_DL 1
EOF
EOF
...
@@ -1798,16 +1758,16 @@ fi
...
@@ -1798,16 +1758,16 @@ fi
DLINCLDIR
=
${
dldir
}
DLINCLDIR
=
${
dldir
}
LIBS
=
"
$LIBS
-ldl -lmld"
LIBS
=
"
$LIBS
-ldl -lmld"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&
6
# Check whether --with-dl-dld or --without-dl-dld was given.
# Check whether --with-dl-dld or --without-dl-dld was given.
withval
=
"
$with_dl_dld
"
withval
=
"
$with_dl_dld
"
if
test
-n
"
$withval
"
;
then
if
test
-n
"
$withval
"
;
then
echo
"
$ac_t
""
$withval
"
1>&
4
echo
"
$ac_t
""
$withval
"
1>&
6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_DL_DLD 1
#define WITH_DL_DLD 1
EOF
EOF
...
@@ -1821,21 +1781,26 @@ fi
...
@@ -1821,21 +1781,26 @@ fi
DLINCLDIR
=
${
dldir
}
DLINCLDIR
=
${
dldir
}
LIBS
=
"
$LIBS
-ldl -ldld"
LIBS
=
"
$LIBS
-ldl -ldld"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# checks for library functions
# checks for library functions
for
ac_func
in
chown
clock dlopen ftime ftruncate gethostname_r gettimeofday getpeername getpgrp getpid getwd
link
lstat
nice readlink
select
setgid setuid setsid setpgid setpgrp setvbuf siginterrupt symlink tcgetpgrp tcsetpgrp
times truncate uname
waitpid
for
ac_func
in
chown
clock dlopen ftime ftruncate gethostname_r gettimeofday getpeername getpgrp getpid getwd
link
lstat
nice readlink
select
setgid setuid setsid setpgid setpgrp setvbuf siginterrupt symlink tcgetpgrp tcsetpgrp
times truncate uname
waitpid
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
83
7 "configure"
#line 1
79
7 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char
$ac_func
();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
...
@@ -1845,8 +1810,7 @@ int t() {
...
@@ -1845,8 +1810,7 @@ int t() {
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
choke me
#else
#else
/* Override any gcc2 internal prototype to avoid an error. */
$ac_func
();
char
$ac_func
();
$ac_func
();
#endif
#endif
; return 0; }
; return 0; }
...
@@ -1862,27 +1826,32 @@ rm -f conftest*
...
@@ -1862,27 +1826,32 @@ rm -f conftest*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_func
=
HAVE_
`
echo
$ac_func
|
tr
'[a-z]'
'[A-Z]'
`
ac_tr_func
=
HAVE_
`
echo
$ac_func
|
tr
'[a-z]'
'[A-Z]'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
done
done
for
ac_func
in
dup2 getcwd strerror memmove
for
ac_func
in
dup2 getcwd strerror memmove
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
84
"configure"
#line 18
48
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char
$ac_func
();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
...
@@ -1892,8 +1861,7 @@ int t() {
...
@@ -1892,8 +1861,7 @@ int t() {
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
choke me
#else
#else
/* Override any gcc2 internal prototype to avoid an error. */
$ac_func
();
char
$ac_func
();
$ac_func
();
#endif
#endif
; return 0; }
; return 0; }
...
@@ -1909,23 +1877,28 @@ rm -f conftest*
...
@@ -1909,23 +1877,28 @@ rm -f conftest*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
:
:
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
LIBOBJS
=
"
$LIBOBJS
${
ac_func
}
.o"
LIBOBJS
=
"
$LIBOBJS
${
ac_func
}
.o"
fi
fi
done
done
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_getpgrp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_getpgrp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
927
"configure"
#line 1
895
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char getpgrp();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
...
@@ -1935,8 +1908,7 @@ int t() {
...
@@ -1935,8 +1908,7 @@ int t() {
#if defined (__stub_getpgrp) || defined (__stub___getpgrp)
#if defined (__stub_getpgrp) || defined (__stub___getpgrp)
choke me
choke me
#else
#else
/* Override any gcc2 internal prototype to avoid an error. */
getpgrp();
char getpgrp(); getpgrp();
#endif
#endif
; return 0; }
; return 0; }
...
@@ -1952,9 +1924,9 @@ rm -f conftest*
...
@@ -1952,9 +1924,9 @@ rm -f conftest*
fi
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>&
4
echo
"
$ac_t
""yes"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
58
"configure"
#line 19
30
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -1972,17 +1944,22 @@ fi
...
@@ -1972,17 +1944,22 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_setpgrp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_setpgrp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
84
"configure"
#line 19
56
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpgrp(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char setpgrp();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
...
@@ -1992,8 +1969,7 @@ int t() {
...
@@ -1992,8 +1969,7 @@ int t() {
#if defined (__stub_setpgrp) || defined (__stub___setpgrp)
#if defined (__stub_setpgrp) || defined (__stub___setpgrp)
choke me
choke me
#else
#else
/* Override any gcc2 internal prototype to avoid an error. */
setpgrp();
char setpgrp(); setpgrp();
#endif
#endif
; return 0; }
; return 0; }
...
@@ -2009,9 +1985,9 @@ rm -f conftest*
...
@@ -2009,9 +1985,9 @@ rm -f conftest*
fi
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>&
4
echo
"
$ac_t
""yes"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
2015
"configure"
#line
1991
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2029,17 +2005,22 @@ fi
...
@@ -2029,17 +2005,22 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_gettimeofday
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_gettimeofday
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
41
"configure"
#line 20
17
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char gettimeofday();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
...
@@ -2049,8 +2030,7 @@ int t() {
...
@@ -2049,8 +2030,7 @@ int t() {
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
choke me
choke me
#else
#else
/* Override any gcc2 internal prototype to avoid an error. */
gettimeofday();
char gettimeofday(); gettimeofday();
#endif
#endif
; return 0; }
; return 0; }
...
@@ -2066,9 +2046,9 @@ rm -f conftest*
...
@@ -2066,9 +2046,9 @@ rm -f conftest*
fi
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>&
4
echo
"
$ac_t
""yes"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
7
2 "configure"
#line 20
5
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/time.h>
#include <sys/time.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2088,17 +2068,17 @@ fi
...
@@ -2088,17 +2068,17 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
# checks for structures
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&
4
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
10
2 "configure"
#line 2
08
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -2118,7 +2098,7 @@ fi
...
@@ -2118,7 +2098,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_header_time
"
1>&
4
echo
"
$ac_t
""
$ac_cv_header_time
"
1>&
6
if
test
$ac_cv_header_time
=
yes
;
then
if
test
$ac_cv_header_time
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define TIME_WITH_SYS_TIME 1
#define TIME_WITH_SYS_TIME 1
...
@@ -2126,12 +2106,12 @@ EOF
...
@@ -2126,12 +2106,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&
4
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
3
5 "configure"
#line 21
1
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -2150,7 +2130,7 @@ fi
...
@@ -2150,7 +2130,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_struct_tm
"
1>&
4
echo
"
$ac_t
""
$ac_cv_struct_tm
"
1>&
6
if
test
$ac_cv_struct_tm
=
sys/time.h
;
then
if
test
$ac_cv_struct_tm
=
sys/time.h
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define TM_IN_SYS_TIME 1
#define TM_IN_SYS_TIME 1
...
@@ -2158,12 +2138,12 @@ EOF
...
@@ -2158,12 +2138,12 @@ EOF
fi
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
6
7 "configure"
#line 21
4
7 "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
>
...
@@ -2182,19 +2162,19 @@ fi
...
@@ -2182,19 +2162,19 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_struct_tm_zone
"
1>&
4
echo
"
$ac_t
""
$ac_cv_struct_tm_zone
"
1>&
6
if
test
"
$ac_cv_struct_tm_zone
"
=
yes
;
then
if
test
"
$ac_cv_struct_tm_zone
"
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_TM_ZONE 1
#define HAVE_TM_ZONE 1
EOF
EOF
else
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
9
8 "configure"
#line 21
7
8 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -2215,7 +2195,7 @@ fi
...
@@ -2215,7 +2195,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_var_tzname
"
1>&
4
echo
"
$ac_t
""
$ac_cv_var_tzname
"
1>&
6
if
test
$ac_cv_var_tzname
=
yes
;
then
if
test
$ac_cv_var_tzname
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_TZNAME 1
#define HAVE_TZNAME 1
...
@@ -2225,12 +2205,12 @@ EOF
...
@@ -2225,12 +2205,12 @@ EOF
fi
fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
3
4 "configure"
#line 22
1
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2249,7 +2229,7 @@ rm -f conftest*
...
@@ -2249,7 +2229,7 @@ rm -f conftest*
fi
fi
echo
"
$ac_t
""
$ac_cv_header_time_altzone
"
1>&
4
echo
"
$ac_t
""
$ac_cv_header_time_altzone
"
1>&
6
if
test
$ac_cv_header_time_altzone
=
yes
;
then
if
test
$ac_cv_header_time_altzone
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_ALTZONE 1
#define HAVE_ALTZONE 1
...
@@ -2258,9 +2238,9 @@ EOF
...
@@ -2258,9 +2238,9 @@ EOF
fi
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>&
4
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 22
6
4 "configure"
#line 22
4
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -2281,18 +2261,18 @@ EOF
...
@@ -2281,18 +2261,18 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$was_it_defined
"
1>&
4
echo
"
$ac_t
""
$was_it_defined
"
1>&
6
# checks for compiler characteristics
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&
4
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
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 22
9
6 "configure"
#line 22
7
6 "configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -2314,7 +2294,7 @@ if test "$cross_compiling" = yes; then
...
@@ -2314,7 +2294,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 2
31
8 "configure"
#line 2
29
8 "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
...
@@ -2334,7 +2314,7 @@ fi
...
@@ -2334,7 +2314,7 @@ fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_c_char_unsigned
"
1>&
4
echo
"
$ac_t
""
$ac_cv_c_char_unsigned
"
1>&
6
if
test
$ac_cv_c_char_unsigned
=
yes
&&
test
"
$GCC
"
!=
yes
;
then
if
test
$ac_cv_c_char_unsigned
=
yes
&&
test
"
$GCC
"
!=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define __CHAR_UNSIGNED__ 1
#define __CHAR_UNSIGNED__ 1
...
@@ -2343,12 +2323,12 @@ EOF
...
@@ -2343,12 +2323,12 @@ EOF
fi
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
5
2 "configure"
#line 23
3
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2408,7 +2388,7 @@ fi
...
@@ -2408,7 +2388,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_c_const
"
1>&
4
echo
"
$ac_t
""
$ac_cv_c_const
"
1>&
6
if
test
$ac_cv_c_const
=
no
;
then
if
test
$ac_cv_c_const
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define const
#define const
...
@@ -2418,9 +2398,9 @@ fi
...
@@ -2418,9 +2398,9 @@ fi
works
=
no
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
2
4 "configure"
#line 24
0
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2440,12 +2420,12 @@ EOF
...
@@ -2440,12 +2420,12 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$works
"
1>&
4
echo
"
$ac_t
""
$works
"
1>&
6
works
=
no
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
4
9 "configure"
#line 24
2
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2465,12 +2445,12 @@ EOF
...
@@ -2465,12 +2445,12 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$works
"
1>&
4
echo
"
$ac_t
""
$works
"
1>&
6
have_prototypes
=
no
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
7
4 "configure"
#line 24
5
4 "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; }
...
@@ -2487,12 +2467,12 @@ EOF
...
@@ -2487,12 +2467,12 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$have_prototypes
"
1>&
4
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>&
4
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 24
9
6 "configure"
#line 24
7
6 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -2512,13 +2492,13 @@ EOF
...
@@ -2512,13 +2492,13 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$works
"
1>&
4
echo
"
$ac_t
""
$works
"
1>&
6
if
test
"
$have_prototypes
"
=
yes
;
then
if
test
"
$have_prototypes
"
=
yes
;
then
bad_prototypes
=
no
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&
6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
2
2 "configure"
#line 25
0
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2537,16 +2517,16 @@ EOF
...
@@ -2537,16 +2517,16 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$bad_prototypes
"
1>&
4
echo
"
$ac_t
""
$bad_prototypes
"
1>&
6
fi
fi
bad_forward
=
no
bad_forward
=
no
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&
6
if
test
"
$cross_compiling
"
=
yes
;
then
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 25
5
0 "configure"
#line 25
3
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -2573,12 +2553,12 @@ EOF
...
@@ -2573,12 +2553,12 @@ EOF
fi
fi
fi
fi
rm
-fr
conftest
*
rm
-fr
conftest
*
echo
"
$ac_t
""
$bad_forward
"
1>&
4
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>&
4
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 25
8
2 "configure"
#line 25
6
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -2603,20 +2583,20 @@ EOF
...
@@ -2603,20 +2583,20 @@ EOF
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
"
$ac_t
""
$va_list_is_array
"
1>&
4
echo
"
$ac_t
""
$va_list_is_array
"
1>&
6
# checks for system services
# checks for system services
# (none yet)
# (none yet)
# Linux requires this for correct f.p. operations
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for -lieee""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for -lieee""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_lib_ieee
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_lib_ieee
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lieee
"
LIBS
=
"
-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
2
0 "configure"
#line 26
0
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2636,16 +2616,16 @@ LIBS="$ac_save_LIBS"
...
@@ -2636,16 +2616,16 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
ieee
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
ieee
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_lib
=
HAVE_LIB
`
echo
ieee |
tr
'[a-z]'
'[A-Z]'
`
ac_tr_lib
=
HAVE_LIB
`
echo
ieee |
tr
'[a-z]'
'[A-Z]'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
LIBS
=
"
$LIBS
-lieee
"
LIBS
=
"
-lieee
$LIBS
"
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
...
@@ -2681,14 +2661,19 @@ LIBS_SAVE=$LIBS
...
@@ -2681,14 +2661,19 @@ LIBS_SAVE=$LIBS
LIBS
=
"
$LIBS
$LIBM
"
LIBS
=
"
$LIBS
$LIBM
"
for
ac_func
in
hypot
for
ac_func
in
hypot
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
9
0 "configure"
#line 26
7
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char
$ac_func
();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
...
@@ -2698,8 +2683,7 @@ int t() {
...
@@ -2698,8 +2683,7 @@ int t() {
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
choke me
#else
#else
/* Override any gcc2 internal prototype to avoid an error. */
$ac_func
();
char
$ac_func
();
$ac_func
();
#endif
#endif
; return 0; }
; return 0; }
...
@@ -2715,29 +2699,29 @@ rm -f conftest*
...
@@ -2715,29 +2699,29 @@ rm -f conftest*
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&
4
echo
"
$ac_t
""yes"
1>&
6
ac_tr_func
=
HAVE_
`
echo
$ac_func
|
tr
'[a-z]'
'[A-Z]'
`
ac_tr_func
=
HAVE_
`
echo
$ac_func
|
tr
'[a-z]'
'[A-Z]'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
else
else
echo
"
$ac_t
""no"
1>&
4
echo
"
$ac_t
""no"
1>&
6
fi
fi
done
done
LIBS
=
$LIBS_SAVE
LIBS
=
$LIBS_SAVE
# check for getopt
# check for getopt
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&
4
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&
6
if
eval
"test
\"
`
echo
'${'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$
''
{'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&
4
echo
$ac_n
"(cached)
$ac_c
"
1>&
6
else
else
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
ac_cv_func_getopt
=
no
ac_cv_func_getopt
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
41
"configure"
#line 27
25
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
extern int optind, opterr, getopt();
extern int optind, opterr, getopt();
...
@@ -2758,14 +2742,12 @@ fi
...
@@ -2758,14 +2742,12 @@ fi
fi
fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_func_getopt
"
1>&
4
echo
"
$ac_t
""
$ac_cv_func_getopt
"
1>&
6
test
$ac_cv_func_getopt
=
no
&&
LIBOBJS
=
"
$LIBOBJS
getopt.o"
test
$ac_cv_func_getopt
=
no
&&
LIBOBJS
=
"
$LIBOBJS
getopt.o"
# generate output files
# generate output files
trap
''
1 2 15
trap
''
1 2 15
if
test
-w
$cache_file
;
then
cat
>
confcache
<<
\
EOF
echo
"updating cache
$cache_file
"
cat
>
$cache_file
<<
\
EOF
# This file is a shell script that caches the results of configure
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# tests run on this system so they can be shared between configure
# scripts and configure runs. It is not useful on other systems.
# scripts and configure runs. It is not useful on other systems.
...
@@ -2781,15 +2763,24 @@ cat > $cache_file <<\EOF
...
@@ -2781,15 +2763,24 @@ cat > $cache_file <<\EOF
# --recheck option to rerun configure.
# --recheck option to rerun configure.
#
#
EOF
EOF
# Ultrix sh set writes to stderr and can't be redirected directly.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(
set
)
2>&1 |
(
set
)
2>&1 |
sed
-n
"s/^
\(
[a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*
\)
=
\(
.*
\)
/:
\$
{
\1
='
\2
'}/p"
\
sed
-n
"s/^
\(
[a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*
\)
=
\(
.*
\)
/
\1
=
\$
{
\1
='
\2
'}/p"
\
>>
$cache_file
>>
confcache
if
cmp
-s
$cache_file
confcache
;
then
:
else
else
echo
"not updating unwritable cache
$cache_file
"
if
test
-w
$cache_file
;
then
echo
"updating cache
$cache_file
"
cat
confcache
>
$cache_file
else
echo
"not updating unwritable cache
$cache_file
"
fi
fi
fi
rm
-f
confcache
trap
'rm -fr conftest* confdefs* core $ac_clean_files; exit 1'
1 2 15
trap
'rm -fr conftest* confdefs* core
core.* *.core
$ac_clean_files; exit 1'
1 2 15
test
"x
$prefix
"
=
xNONE
&&
prefix
=
$ac_default_prefix
test
"x
$prefix
"
=
xNONE
&&
prefix
=
$ac_default_prefix
# Let make expand exec_prefix.
# Let make expand exec_prefix.
...
@@ -2812,7 +2803,7 @@ DEFS=-DHAVE_CONFIG_H
...
@@ -2812,7 +2803,7 @@ DEFS=-DHAVE_CONFIG_H
echo
creating
$CONFIG_STATUS
echo
creating
$CONFIG_STATUS
rm
-f
$CONFIG_STATUS
rm
-f
$CONFIG_STATUS
cat
>
$CONFIG_STATUS
<<
EOF
cat
>
$CONFIG_STATUS
<<
EOF
#!/bin/sh
#!
/bin/sh
# Generated automatically by configure.
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# This directory was configured as follows,
...
@@ -2831,7 +2822,7 @@ do
...
@@ -2831,7 +2822,7 @@ do
echo "running
\$
{CONFIG_SHELL-/bin/sh}
$0
$ac_configure_args
--no-create --no-recursion"
echo "running
\$
{CONFIG_SHELL-/bin/sh}
$0
$ac_configure_args
--no-create --no-recursion"
exec
\$
{CONFIG_SHELL-/bin/sh}
$0
$ac_configure_args
--no-create --no-recursion ;;
exec
\$
{CONFIG_SHELL-/bin/sh}
$0
$ac_configure_args
--no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "
$CONFIG_STATUS
generated by autoconf version 2.
0
"
echo "
$CONFIG_STATUS
generated by autoconf version 2.
3
"
exit 0 ;;
exit 0 ;;
-help | --help | --hel | --he | --h)
-help | --help | --hel | --he | --h)
echo "
\$
ac_cs_usage"; exit 0 ;;
echo "
\$
ac_cs_usage"; exit 0 ;;
...
@@ -2841,7 +2832,7 @@ done
...
@@ -2841,7 +2832,7 @@ done
ac_given_srcdir=
$srcdir
ac_given_srcdir=
$srcdir
trap 'rm -fr
Makefile Objects/Makefile Parser/Makefile Python/Makefile Modules/Makefile.pre config.h
conftest*; exit 1' 1 2 15
trap 'rm -fr
`echo "Makefile Objects/Makefile Parser/Makefile Python/Makefile Modules/Makefile.pre config.h" | sed "s/:[^ ]*//g"`
conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g
$/
@g/; /@g
$/
s/[
\\\\
&%]/
\\\\
&/g;
sed 's/%@/@@/; s/@%/@@/; s/%g
$/
@g/; /@g
$/
s/[
\\\\
&%]/
\\\\
&/g;
...
@@ -2897,7 +2888,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
...
@@ -2897,7 +2888,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
if test "
$ac_dir
" != "
$ac_file
" && test "
$ac_dir
" != .; then
if test "
$ac_dir
" != "
$ac_file
" && test "
$ac_dir
" != .; then
# The file is in a subdirectory.
# The file is in a subdirectory.
test ! -d "
$ac_dir
" && mkdir "
$ac_dir
"
test ! -d "
$ac_dir
" && mkdir "
$ac_dir
"
ac_dir_suffix="/
$ac_dir
"
ac_dir_suffix="/
`echo
$ac_dir
|sed 's%^
\.
/%%'`
"
# A "../" for each directory in
$ac_dir_suffix
.
# A "../" for each directory in
$ac_dir_suffix
.
ac_dots=`echo
$ac_dir_suffix
|sed 's%/[^/]*%../%g'`
ac_dots=`echo
$ac_dir_suffix
|sed 's%/[^/]*%../%g'`
else
else
...
@@ -3032,5 +3023,5 @@ exit 0
...
@@ -3032,5 +3023,5 @@ exit 0
EOF
EOF
chmod
+x
$CONFIG_STATUS
chmod
+x
$CONFIG_STATUS
rm
-fr
confdefs
*
$ac_clean_files
rm
-fr
confdefs
*
$ac_clean_files
test
"
$no_create
"
=
yes
||
${
CONFIG_SHELL
-/bin/sh
}
$CONFIG_STATUS
test
"
$no_create
"
=
yes
||
${
CONFIG_SHELL
-/bin/sh
}
$CONFIG_STATUS
||
exit
1
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