Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ca6da613
Commit
ca6da613
authored
Jan 24, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have configure auto-detect more of the libraries, and shorten out
the ports section of Makefile.global as a result.
parent
de2003c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
356 additions
and
208 deletions
+356
-208
src/Makefile.global.in
src/Makefile.global.in
+23
-83
src/configure
src/configure
+323
-123
src/configure.in
src/configure.in
+10
-2
No files found.
src/Makefile.global.in
View file @
ca6da613
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.
4 1997/01/24 03:19:48
scrappy Exp $
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.
5 1997/01/24 03:57:14
scrappy Exp $
#
#
# NOTES
# NOTES
# Essentially all Postgres make files include this file and use the
# Essentially all Postgres make files include this file and use the
...
@@ -197,7 +197,7 @@ TK_LIB= -ltk4.1
...
@@ -197,7 +197,7 @@ TK_LIB= -ltk4.1
X11_INCDIR
=
/usr/include
X11_INCDIR
=
/usr/include
X11_LIBDIR
=
/usr/lib
X11_LIBDIR
=
/usr/lib
X11_LIB
=
-lX11
-lsocket
-lnsl
X11_LIB
=
-lX11
@SOCKET_LIB@ @NSL_LIB@
##############################################################################
##############################################################################
#
#
...
@@ -284,15 +284,13 @@ CC= @CC@
...
@@ -284,15 +284,13 @@ CC= @CC@
# LEX
# LEX
#
#
LEX
=
@LEX@
LEX
=
@LEX@
LD_ADD_BE
=
@LEXLIB@
LDADD_BE
=
@MATH_LIB@ @DL_LIB@ @LEXLIB@ @SOCKET_LIB@ @NSL_LIB@
#----------------------------------------------------------------------
#----------------------------------------------------------------------
ifeq
($(PORTNAME), BSD44_derived)
ifeq
($(PORTNAME), BSD44_derived)
# cc is gcc, but never mind about that...
# cc is gcc, but never mind about that...
INSTALL
=
/usr/bin/install
RANLIB
=
/usr/bin/ranlib
# FreeBSD 2.1R with new Flex v2.5.2 in /usr/local
# FreeBSD 2.1R with new Flex v2.5.2 in /usr/local
CFLAGS_SL
=
-fpic
-DPIC
CFLAGS_SL
=
-fpic
-DPIC
...
@@ -311,11 +309,9 @@ endif
...
@@ -311,11 +309,9 @@ endif
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
ifeq
($(PORTNAME), aix)
ifeq
($(PORTNAME), aix)
# might want to try installbsd instead
INSTALL
=
/usr/ucb/install
# the -lm is because "pow" is defined in libbsd.a and we want pow(3m)
# the -lm is because "pow" is defined in libbsd.a and we want pow(3m)
LDADD_BE
=
-lm
-lbsd
-ll
-lld
LDADD_BE
+=
-lbsd
-ll
-lld
# MAKE_EXPORTS is required for svr4 loaders that want a file of
# MAKE_EXPORTS is required for svr4 loaders that want a file of
# symbol names to tell them what to export/import.
# symbol names to tell them what to export/import.
...
@@ -348,7 +344,7 @@ $(POSTGRES_EXP):
...
@@ -348,7 +344,7 @@ $(POSTGRES_EXP):
@
echo
Making share library
$@
from
$*
.o,
$*$(EXPSUFF)
, and postgres.exp
@
echo
Making share library
$@
from
$*
.o,
$*$(EXPSUFF)
, and postgres.exp
$(LD)
-H512
-T512
-o
$@
-e
_nostart
\
$(LD)
-H512
-T512
-o
$@
-e
_nostart
\
-bI
:
$(POSTGRES_EXP)
-bE
:
$*$(EXPSUFF)
\
-bI
:
$(POSTGRES_EXP)
-bE
:
$*$(EXPSUFF)
\
$*
.o
-lm
-lc
2>/dev/null
$*
.o
@MATH_LIB@
-lc
2>/dev/null
endif
endif
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
...
@@ -365,7 +361,7 @@ CFLAGS_BE= -DNOFIXADE
...
@@ -365,7 +361,7 @@ CFLAGS_BE= -DNOFIXADE
else
else
CFLAGS_BE
=
-DNOPRINTADE
CFLAGS_BE
=
-DNOPRINTADE
endif
endif
LDADD_BE
=
-lln
LDADD_BE
+
=
-lln
# use the regex library
# use the regex library
USE_REGEX
=
1
USE_REGEX
=
1
...
@@ -393,7 +389,7 @@ endif
...
@@ -393,7 +389,7 @@ endif
ifeq
($(PRE_BSDI_2_1), false)
ifeq
($(PRE_BSDI_2_1), false)
# cc is gcc v1.42
# cc is gcc v1.42
# gcc is gcc v2.7.2
# gcc is gcc v2.7.2
LDADD_BE
=
-ltermcap
-ldl
LDADD_BE
+=
-ltermcap
ifeq
($(shell uname -r), 2.1)
ifeq
($(shell uname -r), 2.1)
LDADD_BE
+=
-lipc
LDADD_BE
+=
-lipc
endif
endif
...
@@ -403,7 +399,7 @@ else
...
@@ -403,7 +399,7 @@ else
# use the regex library
# use the regex library
USE_REGEX
=
1
USE_REGEX
=
1
CFLAGS_BE
=
-DPRE_BSDI_2_1
CFLAGS_BE
=
-DPRE_BSDI_2_1
LDADD_BE
=
-ldld
-lcompat
-lipc
LDADD_BE
+
=
-ldld
-lcompat
-lipc
endif
endif
DLSUFFIX
=
.o
DLSUFFIX
=
.o
...
@@ -417,12 +413,8 @@ CFLAGS_SL= -fpic
...
@@ -417,12 +413,8 @@ CFLAGS_SL= -fpic
%.so
:
%.o
%.so
:
%.o
$(CC)
-shared
-o
$@
$<
$(CC)
-shared
-o
$@
$<
LDADD_BE
=
-ldl
YACC
=
bison
-y
YACC
=
bison
-y
INSTALL
=
/usr/bin/X11/bsdinst
endif
endif
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
...
@@ -431,7 +423,7 @@ ifeq ($(PORTNAME), hpux)
...
@@ -431,7 +423,7 @@ ifeq ($(PORTNAME), hpux)
# -W l,-E export symbols for linking with the shared libraries
# -W l,-E export symbols for linking with the shared libraries
# dynamic loader
# dynamic loader
LDADD_BE
=
-lBSD
-ll
LDADD_BE
+
=
-lBSD
-ll
ifeq
$(CC), cc)
ifeq
$(CC), cc)
CFLAGS_BE
=
-W
l,-E
CFLAGS_BE
=
-W
l,-E
LDFLAGS_BE
=
-W
l,-E
LDFLAGS_BE
=
-W
l,-E
...
@@ -465,12 +457,6 @@ ifeq ($(CC), cc)
...
@@ -465,12 +457,6 @@ ifeq ($(CC), cc)
CFLAGS_BE
+=
-Ae
CFLAGS_BE
+=
-Ae
endif
endif
# This is a script from the MIT X11 distribution.
INSTALL
=
bsdinst
# RANLIB is not used on HP-UX
RANLIB
=
touch
CFLAGS_SL
=
+z
CFLAGS_SL
=
+z
DLSUFFIX
=
.sl
DLSUFFIX
=
.sl
...
@@ -487,21 +473,14 @@ endif
...
@@ -487,21 +473,14 @@ endif
ifeq
($(PORTNAME), i386_solaris)
ifeq
($(PORTNAME), i386_solaris)
# cc won't work!
# cc won't work!
# RANLIB is not used on solaris
#
RANLIB
=
touch
# Random things that must be passed everywhere to enable
# everything to compile. :-/
INSTALL
=
/usr/ucb/install
#
# The extra -I flag is to scoop up extra BSD-emulating headers.
#
# Random things that must be passed everywhere to enable
# everything to compile. :-/
#
# The extra -I flag is to scoop up extra BSD-emulating headers.
# This needs to be fixed. Things other than the backend should not be
# This needs to be fixed. Things other than the backend should not be
# accessing headers in the backend directory.
# accessing headers in the backend directory.
CFLAGS_BE
=
-I
$(SRCDIR)
/backend/port/sparc_solaris
CFLAGS_BE
=
-I
$(SRCDIR)
/backend/port/sparc_solaris
LDADD_BE
=
-lsocket
-lnsl
-ll
-ldl
LD_ADD
=
-lsocket
-lnsl
ifeq
($(CC), cc)
ifeq
($(CC), cc)
CFLAGS_SL
=
-K
PIC
CFLAGS_SL
=
-K
PIC
...
@@ -520,23 +499,11 @@ endif
...
@@ -520,23 +499,11 @@ endif
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
ifeq
($(PORTNAME), irix5)
ifeq
($(PORTNAME), irix5)
LDADD_BE
=
-ll
LDADD_BE
+
=
-ll
# RANLIB is not used on IRIX 5
# RANLIB is not used on IRIX 5
RANLIB
=
touch
RANLIB
=
touch
#If you have GNU install, by all means set CUSTOM_INSTALL to that in
#Makefile.custom. If you read the man page for /usr/bin/X11/bsdinst,
#you will see it is not intended for end user use. It chowns the files
#it installs to root.
INSTALL
=
/usr/bin/X11/bsdinst
IPCSDIR
=
/usr/sbin
INSTLOPTS
=
-m
444
INSTL_EXE_OPTS
=
-m
555
INSTL_LIB_OPTS
=
-m
664
%.so
:
%.o
%.so
:
%.o
$(LD)
-G
-Bdynamic
-o
$@
$<
$(LD_ADD)
$(LD)
-G
-Bdynamic
-o
$@
$<
$(LD_ADD)
...
@@ -550,10 +517,9 @@ endif
...
@@ -550,10 +517,9 @@ endif
ifeq
($(PORTNAME), linux)
ifeq
($(PORTNAME), linux)
ifndef
LINUX_ELF
ifndef
LINUX_ELF
DLSUFFIX
=
.o
DLSUFFIX
=
.o
LDADD_BE
=
-ldld
LDADD_BE
+
=
-ldld
else
else
DLSUFFIX
=
.so
DLSUFFIX
=
.so
LDADD_BE
=
-ldl
LDFLAGS_BE
=
-rdynamic
LDFLAGS_BE
=
-rdynamic
endif
endif
MK_NO_LORDER
=
true
MK_NO_LORDER
=
true
...
@@ -574,17 +540,13 @@ endif
...
@@ -574,17 +540,13 @@ endif
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
ifeq
($(PORTNAME), sunos4)
ifeq
($(PORTNAME), sunos4)
# cc won't work!
INSTALL
=
/usr/bin/install
RANLIB
=
/usr/bin/ranlib
ifeq
($(CC), cc)
ifeq
($(CC), cc)
CFLAGS_SL
=
-PIC
CFLAGS_SL
=
-PIC
else
else
CFLAGS_SL
=
-fPIC
CFLAGS_SL
=
-fPIC
endif
endif
LDADD_BE
=
-lln
-ldl
LDADD_BE
+=
-lln
%.so
:
%.o
%.so
:
%.o
$(LD)
-dc
-dp
-Bdynamic
-o
$@
$<
$(LD)
-dc
-dp
-Bdynamic
-o
$@
$<
...
@@ -593,23 +555,12 @@ endif
...
@@ -593,23 +555,12 @@ endif
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
ifeq
($(PORTNAME), sparc_solaris)
ifeq
($(PORTNAME), sparc_solaris)
# cc won't work!
LDADD_BE
=
-lsocket
-lnsl
-ll
-ldl
LD_ADD
=
-lsocket
-lnsl
# RANLIB is not used on solaris
RANLIB
=
touch
INSTALL
=
/usr/ucb/install
#
#
# Random things that must be passed everywhere to enable
# Random things that must be passed everywhere to enable
# everything to compile. :-/
# everything to compile. :-/
#
#
# The extra -I flag is to scoop up extra BSD-emulating headers.
# The extra -I flag is to scoop up extra BSD-emulating headers.
CFLAGS_BE
=
-I
$(SRCDIR)
/backend/port/sparc_solaris
CFLAGS_BE
=
-I
$(SRCDIR)
/backend/port/sparc_solaris
LDADD_BE
+=
-lsocket
-lnsl
ifeq
($(CC), cc)
ifeq
($(CC), cc)
CFLAGS_SL
=
-K
PIC
CFLAGS_SL
=
-K
PIC
...
@@ -635,19 +586,13 @@ YACC= bison -y
...
@@ -635,19 +586,13 @@ YACC= bison -y
# symbol names to tell them what to export/import.
# symbol names to tell them what to export/import.
MAKE_EXPORTS
=
true
MAKE_EXPORTS
=
true
# RANLIB is not used on svr4
RANLIB
=
touch
# GNU install
INSTALL
=
/home/tools/bin/install
#
#
# Random things that must be passed everywhere to enable
# Random things that must be passed everywhere to enable
# everything to compile. :-/
# everything to compile. :-/
#
#
# The extra -I flag is to scoop up extra BSD-emulating headers.
# The extra -I flag is to scoop up extra BSD-emulating headers.
CFLAGS_BE
+=
-I
$(SRCDIR)
/backend/port/svr4
CFLAGS_BE
+=
-I
$(SRCDIR)
/backend/port/svr4
LDADD_BE
=
-lsocket
-lnsl
-lc
/usr/ucblib/libucb.a
-ll
-ldl
LDADD_BE
+=
-lc
/usr/ucblib/libucb.a
LDFLAGS_BE
=
-LD-Blargedynsym
LDFLAGS_BE
=
-LD-Blargedynsym
%.so
:
%.o
%.so
:
%.o
...
@@ -663,14 +608,11 @@ ifeq ($(PORTNAME), ultrix4)
...
@@ -663,14 +608,11 @@ ifeq ($(PORTNAME), ultrix4)
ifdef
ENFORCE_ALIGNMENT
ifdef
ENFORCE_ALIGNMENT
CFLAGS_BE
=
-DNOFIXADE
CFLAGS_BE
=
-DNOFIXADE
endif
endif
LDADD_BE
=
-ldl
-lln
LDADD_BE
+=
-lln
# install creates intermediate directories
# install creates intermediate directories
NO_BEFOREINSTL
=
true
NO_BEFOREINSTL
=
true
INSTALL
=
/usr/bin/install
RANLIB
=
/usr/bin/ranlib
CFLAGS_SL
=
-G
0
CFLAGS_SL
=
-G
0
DLSUFFIX
=
.o
DLSUFFIX
=
.o
...
@@ -687,9 +629,7 @@ endif
...
@@ -687,9 +629,7 @@ endif
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
# All others need -lm
# All others need -lm
ifneq
($(PORTNAME), nextstep)
LD_ADD
+=
@MATH_LIB@
LD_ADD
+=
-lm
endif
# This goes here so that customization in Makefile.custom is effective
# This goes here so that customization in Makefile.custom is effective
##############################################################################
##############################################################################
...
...
src/configure
View file @
ca6da613
...
@@ -518,12 +518,64 @@ else
...
@@ -518,12 +518,64 @@ else
fi
fi
ac_aux_dir
=
for
ac_dir
in
$srcdir
$srcdir
/..
$srcdir
/../..
;
do
if
test
-f
$ac_dir
/install-sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
$ac_dir
/install.sh
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
{
echo
"configure: error: can not find install-sh or install.sh in
$srcdir
$srcdir
/..
$srcdir
/../.."
1>&2
;
exit
1
;
}
fi
ac_config_guess
=
$ac_aux_dir
/config.guess
ac_config_sub
=
$ac_aux_dir
/config.sub
ac_configure
=
$ac_aux_dir
/configure
# This should be Cygnus configure.
# Make sure we can run config.sub.
if
$ac_config_sub
sun4
>
/dev/null 2>&1
;
then
:
else
{
echo
"configure: error: can not run
$ac_config_sub
"
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:548: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
NONE
)
case
$nonopt
in
NONE
)
if
host_alias
=
`
$ac_config_guess
`
;
then
:
else
{
echo
"configure: error: can not guess host type; you must specify one"
1>&2
;
exit
1
;
}
fi
;;
*
)
host_alias
=
$nonopt
;;
esac
;;
esac
host
=
`
$ac_config_sub
$host_alias
`
host_cpu
=
`
echo
$host
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
`
host_vendor
=
`
echo
$host
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'
`
host_os
=
`
echo
$host
|
sed
's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'
`
echo
"
$ac_t
""
$host
"
1>&6
case
"
$host_os
"
in
freebsd
*
)
PORTNAME
=
'BSD44_derived'
;;
*
)
PORTNAME
=
'UNDEFINED'
;;
esac
# 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:5
27
: checking for
$ac_word
"
>
&5
echo
"configure:5
79
: 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
...
@@ -552,7 +604,7 @@ if test -z "$CC"; then
...
@@ -552,7 +604,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:
556
: checking for
$ac_word
"
>
&5
echo
"configure:
608
: 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
...
@@ -600,7 +652,7 @@ fi
...
@@ -600,7 +652,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:6
04
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
56
: 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.
...
@@ -610,11 +662,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
...
@@ -610,11 +662,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
14
"configure"
#line 6
66
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:6
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:6
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -634,12 +686,12 @@ if test $ac_cv_prog_cc_works = no; then
...
@@ -634,12 +686,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:6
38
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:6
90
: 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:6
43
: checking whether we are using GNU C"
>
&5
echo
"configure:6
95
: 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
...
@@ -648,7 +700,7 @@ else
...
@@ -648,7 +700,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
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
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:
704
:
\"
$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
...
@@ -663,7 +715,7 @@ if test $ac_cv_prog_gcc = yes; then
...
@@ -663,7 +715,7 @@ if test $ac_cv_prog_gcc = yes; then
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:
667
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:
719
: 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
...
@@ -691,7 +743,7 @@ else
...
@@ -691,7 +743,7 @@ else
fi
fi
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:
695
: checking how to run the C preprocessor"
>
&5
echo
"configure:
747
: 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
=
...
@@ -706,13 +758,13 @@ else
...
@@ -706,13 +758,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 7
10
"configure"
#line 7
62
"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:7
16
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
68
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -723,13 +775,13 @@ else
...
@@ -723,13 +775,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 7
27
"configure"
#line 7
79
"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:7
33
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
85
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
:
:
...
@@ -756,7 +808,7 @@ do
...
@@ -756,7 +808,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:
760
: checking for
$ac_word
"
>
&5
echo
"configure:
812
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -787,7 +839,7 @@ test -n "$CXX" || CXX="gcc"
...
@@ -787,7 +839,7 @@ test -n "$CXX" || CXX="gcc"
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:
791
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:
843
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
C
ac_ext
=
C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
@@ -797,11 +849,11 @@ ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $L
...
@@ -797,11 +849,11 @@ ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $L
cross_compiling
=
$ac_cv_prog_cxx_cross
cross_compiling
=
$ac_cv_prog_cxx_cross
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
01
"configure"
#line 8
53
"configure"
#include "confdefs.h"
#include "confdefs.h"
main(){return(0);}
main(){return(0);}
EOF
EOF
if
{
(
eval echo
configure:8
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:8
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_cv_prog_cxx_works
=
yes
ac_cv_prog_cxx_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
...
@@ -827,12 +879,12 @@ if test $ac_cv_prog_cxx_works = no; then
...
@@ -827,12 +879,12 @@ if test $ac_cv_prog_cxx_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 (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:8
31
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:8
83
: checking whether the C++ compiler (
$CXX
$CXXFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cxx_cross
"
1>&6
echo
"
$ac_t
""
$ac_cv_prog_cxx_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cxx_cross
cross_compiling
=
$ac_cv_prog_cxx_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
36
: checking whether we are using GNU C++"
>
&5
echo
"configure:8
88
: checking whether we are using GNU C++"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gxx
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gxx
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -841,7 +893,7 @@ else
...
@@ -841,7 +893,7 @@ else
yes;
yes;
#endif
#endif
EOF
EOF
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:8
45
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:8
97
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gxx
=
yes
ac_cv_prog_gxx
=
yes
else
else
ac_cv_prog_gxx
=
no
ac_cv_prog_gxx
=
no
...
@@ -856,7 +908,7 @@ if test $ac_cv_prog_gxx = yes; then
...
@@ -856,7 +908,7 @@ if test $ac_cv_prog_gxx = yes; then
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
CXXFLAGS
=
CXXFLAGS
=
echo
$ac_n
"checking whether
${
CXX
-g++
}
accepts -g""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CXX
-g++
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:
860
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
echo
"configure:
912
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cxx_g
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cxx_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -893,7 +945,7 @@ fi
...
@@ -893,7 +945,7 @@ fi
# Extract the first word of "install", so it can be a program name with args.
# Extract the first word of "install", so it can be a program name with args.
set
dummy
install
;
ac_word
=
$2
set
dummy
install
;
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:
897
: checking for
$ac_word
"
>
&5
echo
"configure:
949
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_INSTALL
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_INSTALL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -925,7 +977,7 @@ fi
...
@@ -925,7 +977,7 @@ fi
# Extract the first word of "bsdinst", so it can be a program name with args.
# Extract the first word of "bsdinst", so it can be a program name with args.
set
dummy bsdinst
;
ac_word
=
$2
set
dummy bsdinst
;
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
29
: checking for
$ac_word
"
>
&5
echo
"configure:9
81
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_BSDINST
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_BSDINST
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -988,7 +1040,7 @@ fi
...
@@ -988,7 +1040,7 @@ fi
# Extract the first word of "flex", so it can be a program name with args.
# Extract the first word of "flex", so it can be a program name with args.
set
dummy flex
;
ac_word
=
$2
set
dummy flex
;
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:
992
: checking for
$ac_word
"
>
&5
echo
"configure:
1044
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1021,7 +1073,7 @@ then
...
@@ -1021,7 +1073,7 @@ then
*
)
ac_lib
=
l
;;
*
)
ac_lib
=
l
;;
esac
esac
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
"configure:10
25
: checking for yywrap in -l
$ac_lib
"
>
&5
echo
"configure:10
77
: checking for yywrap in -l
$ac_lib
"
>
&5
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap |
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
...
@@ -1029,7 +1081,7 @@ else
...
@@ -1029,7 +1081,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 10
33
"configure"
#line 10
85
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -1040,7 +1092,7 @@ int main() {
...
@@ -1040,7 +1092,7 @@ int main() {
yywrap()
yywrap()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:10
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:10
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -1063,7 +1115,7 @@ fi
...
@@ -1063,7 +1115,7 @@ fi
fi
fi
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:1
067
: checking whether ln -s works"
>
&5
echo
"configure:1
119
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1084,7 +1136,7 @@ else
...
@@ -1084,7 +1136,7 @@ else
fi
fi
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:1
088
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:1
140
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
|
sed
'y%./+-%__p_%'
`
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
|
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -1113,7 +1165,7 @@ fi
...
@@ -1113,7 +1165,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:11
17
: checking for
$ac_word
"
>
&5
echo
"configure:11
69
: 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
...
@@ -1142,7 +1194,7 @@ fi
...
@@ -1142,7 +1194,7 @@ fi
# Extract the first word of "find", so it can be a program name with args.
# Extract the first word of "find", so it can be a program name with args.
set
dummy find
;
ac_word
=
$2
set
dummy find
;
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:11
46
: checking for
$ac_word
"
>
&5
echo
"configure:11
98
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_find
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_find
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1173,7 +1225,7 @@ fi
...
@@ -1173,7 +1225,7 @@ fi
# Extract the first word of "tar", so it can be a program name with args.
# Extract the first word of "tar", so it can be a program name with args.
set
dummy
tar
;
ac_word
=
$2
set
dummy
tar
;
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:1
177
: checking for
$ac_word
"
>
&5
echo
"configure:1
229
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_tar
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_tar
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1204,7 +1256,7 @@ fi
...
@@ -1204,7 +1256,7 @@ fi
# Extract the first word of "split", so it can be a program name with args.
# Extract the first word of "split", so it can be a program name with args.
set
dummy
split
;
ac_word
=
$2
set
dummy
split
;
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:12
08
: checking for
$ac_word
"
>
&5
echo
"configure:12
60
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_split
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_split
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1235,7 +1287,7 @@ fi
...
@@ -1235,7 +1287,7 @@ fi
# Extract the first word of "etags", so it can be a program name with args.
# Extract the first word of "etags", so it can be a program name with args.
set
dummy etags
;
ac_word
=
$2
set
dummy etags
;
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:12
39
: checking for
$ac_word
"
>
&5
echo
"configure:12
91
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_etags
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_etags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1266,7 +1318,7 @@ fi
...
@@ -1266,7 +1318,7 @@ fi
# Extract the first word of "xargs", so it can be a program name with args.
# Extract the first word of "xargs", so it can be a program name with args.
set
dummy xargs
;
ac_word
=
$2
set
dummy xargs
;
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:1
270
: checking for
$ac_word
"
>
&5
echo
"configure:1
322
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_xargs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_xargs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1297,7 +1349,7 @@ fi
...
@@ -1297,7 +1349,7 @@ fi
# Extract the first word of "ipcs", so it can be a program name with args.
# Extract the first word of "ipcs", so it can be a program name with args.
set
dummy ipcs
;
ac_word
=
$2
set
dummy ipcs
;
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:13
01
: checking for
$ac_word
"
>
&5
echo
"configure:13
53
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1328,7 +1380,7 @@ fi
...
@@ -1328,7 +1380,7 @@ fi
# Extract the first word of "ipcrm", so it can be a program name with args.
# Extract the first word of "ipcrm", so it can be a program name with args.
set
dummy ipcrm
;
ac_word
=
$2
set
dummy ipcrm
;
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:13
32
: checking for
$ac_word
"
>
&5
echo
"configure:13
84
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcrm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcrm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -1357,27 +1409,23 @@ else
...
@@ -1357,27 +1409,23 @@ else
fi
fi
echo
$ac_n
"checking for
readline
in -lreadline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
main
in -lreadline""...
$ac_c
"
1>&6
echo
"configure:1
362: checking for readline
in -lreadline"
>
&5
echo
"configure:1
414: checking for main
in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
readline
|
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
readline
'_'
main
|
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
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
LIBS
=
"-lreadline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
370
"configure"
#line 1
422
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char readline();
int main() {
int main() {
readline
()
main
()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
381
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
429
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -1398,27 +1446,23 @@ else
...
@@ -1398,27 +1446,23 @@ else
fi
fi
echo
$ac_n
"checking for
history
in -lhistory""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
main
in -lhistory""...
$ac_c
"
1>&6
echo
"configure:14
03: checking for history
in -lhistory"
>
&5
echo
"configure:14
51: checking for main
in -lhistory"
>
&5
ac_lib_var
=
`
echo history
'_'
history
|
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo history
'_'
main
|
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
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
11
"configure"
#line 14
59
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char history();
int main() {
int main() {
history
()
main
()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:14
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -1440,7 +1484,7 @@ fi
...
@@ -1440,7 +1484,7 @@ fi
echo
$ac_n
"checking for main in -lcurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lcurses""...
$ac_c
"
1>&6
echo
"configure:14
44
: checking for main in -lcurses"
>
&5
echo
"configure:14
88
: checking for main in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
curses
'_'
main |
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
...
@@ -1448,14 +1492,14 @@ else
...
@@ -1448,14 +1492,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
52
"configure"
#line 14
96
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
459
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
503
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -1477,7 +1521,7 @@ fi
...
@@ -1477,7 +1521,7 @@ fi
echo
$ac_n
"checking for main in -ltermcap""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -ltermcap""...
$ac_c
"
1>&6
echo
"configure:1
481
: checking for main in -ltermcap"
>
&5
echo
"configure:1
525
: checking for main in -ltermcap"
>
&5
ac_lib_var
=
`
echo
termcap
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
termcap
'_'
main |
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
...
@@ -1485,14 +1529,14 @@ else
...
@@ -1485,14 +1529,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
489
"configure"
#line 1
533
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
496
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:1
540
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
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
...
@@ -1513,14 +1557,162 @@ else
...
@@ -1513,14 +1557,162 @@ else
fi
fi
echo
$ac_n
"checking for main in -lm""...
$ac_c
"
1>&6
echo
"configure:1562: checking for main in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
main |
sed
'y%./+-%__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
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1570 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:1577:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
MATH_LIB
=
'-lm'
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:1599: checking for main in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
main |
sed
'y%./+-%__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 1607 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:1614:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
DL_LIB
=
'-ldl'
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
"configure:1636: checking for main in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
main |
sed
'y%./+-%__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
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1644 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:1651:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
SOCKET_LIB
=
'-lsocket'
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
"configure:1673: checking for main in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
main |
sed
'y%./+-%__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 1681 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:1688:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
NSL_LIB
=
'-lnsl'
else
echo
"
$ac_t
""no"
1>&6
fi
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:1
519
: checking for ANSI C header files"
>
&5
echo
"configure:1
711
: 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 1
524
"configure"
#line 1
716
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -1528,7 +1720,7 @@ else
...
@@ -1528,7 +1720,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:1
532
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
724
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1545,7 +1737,7 @@ rm -f conftest*
...
@@ -1545,7 +1737,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 1
549
"configure"
#line 1
741
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -1563,7 +1755,7 @@ fi
...
@@ -1563,7 +1755,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
567
"configure"
#line 1
759
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -1584,7 +1776,7 @@ if test "$cross_compiling" = yes; then
...
@@ -1584,7 +1776,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
588
"configure"
#line 1
780
"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')
...
@@ -1595,7 +1787,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -1595,7 +1787,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:1
599
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:1
791
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -1619,12 +1811,12 @@ EOF
...
@@ -1619,12 +1811,12 @@ EOF
fi
fi
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
"configure:1
623
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
echo
"configure:1
815
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+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
628
"configure"
#line 1
820
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/wait.h>
...
@@ -1640,7 +1832,7 @@ wait (&s);
...
@@ -1640,7 +1832,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
644
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
836
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_sys_wait_h
=
yes
ac_cv_header_sys_wait_h
=
yes
else
else
...
@@ -1664,17 +1856,17 @@ for ac_hdr in fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.h
...
@@ -1664,17 +1856,17 @@ for ac_hdr in fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.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:1
668
: checking for
$ac_hdr
"
>
&5
echo
"configure:1
860
: 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 1
673
"configure"
#line 1
865
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
678
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
870
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1704,17 +1896,17 @@ for ac_hdr in termios.h values.h
...
@@ -1704,17 +1896,17 @@ for ac_hdr in termios.h values.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:1
708
: checking for
$ac_hdr
"
>
&5
echo
"configure:1
900
: 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 1
713
"configure"
#line 1
905
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:1
718
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:1
910
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -1742,12 +1934,12 @@ done
...
@@ -1742,12 +1934,12 @@ done
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:1
746
: checking for working const"
>
&5
echo
"configure:1
938
: 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 1
751
"configure"
#line 1
943
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -1796,7 +1988,7 @@ ccp = (char const *const *) p;
...
@@ -1796,7 +1988,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:1
800
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1
992
:
\"
$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
...
@@ -1817,12 +2009,12 @@ EOF
...
@@ -1817,12 +2009,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:
1821
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:
2013
: 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
1826
"configure"
#line
2018
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
EOF
EOF
...
@@ -1851,21 +2043,21 @@ EOF
...
@@ -1851,21 +2043,21 @@ EOF
fi
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:
1855
: checking for inline"
>
&5
echo
"configure:
2047
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_cv_c_inline
=
no
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
1862
"configure"
#line
2054
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
}
$ac_kw
foo() {
}
$ac_kw
foo() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
1869
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
2061
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
ac_cv_c_inline
=
$ac_kw
;
break
else
else
...
@@ -1891,12 +2083,12 @@ EOF
...
@@ -1891,12 +2083,12 @@ EOF
esac
esac
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:
1895
: checking for mode_t"
>
&5
echo
"configure:
2087
: 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
1900
"configure"
#line
2092
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1924,12 +2116,12 @@ EOF
...
@@ -1924,12 +2116,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:
1928
: checking for off_t"
>
&5
echo
"configure:
2120
: 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
1933
"configure"
#line
2125
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1957,12 +2149,12 @@ EOF
...
@@ -1957,12 +2149,12 @@ EOF
fi
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:
1961
: checking for size_t"
>
&5
echo
"configure:
2153
: 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
1966
"configure"
#line
2158
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -1990,12 +2182,12 @@ EOF
...
@@ -1990,12 +2182,12 @@ EOF
fi
fi
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:
1994
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:
2186
: 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
1999
"configure"
#line
2191
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -2004,7 +2196,7 @@ int main() {
...
@@ -2004,7 +2196,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
008
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
200
:
\"
$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
...
@@ -2025,12 +2217,12 @@ EOF
...
@@ -2025,12 +2217,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:2
029
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:2
221
: 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 2
034
"configure"
#line 2
226
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -2038,7 +2230,7 @@ int main() {
...
@@ -2038,7 +2230,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:2
042
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
234
:
\"
$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
...
@@ -2061,13 +2253,13 @@ fi
...
@@ -2061,13 +2253,13 @@ fi
if
test
$ac_cv_prog_gcc
=
yes
;
then
if
test
$ac_cv_prog_gcc
=
yes
;
then
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
"configure:2
065
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
echo
"configure:2
257
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_pattern
=
"Autoconf.*'x'"
ac_pattern
=
"Autoconf.*'x'"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
071
"configure"
#line 2
263
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sgtty.h>
#include <sgtty.h>
Autoconf TIOCGETP
Autoconf TIOCGETP
...
@@ -2085,7 +2277,7 @@ rm -f conftest*
...
@@ -2085,7 +2277,7 @@ rm -f conftest*
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
089
"configure"
#line 2
281
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <termio.h>
#include <termio.h>
Autoconf TCGETA
Autoconf TCGETA
...
@@ -2107,7 +2299,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
...
@@ -2107,7 +2299,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
fi
fi
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:2
111
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:2
303
: checking for 8-bit clean memcmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -2115,7 +2307,7 @@ else
...
@@ -2115,7 +2307,7 @@ else
ac_cv_func_memcmp_clean
=
no
ac_cv_func_memcmp_clean
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
119
"configure"
#line 2
311
"configure"
#include "confdefs.h"
#include "confdefs.h"
main()
main()
...
@@ -2125,7 +2317,7 @@ main()
...
@@ -2125,7 +2317,7 @@ main()
}
}
EOF
EOF
if
{
(
eval echo
configure:2
129
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:2
321
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_func_memcmp_clean
=
yes
ac_cv_func_memcmp_clean
=
yes
else
else
...
@@ -2143,12 +2335,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
...
@@ -2143,12 +2335,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.o"
test
$ac_cv_func_memcmp_clean
=
no
&&
LIBOBJS
=
"
$LIBOBJS
memcmp.o"
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:2
147
: checking return type of signal handlers"
>
&5
echo
"configure:2
339
: 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 2
152
"configure"
#line 2
344
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
@@ -2165,7 +2357,7 @@ int main() {
...
@@ -2165,7 +2357,7 @@ int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
169
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
361
:
\"
$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
...
@@ -2184,12 +2376,12 @@ EOF
...
@@ -2184,12 +2376,12 @@ EOF
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:2
188
: checking for vprintf"
>
&5
echo
"configure:2
380
: checking for vprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+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
193
"configure"
#line 2
385
"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 vprintf(); below. */
which can conflict with char vprintf(); below. */
...
@@ -2212,7 +2404,7 @@ vprintf();
...
@@ -2212,7 +2404,7 @@ vprintf();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
216
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
408
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
eval
"ac_cv_func_vprintf=yes"
else
else
...
@@ -2236,12 +2428,12 @@ fi
...
@@ -2236,12 +2428,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:2
240
: checking for _doprnt"
>
&5
echo
"configure:2
432
: checking for _doprnt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+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
245
"configure"
#line 2
437
"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 _doprnt(); below. */
which can conflict with char _doprnt(); below. */
...
@@ -2264,7 +2456,7 @@ _doprnt();
...
@@ -2264,7 +2456,7 @@ _doprnt();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
268
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
460
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
eval
"ac_cv_func__doprnt=yes"
else
else
...
@@ -2291,12 +2483,12 @@ fi
...
@@ -2291,12 +2483,12 @@ fi
for
ac_func
in
ftime getcwd gethostname gettimeofday putenv regcomp
select
socket strcspn strdup strerror strftime strspn strtod strtol
for
ac_func
in
ftime getcwd gethostname gettimeofday putenv regcomp
select
socket strcspn strdup strerror strftime strspn strtod strtol
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:2
295
: checking for
$ac_func
"
>
&5
echo
"configure:2
487
: 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 2
300
"configure"
#line 2
492
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -2319,7 +2511,7 @@ $ac_func();
...
@@ -2319,7 +2511,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
323
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
515
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -2346,12 +2538,12 @@ done
...
@@ -2346,12 +2538,12 @@ done
for
ac_func
in
isinf tzset cbrt
for
ac_func
in
isinf tzset cbrt
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:2
350
: checking for
$ac_func
"
>
&5
echo
"configure:2
542
: 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 2
355
"configure"
#line 2
547
"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. */
...
@@ -2374,7 +2566,7 @@ $ac_func();
...
@@ -2374,7 +2566,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
378
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
570
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -2399,8 +2591,6 @@ fi
...
@@ -2399,8 +2591,6 @@ fi
done
done
#AC_OUTPUT(backend/optimizer/path/Makefile libpq++/man/Makefile backend/port/sparc_solaris/Makefile backend/utils/misc/Makefile backend/port/ultrix4/Makefile bin/psql/Makefile backend/utils/init/Makefile tutorial/C-code/Makefile test/examples/Makefile backend/utils/adt/Makefile bin/destroyuser/Makefile Makefile tutorial/Makefile bin/pg_dump/Makefile bin/cleardbdir/Makefile backend/optimizer/plan/Makefile backend/access/heap/Makefile backend/storage/page/Makefile backend/port/svr4/Makefile backend/optimizer/Makefile backend/utils/hash/Makefile backend/storage/large_object/Makefile backend/access/hash/Makefile test/Makefile backend/optimizer/prep/Makefile bin/initdb/Makefile bin/pg_version/Makefile bin/ipcclean/Makefile bin/pg4_dump/Makefile backend/postmaster/Makefile backend/access/Makefile test/regress/Makefile backend/storage/Makefile backend/port/bsdi/Makefile libpq++/Makefile backend/lib/Makefile backend/libpq/Makefile backend/access/gist/Makefile backend/nodes/Makefile libpgtcl/Makefile libpq/Makefile bin/destroydb/Makefile backend/access/nbtree/Makefile bin/Makefile bin/createuser/Makefile backend/port/Makefile backend/port/irix5/Makefile backend/utils/sort/Makefile backend/utils/error/Makefile backend/utils/time/Makefile backend/Makefile backend/utils/Makefile backend/commands/Makefile bin/pg_id/Makefile backend/tioga/Makefile backend/utils/cache/Makefile backend/port/aix/Makefile backend/storage/lmgr/Makefile test/bench/Makefile bin/monitor/Makefile backend/access/index/Makefile backend/port/hpux/Makefile utils/Makefile backend/port/i386_solaris/Makefile backend/catalog/Makefile backend/storage/smgr/Makefile backend/bootstrap/Makefile backend/storage/buffer/Makefile backend/storage/ipc/Makefile backend/rewrite/Makefile backend/access/rtree/Makefile backend/port/linux/Makefile backend/storage/file/Makefile man/Makefile libpq++/examples/Makefile backend/main/Makefile bin/pgtclsh/Makefile backend/access/common/Makefile bin/createdb/Makefile backend/port/dgux/Makefile backend/utils/fmgr/Makefile backend/parser/Makefile backend/port/sparc/Makefile backend/executor/Makefile backend/optimizer/util/Makefile tools/mkldexport/Makefile backend/utils/mmgr/Makefile backend/tcop/Makefile backend/port/BSD44_derived/Makefile backend/access/transam/Makefile backend/port/alpha/Makefile backend/regex/Makefile)
trap
''
1 2 15
trap
''
1 2 15
cat
>
confcache
<<
\
EOF
cat
>
confcache
<<
\
EOF
# This file is a shell script that caches the results of configure
# This file is a shell script that caches the results of configure
...
@@ -2531,6 +2721,12 @@ s%@includedir@%$includedir%g
...
@@ -2531,6 +2721,12 @@ s%@includedir@%$includedir%g
s%@oldincludedir@%
$oldincludedir
%g
s%@oldincludedir@%
$oldincludedir
%g
s%@infodir@%
$infodir
%g
s%@infodir@%
$infodir
%g
s%@mandir@%
$mandir
%g
s%@mandir@%
$mandir
%g
s%@host@%
$host
%g
s%@host_alias@%
$host_alias
%g
s%@host_cpu@%
$host_cpu
%g
s%@host_vendor@%
$host_vendor
%g
s%@host_os@%
$host_os
%g
s%@PORTNAME@%
$PORTNAME
%g
s%@CC@%
$CC
%g
s%@CC@%
$CC
%g
s%@CPP@%
$CPP
%g
s%@CPP@%
$CPP
%g
s%@CXX@%
$CXX
%g
s%@CXX@%
$CXX
%g
...
@@ -2558,6 +2754,10 @@ s%@READLINE_LIB@%$READLINE_LIB%g
...
@@ -2558,6 +2754,10 @@ s%@READLINE_LIB@%$READLINE_LIB%g
s%@HISTORY_LIB@%
$HISTORY_LIB
%g
s%@HISTORY_LIB@%
$HISTORY_LIB
%g
s%@CURSES_LIB@%
$CURSES_LIB
%g
s%@CURSES_LIB@%
$CURSES_LIB
%g
s%@TERMCAP_LIB@%
$TERMCAP_LIB
%g
s%@TERMCAP_LIB@%
$TERMCAP_LIB
%g
s%@MATH_LIB@%
$MATH_LIB
%g
s%@DL_LIB@%
$DL_LIB
%g
s%@SOCKET_LIB@%
$SOCKET_LIB
%g
s%@NSL_LIB@%
$NSL_LIB
%g
s%@LIBOBJS@%
$LIBOBJS
%g
s%@LIBOBJS@%
$LIBOBJS
%g
CEOF
CEOF
...
...
src/configure.in
View file @
ca6da613
...
@@ -75,14 +75,22 @@ dnl if the library readline is present,
...
@@ -75,14 +75,22 @@ dnl if the library readline is present,
dnl set the shell variable USE_READLINE
dnl set the shell variable USE_READLINE
dnl to have the value USE_READLINE=true
dnl to have the value USE_READLINE=true
dnl and substitute it into the makefiles
dnl and substitute it into the makefiles
AC_CHECK_LIB(readline,
readline
, READLINE_LIB='-lreadline')
AC_CHECK_LIB(readline,
main
, READLINE_LIB='-lreadline')
AC_SUBST(READLINE_LIB)
AC_SUBST(READLINE_LIB)
AC_CHECK_LIB(history,
history
, HISTORY_LIB='-lhistory')
AC_CHECK_LIB(history,
main
, HISTORY_LIB='-lhistory')
AC_SUBST(HISTORY_LIB)
AC_SUBST(HISTORY_LIB)
AC_CHECK_LIB(curses, main, CURSES_LIB='-lcurses')
AC_CHECK_LIB(curses, main, CURSES_LIB='-lcurses')
AC_SUBST(CURSES_LIB)
AC_SUBST(CURSES_LIB)
AC_CHECK_LIB(termcap, main, TERMCAP_LIB='-ltermcap')
AC_CHECK_LIB(termcap, main, TERMCAP_LIB='-ltermcap')
AC_SUBST(TERMCAP_LIB)
AC_SUBST(TERMCAP_LIB)
AC_CHECK_LIB(m, main, MATH_LIB='-lm')
AC_SUBST(MATH_LIB)
AC_CHECK_LIB(dl, main, DL_LIB='-ldl')
AC_SUBST(DL_LIB)
AC_CHECK_LIB(socket, main, SOCKET_LIB='-lsocket')
AC_SUBST(SOCKET_LIB)
AC_CHECK_LIB(nsl, main, NSL_LIB='-lnsl')
AC_SUBST(NSL_LIB)
dnl Checks for header files.
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDC
...
...
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