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