Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
27faaf1c
Commit
27faaf1c
authored
Oct 20, 1998
by
Kurt Zeilenga
Browse files
update to NT port for UNIX testing
parent
13bd786a
Changes
4
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
27faaf1c
...
...
@@ -53,12 +53,12 @@
/* define if your POSIX Threads implementatin is circa Draft 4 */
#undef HAVE_PTHREADS_D4
/* define if you have -ltermcap */
#undef HAVE_TERMCAP
/* define if you have -lwrap */
#undef HAVE_TCPD
/* define if you have -ltermcap */
#undef HAVE_TERMCAP
/* define this for connectionless LDAP support */
#undef LDAP_CONNECTIONLESS
...
...
@@ -77,6 +77,30 @@
/* define this for LDAP User Interface support */
#undef LDAP_LIBUI
/* define this to use DB2 in native mode */
#undef LDBM_USE_DB2
/* define this to use DB2 in compat185 mode */
#undef LDBM_USE_DB2_COMPAT185
/* define this to use DBBTREE w/ LDBM backend */
#undef LDBM_USE_DBBTREE
/* define this to use DBHASH w/ LDBM backend */
#undef LDBM_USE_DBHASH
/* define this to use GDBM w/ LDBM backend */
#undef LDBM_USE_GDBM
/* define this to use NDBM w/ LDBM backend */
#undef LDBM_USE_NDBM
/* define this if you want no termcap support */
#undef NO_TERMCAP
/* define this if you want no thread support */
#undef NO_THREADS
/* define this for ACL Group support */
#undef SLAPD_ACLGROUPS
...
...
@@ -104,30 +128,6 @@
/* define this to use SLAPD shell backend */
#undef SLAPD_SHELL
/* define this to use DB2 in native mode */
#undef LDBM_USE_DB2
/* define this to use DB2 in compat185 mode */
#undef LDBM_USE_DB2_COMPAT185
/* define this to use DBBTREE w/ LDBM backend */
#undef LDBM_USE_DBBTREE
/* define this to use DBHASH w/ LDBM backend */
#undef LDBM_USE_DBHASH
/* define this to use GDBM w/ LDBM backend */
#undef LDBM_USE_GDBM
/* define this to use NDBM w/ LDBM backend */
#undef LDBM_USE_NDBM
/* define this if you want no termcap support */
#undef NO_TERMCAP
/* define this if you want no thread support */
#undef NO_THREADS
/* define this if the thread package is preemptive */
#undef THREAD_PREEMPTIVE
...
...
configure
View file @
27faaf1c
...
...
@@ -4955,13 +4955,16 @@ fi
for
ac_hdr
in
\
stddef.h
\
errno.h
\
fcntl.h
\
filio.h
\
limits.h
\
malloc.h
\
sgtty.h
\
sys/file.h
\
sys/errno.h
\
sys/ioctl.h
\
sys/param.h
\
sys/time.h
\
syslog.h
\
termios.h
\
...
...
@@ -4970,17 +4973,17 @@ for ac_hdr in \
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:497
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:497
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 49
79
"configure"
#line 49
82
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:498
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:498
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
*
...
...
@@ -5008,12 +5011,12 @@ done
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:501
2
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:501
5
: 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 50
17
"configure"
#line 50
20
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -5042,7 +5045,7 @@ EOF
fi
echo
$ac_n
"checking type of array argument to getgroups""...
$ac_c
"
1>&6
echo
"configure:504
6
: checking type of array argument to getgroups"
>
&5
echo
"configure:504
9
: checking type of array argument to getgroups"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_getgroups
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5050,7 +5053,7 @@ else
ac_cv_type_getgroups
=
cross
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 505
4
"configure"
#line 505
7
"configure"
#include "confdefs.h"
/* Thanks to Mike Rendell for this test. */
...
...
@@ -5075,7 +5078,7 @@ main()
}
EOF
if
{
(
eval echo
configure:50
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:50
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_type_getgroups
=
gid_t
else
...
...
@@ -5089,7 +5092,7 @@ fi
if
test
$ac_cv_type_getgroups
=
cross
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 509
3
"configure"
#line 509
6
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -5113,12 +5116,12 @@ EOF
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:51
17
: checking for mode_t"
>
&5
echo
"configure:51
20
: 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 512
2
"configure"
#line 512
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5146,12 +5149,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:515
0
: checking for off_t"
>
&5
echo
"configure:515
3
: 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 515
5
"configure"
#line 515
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5179,12 +5182,12 @@ EOF
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:518
3
: checking for pid_t"
>
&5
echo
"configure:518
6
: checking for pid_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
88
"configure"
#line 51
91
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5212,12 +5215,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:521
6
: checking return type of signal handlers"
>
&5
echo
"configure:521
9
: 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 522
1
"configure"
#line 522
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -5234,7 +5237,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:52
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
41
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -5253,12 +5256,12 @@ EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:52
57
: checking for size_t"
>
&5
echo
"configure:52
60
: 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 526
2
"configure"
#line 526
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5286,12 +5289,12 @@ EOF
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:529
0
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:529
3
: 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 529
5
"configure"
#line 529
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -5320,12 +5323,12 @@ EOF
fi
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
"configure:532
4
: checking for st_blksize in struct stat"
>
&5
echo
"configure:532
7
: checking for st_blksize in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blksize
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 532
9
"configure"
#line 53
3
2 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -5333,7 +5336,7 @@ int main() {
struct stat s; s.st_blksize;
; return 0; }
EOF
if
{
(
eval echo
configure:53
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
40
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_st_blksize
=
yes
else
...
...
@@ -5354,12 +5357,12 @@ EOF
fi
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:53
58
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:53
61
: 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 536
3
"configure"
#line 536
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5368,7 +5371,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:537
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:537
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -5389,12 +5392,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:539
3
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:539
6
: 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 5
398
"configure"
#line 5
401
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5402,7 +5405,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:540
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:540
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5424,12 +5427,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:54
28
: checking for working const"
>
&5
echo
"configure:54
31
: 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 543
3
"configure"
#line 543
6
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5478,7 +5481,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:548
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:548
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5501,7 +5504,7 @@ fi
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:550
5
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:550
8
: 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
...
...
@@ -5509,7 +5512,7 @@ else
ac_cv_func_memcmp_clean
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 551
3
"configure"
#line 551
6
"configure"
#include "confdefs.h"
main()
...
...
@@ -5519,7 +5522,7 @@ main()
}
EOF
if
{
(
eval echo
configure:552
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:552
6
:
\"
$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
...
...
@@ -5537,12 +5540,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 for strftime""...
$ac_c
"
1>&6
echo
"configure:554
1
: checking for strftime"
>
&5
echo
"configure:554
4
: checking for strftime"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strftime
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 554
6
"configure"
#line 554
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strftime(); below. */
...
...
@@ -5565,7 +5568,7 @@ strftime();
; return 0; }
EOF
if
{
(
eval echo
configure:55
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:55
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strftime=yes"
else
...
...
@@ -5587,7 +5590,7 @@ else
echo
"
$ac_t
""no"
1>&6
# strftime is in -lintl on SCO UNIX.
echo
$ac_n
"checking for strftime in -lintl""...
$ac_c
"
1>&6
echo
"configure:559
1
: checking for strftime in -lintl"
>
&5
echo
"configure:559
4
: checking for strftime in -lintl"
>
&5
ac_lib_var
=
`
echo
intl
'_'
strftime |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5595,7 +5598,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lintl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
599
"configure"
#line 5
602
"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
...
...
@@ -5606,7 +5609,7 @@ int main() {
strftime()
; return 0; }
EOF
if
{
(
eval echo
configure:561
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:561
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
...
...
@@ -5633,12 +5636,12 @@ fi
fi
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:56
37
: checking for vprintf"
>
&5
echo
"configure:56
40
: 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 564
2
"configure"
#line 564
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
...
...
@@ -5661,7 +5664,7 @@ vprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:566
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:566
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
else
...
...
@@ -5685,12 +5688,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:56
8
9: checking for _doprnt"
>
&5
echo
"configure:569
2
: 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 569
4
"configure"
#line 569
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
...
...
@@ -5713,7 +5716,7 @@ _doprnt();
; return 0; }
EOF
if
{
(
eval echo
configure:57
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:57
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
else
...
...
@@ -5738,7 +5741,7 @@ fi
fi
echo
$ac_n
"checking for wait3 that fills in rusage""...
$ac_c
"
1>&6
echo
"configure:574
2
: checking for wait3 that fills in rusage"
>
&5
echo
"configure:574
5
: checking for wait3 that fills in rusage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_wait3_rusage
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5746,7 +5749,7 @@ else
ac_cv_func_wait3_rusage
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 575
0
"configure"
#line 575
3
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5777,7 +5780,7 @@ main() {
}
}
EOF
if
{
(
eval echo
configure:578
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:578
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_func_wait3_rusage
=
yes
else
...
...
@@ -5827,12 +5830,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:583
1
: checking for
$ac_func
"
>
&5
echo
"configure:583
4
: 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 583
6
"configure"
#line 583
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5855,7 +5858,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:58
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:58
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5883,12 +5886,12 @@ done
for
ac_func
in
strdup
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:58
87
: checking for
$ac_func
"
>
&5
echo
"configure:58
90
: 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 589
2
"configure"
#line 589
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5911,7 +5914,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:591
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:591
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
...
...
@@ -5941,13 +5944,13 @@ done
# Check Configuration
echo
$ac_n
"checking declaration of sys_errlist""...
$ac_c
"
1>&6
echo
"configure:594
5
: checking declaration of sys_errlist"
>
&5
echo
"configure:594
8
: checking declaration of sys_errlist"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_dcl_sys_errlist
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 595
1
"configure"
#line 595
4
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -5957,7 +5960,7 @@ int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:596
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:596
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ol_cv_dcl_sys_errlist
=
yes
else
...
...
@@ -5978,20 +5981,20 @@ if test $ol_cv_dcl_sys_errlist = no ; then
EOF
echo
$ac_n
"checking existence of sys_errlist""...
$ac_c
"
1>&6
echo
"configure:598
2
: checking existence of sys_errlist"
>
&5
echo
"configure:598
5
: checking existence of sys_errlist"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_have_sys_errlist
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
88
"configure"
#line 59
91
"configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:599
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:599
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ol_cv_have_sys_errlist
=
yes
else
...
...
configure.in
View file @
27faaf1c
...
...
@@ -683,13 +683,16 @@ AC_HEADER_DIRENT
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS( \
stddef.h \
errno.h \
fcntl.h \
filio.h \
limits.h \
malloc.h \
sgtty.h \
sys/file.h \
sys/errno.h \
sys/ioctl.h \
sys/param.h \
sys/time.h \
syslog.h \
termios.h \
...
...
include/portable.h.in
View file @
27faaf1c
...
...
@@ -152,12 +152,12 @@ is provided ``as is'' without express or implied warranty.
/* define if your POSIX Threads implementatin is circa Draft 4 */
#undef HAVE_PTHREADS_D4
/* define if you have -ltermcap */
#undef HAVE_TERMCAP
/* define if you have -lwrap */
#undef HAVE_TCPD
/* define if you have -ltermcap */
#undef HAVE_TERMCAP
/* define this for connectionless LDAP support */
#undef LDAP_CONNECTIONLESS
...
...
@@ -176,6 +176,18 @@ is provided ``as is'' without express or implied warranty.
/* define this for LDAP User Interface support */
#undef LDAP_LIBUI
/* define this to use DBBTREE w/ LDBM backend */
#undef LDBM_USE_DBBTREE
/* define this to use DBHASH w/ LDBM backend */
#undef LDBM_USE_DBHASH
/* define this if you want no termcap support */
#undef NO_TERMCAP
/* define this if you want no thread support */
#undef NO_THREADS
/* define this for ACL Group support */
#undef SLAPD_ACLGROUPS
...
...
@@ -203,18 +215,6 @@ is provided ``as is'' without express or implied warranty.
/* define this to use SLAPD shell backend */
#undef SLAPD_SHELL