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
e186062f
Commit
e186062f
authored
May 28, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
see new configure.in
parent
e408201a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
513 additions
and
221 deletions
+513
-221
configure
configure
+513
-221
No files found.
configure
View file @
e186062f
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.2
4
# From configure.in Revision: 1.2
5
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.
4
# Generated automatically using autoconf version 2.
10
# Copyright (C) 1992,
1993, 1994
Free Software Foundation, Inc.
# Copyright (C) 1992,
93, 94, 95, 96
Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
# gives unlimited permission to copy, distribute and modify it.
...
@@ -49,9 +49,22 @@ target=NONE
...
@@ -49,9 +49,22 @@ target=NONE
verbose
=
verbose
=
x_includes
=
NONE
x_includes
=
NONE
x_libraries
=
NONE
x_libraries
=
NONE
bindir
=
'${exec_prefix}/bin'
sbindir
=
'${exec_prefix}/sbin'
libexecdir
=
'${exec_prefix}/libexec'
datadir
=
'${prefix}/share'
sysconfdir
=
'${prefix}/etc'
sharedstatedir
=
'${prefix}/com'
localstatedir
=
'${prefix}/var'
libdir
=
'${exec_prefix}/lib'
includedir
=
'${prefix}/include'
oldincludedir
=
'/usr/include'
infodir
=
'${prefix}/info'
mandir
=
'${prefix}/man'
# Initialize some other variables.
# Initialize some other variables.
subdirs
=
subdirs
=
MFLAGS
=
MAKEFLAGS
=
ac_prev
=
ac_prev
=
for
ac_option
for
ac_option
...
@@ -73,9 +86,14 @@ do
...
@@ -73,9 +86,14 @@ do
case
"
$ac_option
"
in
case
"
$ac_option
"
in
-build
|
--build
|
--buil
|
--bui
|
--bu
|
--b
)
-bindir
|
--bindir
|
--bindi
|
--bind
|
--bin
|
--bi
)
ac_prev
=
bindir
;;
-bindir
=
*
|
--bindir
=
*
|
--bindi
=
*
|
--bind
=
*
|
--bin
=
*
|
--bi
=
*
)
bindir
=
"
$ac_optarg
"
;;
-build
|
--build
|
--buil
|
--bui
|
--bu
)
ac_prev
=
build
;;
ac_prev
=
build
;;
-build
=
*
|
--build
=
*
|
--buil
=
*
|
--bui
=
*
|
--bu
=
*
|
--b
=
*
)
-build
=
*
|
--build
=
*
|
--buil
=
*
|
--bui
=
*
|
--bu
=
*
)
build
=
"
$ac_optarg
"
;;
build
=
"
$ac_optarg
"
;;
-cache-file
|
--cache-file
|
--cache-fil
|
--cache-fi
\
-cache-file
|
--cache-file
|
--cache-fil
|
--cache-fi
\
...
@@ -85,6 +103,12 @@ do
...
@@ -85,6 +103,12 @@ do
|
--cache-f
=
*
|
--cache-
=
*
|
--cache
=
*
|
--cach
=
*
|
--cac
=
*
|
--ca
=
*
|
--c
=
*
)
|
--cache-f
=
*
|
--cache-
=
*
|
--cache
=
*
|
--cach
=
*
|
--cac
=
*
|
--ca
=
*
|
--c
=
*
)
cache_file
=
"
$ac_optarg
"
;;
cache_file
=
"
$ac_optarg
"
;;
-datadir
|
--datadir
|
--datadi
|
--datad
|
--data
|
--dat
|
--da
)
ac_prev
=
datadir
;;
-datadir
=
*
|
--datadir
=
*
|
--datadi
=
*
|
--datad
=
*
|
--data
=
*
|
--dat
=
*
\
|
--da
=
*
)
datadir
=
"
$ac_optarg
"
;;
-disable-
*
|
--disable-
*
)
-disable-
*
|
--disable-
*
)
ac_feature
=
`
echo
$ac_option
|sed
-e
's/-*disable-//'
`
ac_feature
=
`
echo
$ac_option
|sed
-e
's/-*disable-//'
`
# Reject names that are not valid shell variable names.
# Reject names that are not valid shell variable names.
...
@@ -135,12 +159,29 @@ Configuration:
...
@@ -135,12 +159,29 @@ Configuration:
Directory and file names:
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
--prefix=PREFIX install architecture-independent files in PREFIX
[
$ac_default_prefix
]
[
$ac_default_prefix
]
--exec-prefix=
PREFIX install architecture-dependent files in
PREFIX
--exec-prefix=
EPREFIX install architecture-dependent files in E
PREFIX
[same as prefix]
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
EOF
cat
<<
EOF
Host type:
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--host=HOST configure for HOST [guessed]
...
@@ -152,8 +193,10 @@ Features and packages:
...
@@ -152,8 +193,10 @@ Features and packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
$ac_help
EOF
EOF
if
test
-n
"
$ac_help
"
;
then
echo
"--enable and --with options recognized:
$ac_help
"
fi
exit
0
;;
exit
0
;;
-host
|
--host
|
--hos
|
--ho
)
-host
|
--host
|
--hos
|
--ho
)
...
@@ -161,6 +204,44 @@ EOF
...
@@ -161,6 +204,44 @@ EOF
-host
=
*
|
--host
=
*
|
--hos
=
*
|
--ho
=
*
)
-host
=
*
|
--host
=
*
|
--hos
=
*
|
--ho
=
*
)
host
=
"
$ac_optarg
"
;;
host
=
"
$ac_optarg
"
;;
-includedir
|
--includedir
|
--includedi
|
--included
|
--include
\
|
--includ
|
--inclu
|
--incl
|
--inc
)
ac_prev
=
includedir
;;
-includedir
=
*
|
--includedir
=
*
|
--includedi
=
*
|
--included
=
*
|
--include
=
*
\
|
--includ
=
*
|
--inclu
=
*
|
--incl
=
*
|
--inc
=
*
)
includedir
=
"
$ac_optarg
"
;;
-infodir
|
--infodir
|
--infodi
|
--infod
|
--info
|
--inf
)
ac_prev
=
infodir
;;
-infodir
=
*
|
--infodir
=
*
|
--infodi
=
*
|
--infod
=
*
|
--info
=
*
|
--inf
=
*
)
infodir
=
"
$ac_optarg
"
;;
-libdir
|
--libdir
|
--libdi
|
--libd
)
ac_prev
=
libdir
;;
-libdir
=
*
|
--libdir
=
*
|
--libdi
=
*
|
--libd
=
*
)
libdir
=
"
$ac_optarg
"
;;
-libexecdir
|
--libexecdir
|
--libexecdi
|
--libexecd
|
--libexec
\
|
--libexe
|
--libex
|
--libe
)
ac_prev
=
libexecdir
;;
-libexecdir
=
*
|
--libexecdir
=
*
|
--libexecdi
=
*
|
--libexecd
=
*
|
--libexec
=
*
\
|
--libexe
=
*
|
--libex
=
*
|
--libe
=
*
)
libexecdir
=
"
$ac_optarg
"
;;
-localstatedir
|
--localstatedir
|
--localstatedi
|
--localstated
\
|
--localstate
|
--localstat
|
--localsta
|
--localst
\
|
--locals
|
--local
|
--loca
|
--loc
|
--lo
)
ac_prev
=
localstatedir
;;
-localstatedir
=
*
|
--localstatedir
=
*
|
--localstatedi
=
*
|
--localstated
=
*
\
|
--localstate
=
*
|
--localstat
=
*
|
--localsta
=
*
|
--localst
=
*
\
|
--locals
=
*
|
--local
=
*
|
--loca
=
*
|
--loc
=
*
|
--lo
=
*
)
localstatedir
=
"
$ac_optarg
"
;;
-mandir
|
--mandir
|
--mandi
|
--mand
|
--man
|
--ma
|
--m
)
ac_prev
=
mandir
;;
-mandir
=
*
|
--mandir
=
*
|
--mandi
=
*
|
--mand
=
*
|
--man
=
*
|
--ma
=
*
|
--m
=
*
)
mandir
=
"
$ac_optarg
"
;;
-nfp
|
--nfp
|
--nf
)
-nfp
|
--nfp
|
--nf
)
# Obsolete; use --without-fp.
# Obsolete; use --without-fp.
with_fp
=
no
;;
with_fp
=
no
;;
...
@@ -173,6 +254,15 @@ EOF
...
@@ -173,6 +254,15 @@ EOF
|
--no-recurs
|
--no-recur
|
--no-recu
|
--no-rec
|
--no-re
|
--no-r
)
|
--no-recurs
|
--no-recur
|
--no-recu
|
--no-rec
|
--no-re
|
--no-r
)
no_recursion
=
yes
;;
no_recursion
=
yes
;;
-oldincludedir
|
--oldincludedir
|
--oldincludedi
|
--oldincluded
\
|
--oldinclude
|
--oldinclud
|
--oldinclu
|
--oldincl
|
--oldinc
\
|
--oldin
|
--oldi
|
--old
|
--ol
|
--o
)
ac_prev
=
oldincludedir
;;
-oldincludedir
=
*
|
--oldincludedir
=
*
|
--oldincludedi
=
*
|
--oldincluded
=
*
\
|
--oldinclude
=
*
|
--oldinclud
=
*
|
--oldinclu
=
*
|
--oldincl
=
*
|
--oldinc
=
*
\
|
--oldin
=
*
|
--oldi
=
*
|
--old
=
*
|
--ol
=
*
|
--o
=
*
)
oldincludedir
=
"
$ac_optarg
"
;;
-prefix
|
--prefix
|
--prefi
|
--pref
|
--pre
|
--pr
|
--p
)
-prefix
|
--prefix
|
--prefi
|
--pref
|
--pre
|
--pr
|
--p
)
ac_prev
=
prefix
;;
ac_prev
=
prefix
;;
-prefix
=
*
|
--prefix
=
*
|
--prefi
=
*
|
--pref
=
*
|
--pre
=
*
|
--pr
=
*
|
--p
=
*
)
-prefix
=
*
|
--prefix
=
*
|
--prefi
=
*
|
--pref
=
*
|
--pre
=
*
|
--pr
=
*
|
--p
=
*
)
...
@@ -213,6 +303,23 @@ EOF
...
@@ -213,6 +303,23 @@ EOF
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
silent
=
yes
;;
silent
=
yes
;;
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
ac_prev
=
sbindir
;;
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
|
--sbi
=
*
|
--sb
=
*
)
sbindir
=
"
$ac_optarg
"
;;
-sharedstatedir
|
--sharedstatedir
|
--sharedstatedi
\
|
--sharedstated
|
--sharedstate
|
--sharedstat
|
--sharedsta
\
|
--sharedst
|
--shareds
|
--shared
|
--share
|
--shar
\
|
--sha
|
--sh
)
ac_prev
=
sharedstatedir
;;
-sharedstatedir
=
*
|
--sharedstatedir
=
*
|
--sharedstatedi
=
*
\
|
--sharedstated
=
*
|
--sharedstate
=
*
|
--sharedstat
=
*
|
--sharedsta
=
*
\
|
--sharedst
=
*
|
--shareds
=
*
|
--shared
=
*
|
--share
=
*
|
--shar
=
*
\
|
--sha
=
*
|
--sh
=
*
)
sharedstatedir
=
"
$ac_optarg
"
;;
-site
|
--site
|
--sit
)
-site
|
--site
|
--sit
)
ac_prev
=
site
;;
ac_prev
=
site
;;
-site
=
*
|
--site
=
*
|
--sit
=
*
)
-site
=
*
|
--site
=
*
|
--sit
=
*
)
...
@@ -223,6 +330,13 @@ EOF
...
@@ -223,6 +330,13 @@ EOF
-srcdir
=
*
|
--srcdir
=
*
|
--srcdi
=
*
|
--srcd
=
*
|
--src
=
*
|
--sr
=
*
)
-srcdir
=
*
|
--srcdir
=
*
|
--srcdi
=
*
|
--srcd
=
*
|
--src
=
*
|
--sr
=
*
)
srcdir
=
"
$ac_optarg
"
;;
srcdir
=
"
$ac_optarg
"
;;
-sysconfdir
|
--sysconfdir
|
--sysconfdi
|
--sysconfd
|
--sysconf
\
|
--syscon
|
--sysco
|
--sysc
|
--sys
|
--sy
)
ac_prev
=
sysconfdir
;;
-sysconfdir
=
*
|
--sysconfdir
=
*
|
--sysconfdi
=
*
|
--sysconfd
=
*
|
--sysconf
=
*
\
|
--syscon
=
*
|
--sysco
=
*
|
--sysc
=
*
|
--sys
=
*
|
--sy
=
*
)
sysconfdir
=
"
$ac_optarg
"
;;
-target
|
--target
|
--targe
|
--targ
|
--tar
|
--ta
|
--t
)
-target
|
--target
|
--targe
|
--targ
|
--tar
|
--ta
|
--t
)
ac_prev
=
target
;;
ac_prev
=
target
;;
-target
=
*
|
--target
=
*
|
--targe
=
*
|
--targ
=
*
|
--tar
=
*
|
--ta
=
*
|
--t
=
*
)
-target
=
*
|
--target
=
*
|
--targe
=
*
|
--targ
=
*
|
--tar
=
*
|
--ta
=
*
|
--t
=
*
)
...
@@ -232,7 +346,7 @@ EOF
...
@@ -232,7 +346,7 @@ EOF
verbose
=
yes
;;
verbose
=
yes
;;
-version
|
--version
|
--versio
|
--versi
|
--vers
)
-version
|
--version
|
--versio
|
--versi
|
--vers
)
echo
"configure generated by autoconf version 2.
4
"
echo
"configure generated by autoconf version 2.
10
"
exit
0
;;
exit
0
;;
-with-
*
|
--with-
*
)
-with-
*
|
--with-
*
)
...
@@ -398,8 +512,8 @@ fi
...
@@ -398,8 +512,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} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5
2>&5
'
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
2>&5
'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&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.
...
@@ -419,8 +533,8 @@ fi
...
@@ -419,8 +533,8 @@ fi
# checks for alternative programs
# checks for alternative programs
echo
$ac_n
"checking for --without-gcc""...
$ac_c
"
1>&6
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
"
if
test
"
${
with_gcc
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_gcc
"
case
$withval
in
case
$withval
in
no
)
CC
=
cc
no
)
CC
=
cc
...
@@ -466,7 +580,6 @@ else
...
@@ -466,7 +580,6 @@ else
fi
fi
done
done
IFS
=
"
$ac_save_ifs
"
IFS
=
"
$ac_save_ifs
"
test
-z
"
$ac_cv_prog_CC
"
&&
ac_cv_prog_CC
=
"cc"
fi
fi
fi
fi
CC
=
"
$ac_cv_prog_CC
"
CC
=
"
$ac_cv_prog_CC
"
...
@@ -476,6 +589,55 @@ else
...
@@ -476,6 +589,55 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
if
test
-z
"
$CC
"
;
then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
-n
"
$CC
"
;
then
ac_cv_prog_CC
=
"
$CC
"
# Let the user override the test.
else
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
"
${
IFS
}
:"
ac_prog_rejected
=
no
for
ac_dir
in
$PATH
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
if
test
"
$ac_dir
/
$ac_word
"
=
"/usr/ucb/cc"
;
then
ac_prog_rejected
=
yes
continue
fi
ac_cv_prog_CC
=
"cc"
break
fi
done
IFS
=
"
$ac_save_ifs
"
if
test
$ac_prog_rejected
=
yes
;
then
# We found a bogon in the path, so make sure we never use it.
set
dummy
$ac_cv_prog_CC
shift
if
test
$#
-gt
0
;
then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
set
dummy
"
$ac_dir
/
$ac_word
"
"
$@
"
shift
ac_cv_prog_CC
=
"
$@
"
fi
fi
fi
fi
CC
=
"
$ac_cv_prog_CC
"
if
test
-n
"
$CC
"
;
then
echo
"
$ac_t
""
$CC
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
test
-z
"
$CC
"
&&
{
echo
"configure: error: no acceptable cc found in
\$
PATH"
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
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
...
@@ -486,12 +648,13 @@ else
...
@@ -486,12 +648,13 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
${
CC
-cc
}
-E
conftest.c 2>&5
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:652:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
ac_cv_prog_gcc
=
yes
else
else
ac_cv_prog_gcc
=
no
ac_cv_prog_gcc
=
no
fi
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_gcc
"
1>&6
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
...
@@ -509,7 +672,8 @@ fi
...
@@ -509,7 +672,8 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_prog_gcc_g
"
1>&6
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
...
@@ -618,12 +782,13 @@ else
...
@@ -618,12 +782,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
622
"configure"
#line
786
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
eval
"
$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:792:
\"
$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
:
:
...
@@ -632,12 +797,13 @@ else
...
@@ -632,12 +797,13 @@ else
rm
-rf
conftest
*
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
636
"configure"
#line
801
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
eval
"
$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:807:
\"
$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
:
:
...
@@ -659,7 +825,7 @@ echo "$ac_t""$CPP" 1>&6
...
@@ -659,7 +825,7 @@ echo "$ac_t""$CPP" 1>&6
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&6
echo
$ac_n
"checking for AIX""...
$ac_c
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
663
"configure"
#line
829
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef _AIX
#ifdef _AIX
yes
yes
...
@@ -686,11 +852,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
...
@@ -686,11 +852,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
690
"configure"
#line
856
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <minix/config.h>
#include <minix/config.h>
EOF
EOF
eval
"
$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:861:
\"
$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
*
...
@@ -736,11 +903,11 @@ else
...
@@ -736,11 +903,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
740
"configure"
#line
907
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
eval
$ac_link
{
(
eval echo
configure:911:
\"
$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
...
@@ -749,22 +916,24 @@ fi
...
@@ -749,22 +916,24 @@ fi
fi
fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
cross_compiling
=
$ac_cv_c_cross
echo
"
$ac_t
""
$ac_cv_c_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_c_cross
"
1>&6
cross_compiling
=
$ac_cv_c_cross
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>&6
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>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
761
"configure"
#line
929
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
#include <string.h>
#include <string.h>
#include <float.h>
#include <float.h>
EOF
EOF
eval
"
$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:937:
\"
$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
*
...
@@ -779,7 +948,7 @@ rm -f conftest*
...
@@ -779,7 +948,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
783
"configure"
#line
952
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -797,7 +966,7 @@ fi
...
@@ -797,7 +966,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
801
"configure"
#line
970
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -815,10 +984,10 @@ fi
...
@@ -815,10 +984,10 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
ac_cv_header_stdc
=
no
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
822
"configure"
#line
991
"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')
...
@@ -829,7 +998,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -829,7 +998,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
eval
$ac_link
{
(
eval echo
configure:1002:
\"
$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
...
@@ -839,6 +1008,7 @@ fi
...
@@ -839,6 +1008,7 @@ fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_header_stdc
"
1>&6
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
...
@@ -847,7 +1017,7 @@ EOF
...
@@ -847,7 +1017,7 @@ 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 sys/wait.h
for
ac_hdr
in
dlfcn.h fcntl.h limits.h
ncurses.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>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
...
@@ -855,11 +1025,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
...
@@ -855,11 +1025,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
85
9 "configure"
#line
102
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
eval
"
$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:1034:
\"
$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
*
...
@@ -873,7 +1044,7 @@ rm -f conftest*
...
@@ -873,7 +1044,7 @@ 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>&6
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
'
abcdefghijklmnopqrstuvwxyz./\055'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
___'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
#define
$ac_tr_hdr
1
EOF
EOF
...
@@ -892,7 +1063,7 @@ if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
...
@@ -892,7 +1063,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
896
"configure"
#line
1067
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_hdr
>
#include <
$ac_hdr
>
...
@@ -901,7 +1072,7 @@ int t() {
...
@@ -901,7 +1072,7 @@ int t() {
DIR *dirp = 0;
DIR *dirp = 0;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:1076:
\"
$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
...
@@ -913,7 +1084,7 @@ rm -f conftest*
...
@@ -913,7 +1084,7 @@ 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>&6
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
'
abcdedfghijklmnopqrstuvwxyz./\055'
'ABCDEDFGHIJKLMNOPQRSTUVWXYZ
___'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_hdr
1
#define
$ac_tr_hdr
1
EOF
EOF
...
@@ -925,32 +1096,37 @@ done
...
@@ -925,32 +1096,37 @@ 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>&6
echo
$ac_n
"checking for -ldir""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_dir
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo dir
'_'
opendir |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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
935
"configure"
#line
1107
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1119:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
di
r=yes"
eval
"ac_cv_lib_
$ac_lib_va
r
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
di
r=no"
eval
"ac_cv_lib_
$ac_lib_va
r
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
di
r
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_va
r
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
LIBS
=
"
$LIBS
-ldir"
LIBS
=
"
$LIBS
-ldir"
else
else
...
@@ -959,32 +1135,37 @@ fi
...
@@ -959,32 +1135,37 @@ fi
else
else
echo
$ac_n
"checking for -lx""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -lx""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_x
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
x
'_'
opendir |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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
969
"configure"
#line
1146
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1158:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
x
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
x
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
x
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
LIBS
=
"
$LIBS
-lx"
LIBS
=
"
$LIBS
-lx"
else
else
...
@@ -998,7 +1179,7 @@ fi
...
@@ -998,7 +1179,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 1
002
"configure"
#line 1
183
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
EOF
EOF
...
@@ -1022,7 +1203,7 @@ if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
...
@@ -1022,7 +1203,7 @@ 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
026
"configure"
#line 1
207
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1053,7 +1234,7 @@ if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
...
@@ -1053,7 +1234,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 1
057
"configure"
#line 1
238
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1084,7 +1265,7 @@ if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
...
@@ -1084,7 +1265,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 1
088
"configure"
#line 1
269
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1115,7 +1296,7 @@ if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
...
@@ -1115,7 +1296,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 1
119
"configure"
#line 1
300
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -1123,15 +1304,17 @@ else
...
@@ -1123,15 +1304,17 @@ else
#undef signal
#undef signal
#endif
#endif
#ifdef __cplusplus
#ifdef __cplusplus
extern "C"
extern "C"
void (*signal (int, void (*)(int)))(int);
#e
ndif
#e
lse
void (*signal ()) ();
void (*signal ()) ();
#endif
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:1318:
\"
$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
...
@@ -1141,6 +1324,7 @@ fi
...
@@ -1141,6 +1324,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_signal
"
1>&6
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
...
@@ -1152,7 +1336,7 @@ if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
...
@@ -1152,7 +1336,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 1
156
"configure"
#line 1
340
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1183,7 +1367,7 @@ if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
...
@@ -1183,7 +1367,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 1
187
"configure"
#line 1
371
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
EOF
EOF
...
@@ -1198,6 +1382,7 @@ fi
...
@@ -1198,6 +1382,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_type_uid_t
"
1>&6
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
...
@@ -1260,6 +1445,7 @@ then
...
@@ -1260,6 +1445,7 @@ then
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"
;;
Linux
*
)
LDSHARED
=
"gcc-elf -shared"
;;
FreeBSD
*
)
LDSHARED
=
"ld -Bshareable"
;;
*
)
LDSHARED
=
"ld"
;;
*
)
LDSHARED
=
"ld"
;;
esac
esac
fi
fi
...
@@ -1275,6 +1461,7 @@ then
...
@@ -1275,6 +1461,7 @@ then
else
CCSHARED
=
"+z"
;
else
CCSHARED
=
"+z"
;
fi
;;
fi
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
)
CCSHARED
=
"-fpic"
;;
esac
esac
fi
fi
echo
"
$ac_t
""
$CCSHARED
"
1>&6
echo
"
$ac_t
""
$CCSHARED
"
1>&6
...
@@ -1292,34 +1479,39 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
...
@@ -1292,34 +1479,39 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
# checks for libraries
# checks for libraries
echo
$ac_n
"checking for -ldl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -ldl""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_dl
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
dl
'_'
dlopen |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
302
"configure"
#line 1
490
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dlopen();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
dlopen()
dlopen()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1502:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
dl
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
dl
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dl
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
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
'
abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
...
@@ -1331,34 +1523,39 @@ else
...
@@ -1331,34 +1523,39 @@ else
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>&6
echo
$ac_n
"checking for -ldld""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_dld
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
dld
'_'
shl_load |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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
341
"configure"
#line 1
534
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shl_load();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
shl_load()
shl_load()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1546:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
dld
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
dld
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
dld
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
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
'
abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
...
@@ -1370,34 +1567,39 @@ else
...
@@ -1370,34 +1567,39 @@ else
fi
fi
# Dynamic linking for HP-UX
# Dynamic linking for HP-UX
echo
$ac_n
"checking for -lsun""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -lsun""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_sun
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
sun
'_'
getpwnam |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
380
"configure"
#line 1
578
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getpwnam();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
getpwnam()
getpwnam()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1590:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
sun
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
sun
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
sun
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
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
'
abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
...
@@ -1417,32 +1619,37 @@ fi
...
@@ -1417,32 +1619,37 @@ fi
if
test
"
`
uname
-s
`
"
!=
IRIX
if
test
"
`
uname
-s
`
"
!=
IRIX
then
then
echo
$ac_n
"checking for -lnsl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -lnsl""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_nsl
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
nsl
'_'
t_open |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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
427
"configure"
#line 1
630
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char t_open();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
t_open()
t_open()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1642:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
nsl
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
nsl
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
nsl
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
LIBS
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
else
else
...
@@ -1450,32 +1657,37 @@ else
...
@@ -1450,32 +1657,37 @@ else
fi
fi
# SVR4
# SVR4
echo
$ac_n
"checking for -linet""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -linet""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_inet
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
inet
'_'
gethostbyname |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
460
"configure"
#line 1
668
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostbyname();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
gethostbyname()
gethostbyname()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1680:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
inet
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
inet
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
inet
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
LIBS
=
"-linet
$LIBS
"
LIBS
=
"-linet
$LIBS
"
else
else
...
@@ -1483,32 +1695,37 @@ else
...
@@ -1483,32 +1695,37 @@ else
fi
fi
# Sequent
# Sequent
echo
$ac_n
"checking for -lsocket""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -lsocket""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_socket
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
socket
'_'
socket |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
493
"configure"
#line 1
706
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char socket();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1718:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
socket
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
socket
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
socket
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
LIBS
=
"-lsocket
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
else
else
...
@@ -1517,10 +1734,12 @@ fi
...
@@ -1517,10 +1734,12 @@ fi
# SVR4 sockets
# SVR4 sockets
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.
withval
=
"
$with_readline
"
if
test
"
${
with_readline
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_readline
"
echo
"
$ac_t
""
$withval
"
1>&6
echo
"
$ac_t
""
$withval
"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -1532,64 +1751,74 @@ then { echo "configure: error: proper usage is --with-readline=DIRECTORY" 1>&2;
...
@@ -1532,64 +1751,74 @@ then { echo "configure: error: proper usage is --with-readline=DIRECTORY" 1>&2;
fi
fi
termcap
=
termcap
=
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -ltermcap""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_termcap
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
termcap
'_'
tgetent |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
54
2 "configure"
#line 1
76
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char tgetent();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
tgetent()
tgetent()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1774:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
termcap
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
termcap
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
termcap
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
termcap
=
termcap
termcap
=
termcap
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for -ltermlib""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -ltermlib""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_termlib
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
termlib
'_'
tgetent |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
574
"configure"
#line 1
799
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char tgetent();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
tgetent()
tgetent()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1811:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
termlib
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
termlib
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
termlib
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
termcap
=
termlib
termcap
=
termlib
else
else
...
@@ -1615,40 +1844,45 @@ fi
...
@@ -1615,40 +1844,45 @@ fi
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&6
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
"
if
test
"
${
with_thread
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_thread
"
echo
"
$ac_t
""
$withval
"
1>&6
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>&6
echo
$ac_n
"checking for -lpthreads""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_pthreads
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
63
3 "configure"
#line 1
86
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pthread_create();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1875:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
pthreads
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
pthreads
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
pthreads
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_THREAD 1
#define WITH_THREAD 1
...
@@ -1665,32 +1899,37 @@ else
...
@@ -1665,32 +1899,37 @@ else
fi
fi
echo
$ac_n
"checking for -lmpc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -lmpc""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_mpc
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
675
"configure"
#line 1
910
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char usconfig();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
usconfig()
usconfig()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1922:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
mpc
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
mpc
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
mpc
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_THREAD 1
#define WITH_THREAD 1
...
@@ -1703,32 +1942,37 @@ else
...
@@ -1703,32 +1942,37 @@ else
fi
fi
echo
$ac_n
"checking for -lthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for -lthread""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_thread
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
thread
'_'
thr_create |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 1
71
3 "configure"
#line 1
95
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char thr_create();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
thr_create()
thr_create()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:1965:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
thread
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
thread
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
thread
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define WITH_THREAD 1
#define WITH_THREAD 1
...
@@ -1746,14 +1990,14 @@ else
...
@@ -1746,14 +1990,14 @@ else
fi
fi
# -I${DLINCLDIR} is added to the compile rule for import.o
# -I${DLINCLDIR} is added to the compile rule for import
dl
.o
DLINCLDIR
=
/
DLINCLDIR
=
/
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
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
"
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_sgi_dl
"
echo
"
$ac_t
""
$withval
"
1>&6
echo
"
$ac_t
""
$withval
"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -1774,8 +2018,8 @@ fi
...
@@ -1774,8 +2018,8 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
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
"
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_dl_dld
"
echo
"
$ac_t
""
$withval
"
1>&6
echo
"
$ac_t
""
$withval
"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -1796,19 +2040,26 @@ fi
...
@@ -1796,19 +2040,26 @@ 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 strftime symlink tcgetpgrp tcsetpgrp
times truncate uname
waitpid
for
ac_func
in
chown
clock dlopen ftime ftruncate
\
gethostname_r getpeername getpgrp getpid gettimeofday getwd
\
link
lstat
mkfifo nice readlink
\
select
setgid setuid setsid setpgid setpgrp setvbuf
\
sigaction siginterrupt sigrelse strftime symlink
\
tcgetpgrp tcsetpgrp
times truncate uname
waitpid
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
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>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1807
"configure"
#line
2056
"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. */
#include <assert.h>
#include <assert.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
builtin and then its argument prototype would still apply. */
char
$ac_func
();
char
$ac_func
();
int main() { return 0; }
int main() { return 0; }
...
@@ -1825,7 +2076,7 @@ $ac_func();
...
@@ -1825,7 +2076,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2080:
\"
$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
...
@@ -1837,7 +2088,7 @@ rm -f conftest*
...
@@ -1837,7 +2088,7 @@ 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>&6
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
'
abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
...
@@ -1846,7 +2097,7 @@ else
...
@@ -1846,7 +2097,7 @@ else
echo
"
$ac_t
""no"
1>&6
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>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
...
@@ -1854,12 +2105,14 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
...
@@ -1854,12 +2105,14 @@ 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
1858
"configure"
#line
2109
"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. */
#include <assert.h>
#include <assert.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
builtin and then its argument prototype would still apply. */
char
$ac_func
();
char
$ac_func
();
int main() { return 0; }
int main() { return 0; }
...
@@ -1876,7 +2129,7 @@ $ac_func();
...
@@ -1876,7 +2129,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2133:
\"
$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
...
@@ -1901,12 +2154,14 @@ if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
...
@@ -1901,12 +2154,14 @@ 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
1905
"configure"
#line
2158
"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. */
#include <assert.h>
#include <assert.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
builtin and then its argument prototype would still apply. */
char getpgrp();
char getpgrp();
int main() { return 0; }
int main() { return 0; }
...
@@ -1923,7 +2178,7 @@ getpgrp();
...
@@ -1923,7 +2178,7 @@ getpgrp();
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2182:
\"
$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
...
@@ -1936,7 +2191,7 @@ fi
...
@@ -1936,7 +2191,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
1940
"configure"
#line
2195
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -1944,7 +2199,7 @@ int t() {
...
@@ -1944,7 +2199,7 @@ int t() {
getpgrp(0);
getpgrp(0);
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2203:
\"
$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
...
@@ -1962,12 +2217,14 @@ if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
...
@@ -1962,12 +2217,14 @@ 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
1966
"configure"
#line
2221
"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. */
#include <assert.h>
#include <assert.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
builtin and then its argument prototype would still apply. */
char setpgrp();
char setpgrp();
int main() { return 0; }
int main() { return 0; }
...
@@ -1984,7 +2241,7 @@ setpgrp();
...
@@ -1984,7 +2241,7 @@ setpgrp();
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2245:
\"
$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
...
@@ -1997,7 +2254,7 @@ fi
...
@@ -1997,7 +2254,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 2
001
"configure"
#line 2
258
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2005,7 +2262,7 @@ int t() {
...
@@ -2005,7 +2262,7 @@ int t() {
setpgrp(0,0);
setpgrp(0,0);
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2266:
\"
$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
...
@@ -2023,12 +2280,14 @@ if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
...
@@ -2023,12 +2280,14 @@ 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
027
"configure"
#line 2
284
"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. */
#include <assert.h>
#include <assert.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
builtin and then its argument prototype would still apply. */
char gettimeofday();
char gettimeofday();
int main() { return 0; }
int main() { return 0; }
...
@@ -2045,7 +2304,7 @@ gettimeofday();
...
@@ -2045,7 +2304,7 @@ gettimeofday();
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2308:
\"
$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
...
@@ -2058,7 +2317,7 @@ fi
...
@@ -2058,7 +2317,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 2
062
"configure"
#line 2
321
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/time.h>
#include <sys/time.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2066,7 +2325,7 @@ int t() {
...
@@ -2066,7 +2325,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
$ac_compile
;
then
if
{
(
eval echo
configure:2329:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2088,7 +2347,7 @@ if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
...
@@ -2088,7 +2347,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 2
092
"configure"
#line 2
351
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -2098,7 +2357,7 @@ int t() {
...
@@ -2098,7 +2357,7 @@ int t() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2361:
\"
$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
...
@@ -2108,6 +2367,7 @@ fi
...
@@ -2108,6 +2367,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_header_time
"
1>&6
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
...
@@ -2121,7 +2381,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
...
@@ -2121,7 +2381,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
12
5 "configure"
#line 2
38
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -2130,7 +2390,7 @@ int t() {
...
@@ -2130,7 +2390,7 @@ int t() {
struct tm *tp; tp->tm_sec;
struct tm *tp; tp->tm_sec;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2394:
\"
$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
...
@@ -2140,6 +2400,7 @@ fi
...
@@ -2140,6 +2400,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_struct_tm
"
1>&6
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
...
@@ -2153,7 +2414,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
...
@@ -2153,7 +2414,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 2
157
"configure"
#line 2
418
"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
>
...
@@ -2162,7 +2423,7 @@ int t() {
...
@@ -2162,7 +2423,7 @@ int t() {
struct tm tm; tm.tm_zone;
struct tm tm; tm.tm_zone;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2427:
\"
$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
...
@@ -2172,6 +2433,7 @@ fi
...
@@ -2172,6 +2433,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_struct_tm_zone
"
1>&6
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
...
@@ -2184,7 +2446,7 @@ if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
...
@@ -2184,7 +2446,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 2
188
"configure"
#line 2
450
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -2195,7 +2457,7 @@ int t() {
...
@@ -2195,7 +2457,7 @@ int t() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2461:
\"
$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
...
@@ -2205,7 +2467,8 @@ fi
...
@@ -2205,7 +2467,8 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_var_tzname
"
1>&6
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
...
@@ -2220,7 +2483,7 @@ if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then
...
@@ -2220,7 +2483,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
224
"configure"
#line 2
487
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2228,7 +2491,7 @@ int t() {
...
@@ -2228,7 +2491,7 @@ int t() {
return altzone;
return altzone;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2495:
\"
$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
...
@@ -2250,7 +2513,7 @@ fi
...
@@ -2250,7 +2513,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 2
254
"configure"
#line 2
517
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -2262,7 +2525,7 @@ int t() {
...
@@ -2262,7 +2525,7 @@ int t() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2529:
\"
$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
...
@@ -2282,7 +2545,7 @@ else
...
@@ -2282,7 +2545,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 2
286
"configure"
#line 2
549
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -2304,7 +2567,7 @@ if test "$cross_compiling" = yes; then
...
@@ -2304,7 +2567,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
308
"configure"
#line 2
571
"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
...
@@ -2314,7 +2577,7 @@ main() {
...
@@ -2314,7 +2577,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
eval
$ac_link
{
(
eval echo
configure:2581:
\"
$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
...
@@ -2324,6 +2587,7 @@ fi
...
@@ -2324,6 +2587,7 @@ fi
rm
-fr
conftest
*
rm
-fr
conftest
*
fi
fi
fi
fi
echo
"
$ac_t
""
$ac_cv_c_char_unsigned
"
1>&6
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
...
@@ -2338,7 +2602,7 @@ if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
...
@@ -2338,7 +2602,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
342
"configure"
#line 2
606
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2351,7 +2615,7 @@ char const *const *ccp;
...
@@ -2351,7 +2615,7 @@ char const *const *ccp;
char **p;
char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
struct point {int x, y;};
static struct point const zero;
static struct point const zero
= {0,0}
;
/* AIX XL C 1.02.0.0 rejects this.
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in an arm
It does not let you subtract one const X* pointer from another in an arm
of an if-expression whose if-part is not a constant expression */
of an if-expression whose if-part is not a constant expression */
...
@@ -2388,7 +2652,7 @@ ccp = (char const *const *) p;
...
@@ -2388,7 +2652,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2656:
\"
$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
...
@@ -2398,6 +2662,7 @@ fi
...
@@ -2398,6 +2662,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
fi
fi
echo
"
$ac_t
""
$ac_cv_c_const
"
1>&6
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
...
@@ -2410,7 +2675,7 @@ fi
...
@@ -2410,7 +2675,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
414
"configure"
#line 2
679
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2418,7 +2683,7 @@ int t() {
...
@@ -2418,7 +2683,7 @@ int t() {
volatile int x; x = 0;
volatile int x; x = 0;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2687:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -2435,7 +2700,7 @@ echo "$ac_t""$works" 1>&6
...
@@ -2435,7 +2700,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
439
"configure"
#line 2
704
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
...
@@ -2443,7 +2708,7 @@ int t() {
...
@@ -2443,7 +2708,7 @@ int t() {
signed char c;
signed char c;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2712:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -2460,7 +2725,7 @@ echo "$ac_t""$works" 1>&6
...
@@ -2460,7 +2725,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 2
464
"configure"
#line 2
729
"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; }
...
@@ -2468,7 +2733,7 @@ int t() {
...
@@ -2468,7 +2733,7 @@ int t() {
return foo(10);
return foo(10);
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2737:
\"
$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
...
@@ -2482,7 +2747,7 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -2482,7 +2747,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 2
486
"configure"
#line 2
751
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -2493,7 +2758,7 @@ int t() {
...
@@ -2493,7 +2758,7 @@ int t() {
return foo(10, 11, 12);
return foo(10, 11, 12);
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2762:
\"
$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
...
@@ -2508,7 +2773,7 @@ if test "$have_prototypes" = yes; then
...
@@ -2508,7 +2773,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 2
512
"configure"
#line 2
777
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() { return 0; }
int main() { return 0; }
...
@@ -2516,7 +2781,7 @@ int t() {
...
@@ -2516,7 +2781,7 @@ int t() {
char **t;execve("@",t,t);
char **t;execve("@",t,t);
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2785:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2536,7 +2801,7 @@ if test "$cross_compiling" = yes; then
...
@@ -2536,7 +2801,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
540
"configure"
#line 2
805
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -2552,7 +2817,7 @@ main() {
...
@@ -2552,7 +2817,7 @@ main() {
}
}
EOF
EOF
eval
$ac_link
{
(
eval echo
configure:2821:
\"
$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
...
@@ -2568,7 +2833,7 @@ echo "$ac_t""$bad_forward" 1>&6
...
@@ -2568,7 +2833,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 2
572
"configure"
#line 2
837
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -2582,7 +2847,7 @@ int t() {
...
@@ -2582,7 +2847,7 @@ int t() {
va_list list1, list2; list1 = list2;
va_list list1, list2; list1 = list2;
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_compile
;
then
if
{
(
eval echo
configure:2851:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2600,34 +2865,39 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -2600,34 +2865,39 @@ echo "$ac_t""$va_list_is_array" 1>&6
# 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>&6
echo
$ac_n
"checking for -lieee""...
$ac_c
"
1>&6
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_ieee
'+set}'
`
\"
= set"
;
then
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
tr
'./+\055'
'__p_'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
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 2
610
"configure"
#line 2
876
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __fpu_control();
int main() { return 0; }
int main() { return 0; }
int t() {
int t() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2888:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
ieee
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
ieee
=no"
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
LIBS
=
"
$ac_save_LIBS
"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
ieee
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
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
'
abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
#define
$ac_tr_lib
1
EOF
EOF
...
@@ -2643,8 +2913,8 @@ fi
...
@@ -2643,8 +2913,8 @@ fi
LIBM
=
-lm
LIBM
=
-lm
# Check whether --with-libm or --without-libm was given.
# Check whether --with-libm or --without-libm was given.
withval
=
"
$with_libm
"
if
test
"
${
with_libm
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_libm
"
if
test
"
$withval
"
!=
yes
if
test
"
$withval
"
!=
yes
then
LIBM
=
$withval
then
LIBM
=
$withval
...
@@ -2656,8 +2926,8 @@ fi
...
@@ -2656,8 +2926,8 @@ fi
# check for --with-libc=...
# check for --with-libc=...
# Check whether --with-libc or --without-libc was given.
# Check whether --with-libc or --without-libc was given.
withval
=
"
$with_libc
"
if
test
"
${
with_libc
+set
}
"
=
set
;
then
if
test
-n
"
$withval
"
;
then
withval
=
"
$with_libc
"
if
test
"
$withval
"
!=
yes
if
test
"
$withval
"
!=
yes
then
LIBC
=
$withval
then
LIBC
=
$withval
...
@@ -2676,12 +2946,14 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
...
@@ -2676,12 +2946,14 @@ 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
68
0 "configure"
#line 2
95
0 "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. */
#include <assert.h>
#include <assert.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
builtin and then its argument prototype would still apply. */
char
$ac_func
();
char
$ac_func
();
int main() { return 0; }
int main() { return 0; }
...
@@ -2698,7 +2970,7 @@ $ac_func();
...
@@ -2698,7 +2970,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
eval
$ac_link
;
then
if
{
(
eval echo
configure:2974:
\"
$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
...
@@ -2710,7 +2982,7 @@ rm -f conftest*
...
@@ -2710,7 +2982,7 @@ 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>&6
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
'
abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
`
cat
>>
confdefs.h
<<
EOF
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
...
@@ -2731,7 +3003,7 @@ else
...
@@ -2731,7 +3003,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
2735
"configure"
#line
3007
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
extern int optind, opterr, getopt();
extern int optind, opterr, getopt();
...
@@ -2743,7 +3015,7 @@ int main() {
...
@@ -2743,7 +3015,7 @@ int main() {
exit(0);
exit(0);
}
}
EOF
EOF
eval
$ac_link
{
(
eval echo
configure:3019:
\"
$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
...
@@ -2832,7 +3104,7 @@ do
...
@@ -2832,7 +3104,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.
4
"
echo "
$CONFIG_STATUS
generated by autoconf version 2.
10
"
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 ;;
...
@@ -2843,10 +3115,12 @@ done
...
@@ -2843,10 +3115,12 @@ done
ac_given_srcdir=
$srcdir
ac_given_srcdir=
$srcdir
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
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
EOF
cat
>>
$CONFIG_STATUS
<<
EOF
# 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;
s/@@/%@/; s/@@/@%/; s/@g
$/
%g/' > conftest.subs <<
\C
EOF
s/@@/%@/; s/@@/@%/; s/@g
\$
/%g/' > conftest.subs <<
\
\
CEOF
$ac_vpsub
$ac_vpsub
$extrasub
$extrasub
s%@CFLAGS@%
$CFLAGS
%g
s%@CFLAGS@%
$CFLAGS
%g
...
@@ -2858,6 +3132,18 @@ s%@LIBS@%$LIBS%g
...
@@ -2858,6 +3132,18 @@ s%@LIBS@%$LIBS%g
s%@exec_prefix@%
$exec_prefix
%g
s%@exec_prefix@%
$exec_prefix
%g
s%@prefix@%
$prefix
%g
s%@prefix@%
$prefix
%g
s%@program_transform_name@%
$program_transform_name
%g
s%@program_transform_name@%
$program_transform_name
%g
s%@bindir@%
$bindir
%g
s%@sbindir@%
$sbindir
%g
s%@libexecdir@%
$libexecdir
%g
s%@datadir@%
$datadir
%g
s%@sysconfdir@%
$sysconfdir
%g
s%@sharedstatedir@%
$sharedstatedir
%g
s%@localstatedir@%
$localstatedir
%g
s%@libdir@%
$libdir
%g
s%@includedir@%
$includedir
%g
s%@oldincludedir@%
$oldincludedir
%g
s%@infodir@%
$infodir
%g
s%@mandir@%
$mandir
%g
s%@CC@%
$CC
%g
s%@CC@%
$CC
%g
s%@RANLIB@%
$RANLIB
%g
s%@RANLIB@%
$RANLIB
%g
s%@AR@%
$AR
%g
s%@AR@%
$AR
%g
...
@@ -2974,7 +3260,7 @@ rm -f conftest.vals
...
@@ -2974,7 +3260,7 @@ rm -f conftest.vals
cat
>
conftest.hdr
<<
\
EOF
cat
>
conftest.hdr
<<
\
EOF
s/[
\\
&%]/
\\
&/g
s/[
\\
&%]/
\\
&/g
s%[
\\
$`
]%
\\
&%g
s%[
\\
$`
]%
\\
&%g
s%#define
\(
[A-Za-z_][A-Za-z0-9_]*
\)
\(
.*
\)
%
${
ac_dA
}
\1
${
ac_dB
}
\1
${
ac_dC
}
\2
${
ac_dD
}
%gp
s%#define
\(
[A-Za-z_][A-Za-z0-9_]*
\)
*
\(
.*
\)
%
${
ac_dA
}
\1
${
ac_dB
}
\1
${
ac_dC
}
\2
${
ac_dD
}
%gp
s%ac_d%ac_u%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
s%ac_u%ac_e%gp
EOF
EOF
...
@@ -3022,6 +3308,12 @@ cat >> $CONFIG_STATUS <<\EOF
...
@@ -3022,6 +3308,12 @@ cat >> $CONFIG_STATUS <<\EOF
echo "
$ac_file
is unchanged"
echo "
$ac_file
is unchanged"
rm -f conftest.h
rm -f conftest.h
else
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo
$ac_file
|sed 's%/[^/][^/]*
$%
%'`
if test "
$ac_dir
" != "
$ac_file
" && test "
$ac_dir
" != .; then
# The file is in a subdirectory.
test ! -d "
$ac_dir
" && mkdir "
$ac_dir
"
fi
rm -f
$ac_file
rm -f
$ac_file
mv conftest.h
$ac_file
mv conftest.h
$ac_file
fi
fi
...
...
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