Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
bad86cb4
Commit
bad86cb4
authored
Sep 21, 1998
by
Kurt Zeilenga
Browse files
Fix test for sched_yield/pthread_yield(), needed $LTHREAD_LIBS added to $LIBS.
parent
f32239e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
bad86cb4
...
...
@@ -2261,15 +2261,17 @@ fi
fi
if
test
$ol_link_threads
!=
no
;
then
for
ac_func
in
sched_yield pthread_yield
save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LTHREAD_LIBS
$LIBS
"
for
ac_func
in
sched_yield pthread_yield
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:22
68
: checking for
$ac_func
"
>
&5
echo
"configure:22
70
: 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 227
3
"configure"
#line 227
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2292,7 +2294,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:229
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:229
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2316,6 +2318,7 @@ else
fi
done
LIBS
=
"
$save_LIBS
"
if
test
$ac_cv_func_sched_yield
=
no
-a
\
$ac_cv_func_pthread_yield
=
no
;
then
...
...
@@ -2342,17 +2345,17 @@ if test $ol_with_threads = manual ; then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:234
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:234
9
: 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 235
1
"configure"
#line 235
4
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:235
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:235
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2381,12 +2384,12 @@ done
for
ac_func
in
sched_yield pthread_yield
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:238
5
: checking for
$ac_func
"
>
&5
echo
"configure:238
8
: 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 239
0
"configure"
#line 239
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2409,7 +2412,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:241
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:241
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2435,7 +2438,7 @@ done
echo
$ac_n
"checking for LinuxThreads""...
$ac_c
"
1>&6
echo
"configure:24
39
: checking for LinuxThreads"
>
&5
echo
"configure:24
42
: checking for LinuxThreads"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_linux_threads
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2470,13 +2473,13 @@ fi
ol_link_ldbm
=
no
if
test
$ol_with_ldbm_api
=
auto
-o
$ol_with_ldbm_api
=
db2
;
then
echo
$ac_n
"checking for DB2 library""...
$ac_c
"
1>&6
echo
"configure:247
4
: checking for DB2 library"
>
&5
echo
"configure:247
7
: checking for DB2 library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_lib_db2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ol_LIBS
=
"
$LIBS
"
echo
$ac_n
"checking for db_open in -ldb""...
$ac_c
"
1>&6
echo
"configure:248
0
: checking for db_open in -ldb"
>
&5
echo
"configure:248
3
: checking for db_open in -ldb"
>
&5
ac_lib_var
=
`
echo
db
'_'
db_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2484,7 +2487,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldb
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
88
"configure"
#line 24
91
"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
...
...
@@ -2495,7 +2498,7 @@ int main() {
db_open()
; return 0; }
EOF
if
{
(
eval echo
configure:2
499
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
502
:
\"
$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
...
...
@@ -2526,17 +2529,17 @@ for ac_hdr in db.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:253
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:253
3
: 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 253
5
"configure"
#line 253
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:254
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:254
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2564,13 +2567,13 @@ done
if
test
$ac_cv_header_db_h
=
yes
;
then
echo
$ac_n
"checking if db.h is DB2""...
$ac_c
"
1>&6
echo
"configure:25
68
: checking if db.h is DB2"
>
&5
echo
"configure:25
71
: checking if db.h is DB2"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_header_db2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 257
4
"configure"
#line 257
7
"configure"
#include "confdefs.h"
# include <db.h>
...
...
@@ -2602,7 +2605,7 @@ fi
echo
$ac_n
"checking for Berkeley DB2""...
$ac_c
"
1>&6
echo
"configure:260
6
: checking for Berkeley DB2"
>
&5
echo
"configure:260
9
: checking for Berkeley DB2"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_berkeley_db2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2638,18 +2641,18 @@ fi
if
test
$ol_with_ldbm_api
=
auto
-o
$ol_with_ldbm_api
=
db
;
then
echo
$ac_n
"checking for Berkeley DB library""...
$ac_c
"
1>&6
echo
"configure:264
2
: checking for Berkeley DB library"
>
&5
echo
"configure:264
5
: checking for Berkeley DB library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_lib_db
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ol_LIBS
=
"
$LIBS
"
echo
$ac_n
"checking for dbopen""...
$ac_c
"
1>&6
echo
"configure:26
48
: checking for dbopen"
>
&5
echo
"configure:26
51
: checking for dbopen"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_dbopen
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 265
3
"configure"
#line 265
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dbopen(); below. */
...
...
@@ -2672,7 +2675,7 @@ dbopen();
; return 0; }
EOF
if
{
(
eval echo
configure:267
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:267
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_dbopen=yes"
else
...
...
@@ -2691,7 +2694,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for dbopen in -ldb""...
$ac_c
"
1>&6
echo
"configure:269
5
: checking for dbopen in -ldb"
>
&5
echo
"configure:269
8
: checking for dbopen in -ldb"
>
&5
ac_lib_var
=
`
echo
db
'_'
dbopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2699,7 +2702,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldb
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 270
3
"configure"
#line 270
6
"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
...
...
@@ -2710,7 +2713,7 @@ int main() {
dbopen()
; return 0; }
EOF
if
{
(
eval echo
configure:271
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:271
7
:
\"
$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
...
...
@@ -2745,17 +2748,17 @@ for ac_hdr in db_185.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:27
49
: checking for
$ac_hdr
"
>
&5
echo
"configure:27
52
: 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 275
4
"configure"
#line 275
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:27
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:27
62
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2791,7 +2794,7 @@ fi
echo
$ac_n
"checking for Berkeley DB""...
$ac_c
"
1>&6
echo
"configure:279
5
: checking for Berkeley DB"
>
&5
echo
"configure:279
8
: checking for Berkeley DB"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_berkeley_db
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2836,17 +2839,17 @@ if test $ol_with_ldbm_api = manual ; then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:284
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:284
3
: 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 284
5
"configure"
#line 284
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:285
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:285
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2881,18 +2884,18 @@ fi
if
test
$ol_with_ldbm_api
=
auto
-o
$ol_with_ldbm_api
=
gdbm
;
then
echo
$ac_n
"checking for GDBM library""...
$ac_c
"
1>&6
echo
"configure:288
5
: checking for GDBM library"
>
&5
echo
"configure:288
8
: checking for GDBM library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_lib_gdbm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ol_LIBS
=
"
$LIBS
"
echo
$ac_n
"checking for gdbm_open""...
$ac_c
"
1>&6
echo
"configure:289
1
: checking for gdbm_open"
>
&5
echo
"configure:289
4
: checking for gdbm_open"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gdbm_open
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 289
6
"configure"
#line 289
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gdbm_open(); below. */
...
...
@@ -2915,7 +2918,7 @@ gdbm_open();
; return 0; }
EOF
if
{
(
eval echo
configure:29
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:29
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gdbm_open=yes"
else
...
...
@@ -2934,7 +2937,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for gdbm_open in -lgdbm""...
$ac_c
"
1>&6
echo
"configure:29
38
: checking for gdbm_open in -lgdbm"
>
&5
echo
"configure:29
41
: checking for gdbm_open in -lgdbm"
>
&5
ac_lib_var
=
`
echo
gdbm
'_'
gdbm_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2942,7 +2945,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lgdbm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 294
6
"configure"
#line 294
9
"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
...
...
@@ -2953,7 +2956,7 @@ int main() {
gdbm_open()
; return 0; }
EOF
if
{
(
eval echo
configure:29
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:29
60
:
\"
$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
...
...
@@ -2988,17 +2991,17 @@ echo "$ac_t""$ol_cv_lib_gdbm" 1>&6
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:299
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:299
5
: 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
2997
"configure"
#line
3000
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:300
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:300
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3025,7 +3028,7 @@ fi
done
echo
$ac_n
"checking for db""...
$ac_c
"
1>&6
echo
"configure:302
9
: checking for db"
>
&5
echo
"configure:30
3
2: checking for db"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_gdbm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3055,18 +3058,18 @@ fi
if
test
$ol_with_ldbm_api
=
auto
-o
$ol_with_ldbm_api
=
ndbm
;
then
echo
$ac_n
"checking for NDBM library""...
$ac_c
"
1>&6
echo
"configure:30
59
: checking for NDBM library"
>
&5
echo
"configure:30
62
: checking for NDBM library"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_lib_ndbm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ol_LIBS
=
"
$LIBS
"
echo
$ac_n
"checking for dbm_open""...
$ac_c
"
1>&6
echo
"configure:306
5
: checking for dbm_open"
>
&5
echo
"configure:306
8
: checking for dbm_open"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_dbm_open
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 307
0
"configure"
#line 307
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dbm_open(); below. */
...
...
@@ -3089,7 +3092,7 @@ dbm_open();
; return 0; }
EOF
if
{
(
eval echo
configure:309
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:309
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_dbm_open=yes"
else
...
...
@@ -3108,7 +3111,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for dbm_open in -lndbm""...
$ac_c
"
1>&6
echo
"configure:311
2
: checking for dbm_open in -lndbm"
>
&5
echo
"configure:311
5
: checking for dbm_open in -lndbm"
>
&5
ac_lib_var
=
`
echo
ndbm
'_'
dbm_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3116,7 +3119,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lndbm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 312
0
"configure"
#line 312
3
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3127,7 +3130,7 @@ int main() {
dbm_open()
; return 0; }
EOF
if
{
(
eval echo
configure:313
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:313
4
:
\"
$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
...
...
@@ -3147,7 +3150,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for dbm_open in -ldbm""...
$ac_c
"
1>&6
echo
"configure:315
1
: checking for dbm_open in -ldbm"
>
&5
echo
"configure:315
4
: checking for dbm_open in -ldbm"
>
&5
ac_lib_var
=
`
echo
dbm
'_'
dbm_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3155,7 +3158,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldbm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
59
"configure"
#line 31
62
"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
...
...
@@ -3166,7 +3169,7 @@ int main() {
dbm_open()
; return 0; }
EOF
if
{
(
eval echo
configure:317
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:317
3
:
\"
$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
...
...
@@ -3203,17 +3206,17 @@ echo "$ac_t""$ol_cv_lib_ndbm" 1>&6
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:320
7
: checking for
$ac_hdr
"
>
&5
echo
"configure:32
1
0: 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 321
2
"configure"
#line 321
5
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:32
17
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:32
20
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3240,7 +3243,7 @@ fi
done
echo
$ac_n
"checking for db""...
$ac_c
"
1>&6
echo
"configure:324
4
: checking for db"
>
&5
echo
"configure:324
7
: checking for db"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_ndbm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3284,7 +3287,7 @@ fi
if
test
$ol_enable_wrappers
=
yes
;
then
echo
$ac_n
"checking for hosts_access in -lwrap""...
$ac_c
"
1>&6
echo
"configure:32
88
: checking for hosts_access in -lwrap"
>
&5
echo
"configure:32
91
: checking for hosts_access in -lwrap"
>
&5
ac_lib_var
=
`
echo
wrap
'_'
hosts_access |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3292,7 +3295,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lwrap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 329
6
"configure"
#line 329
9
"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
...
...
@@ -3303,7 +3306,7 @@ int main() {
hosts_access()
; return 0; }
EOF
if
{
(
eval echo
configure:330
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:33
1
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
...
...
@@ -3350,17 +3353,17 @@ for ac_hdr in termcap.h ncurses.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:335
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:335
7
: 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 33
59
"configure"
#line 33
62
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:336
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:336
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3389,7 +3392,7 @@ done
if
test
$ol_link_termcap
=
no
;
then
echo
$ac_n
"checking for tputs in -ltermcap""...
$ac_c
"
1>&6
echo
"configure:339
3
: checking for tputs in -ltermcap"
>
&5
echo
"configure:339
6
: checking for tputs in -ltermcap"
>
&5
ac_lib_var
=
`
echo
termcap
'_'
tputs |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3397,7 +3400,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 340
1
"configure"
#line 340
4
"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
...
...
@@ -3408,7 +3411,7 @@ int main() {
tputs()
; return 0; }
EOF
if
{
(
eval echo
configure:341
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:341
5
:
\"
$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
...
...
@@ -3437,7 +3440,7 @@ fi
if
test
$ol_link_termcap
=
no
;
then
echo
$ac_n
"checking for initscr in -lncurses""...
$ac_c
"
1>&6
echo
"configure:344
1
: checking for initscr in -lncurses"
>
&5
echo
"configure:344
4
: checking for initscr in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
initscr |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3445,7 +3448,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
49
"configure"
#line 34
52
"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
...
...
@@ -3456,7 +3459,7 @@ int main() {
initscr()
; return 0; }
EOF
if
{
(
eval echo
configure:346
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:346
3
:
\"
$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
...
...
@@ -3494,12 +3497,12 @@ fi
# FreeBSD (and others) have crypt(3) in -lcrypt
if
test
$ol_enable_crypt
!=
no
;
then
echo
$ac_n
"checking for crypt""...
$ac_c
"
1>&6
echo
"configure:3
498
: checking for crypt"
>
&5
echo
"configure:3
501
: checking for crypt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_crypt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 350
3
"configure"
#line 350
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char crypt(); below. */
...
...
@@ -3522,7 +3525,7 @@ crypt();
; return 0; }
EOF
if
{
(
eval echo
configure:352
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:352
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_crypt=yes"
else
...
...
@@ -3541,7 +3544,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for crypt in -lcrypt""...
$ac_c
"
1>&6
echo
"configure:354
5
: checking for crypt in -lcrypt"
>
&5
echo
"configure:354
8
: checking for crypt in -lcrypt"
>
&5
ac_lib_var
=
`
echo
crypt
'_'
crypt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3549,7 +3552,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcrypt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 355
3
"configure"
#line 355
6
"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
...
...
@@ -3560,7 +3563,7 @@ int main() {
crypt()
; return 0; }
EOF
if
{
(
eval echo
configure:356
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:356
7
:
\"
$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
...
...
@@ -3599,12 +3602,12 @@ fi
fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:360
3
: checking for ANSI C header files"
>
&5
echo
"configure:360
6
: 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 36
08
"configure"
#line 36
11
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -3612,7 +3615,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:361
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:361
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}