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
7a5f420e
Commit
7a5f420e
authored
Jan 12, 1999
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chris Herborth's first pass at making config and install
for BeOS better.
parent
0039d7b4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
387 additions
and
278 deletions
+387
-278
BeOS/README
BeOS/README
+18
-37
BeOS/dl_export.h
BeOS/dl_export.h
+50
-0
Makefile.in
Makefile.in
+4
-2
config.h.in
config.h.in
+6
-0
configure
configure
+275
-237
configure.in
configure.in
+34
-2
No files found.
BeOS/README
View file @
7a5f420e
...
@@ -8,6 +8,9 @@ What's Here?
...
@@ -8,6 +8,9 @@ What's Here?
ar-fake - A shell script used by the build process to emulate a "real"
ar-fake - A shell script used by the build process to emulate a "real"
POSIX ar command; helps to build the Python shared library.
POSIX ar command; helps to build the Python shared library.
dl_export.h - A header defining the evil magic declaration decorations
required for dynamic loading.
linkcc - A shell script used by the build process to build the Python
linkcc - A shell script used by the build process to build the Python
shared library.
shared library.
...
@@ -35,21 +38,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
...
@@ -35,21 +38,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
2) Configure with:
2) Configure with:
AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose \
./configure --verbose --prefix=/boot/home/config --with-thread
--prefix=/boot/home/config --with-thread
When configure is done, add this anywhere in config.h:
#ifndef DL_EXPORT
# define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#endif
#ifndef DL_IMPORT
# ifdef USE_DL_EXPORT
# define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
# else
# define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
# endif
#endif
3) Copy Modules/Setup.in to Modules/Setup.
3) Copy Modules/Setup.in to Modules/Setup.
...
@@ -69,21 +58,18 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
...
@@ -69,21 +58,18 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
audioop imageop rgbimg md5 timing rotor syslog curses new gdbm soundex
audioop imageop rgbimg md5 timing rotor syslog curses new gdbm soundex
binascii parser cStringIO cPickle zlib
binascii parser cStringIO cPickle zlib
5) Make sure Modules/Makefile.pre has REALLIBRARY set to:
Note that some of these (readline, curses, gdbm, and zlib) require extra
libraries that aren't supplied with Python. If you don't have the extra
libs (you can probably get them from GeekGadgets), don't try to use
these modules; they won't compile.
REALLIBRARY=../libpython$(VERSION).so
5) Make:
6) Make:
make
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos
6) Test:
On PowerPC systems, you'll see lots of warnings about duplicate
make test
symbols when things get linked; don't worry about this, it's
harmless (and should disappear soon).
7) Test:
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos test
Expect the following errors:
Expect the following errors:
...
@@ -97,16 +83,11 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
...
@@ -97,16 +83,11 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
NOTE: On R4/x86, the pause() function is broken; expect the signal
NOTE: On R4/x86, the pause() function is broken; expect the signal
module test to crash Python!
module test to crash Python!
8) Install:
7) Install:
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos nstall
This will fail trying to copy libpython1.5.a; at that point in the
make install
install, everything you "normally" need is installed (all the Python
bits), and the stuff you need for compiling C-based modules is half-
installed. This will be fixed before the 1.5.2 release.
9
) Enjoy!
8
) Enjoy!
- Chris Herborth (chrish@
qnx
.com)
- Chris Herborth (chrish@
beoscentral
.com)
December 22, 1998
January 12, 1999
BeOS/dl_export.h
0 → 100644
View file @
7a5f420e
#ifndef BEOS_DL_EXPORT_H
#define BEOS_DL_EXPORT_H
/* There are no declarations here, so no #ifdef __cplusplus...
*
* This is the nasty declaration decorations required by certain systems
* (in our case, BeOS) for dynamic object loading.
*
* This trivial header is released under the same license as the rest of
* Python:
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the names of Stichting Mathematisch
* Centrum or CWI or Corporation for National Research Initiatives or
* CNRI not be used in advertising or publicity pertaining to
* distribution of the software without specific, written prior
* permission.
*
* While CWI is the initial source for this software, a modified version
* is made available by the Corporation for National Research Initiatives
* (CNRI) at the Internet address ftp://ftp.python.org.
*
* STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
* CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*
* - Chris Herborth (chrish@beoscentral.com)
* January 11, 1999
*/
#ifndef DL_EXPORT
# define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#endif
#ifndef DL_IMPORT
# ifdef USE_DL_EXPORT
# define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
# else
# define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
# endif
#endif
#endif
Makefile.in
View file @
7a5f420e
...
@@ -382,8 +382,10 @@ libainstall: all
...
@@ -382,8 +382,10 @@ libainstall: all
else
true
;
\
else
true
;
\
fi
;
\
fi
;
\
done
done
$(INSTALL_DATA)
$(LIBRARY)
$(LIBPL)
/
$(LIBRARY)
@
if
[
"
$(MACHDEP)
"
!=
"beos"
]
;
then
\
$(RANLIB)
$(LIBPL)
/
$(LIBRARY)
$(INSTALL_DATA)
$(LIBRARY)
$(LIBPL)
/
$(LIBRARY)
;
\
$(RANLIB)
$(LIBPL)
/
$(LIBRARY)
;
\
fi
$(INSTALL_DATA)
Modules/config.c
$(LIBPL)
/config.c
$(INSTALL_DATA)
Modules/config.c
$(LIBPL)
/config.c
$(INSTALL_DATA)
Modules/python.o
$(LIBPL)
/python.o
$(INSTALL_DATA)
Modules/python.o
$(LIBPL)
/python.o
$(INSTALL_DATA)
$(srcdir)
/Modules/config.c.in
$(LIBPL)
/config.c.in
$(INSTALL_DATA)
$(srcdir)
/Modules/config.c.in
$(LIBPL)
/config.c.in
...
...
config.h.in
View file @
7a5f420e
...
@@ -453,3 +453,9 @@
...
@@ -453,3 +453,9 @@
/* Define if you have the m library (-lm). */
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
#undef HAVE_LIBM
/* Define if you have special dynamic linkage requirements in declarations. */
#undef DL_EXPORT_HEADER
#ifdef DL_EXPORT_HEADER
#include DL_EXPORT_HEADER
#endif
configure
View file @
7a5f420e
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.9
4
# From configure.in Revision: 1.9
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.13
# Generated automatically using autoconf version 2.13
...
@@ -667,8 +667,46 @@ else
...
@@ -667,8 +667,46 @@ else
case
$ac_sys_system
in
case
$ac_sys_system
in
OSF1
)
CC
=
cc
OSF1
)
CC
=
cc
without_gcc
=
;;
without_gcc
=
;;
BeOS
*
)
CC
=
cc
BeOS
*
)
without_gcc
=
;;
# Dunno if it's a good idea to get this over with all at once, or
# to handle it in with the other goodies.
MACHDEP
=
beos
case
$BE_HOST_CPU
in
ppc
)
CC
=
"mwcc -I
$PWD
/BeOS"
without_gcc
=
yes
OPT
=
"-DUSE_DL_EXPORT -O7 -opt schedule604"
CCSHARED
=
-UUSE_DL_EXPORT
LDFLAGS
=
"
$LDFLAGS
-nodup"
AR
=
"
$PWD
/BeOS/ar-fake"
RANLIB
=
:
cat
>>
confdefs.h
<<
\
EOF
#define DL_EXPORT_HEADER "dl_export.h"
EOF
;;
x86
)
CC
=
"gcc -I
$PWD
/BeOS"
without_gcc
=
no
OPT
=
"-DUSE_DL_EXPORT -O3 -mpentiumpro"
CCSHARED
=
-UUSE_DL_EXPORT
AR
=
"
$PWD
/BeOS/ar-fake"
RANLIB
=
:
cat
>>
confdefs.h
<<
\
EOF
#define DL_EXPORT_HEADER "dl_export.h"
EOF
;;
*
)
{
echo
"configure: error: Your BeOS system isn't PowerPC or x86... neat"
1>&2
;
exit
1
;
}
;;
esac
;;
*
)
without_gcc
=
no
;;
*
)
without_gcc
=
no
;;
esac
esac
fi
fi
...
@@ -685,7 +723,7 @@ fi
...
@@ -685,7 +723,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
689
: checking for
$ac_word
"
>
&5
echo
"configure:
727
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -715,7 +753,7 @@ if test -z "$CC"; then
...
@@ -715,7 +753,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7
19
: checking for
$ac_word
"
>
&5
echo
"configure:7
57
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -766,7 +804,7 @@ fi
...
@@ -766,7 +804,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args.
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
770
: checking for
$ac_word
"
>
&5
echo
"configure:
808
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -798,7 +836,7 @@ fi
...
@@ -798,7 +836,7 @@ fi
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:8
02
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:8
40
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
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.
...
@@ -809,12 +847,12 @@ cross_compiling=$ac_cv_prog_cc_cross
...
@@ -809,12 +847,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
13
"configure"
#line 8
51
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:8
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:8
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
ac_cv_prog_cc_works
=
yes
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
@@ -840,12 +878,12 @@ if test $ac_cv_prog_cc_works = no; then
...
@@ -840,12 +878,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:8
44
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:8
82
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
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
echo
"configure:8
49
: checking whether we are using GNU C"
>
&5
echo
"configure:8
87
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -854,7 +892,7 @@ else
...
@@ -854,7 +892,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:8
58
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:8
96
:
\"
$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
...
@@ -873,7 +911,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
...
@@ -873,7 +911,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS
=
"
$CFLAGS
"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:
877
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:
915
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -928,7 +966,7 @@ esac
...
@@ -928,7 +966,7 @@ esac
# linking.
# linking.
echo
$ac_n
"checking LINKCC""...
$ac_c
"
1>&6
echo
$ac_n
"checking LINKCC""...
$ac_c
"
1>&6
echo
"configure:9
32
: checking LINKCC"
>
&5
echo
"configure:9
70
: checking LINKCC"
>
&5
if
test
-z
"
$LINKCC
"
if
test
-z
"
$LINKCC
"
then
then
case
$ac_sys_system
in
case
$ac_sys_system
in
...
@@ -947,7 +985,7 @@ echo "$ac_t""$LINKCC" 1>&6
...
@@ -947,7 +985,7 @@ echo "$ac_t""$LINKCC" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:9
51
: checking for
$ac_word
"
>
&5
echo
"configure:9
89
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -980,7 +1018,7 @@ do
...
@@ -980,7 +1018,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
984
: checking for
$ac_word
"
>
&5
echo
"configure:
1022
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1055,7 +1093,7 @@ then
...
@@ -1055,7 +1093,7 @@ then
fi
fi
# checks for UNIX variants that set C preprocessor variables
# checks for UNIX variants that set C preprocessor variables
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:10
59
: checking how to run the C preprocessor"
>
&5
echo
"configure:10
97
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
CPP
=
...
@@ -1070,13 +1108,13 @@ else
...
@@ -1070,13 +1108,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 1
074
"configure"
#line 1
112
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
080
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
118
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -1087,13 +1125,13 @@ else
...
@@ -1087,13 +1125,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 1
091
"configure"
#line 1
129
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
097
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
135
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -1104,13 +1142,13 @@ else
...
@@ -1104,13 +1142,13 @@ else
rm
-rf
conftest
*
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
08
"configure"
#line 11
46
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <assert.h>
#include <assert.h>
Syntax Error
Syntax Error
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:11
14
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:11
52
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -1135,9 +1173,9 @@ fi
...
@@ -1135,9 +1173,9 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
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
echo
"configure:11
39
: checking for AIX"
>
&5
echo
"configure:11
77
: checking for AIX"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 11
41
"configure"
#line 11
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef _AIX
#ifdef _AIX
yes
yes
...
@@ -1160,17 +1198,17 @@ rm -f conftest*
...
@@ -1160,17 +1198,17 @@ rm -f conftest*
ac_safe
=
`
echo
"minix/config.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"minix/config.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for minix/config.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for minix/config.h""...
$ac_c
"
1>&6
echo
"configure:1
164
: checking for minix/config.h"
>
&5
echo
"configure:1
202
: checking for minix/config.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
169
"configure"
#line 1
207
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <minix/config.h>
#include <minix/config.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
174
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
212
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1209,7 +1247,7 @@ fi
...
@@ -1209,7 +1247,7 @@ fi
echo
$ac_n
"checking whether
$CC
accepts -OPT:Olimit=0""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
$CC
accepts -OPT:Olimit=0""...
$ac_c
"
1>&6
echo
"configure:12
13
: checking whether
$CC
accepts -OPT:Olimit=0"
>
&5
echo
"configure:12
51
: checking whether
$CC
accepts -OPT:Olimit=0"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_opt_olimit_ok
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_opt_olimit_ok
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1219,11 +1257,11 @@ if test "$cross_compiling" = yes; then
...
@@ -1219,11 +1257,11 @@ 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 12
23
"configure"
#line 12
61
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
EOF
EOF
if
{
(
eval echo
configure:12
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:12
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_opt_olimit_ok
=
yes
ac_cv_opt_olimit_ok
=
yes
else
else
...
@@ -1243,7 +1281,7 @@ if test $ac_cv_opt_olimit_ok = yes; then
...
@@ -1243,7 +1281,7 @@ if test $ac_cv_opt_olimit_ok = yes; then
OPT
=
"
$OPT
-OPT:Olimit=0"
OPT
=
"
$OPT
-OPT:Olimit=0"
else
else
echo
$ac_n
"checking whether
$CC
accepts -Olimit 1500""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
$CC
accepts -Olimit 1500""...
$ac_c
"
1>&6
echo
"configure:12
47
: checking whether
$CC
accepts -Olimit 1500"
>
&5
echo
"configure:12
85
: checking whether
$CC
accepts -Olimit 1500"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_olimit_ok
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_olimit_ok
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1253,11 +1291,11 @@ else
...
@@ -1253,11 +1291,11 @@ else
{
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 12
57
"configure"
#line 12
95
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() { return 0; }
int main() { return 0; }
EOF
EOF
if
{
(
eval echo
configure:12
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:12
99
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_olimit_ok
=
yes
ac_cv_olimit_ok
=
yes
else
else
...
@@ -1291,9 +1329,9 @@ fi
...
@@ -1291,9 +1329,9 @@ fi
# check for ANSI or K&R ("traditional") preprocessor
# check for ANSI or K&R ("traditional") preprocessor
echo
$ac_n
"checking for C preprocessor type""...
$ac_c
"
1>&6
echo
$ac_n
"checking for C preprocessor type""...
$ac_c
"
1>&6
echo
"configure:1
295
: checking for C preprocessor type"
>
&5
echo
"configure:1
333
: checking for C preprocessor type"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
297
"configure"
#line 1
335
"configure"
#include "confdefs.h"
#include "confdefs.h"
#define spam(name, doc) {#name, &name, #name "() -- " doc}
#define spam(name, doc) {#name, &name, #name "() -- " doc}
...
@@ -1304,7 +1342,7 @@ int main() {
...
@@ -1304,7 +1342,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:13
08
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:13
46
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cpp_type
=
ansi
cpp_type
=
ansi
else
else
...
@@ -1321,12 +1359,12 @@ echo "$ac_t""$cpp_type" 1>&6
...
@@ -1321,12 +1359,12 @@ echo "$ac_t""$cpp_type" 1>&6
# checks for header files
# checks for header files
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:13
25
: checking for ANSI C header files"
>
&5
echo
"configure:13
63
: checking for ANSI C header files"
>
&5
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 13
30
"configure"
#line 13
68
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -1334,7 +1372,7 @@ else
...
@@ -1334,7 +1372,7 @@ else
#include <float.h>
#include <float.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:13
38
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:13
76
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1351,7 +1389,7 @@ rm -f conftest*
...
@@ -1351,7 +1389,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 13
55
"configure"
#line 13
93
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -1369,7 +1407,7 @@ fi
...
@@ -1369,7 +1407,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 1
373
"configure"
#line 1
411
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -1390,7 +1428,7 @@ if test "$cross_compiling" = yes; then
...
@@ -1390,7 +1428,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
394
"configure"
#line 1
432
"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')
...
@@ -1401,7 +1439,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -1401,7 +1439,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:14
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:14
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -1432,17 +1470,17 @@ sys/un.h sys/utsname.h sys/wait.h
...
@@ -1432,17 +1470,17 @@ sys/un.h sys/utsname.h sys/wait.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:14
36
: checking for
$ac_hdr
"
>
&5
echo
"configure:14
74
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
41
"configure"
#line 14
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:14
46
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:14
84
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1473,12 +1511,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
...
@@ -1473,12 +1511,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
that defines DIR""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
that defines DIR""...
$ac_c
"
1>&6
echo
"configure:1
477
: checking for
$ac_hdr
that defines DIR"
>
&5
echo
"configure:1
515
: checking for
$ac_hdr
that defines DIR"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_dirent_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_dirent_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
482
"configure"
#line 1
520
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_hdr
>
#include <
$ac_hdr
>
...
@@ -1486,7 +1524,7 @@ int main() {
...
@@ -1486,7 +1524,7 @@ int main() {
DIR *dirp = 0;
DIR *dirp = 0;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
490
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
528
:
\"
$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
...
@@ -1511,7 +1549,7 @@ done
...
@@ -1511,7 +1549,7 @@ 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 opendir in -ldir""...
$ac_c
"
1>&6
echo
$ac_n
"checking for opendir in -ldir""...
$ac_c
"
1>&6
echo
"configure:15
15
: checking for opendir in -ldir"
>
&5
echo
"configure:15
53
: checking for opendir in -ldir"
>
&5
ac_lib_var
=
`
echo dir
'_'
opendir |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo dir
'_'
opendir |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -1519,7 +1557,7 @@ else
...
@@ -1519,7 +1557,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
23
"configure"
#line 15
61
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1530,7 +1568,7 @@ int main() {
...
@@ -1530,7 +1568,7 @@ int main() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:15
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:15
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1552,7 +1590,7 @@ fi
...
@@ -1552,7 +1590,7 @@ fi
else
else
echo
$ac_n
"checking for opendir in -lx""...
$ac_c
"
1>&6
echo
$ac_n
"checking for opendir in -lx""...
$ac_c
"
1>&6
echo
"configure:15
56
: checking for opendir in -lx"
>
&5
echo
"configure:15
94
: checking for opendir in -lx"
>
&5
ac_lib_var
=
`
echo
x
'_'
opendir |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
x
'_'
opendir |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -1560,7 +1598,7 @@ else
...
@@ -1560,7 +1598,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
564
"configure"
#line 1
602
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1571,7 +1609,7 @@ int main() {
...
@@ -1571,7 +1609,7 @@ int main() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
575
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1
613
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -1597,9 +1635,9 @@ fi
...
@@ -1597,9 +1635,9 @@ fi
# checks for typedefs
# checks for typedefs
was_it_defined
=
no
was_it_defined
=
no
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
echo
"configure:16
01
: checking for clock_t in time.h"
>
&5
echo
"configure:16
39
: checking for clock_t in time.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
03
"configure"
#line 16
41
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
EOF
EOF
...
@@ -1626,12 +1664,12 @@ cat >> confdefs.h <<\EOF
...
@@ -1626,12 +1664,12 @@ cat >> confdefs.h <<\EOF
EOF
EOF
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:16
30
: checking for mode_t"
>
&5
echo
"configure:16
68
: checking for mode_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
35
"configure"
#line 16
73
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1659,12 +1697,12 @@ EOF
...
@@ -1659,12 +1697,12 @@ EOF
fi
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:1
663
: checking for off_t"
>
&5
echo
"configure:1
701
: checking for off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
668
"configure"
#line 1
706
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1692,12 +1730,12 @@ EOF
...
@@ -1692,12 +1730,12 @@ EOF
fi
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:1
696
: checking for pid_t"
>
&5
echo
"configure:1
734
: checking for pid_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
01
"configure"
#line 17
39
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1725,12 +1763,12 @@ EOF
...
@@ -1725,12 +1763,12 @@ EOF
fi
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:17
29
: checking return type of signal handlers"
>
&5
echo
"configure:17
67
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
34
"configure"
#line 17
72
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -1747,7 +1785,7 @@ int main() {
...
@@ -1747,7 +1785,7 @@ int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:17
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:17
89
:
\"
$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
...
@@ -1766,12 +1804,12 @@ EOF
...
@@ -1766,12 +1804,12 @@ EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:1
770
: checking for size_t"
>
&5
echo
"configure:1
808
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
775
"configure"
#line 1
813
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1799,12 +1837,12 @@ EOF
...
@@ -1799,12 +1837,12 @@ EOF
fi
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:18
03
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:18
41
: checking for uid_t in sys/types.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
08
"configure"
#line 18
46
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
EOF
EOF
...
@@ -1834,7 +1872,7 @@ fi
...
@@ -1834,7 +1872,7 @@ fi
echo
$ac_n
"checking size of int""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of int""...
$ac_c
"
1>&6
echo
"configure:18
38
: checking size of int"
>
&5
echo
"configure:18
76
: checking size of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_int
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1842,7 +1880,7 @@ else
...
@@ -1842,7 +1880,7 @@ else
{
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 18
46
"configure"
#line 18
84
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -1853,7 +1891,7 @@ main()
...
@@ -1853,7 +1891,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:18
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:18
95
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_int
=
`
cat
conftestval
`
ac_cv_sizeof_int
=
`
cat
conftestval
`
else
else
...
@@ -1873,7 +1911,7 @@ EOF
...
@@ -1873,7 +1911,7 @@ EOF
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
"configure:1
877
: checking size of long"
>
&5
echo
"configure:1
915
: checking size of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1881,7 +1919,7 @@ else
...
@@ -1881,7 +1919,7 @@ else
{
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 1
885
"configure"
#line 1
923
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -1892,7 +1930,7 @@ main()
...
@@ -1892,7 +1930,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:1
896
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:1
934
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_long
=
`
cat
conftestval
`
ac_cv_sizeof_long
=
`
cat
conftestval
`
else
else
...
@@ -1912,7 +1950,7 @@ EOF
...
@@ -1912,7 +1950,7 @@ EOF
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:19
16
: checking size of void *"
>
&5
echo
"configure:19
54
: checking size of void *"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_void_p
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_void_p
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1920,7 +1958,7 @@ else
...
@@ -1920,7 +1958,7 @@ else
{
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 19
24
"configure"
#line 19
62
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -1931,7 +1969,7 @@ main()
...
@@ -1931,7 +1969,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:19
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:19
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_void_p
=
`
cat
conftestval
`
ac_cv_sizeof_void_p
=
`
cat
conftestval
`
else
else
...
@@ -1952,17 +1990,17 @@ EOF
...
@@ -1952,17 +1990,17 @@ EOF
echo
$ac_n
"checking for long long support""...
$ac_c
"
1>&6
echo
$ac_n
"checking for long long support""...
$ac_c
"
1>&6
echo
"configure:19
56
: checking for long long support"
>
&5
echo
"configure:19
94
: checking for long long support"
>
&5
have_long_long
=
no
have_long_long
=
no
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
59
"configure"
#line 19
97
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
long long x; x = (long long)0;
long long x; x = (long long)0;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
1966
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
2004
:
\"
$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_LONG_LONG 1
#define HAVE_LONG_LONG 1
...
@@ -1976,7 +2014,7 @@ rm -f conftest*
...
@@ -1976,7 +2014,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_long_long
"
1>&6
echo
"
$ac_t
""
$have_long_long
"
1>&6
if
test
$have_long_long
=
yes
;
then
if
test
$have_long_long
=
yes
;
then
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:
1980
: checking size of long long"
>
&5
echo
"configure:
2018
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1984,7 +2022,7 @@ else
...
@@ -1984,7 +2022,7 @@ else
{
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
1988
"configure"
#line
2026
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -1995,7 +2033,7 @@ main()
...
@@ -1995,7 +2033,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:
1999
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
2037
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
else
...
@@ -2018,7 +2056,7 @@ fi
...
@@ -2018,7 +2056,7 @@ fi
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
echo
$ac_n
"checking size of off_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of off_t""...
$ac_c
"
1>&6
echo
"configure:20
22
: checking size of off_t"
>
&5
echo
"configure:20
60
: checking size of off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_off_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -2026,7 +2064,7 @@ else
...
@@ -2026,7 +2064,7 @@ else
{
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 20
30
"configure"
#line 20
68
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/types.h>
...
@@ -2038,7 +2076,7 @@ main()
...
@@ -2038,7 +2076,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:20
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:20
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_off_t
=
`
cat
conftestval
`
ac_cv_sizeof_off_t
=
`
cat
conftestval
`
else
else
...
@@ -2060,7 +2098,7 @@ EOF
...
@@ -2060,7 +2098,7 @@ EOF
echo
$ac_n
"checking whether to enable large file support""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether to enable large file support""...
$ac_c
"
1>&6
echo
"configure:2
064
: checking whether to enable large file support"
>
&5
echo
"configure:2
102
: checking whether to enable large file support"
>
&5
if
test
$have_long_long
=
yes
-a
\
if
test
$have_long_long
=
yes
-a
\
$ac_cv_sizeof_off_t
-gt
$ac_cv_sizeof_long
-a
\
$ac_cv_sizeof_off_t
-gt
$ac_cv_sizeof_long
-a
\
$ac_cv_sizeof_long_long
-ge
$ac_cv_sizeof_off_t
;
then
$ac_cv_sizeof_long_long
-ge
$ac_cv_sizeof_off_t
;
then
...
@@ -2082,7 +2120,7 @@ fi
...
@@ -2082,7 +2120,7 @@ fi
# SO is the extension of shared libraries `(including the dot!)
# SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX
# -- usually .so, .sl on HP-UX
echo
$ac_n
"checking SO""...
$ac_c
"
1>&6
echo
$ac_n
"checking SO""...
$ac_c
"
1>&6
echo
"configure:2
086
: checking SO"
>
&5
echo
"configure:2
124
: checking SO"
>
&5
if
test
-z
"
$SO
"
if
test
-z
"
$SO
"
then
then
case
$ac_sys_system
in
case
$ac_sys_system
in
...
@@ -2094,7 +2132,7 @@ echo "$ac_t""$SO" 1>&6
...
@@ -2094,7 +2132,7 @@ echo "$ac_t""$SO" 1>&6
# LDSHARED is the ld *command* used to create shared library
# LDSHARED is the ld *command* used to create shared library
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&6
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&6
echo
"configure:2
098
: checking LDSHARED"
>
&5
echo
"configure:2
136
: checking LDSHARED"
>
&5
if
test
-z
"
$LDSHARED
"
if
test
-z
"
$LDSHARED
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
...
@@ -2127,7 +2165,7 @@ echo "$ac_t""$LDSHARED" 1>&6
...
@@ -2127,7 +2165,7 @@ echo "$ac_t""$LDSHARED" 1>&6
# CCSHARED are the C *flags* used to create objects to go into a shared
# CCSHARED are the C *flags* used to create objects to go into a shared
# library -- this is only needed for a few systems
# library -- this is only needed for a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
"configure:21
31
: checking CCSHARED"
>
&5
echo
"configure:21
69
: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
if
test
-z
"
$CCSHARED
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
...
@@ -2149,7 +2187,7 @@ echo "$ac_t""$CCSHARED" 1>&6
...
@@ -2149,7 +2187,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems
# the python executable -- this is only needed for a few systems
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
"configure:21
53
: checking LINKFORSHARED"
>
&5
echo
"configure:21
91
: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
if
test
-z
"
$LINKFORSHARED
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
...
@@ -2178,7 +2216,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
...
@@ -2178,7 +2216,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
# checks for libraries
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:2
182
: checking for dlopen in -ldl"
>
&5
echo
"configure:2
220
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2186,7 +2224,7 @@ else
...
@@ -2186,7 +2224,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
190
"configure"
#line 2
228
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2197,7 +2235,7 @@ int main() {
...
@@ -2197,7 +2235,7 @@ int main() {
dlopen()
dlopen()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:22
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:22
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2225,7 +2263,7 @@ else
...
@@ -2225,7 +2263,7 @@ else
fi
fi
# Dynamic linking for SunOS/Solaris and SYSV
# Dynamic linking for SunOS/Solaris and SYSV
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
"configure:22
29
: checking for shl_load in -ldld"
>
&5
echo
"configure:22
67
: checking for shl_load in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2233,7 +2271,7 @@ else
...
@@ -2233,7 +2271,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
37
"configure"
#line 22
75
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2244,7 +2282,7 @@ int main() {
...
@@ -2244,7 +2282,7 @@ int main() {
shl_load()
shl_load()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:22
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:22
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2272,7 +2310,7 @@ else
...
@@ -2272,7 +2310,7 @@ else
fi
fi
# Dynamic linking for HP-UX
# Dynamic linking for HP-UX
echo
$ac_n
"checking for pow in -lm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pow in -lm""...
$ac_c
"
1>&6
echo
"configure:2
276
: checking for pow in -lm"
>
&5
echo
"configure:2
314
: checking for pow in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
pow |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
m
'_'
pow |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2280,7 +2318,7 @@ else
...
@@ -2280,7 +2318,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
284
"configure"
#line 2
322
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2291,7 +2329,7 @@ int main() {
...
@@ -2291,7 +2329,7 @@ int main() {
pow()
pow()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
295
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
333
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2325,7 +2363,7 @@ case "$ac_sys_system" in
...
@@ -2325,7 +2363,7 @@ case "$ac_sys_system" in
IRIX
*
)
;;
IRIX
*
)
;;
*
)
*
)
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:23
29
: checking for t_open in -lnsl"
>
&5
echo
"configure:23
67
: checking for t_open in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2333,7 +2371,7 @@ else
...
@@ -2333,7 +2371,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
37
"configure"
#line 23
75
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2344,7 +2382,7 @@ int main() {
...
@@ -2344,7 +2382,7 @@ int main() {
t_open()
t_open()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:23
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:23
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2365,7 +2403,7 @@ else
...
@@ -2365,7 +2403,7 @@ else
fi
fi
# SVR4
# SVR4
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:2
369
: checking for socket in -lsocket"
>
&5
echo
"configure:2
407
: checking for socket in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2373,7 +2411,7 @@ else
...
@@ -2373,7 +2411,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
377
"configure"
#line 2
415
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2384,7 +2422,7 @@ int main() {
...
@@ -2384,7 +2422,7 @@ int main() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
388
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
426
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2405,7 +2443,7 @@ else
...
@@ -2405,7 +2443,7 @@ else
fi
fi
# SVR4 sockets
# SVR4 sockets
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
"configure:24
09
: checking for socket in -lnet"
>
&5
echo
"configure:24
47
: checking for socket in -lnet"
>
&5
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2413,7 +2451,7 @@ else
...
@@ -2413,7 +2451,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
17
"configure"
#line 24
55
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2424,7 +2462,7 @@ int main() {
...
@@ -2424,7 +2462,7 @@ int main() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:24
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:24
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2448,7 +2486,7 @@ fi
...
@@ -2448,7 +2486,7 @@ fi
esac
esac
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:24
52
: checking for --with-libs"
>
&5
echo
"configure:24
90
: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
withval
=
"
$with_libs
"
...
@@ -2462,7 +2500,7 @@ fi
...
@@ -2462,7 +2500,7 @@ fi
echo
$ac_n
"checking for --with(out)-readline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with(out)-readline""...
$ac_c
"
1>&6
echo
"configure:2
466
: checking for --with(out)-readline"
>
&5
echo
"configure:2
504
: checking for --with(out)-readline"
>
&5
# Check whether --with-readline or --without-readline was given.
# Check whether --with-readline or --without-readline was given.
if
test
"
${
with_readline
+set
}
"
=
set
;
then
if
test
"
${
with_readline
+set
}
"
=
set
;
then
withval
=
"
$with_readline
"
withval
=
"
$with_readline
"
...
@@ -2477,7 +2515,7 @@ fi
...
@@ -2477,7 +2515,7 @@ fi
USE_THREAD_MODULE
=
"#"
USE_THREAD_MODULE
=
"#"
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:2
481
: checking for --with-dec-threads"
>
&5
echo
"configure:2
519
: checking for --with-dec-threads"
>
&5
# Check whether --with-dec-threads or --without-dec-threads was given.
# Check whether --with-dec-threads or --without-dec-threads was given.
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
...
@@ -2493,7 +2531,7 @@ fi
...
@@ -2493,7 +2531,7 @@ fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:2
497
: checking for --with-threads"
>
&5
echo
"configure:2
535
: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
withval
=
"
$with_threads
"
...
@@ -2507,7 +2545,7 @@ fi
...
@@ -2507,7 +2545,7 @@ fi
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-thread""...
$ac_c
"
1>&6
echo
"configure:25
11
: checking for --with-thread"
>
&5
echo
"configure:25
49
: checking for --with-thread"
>
&5
# Check whether --with-thread or --without-thread was given.
# Check whether --with-thread or --without-thread was given.
if
test
"
${
with_thread
+set
}
"
=
set
;
then
if
test
"
${
with_thread
+set
}
"
=
set
;
then
withval
=
"
$with_thread
"
withval
=
"
$with_thread
"
...
@@ -2523,17 +2561,17 @@ EOF
...
@@ -2523,17 +2561,17 @@ EOF
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:25
27
: checking for mach/cthreads.h"
>
&5
echo
"configure:25
65
: checking for mach/cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
32
"configure"
#line 25
70
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <mach/cthreads.h>
#include <mach/cthreads.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:25
37
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:25
75
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2562,12 +2600,12 @@ else
...
@@ -2562,12 +2600,12 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:2
566
: checking for pthread_detach"
>
&5
echo
"configure:2
604
: checking for pthread_detach"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+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
571
"configure"
#line 2
609
"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 pthread_detach(); below. */
which can conflict with char pthread_detach(); below. */
...
@@ -2590,7 +2628,7 @@ pthread_detach();
...
@@ -2590,7 +2628,7 @@ pthread_detach();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
594
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
632
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_pthread_detach=yes"
eval
"ac_cv_func_pthread_detach=yes"
else
else
...
@@ -2618,17 +2656,17 @@ else
...
@@ -2618,17 +2656,17 @@ else
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
"configure:26
22
: checking for kernel/OS.h"
>
&5
echo
"configure:26
60
: checking for kernel/OS.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
27
"configure"
#line 26
65
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <kernel/OS.h>
#include <kernel/OS.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:26
32
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:26
70
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -2657,7 +2695,7 @@ else
...
@@ -2657,7 +2695,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:26
61
: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:26
99
: checking for pthread_create in -lpthreads"
>
&5
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2665,7 +2703,7 @@ else
...
@@ -2665,7 +2703,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
669
"configure"
#line 2
707
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2676,7 +2714,7 @@ int main() {
...
@@ -2676,7 +2714,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
680
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
718
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2705,7 +2743,7 @@ else
...
@@ -2705,7 +2743,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:27
09
: checking for pthread_create in -lpthread"
>
&5
echo
"configure:27
47
: checking for pthread_create in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
pthread
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2713,7 +2751,7 @@ else
...
@@ -2713,7 +2751,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
17
"configure"
#line 27
55
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2724,7 +2762,7 @@ int main() {
...
@@ -2724,7 +2762,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:27
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:27
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2753,7 +2791,7 @@ else
...
@@ -2753,7 +2791,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
"configure:27
57
: checking for pthread_create in -lc_r"
>
&5
echo
"configure:27
95
: checking for pthread_create in -lc_r"
>
&5
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2761,7 +2799,7 @@ else
...
@@ -2761,7 +2799,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
765
"configure"
#line 2
803
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2772,7 +2810,7 @@ int main() {
...
@@ -2772,7 +2810,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
776
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
814
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2801,7 +2839,7 @@ else
...
@@ -2801,7 +2839,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:28
05
: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:28
43
: checking for __d6_pthread_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2809,7 +2847,7 @@ else
...
@@ -2809,7 +2847,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
13
"configure"
#line 28
51
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2820,7 +2858,7 @@ int main() {
...
@@ -2820,7 +2858,7 @@ int main() {
__d6_pthread_create()
__d6_pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:28
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:28
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2849,7 +2887,7 @@ else
...
@@ -2849,7 +2887,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
"configure:28
53
: checking for pthread_create in -lcma"
>
&5
echo
"configure:28
91
: checking for pthread_create in -lcma"
>
&5
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2857,7 +2895,7 @@ else
...
@@ -2857,7 +2895,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
61
"configure"
#line 28
99
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2868,7 +2906,7 @@ int main() {
...
@@ -2868,7 +2906,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
872
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
910
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2914,7 +2952,7 @@ fi
...
@@ -2914,7 +2952,7 @@ fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:29
18
: checking for usconfig in -lmpc"
>
&5
echo
"configure:29
56
: checking for usconfig in -lmpc"
>
&5
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2922,7 +2960,7 @@ else
...
@@ -2922,7 +2960,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
26
"configure"
#line 29
64
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2933,7 +2971,7 @@ int main() {
...
@@ -2933,7 +2971,7 @@ int main() {
usconfig()
usconfig()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:29
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:29
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -2959,7 +2997,7 @@ else
...
@@ -2959,7 +2997,7 @@ else
fi
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:
2963
: checking for thr_create in -lthread"
>
&5
echo
"configure:
3001
: checking for thr_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -2967,7 +3005,7 @@ else
...
@@ -2967,7 +3005,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
2971
"configure"
#line
3009
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -2978,7 +3016,7 @@ int main() {
...
@@ -2978,7 +3016,7 @@ int main() {
thr_create()
thr_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
2982
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
3020
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3014,7 +3052,7 @@ fi
...
@@ -3014,7 +3052,7 @@ fi
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
echo
"configure:30
18
: checking for --with-sgi-dl"
>
&5
echo
"configure:30
56
: checking for --with-sgi-dl"
>
&5
# Check whether --with-sgi-dl or --without-sgi-dl was given.
# Check whether --with-sgi-dl or --without-sgi-dl was given.
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
withval
=
"
$with_sgi_dl
"
withval
=
"
$with_sgi_dl
"
...
@@ -3037,7 +3075,7 @@ fi
...
@@ -3037,7 +3075,7 @@ 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
echo
"configure:30
41
: checking for --with-dl-dld"
>
&5
echo
"configure:30
79
: checking for --with-dl-dld"
>
&5
# Check whether --with-dl-dld or --without-dl-dld was given.
# Check whether --with-dl-dld or --without-dl-dld was given.
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
withval
=
"
$with_dl_dld
"
withval
=
"
$with_dl_dld
"
...
@@ -3070,12 +3108,12 @@ for ac_func in alarm chown clock dlopen execv flock fork \
...
@@ -3070,12 +3108,12 @@ for ac_func in alarm chown clock dlopen execv flock fork \
tcgetpgrp tcsetpgrp timegm
times truncate uname
waitpid
tcgetpgrp tcsetpgrp timegm
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
echo
"configure:3
074
: checking for
$ac_func
"
>
&5
echo
"configure:3
112
: checking for
$ac_func
"
>
&5
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 3
079
"configure"
#line 3
117
"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. */
...
@@ -3098,7 +3136,7 @@ $ac_func();
...
@@ -3098,7 +3136,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:31
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -3127,12 +3165,12 @@ done
...
@@ -3127,12 +3165,12 @@ done
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:31
31
: checking for
$ac_func
"
>
&5
echo
"configure:31
69
: checking for
$ac_func
"
>
&5
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 31
36
"configure"
#line 31
74
"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. */
...
@@ -3155,7 +3193,7 @@ $ac_func();
...
@@ -3155,7 +3193,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:31
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -3183,12 +3221,12 @@ done
...
@@ -3183,12 +3221,12 @@ done
for
ac_func
in
dup2 getcwd strdup strerror memmove
for
ac_func
in
dup2 getcwd strdup 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
echo
"configure:3
187
: checking for
$ac_func
"
>
&5
echo
"configure:3
225
: checking for
$ac_func
"
>
&5
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 3
192
"configure"
#line 3
230
"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. */
...
@@ -3211,7 +3249,7 @@ $ac_func();
...
@@ -3211,7 +3249,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:32
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -3238,12 +3276,12 @@ done
...
@@ -3238,12 +3276,12 @@ done
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&6
echo
"configure:32
42
: checking for getpgrp"
>
&5
echo
"configure:32
80
: checking for getpgrp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getpgrp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getpgrp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
47
"configure"
#line 32
85
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */
which can conflict with char getpgrp(); below. */
...
@@ -3266,7 +3304,7 @@ getpgrp();
...
@@ -3266,7 +3304,7 @@ getpgrp();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
270
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
308
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_getpgrp=yes"
eval
"ac_cv_func_getpgrp=yes"
else
else
...
@@ -3281,14 +3319,14 @@ fi
...
@@ -3281,14 +3319,14 @@ 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 3
285
"configure"
#line 3
323
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
getpgrp(0);
getpgrp(0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
292
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
330
:
\"
$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
...
@@ -3304,12 +3342,12 @@ else
...
@@ -3304,12 +3342,12 @@ else
fi
fi
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&6
echo
"configure:33
08
: checking for setpgrp"
>
&5
echo
"configure:33
46
: checking for setpgrp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_setpgrp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_setpgrp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
13
"configure"
#line 33
51
"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. */
...
@@ -3332,7 +3370,7 @@ setpgrp();
...
@@ -3332,7 +3370,7 @@ setpgrp();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:33
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_setpgrp=yes"
eval
"ac_cv_func_setpgrp=yes"
else
else
...
@@ -3347,14 +3385,14 @@ fi
...
@@ -3347,14 +3385,14 @@ 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 33
51
"configure"
#line 33
89
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
setpgrp(0,0);
setpgrp(0,0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:33
58
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:33
96
:
\"
$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
...
@@ -3370,12 +3408,12 @@ else
...
@@ -3370,12 +3408,12 @@ else
fi
fi
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&6
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&6
echo
"configure:3
374
: checking for gettimeofday"
>
&5
echo
"configure:3
412
: checking for gettimeofday"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gettimeofday
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gettimeofday
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
379
"configure"
#line 3
417
"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. */
...
@@ -3398,7 +3436,7 @@ gettimeofday();
...
@@ -3398,7 +3436,7 @@ gettimeofday();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_gettimeofday=yes"
eval
"ac_cv_func_gettimeofday=yes"
else
else
...
@@ -3413,14 +3451,14 @@ fi
...
@@ -3413,14 +3451,14 @@ 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 34
17
"configure"
#line 34
55
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/time.h>
#include <sys/time.h>
int main() {
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
24
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:34
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -3439,12 +3477,12 @@ fi
...
@@ -3439,12 +3477,12 @@ fi
# checks for structures
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:34
43
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:34
81
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
48
"configure"
#line 34
86
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -3453,7 +3491,7 @@ int main() {
...
@@ -3453,7 +3491,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
57
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:34
95
:
\"
$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
...
@@ -3474,12 +3512,12 @@ EOF
...
@@ -3474,12 +3512,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:3
478
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:3
516
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
483
"configure"
#line 3
521
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -3487,7 +3525,7 @@ int main() {
...
@@ -3487,7 +3525,7 @@ int main() {
struct tm *tp; tp->tm_sec;
struct tm *tp; tp->tm_sec;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
491
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
529
:
\"
$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
...
@@ -3508,12 +3546,12 @@ EOF
...
@@ -3508,12 +3546,12 @@ EOF
fi
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:35
12
: checking for tm_zone in struct tm"
>
&5
echo
"configure:35
50
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
17
"configure"
#line 35
55
"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
>
...
@@ -3521,7 +3559,7 @@ int main() {
...
@@ -3521,7 +3559,7 @@ int main() {
struct tm tm; tm.tm_zone;
struct tm tm; tm.tm_zone;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
25
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:35
63
:
\"
$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
...
@@ -3541,12 +3579,12 @@ EOF
...
@@ -3541,12 +3579,12 @@ EOF
else
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:35
45
: checking for tzname"
>
&5
echo
"configure:35
83
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
50
"configure"
#line 35
88
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -3556,7 +3594,7 @@ int main() {
...
@@ -3556,7 +3594,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
ac_cv_var_tzname
=
yes
else
else
...
@@ -3579,19 +3617,19 @@ fi
...
@@ -3579,19 +3617,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:3
583
: checking for time.h that defines altzone"
>
&5
echo
"configure:3
621
: checking for time.h that defines altzone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
588
"configure"
#line 3
626
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
int main() {
int main() {
return altzone;
return altzone;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
595
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
633
:
\"
$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
...
@@ -3613,9 +3651,9 @@ fi
...
@@ -3613,9 +3651,9 @@ 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
echo
"configure:36
17
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:36
55
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
19
"configure"
#line 36
57
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -3626,7 +3664,7 @@ int main() {
...
@@ -3626,7 +3664,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:36
68
:
\"
$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
...
@@ -3642,14 +3680,14 @@ echo "$ac_t""$was_it_defined" 1>&6
...
@@ -3642,14 +3680,14 @@ echo "$ac_t""$was_it_defined" 1>&6
# checks for compiler characteristics
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
"configure:36
46
: checking whether char is unsigned"
>
&5
echo
"configure:36
84
: checking whether char is unsigned"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
"
$GCC
"
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
53
"configure"
#line 36
91
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -3671,7 +3709,7 @@ if test "$cross_compiling" = yes; then
...
@@ -3671,7 +3709,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 3
675
"configure"
#line 3
713
"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
...
@@ -3681,7 +3719,7 @@ main() {
...
@@ -3681,7 +3719,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:3
685
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:3
723
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_char_unsigned
=
yes
ac_cv_c_char_unsigned
=
yes
else
else
...
@@ -3706,12 +3744,12 @@ fi
...
@@ -3706,12 +3744,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:37
10
: checking for working const"
>
&5
echo
"configure:37
48
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
15
"configure"
#line 37
53
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -3760,7 +3798,7 @@ ccp = (char const *const *) p;
...
@@ -3760,7 +3798,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
764
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
802
:
\"
$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
...
@@ -3783,16 +3821,16 @@ fi
...
@@ -3783,16 +3821,16 @@ 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
echo
"configure:3
787
: checking for working volatile"
>
&5
echo
"configure:3
825
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
789
"configure"
#line 3
827
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
volatile int x; x = 0;
volatile int x; x = 0;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
796
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
834
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -3809,16 +3847,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -3809,16 +3847,16 @@ 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
echo
"configure:38
13
: checking for working signed char"
>
&5
echo
"configure:38
51
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
15
"configure"
#line 38
53
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
signed char c;
signed char c;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
22
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:38
60
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -3835,16 +3873,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -3835,16 +3873,16 @@ 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
echo
"configure:38
39
: checking for prototypes"
>
&5
echo
"configure:38
77
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
41
"configure"
#line 38
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
int foo(int x) { return 0; }
int foo(int x) { return 0; }
int main() {
int main() {
return foo(10);
return foo(10);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:38
86
:
\"
$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
...
@@ -3859,9 +3897,9 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -3859,9 +3897,9 @@ 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
echo
"configure:3
863
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:3
901
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
865
"configure"
#line 3
903
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -3878,7 +3916,7 @@ int main() {
...
@@ -3878,7 +3916,7 @@ int main() {
return foo(10, "", 3.14);
return foo(10, "", 3.14);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
882
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
920
:
\"
$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
...
@@ -3894,16 +3932,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -3894,16 +3932,16 @@ echo "$ac_t""$works" 1>&6
if
test
"
$have_prototypes
"
=
yes
;
then
if
test
"
$have_prototypes
"
=
yes
;
then
bad_prototypes
=
no
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
"configure:3
898
: checking for bad exec* prototypes"
>
&5
echo
"configure:3
936
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
00
"configure"
#line 39
38
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
char **t;execve("@",t,t);
char **t;execve("@",t,t);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:39
07
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:39
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -3920,12 +3958,12 @@ fi
...
@@ -3920,12 +3958,12 @@ fi
bad_forward
=
no
bad_forward
=
no
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:39
24
: checking for bad static forward"
>
&5
echo
"configure:39
62
: checking for bad static forward"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
29
"configure"
#line 39
67
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -3941,7 +3979,7 @@ main() {
...
@@ -3941,7 +3979,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:39
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:39
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -3960,9 +3998,9 @@ echo "$ac_t""$bad_forward" 1>&6
...
@@ -3960,9 +3998,9 @@ 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
echo
"configure:
3964
: checking whether va_list is an array"
>
&5
echo
"configure:
4002
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
3966
"configure"
#line
4004
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -3975,7 +4013,7 @@ int main() {
...
@@ -3975,7 +4013,7 @@ int main() {
va_list list1, list2; list1 = list2;
va_list list1, list2; list1 = list2;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
3979
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
4017
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -3994,7 +4032,7 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -3994,7 +4032,7 @@ 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 __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
"configure:
3998
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:
4036
: checking for __fpu_control in -lieee"
>
&5
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
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
...
@@ -4002,7 +4040,7 @@ else
...
@@ -4002,7 +4040,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
06
"configure"
#line 40
44
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4013,7 +4051,7 @@ int main() {
...
@@ -4013,7 +4051,7 @@ int main() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:40
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4043,7 +4081,7 @@ fi
...
@@ -4043,7 +4081,7 @@ fi
# Check for --with-fpectl
# Check for --with-fpectl
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
"configure:40
47
: checking for --with-fpectl"
>
&5
echo
"configure:40
85
: checking for --with-fpectl"
>
&5
# Check whether --with-fpectl or --without-fpectl was given.
# Check whether --with-fpectl or --without-fpectl was given.
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
withval
=
"
$with_fpectl
"
withval
=
"
$with_fpectl
"
...
@@ -4066,7 +4104,7 @@ BeOS) ;;
...
@@ -4066,7 +4104,7 @@ BeOS) ;;
*
)
LIBM
=
-lm
*
)
LIBM
=
-lm
esac
esac
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
"configure:4
070
: checking for --with-libm=STRING"
>
&5
echo
"configure:4
108
: checking for --with-libm=STRING"
>
&5
# Check whether --with-libm or --without-libm was given.
# Check whether --with-libm or --without-libm was given.
if
test
"
${
with_libm
+set
}
"
=
set
;
then
if
test
"
${
with_libm
+set
}
"
=
set
;
then
withval
=
"
$with_libm
"
withval
=
"
$with_libm
"
...
@@ -4087,7 +4125,7 @@ fi
...
@@ -4087,7 +4125,7 @@ fi
# check for --with-libc=...
# check for --with-libc=...
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
"configure:4
091
: checking for --with-libc=STRING"
>
&5
echo
"configure:4
129
: checking for --with-libc=STRING"
>
&5
# Check whether --with-libc or --without-libc was given.
# Check whether --with-libc or --without-libc was given.
if
test
"
${
with_libc
+set
}
"
=
set
;
then
if
test
"
${
with_libc
+set
}
"
=
set
;
then
withval
=
"
$with_libc
"
withval
=
"
$with_libc
"
...
@@ -4111,12 +4149,12 @@ LIBS="$LIBS $LIBM"
...
@@ -4111,12 +4149,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
for
ac_func
in
hypot
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:41
15
: checking for
$ac_func
"
>
&5
echo
"configure:41
53
: checking for
$ac_func
"
>
&5
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 41
20
"configure"
#line 41
58
"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. */
...
@@ -4139,7 +4177,7 @@ $ac_func();
...
@@ -4139,7 +4177,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4166,12 +4204,12 @@ done
...
@@ -4166,12 +4204,12 @@ done
for
ac_func
in
hypot
for
ac_func
in
hypot
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
170
: checking for
$ac_func
"
>
&5
echo
"configure:4
208
: checking for
$ac_func
"
>
&5
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 4
175
"configure"
#line 4
213
"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. */
...
@@ -4194,7 +4232,7 @@ $ac_func();
...
@@ -4194,7 +4232,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
198
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
236
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4224,7 +4262,7 @@ LIBS=$LIBS_SAVE
...
@@ -4224,7 +4262,7 @@ LIBS=$LIBS_SAVE
# check for getopt
# check for getopt
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&6
echo
"configure:42
28
: checking for genuine getopt"
>
&5
echo
"configure:42
66
: checking for genuine getopt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4232,7 +4270,7 @@ else
...
@@ -4232,7 +4270,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 42
36
"configure"
#line 42
74
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
extern int optind, opterr, getopt();
extern int optind, opterr, getopt();
...
@@ -4244,7 +4282,7 @@ int main() {
...
@@ -4244,7 +4282,7 @@ int main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:42
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:42
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_func_getopt
=
yes
ac_cv_func_getopt
=
yes
else
else
...
@@ -4262,7 +4300,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
...
@@ -4262,7 +4300,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
# check whether malloc(0) returns NULL or not
# check whether malloc(0) returns NULL or not
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
"configure:4
266
: checking what malloc(0) returns"
>
&5
echo
"configure:4
304
: checking what malloc(0) returns"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4270,7 +4308,7 @@ else
...
@@ -4270,7 +4308,7 @@ else
{
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 4
274
"configure"
#line 4
312
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_STDLIB
#ifdef HAVE_STDLIB
...
@@ -4289,7 +4327,7 @@ main() {
...
@@ -4289,7 +4327,7 @@ main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:4
293
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
331
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_malloc_zero
=
nonnull
ac_cv_malloc_zero
=
nonnull
else
else
...
...
configure.in
View file @
7a5f420e
...
@@ -107,8 +107,40 @@ AC_ARG_WITH(gcc, [--without-gcc never use gcc], [
...
@@ -107,8 +107,40 @@ AC_ARG_WITH(gcc, [--without-gcc never use gcc], [
case $ac_sys_system in
case $ac_sys_system in
OSF1) CC=cc
OSF1) CC=cc
without_gcc=;;
without_gcc=;;
BeOS*) CC=cc
BeOS*)
without_gcc=;;
# Dunno if it's a good idea to get this over with all at once, or
# to handle it in with the other goodies.
MACHDEP=beos
case $BE_HOST_CPU in
ppc)
CC="mwcc -I$PWD/BeOS"
without_gcc=yes
OPT="-DUSE_DL_EXPORT -O7 -opt schedule604"
CCSHARED=-UUSE_DL_EXPORT
LDFLAGS="$LDFLAGS -nodup"
AR="$PWD/BeOS/ar-fake"
RANLIB=:
AC_DEFINE(DL_EXPORT_HEADER,"dl_export.h")
;;
x86)
CC="gcc -I$PWD/BeOS"
without_gcc=no
OPT="-DUSE_DL_EXPORT -O3 -mpentiumpro"
CCSHARED=-UUSE_DL_EXPORT
AR="$PWD/BeOS/ar-fake"
RANLIB=:
AC_DEFINE(DL_EXPORT_HEADER,"dl_export.h")
;;
*)
AC_ERROR(Your BeOS system isn't PowerPC or x86... neat, but this won't work...)
;;
esac
;;
*) without_gcc=no;;
*) without_gcc=no;;
esac])
esac])
AC_MSG_RESULT($without_gcc)
AC_MSG_RESULT($without_gcc)
...
...
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