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
321d42c6
Commit
321d42c6
authored
Feb 06, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change ordering of libraries
parent
e9e86aa5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
188 additions
and
206 deletions
+188
-206
src/configure
src/configure
+185
-194
src/configure.in
src/configure.in
+3
-12
No files found.
src/configure
View file @
321d42c6
...
...
@@ -580,15 +580,6 @@ freebsd*) PORTNAME='BSD44_derived' ;;
echo
"configure does not currently recognize your operating system,"
echo
"therefore you must do a manual configuration of:"
echo
""
echo
" Makefile.global"
echo
" include/config.h"
echo
""
echo
"Currently recognized operating systems:"
echo
""
echo
" FreeBSD v3.0 and v2.2"
echo
" Solaris v2.5 under Sparc"
echo
" RedHat v3.0"
echo
""
echo
"Please contact scrappy@hub.org to see about rectifying this, "
echo
"including the above 'checking host system type...' line "
echo
"*************************************************************"
...
...
@@ -604,7 +595,7 @@ esac
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:
608
: checking for
$ac_word
"
>
&5
echo
"configure:
599
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -633,7 +624,7 @@ 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
echo
"configure:6
37
: checking for
$ac_word
"
>
&5
echo
"configure:6
28
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -681,7 +672,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:6
85
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:6
76
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -691,11 +682,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
95
"configure"
#line 6
86
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:69
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:69
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -715,12 +706,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
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:71
9
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:71
0
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:7
24
: checking whether we are using GNU C"
>
&5
echo
"configure:7
15
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -729,7 +720,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:7
33
:
\"
$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:7
24
:
\"
$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
...
...
@@ -744,7 +735,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:7
48
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:7
39
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -772,7 +763,7 @@ else
fi
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:7
76
: checking how to run the C preprocessor"
>
&5
echo
"configure:7
67
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -787,13 +778,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 7
91
"configure"
#line 7
82
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:7
97
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
88
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -804,13 +795,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line
808
"configure"
#line
799
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:8
14
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:8
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -839,7 +830,7 @@ HAVECXX='HAVE_Cplusplus=false'
# Extract the first word of "install", so it can be a program name with args.
set
dummy
install
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:8
43
: checking for
$ac_word
"
>
&5
echo
"configure:8
34
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_INSTALL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -871,7 +862,7 @@ fi
# Extract the first word of "bsdinst", so it can be a program name with args.
set
dummy bsdinst
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:8
75
: checking for
$ac_word
"
>
&5
echo
"configure:8
66
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_BSDINST
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -934,7 +925,7 @@ fi
# Extract the first word of "flex", so it can be a program name with args.
set
dummy flex
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:9
38
: checking for
$ac_word
"
>
&5
echo
"configure:9
29
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -967,7 +958,7 @@ then
*
)
ac_lib
=
l
;;
esac
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
"configure:9
71
: checking for yywrap in -l
$ac_lib
"
>
&5
echo
"configure:9
62
: checking for yywrap in -l
$ac_lib
"
>
&5
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -975,7 +966,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 97
9
"configure"
#line 97
0
"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
...
...
@@ -986,7 +977,7 @@ int main() {
yywrap()
; return 0; }
EOF
if
{
(
eval echo
configure:9
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:9
81
:
\"
$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
...
...
@@ -1009,7 +1000,7 @@ fi
fi
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:10
13
: checking whether ln -s works"
>
&5
echo
"configure:10
04
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1030,7 +1021,7 @@ else
fi
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:10
34
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:10
25
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
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
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1059,7 +1050,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:10
63
: checking for
$ac_word
"
>
&5
echo
"configure:10
54
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1088,7 +1079,7 @@ fi
# Extract the first word of "find", so it can be a program name with args.
set
dummy find
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:10
92
: checking for
$ac_word
"
>
&5
echo
"configure:10
83
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_find
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1119,7 +1110,7 @@ fi
# Extract the first word of "tar", so it can be a program name with args.
set
dummy
tar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:11
23
: checking for
$ac_word
"
>
&5
echo
"configure:11
14
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_tar
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1150,7 +1141,7 @@ fi
# Extract the first word of "split", so it can be a program name with args.
set
dummy
split
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:11
54
: checking for
$ac_word
"
>
&5
echo
"configure:11
45
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_split
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1181,7 +1172,7 @@ fi
# Extract the first word of "etags", so it can be a program name with args.
set
dummy etags
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:11
85
: checking for
$ac_word
"
>
&5
echo
"configure:11
76
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_etags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1212,7 +1203,7 @@ fi
# Extract the first word of "xargs", so it can be a program name with args.
set
dummy xargs
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:12
16
: checking for
$ac_word
"
>
&5
echo
"configure:12
07
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_xargs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1243,7 +1234,7 @@ fi
# Extract the first word of "ipcs", so it can be a program name with args.
set
dummy ipcs
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:12
47
: checking for
$ac_word
"
>
&5
echo
"configure:12
38
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1274,7 +1265,7 @@ fi
# Extract the first word of "ipcrm", so it can be a program name with args.
set
dummy ipcrm
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:12
78
: checking for
$ac_word
"
>
&5
echo
"configure:12
69
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_ipcrm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1303,23 +1294,23 @@ else
fi
echo
$ac_n
"checking for main in -l
readline
""...
$ac_c
"
1>&6
echo
"configure:1
308: checking for main in -lreadline
"
>
&5
ac_lib_var
=
`
echo
readline
'_'
main |
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for main in -l
curses
""...
$ac_c
"
1>&6
echo
"configure:1
299: checking for main in -lcurses
"
>
&5
ac_lib_var
=
`
echo
curses
'_'
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
=
"-l
readline
$LIBS
"
LIBS
=
"-l
curses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
16
"configure"
#line 13
07
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:13
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:13
14
:
\"
$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
...
...
@@ -1334,39 +1325,35 @@ LIBS="$ac_save_LIBS"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
readline
|
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
ac_tr_lib
=
HAVE_LIB
`
echo
curses
|
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-l
readline
$LIBS
"
LIBS
=
"-l
curses
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for
write_history in -lreadline
""...
$ac_c
"
1>&6
echo
"configure:13
51: checking for write_history in -lreadline
"
>
&5
ac_lib_var
=
`
echo
readline
'_'
write_history
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
main in -ltermcap
""...
$ac_c
"
1>&6
echo
"configure:13
42: checking for main in -ltermcap
"
>
&5
ac_lib_var
=
`
echo
termcap
'_'
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
=
"-l
readline
$LIBS
"
LIBS
=
"-l
termcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 135
9
"configure"
#line 135
0
"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 write_history();
int main() {
write_history
()
main
()
; return 0; }
EOF
if
{
(
eval echo
configure:13
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:13
57
:
\"
$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
...
...
@@ -1381,16 +1368,20 @@ LIBS="$ac_save_LIBS"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_HISTORY 1
ac_tr_lib
=
HAVE_LIB
`
echo
termcap |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-ltermcap
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for main in -lhistory""...
$ac_c
"
1>&6
echo
"configure:13
94
: checking for main in -lhistory"
>
&5
echo
"configure:13
85
: checking for main in -lhistory"
>
&5
ac_lib_var
=
`
echo history
'_'
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
...
...
@@ -1398,14 +1389,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lhistory
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
402
"configure"
#line 1
393
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:140
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:140
0
:
\"
$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
...
...
@@ -1432,23 +1423,23 @@ else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for main in -l
curses
""...
$ac_c
"
1>&6
echo
"configure:14
37: checking for main in -lcurses
"
>
&5
ac_lib_var
=
`
echo
curses
'_'
main |
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for main in -l
readline
""...
$ac_c
"
1>&6
echo
"configure:14
28: checking for main in -lreadline
"
>
&5
ac_lib_var
=
`
echo
readline
'_'
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
=
"-l
curses
$LIBS
"
LIBS
=
"-l
readline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
45
"configure"
#line 14
36
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:14
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
43
:
\"
$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
...
...
@@ -1463,35 +1454,39 @@ LIBS="$ac_save_LIBS"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
curses
|
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
ac_tr_lib
=
HAVE_LIB
`
echo
readline
|
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-l
curses
$LIBS
"
LIBS
=
"-l
readline
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for
main in -ltermcap
""...
$ac_c
"
1>&6
echo
"configure:14
80: checking for main in -ltermcap
"
>
&5
ac_lib_var
=
`
echo
termcap
'_'
main
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
write_history in -lreadline
""...
$ac_c
"
1>&6
echo
"configure:14
71: checking for write_history in -lreadline
"
>
&5
ac_lib_var
=
`
echo
readline
'_'
write_history
|
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
=
"-l
termcap
$LIBS
"
LIBS
=
"-l
readline
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 14
88
"configure"
#line 14
79
"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 write_history();
int main() {
main
()
write_history
()
; return 0; }
EOF
if
{
(
eval echo
configure:149
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:149
0
:
\"
$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
...
...
@@ -1506,20 +1501,16 @@ LIBS="$ac_save_LIBS"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
termcap |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_HISTORY 1
EOF
LIBS
=
"-ltermcap
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for main in -lm""...
$ac_c
"
1>&6
echo
"configure:15
23
: checking for main in -lm"
>
&5
echo
"configure:15
14
: 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
...
...
@@ -1527,14 +1518,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
31
"configure"
#line 15
22
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:15
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:15
29
:
\"
$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
...
...
@@ -1562,7 +1553,7 @@ else
fi
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:15
66
: checking for main in -ldl"
>
&5
echo
"configure:15
57
: 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
...
...
@@ -1570,14 +1561,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
74
"configure"
#line 15
65
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:15
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:15
72
:
\"
$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
...
...
@@ -1605,7 +1596,7 @@ else
fi
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
"configure:160
9
: checking for main in -lsocket"
>
&5
echo
"configure:160
0
: 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
...
...
@@ -1613,14 +1604,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
17
"configure"
#line 16
08
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:16
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:16
15
:
\"
$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
...
...
@@ -1648,7 +1639,7 @@ else
fi
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
"configure:16
52
: checking for main in -lnsl"
>
&5
echo
"configure:16
43
: 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
...
...
@@ -1656,14 +1647,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
60
"configure"
#line 16
51
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:16
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:16
58
:
\"
$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
...
...
@@ -1691,7 +1682,7 @@ else
fi
echo
$ac_n
"checking for main in -lipc""...
$ac_c
"
1>&6
echo
"configure:16
95
: checking for main in -lipc"
>
&5
echo
"configure:16
86
: checking for main in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
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
...
...
@@ -1699,14 +1690,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
703
"configure"
#line 1
694
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:17
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:17
01
:
\"
$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
...
...
@@ -1734,7 +1725,7 @@ else
fi
echo
$ac_n
"checking for main in -lIPC""...
$ac_c
"
1>&6
echo
"configure:17
38
: checking for main in -lIPC"
>
&5
echo
"configure:17
29
: checking for main in -lIPC"
>
&5
ac_lib_var
=
`
echo
IPC
'_'
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
...
...
@@ -1742,14 +1733,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lIPC
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
46
"configure"
#line 17
37
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:17
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:17
44
:
\"
$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
...
...
@@ -1777,7 +1768,7 @@ else
fi
echo
$ac_n
"checking for main in -llc""...
$ac_c
"
1>&6
echo
"configure:17
81
: checking for main in -llc"
>
&5
echo
"configure:17
72
: checking for main in -llc"
>
&5
ac_lib_var
=
`
echo
lc
'_'
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
...
...
@@ -1785,14 +1776,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-llc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 178
9
"configure"
#line 178
0
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:17
96
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:17
87
:
\"
$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
...
...
@@ -1820,7 +1811,7 @@ else
fi
echo
$ac_n
"checking for main in -ldld""...
$ac_c
"
1>&6
echo
"configure:18
24
: checking for main in -ldld"
>
&5
echo
"configure:18
15
: checking for main in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
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
...
...
@@ -1828,14 +1819,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
32
"configure"
#line 18
23
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:183
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:183
0
:
\"
$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
...
...
@@ -1863,7 +1854,7 @@ else
fi
echo
$ac_n
"checking for main in -lln""...
$ac_c
"
1>&6
echo
"configure:18
67
: checking for main in -lln"
>
&5
echo
"configure:18
58
: checking for main in -lln"
>
&5
ac_lib_var
=
`
echo ln
'_'
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
...
...
@@ -1871,14 +1862,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lln
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
75
"configure"
#line 18
66
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:18
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:18
73
:
\"
$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
...
...
@@ -1906,7 +1897,7 @@ else
fi
echo
$ac_n
"checking for main in -lbsd""...
$ac_c
"
1>&6
echo
"configure:19
10
: checking for main in -lbsd"
>
&5
echo
"configure:19
01
: checking for main in -lbsd"
>
&5
ac_lib_var
=
`
echo
bsd
'_'
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
...
...
@@ -1914,14 +1905,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lbsd
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
18
"configure"
#line 19
09
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:19
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:19
16
:
\"
$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
...
...
@@ -1949,7 +1940,7 @@ else
fi
echo
$ac_n
"checking for main in -lld""...
$ac_c
"
1>&6
echo
"configure:19
53
: checking for main in -lld"
>
&5
echo
"configure:19
44
: checking for main in -lld"
>
&5
ac_lib_var
=
`
echo
ld
'_'
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
...
...
@@ -1957,14 +1948,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
61
"configure"
#line 19
52
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:19
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:19
59
:
\"
$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
...
...
@@ -1992,7 +1983,7 @@ else
fi
echo
$ac_n
"checking for main in -lcompat""...
$ac_c
"
1>&6
echo
"configure:19
96
: checking for main in -lcompat"
>
&5
echo
"configure:19
87
: checking for main in -lcompat"
>
&5
ac_lib_var
=
`
echo
compat
'_'
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
...
...
@@ -2000,14 +1991,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcompat
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line
2004
"configure"
#line
1995
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:20
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:20
02
:
\"
$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
...
...
@@ -2035,7 +2026,7 @@ else
fi
echo
$ac_n
"checking for main in -lBSD""...
$ac_c
"
1>&6
echo
"configure:203
9
: checking for main in -lBSD"
>
&5
echo
"configure:203
0
: checking for main in -lBSD"
>
&5
ac_lib_var
=
`
echo
BSD
'_'
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
...
...
@@ -2043,14 +2034,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lBSD
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 20
47
"configure"
#line 20
38
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:20
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:20
45
:
\"
$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
...
...
@@ -2079,12 +2070,12 @@ fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:20
83
: checking for ANSI C header files"
>
&5
echo
"configure:20
74
: checking for ANSI C header files"
>
&5
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 20
88
"configure"
#line 20
79
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -2092,7 +2083,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:20
96
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:20
87
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2109,7 +2100,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 21
13
"configure"
#line 21
04
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -2127,7 +2118,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 21
31
"configure"
#line 21
22
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -2148,7 +2139,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
52
"configure"
#line 21
43
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -2159,7 +2150,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:21
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:21
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -2183,12 +2174,12 @@ EOF
fi
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
"configure:21
87
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
echo
"configure:21
78
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
92
"configure"
#line 21
83
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
...
...
@@ -2204,7 +2195,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if
{
(
eval echo
configure:2
208
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
199
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_sys_wait_h
=
yes
else
...
...
@@ -2228,17 +2219,17 @@ for ac_hdr in limits.h unistd.h termios.h values.h sys/select.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:22
32
: checking for
$ac_hdr
"
>
&5
echo
"configure:22
23
: checking for
$ac_hdr
"
>
&5
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 22
37
"configure"
#line 22
28
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:22
42
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:22
33
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2268,17 +2259,17 @@ for ac_hdr in readline.h history.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:22
72
: checking for
$ac_hdr
"
>
&5
echo
"configure:22
63
: checking for
$ac_hdr
"
>
&5
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 22
77
"configure"
#line 22
68
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:22
82
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:22
73
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2306,12 +2297,12 @@ done
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:23
10
: checking for working const"
>
&5
echo
"configure:23
01
: checking for working const"
>
&5
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 23
15
"configure"
#line 23
06
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -2360,7 +2351,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:23
64
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:23
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -2381,12 +2372,12 @@ EOF
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:23
85
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:23
76
: checking for uid_t in sys/types.h"
>
&5
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 23
90
"configure"
#line 23
81
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -2415,21 +2406,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:241
9
: checking for inline"
>
&5
echo
"configure:241
0
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
26
"configure"
#line 24
17
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:24
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:24
24
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -2455,12 +2446,12 @@ EOF
esac
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:245
9
: checking for mode_t"
>
&5
echo
"configure:245
0
: checking for mode_t"
>
&5
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 24
64
"configure"
#line 24
55
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2488,12 +2479,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:24
92
: checking for off_t"
>
&5
echo
"configure:24
83
: checking for off_t"
>
&5
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 24
97
"configure"
#line 24
88
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2521,12 +2512,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:25
25
: checking for size_t"
>
&5
echo
"configure:25
16
: checking for size_t"
>
&5
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 25
30
"configure"
#line 25
21
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2554,12 +2545,12 @@ EOF
fi
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:25
58
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:25
49
: checking whether time.h and sys/time.h may both be included"
>
&5
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 25
63
"configure"
#line 25
54
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -2568,7 +2559,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:25
72
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:25
63
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -2589,12 +2580,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:25
93
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:25
84
: checking whether struct tm is in sys/time.h or time.h"
>
&5
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 25
98
"configure"
#line 25
89
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -2602,7 +2593,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:2
606
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
597
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -2624,14 +2615,14 @@ fi
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
28
"configure"
#line 26
19
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
int res = timezone / 60;
; return 0; }
EOF
if
{
(
eval echo
configure:26
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:26
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_INT_TIMEZONE 1
...
...
@@ -2645,13 +2636,13 @@ rm -f conftest*
if
test
$ac_cv_prog_gcc
=
yes
;
then
echo
$ac_n
"checking whether
${
CC
-cc
}
needs -traditional""...
$ac_c
"
1>&6
echo
"configure:264
9
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
echo
"configure:264
0
: checking whether
${
CC
-cc
}
needs -traditional"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc_traditional
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_pattern
=
"Autoconf.*'x'"
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
55
"configure"
#line 26
46
"configure"
#include "confdefs.h"
#include <sgtty.h>
Autoconf TIOCGETP
...
...
@@ -2669,7 +2660,7 @@ rm -f conftest*
if
test
$ac_cv_prog_gcc_traditional
=
no
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
73
"configure"
#line 26
64
"configure"
#include "confdefs.h"
#include <termio.h>
Autoconf TCGETA
...
...
@@ -2691,7 +2682,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
fi
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:26
95
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:26
86
: checking for 8-bit clean memcmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_memcmp_clean
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2699,7 +2690,7 @@ else
ac_cv_func_memcmp_clean
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
703
"configure"
#line 2
694
"configure"
#include "confdefs.h"
main()
...
...
@@ -2709,7 +2700,7 @@ main()
}
EOF
if
{
(
eval echo
configure:27
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:27
04
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_memcmp_clean
=
yes
else
...
...
@@ -2727,12 +2718,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
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
"configure:27
31
: checking return type of signal handlers"
>
&5
echo
"configure:27
22
: checking return type of signal handlers"
>
&5
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 27
36
"configure"
#line 27
27
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -2749,7 +2740,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:27
53
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:27
44
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -2768,12 +2759,12 @@ EOF
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:27
72
: checking for vprintf"
>
&5
echo
"configure:27
63
: checking for vprintf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_vprintf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
77
"configure"
#line 27
68
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
...
...
@@ -2796,7 +2787,7 @@ vprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:2
800
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
791
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
else
...
...
@@ -2820,12 +2811,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:28
24
: checking for _doprnt"
>
&5
echo
"configure:28
15
: checking for _doprnt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func__doprnt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 282
9
"configure"
#line 282
0
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
...
...
@@ -2848,7 +2839,7 @@ _doprnt();
; return 0; }
EOF
if
{
(
eval echo
configure:28
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:28
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
else
...
...
@@ -2875,12 +2866,12 @@ fi
for
ac_func
in
isinf tzset getrusage vfork memmove sigsetjmp
kill
sysconf
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:287
9
: checking for
$ac_func
"
>
&5
echo
"configure:287
0
: checking for
$ac_func
"
>
&5
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 28
84
"configure"
#line 28
75
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2903,7 +2894,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:2
907
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
898
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2928,12 +2919,12 @@ fi
done
echo
$ac_n
"checking for inet_aton""...
$ac_c
"
1>&6
echo
"configure:29
32
: checking for inet_aton"
>
&5
echo
"configure:29
23
: checking for inet_aton"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_inet_aton
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
37
"configure"
#line 29
28
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
...
...
@@ -2956,7 +2947,7 @@ inet_aton();
; return 0; }
EOF
if
{
(
eval echo
configure:29
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:29
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_inet_aton=yes"
else
...
...
@@ -2981,12 +2972,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:29
85
: checking for cbrt"
>
&5
echo
"configure:29
76
: checking for cbrt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
90
"configure"
#line 29
81
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -3009,7 +3000,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:30
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:30
04
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_cbrt=yes"
else
...
...
@@ -3030,7 +3021,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:30
34
: checking for cbrt in -lm"
>
&5
echo
"configure:30
25
: checking for cbrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3038,7 +3029,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
42
"configure"
#line 30
33
"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
...
...
@@ -3049,7 +3040,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:30
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:30
44
:
\"
$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
...
...
@@ -3075,12 +3066,12 @@ fi
fi
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:307
9
: checking for rint"
>
&5
echo
"configure:307
0
: checking for rint"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
84
"configure"
#line 30
75
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -3103,7 +3094,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:3
107
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
098
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_rint=yes"
else
...
...
@@ -3124,7 +3115,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:31
28
: checking for rint in -lm"
>
&5
echo
"configure:31
19
: checking for rint in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3132,7 +3123,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
36
"configure"
#line 31
27
"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
...
...
@@ -3143,7 +3134,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:31
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:31
38
:
\"
$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
...
...
src/configure.in
View file @
321d42c6
...
...
@@ -17,15 +17,6 @@ freebsd*) PORTNAME='BSD44_derived' ;;
echo "configure does not currently recognize your operating system,"
echo "therefore you must do a manual configuration of:"
echo ""
echo " Makefile.global"
echo " include/config.h"
echo ""
echo "Currently recognized operating systems:"
echo ""
echo " FreeBSD v3.0 and v2.2"
echo " Solaris v2.5 under Sparc"
echo " RedHat v3.0"
echo ""
echo "Please contact scrappy@hub.org to see about rectifying this, "
echo "including the above 'checking host system type...' line "
echo "*************************************************************"
...
...
@@ -106,11 +97,11 @@ AC_PATH_PROG(xargs, xargs)
AC_PATH_PROG(ipcs, ipcs)
AC_PATH_PROG(ipcrm, ipcrm)
AC_CHECK_LIB(readline, main)
AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY))
AC_CHECK_LIB(history, main)
AC_CHECK_LIB(curses, main)
AC_CHECK_LIB(termcap, main)
AC_CHECK_LIB(history, main)
AC_CHECK_LIB(readline, main)
AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY))
AC_CHECK_LIB(m, main)
AC_CHECK_LIB(dl, main)
AC_CHECK_LIB(socket, main)
...
...
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