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
18a33351
Commit
18a33351
authored
Oct 22, 1998
by
Kurt Zeilenga
Browse files
Blindly added Autoconf support to ldapd.
parent
56dd54f6
Changes
27
Hide whitespace changes
Inline
Side-by-side
configure
View file @
18a33351
...
...
@@ -4958,40 +4958,41 @@ EOF
fi
for
ac_hdr
in
\
stddef.h
\
errno.h
\
fcntl.h
\
filio.h
\
getopt.h
\
limits.h
\
malloc.h
\
regex.h
\
sgtty.h
\
sys/file.h
\
sys/errno.h
\
sys/ioctl.h
\
sys/param.h
\
sys/socket.h
\
sys/time.h
\
sys/types.h
\
syslog.h
\
termios.h
\
unistd.h
\
stddef.h
\
errno.h
\
fcntl.h
\
filio.h
\
getopt.h
\
limits.h
\
malloc.h
\
regex.h
\
sgtty.h
\
sys/file.h
\
sys/errno.h
\
sys/ioctl.h
\
sys/param.h
\
sys/socket.h
\
sys/syslog.h
\
sys/time.h
\
sys/types.h
\
syslog.h
\
termios.h
\
unistd.h
\
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:498
5
: checking for
$ac_hdr
"
>
&5
echo
"configure:498
6
: 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 499
0
"configure"
#line 499
1
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:499
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:499
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -5019,12 +5020,12 @@ done
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:502
3
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:502
4
: 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 502
8
"configure"
#line 502
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -5053,7 +5054,7 @@ EOF
fi
echo
$ac_n
"checking type of array argument to getgroups""...
$ac_c
"
1>&6
echo
"configure:505
7
: checking type of array argument to getgroups"
>
&5
echo
"configure:505
8
: 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
...
...
@@ -5061,7 +5062,7 @@ else
ac_cv_type_getgroups
=
cross
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 506
5
"configure"
#line 506
6
"configure"
#include "confdefs.h"
/* Thanks to Mike Rendell for this test. */
...
...
@@ -5086,7 +5087,7 @@ main()
}
EOF
if
{
(
eval echo
configure:509
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:509
1
:
\"
$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
...
...
@@ -5100,7 +5101,7 @@ fi
if
test
$ac_cv_type_getgroups
=
cross
;
then
cat
>
conftest.
$ac_ext
<<
EOF
#line 510
4
"configure"
#line 510
5
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -5124,12 +5125,12 @@ EOF
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:512
8
: checking for mode_t"
>
&5
echo
"configure:512
9
: 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 513
3
"configure"
#line 513
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5157,12 +5158,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:516
1
: checking for off_t"
>
&5
echo
"configure:516
2
: 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 516
6
"configure"
#line 516
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5190,12 +5191,12 @@ EOF
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:519
4
: checking for pid_t"
>
&5
echo
"configure:519
5
: 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 5
199
"configure"
#line 5
200
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5223,12 +5224,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:522
7
: checking return type of signal handlers"
>
&5
echo
"configure:522
8
: 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 523
2
"configure"
#line 523
3
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -5245,7 +5246,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:52
49
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -5264,12 +5265,12 @@ EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:526
8
: checking for size_t"
>
&5
echo
"configure:526
9
: 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 527
3
"configure"
#line 527
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5297,12 +5298,12 @@ EOF
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:530
1
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:530
2
: 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 530
6
"configure"
#line 530
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -5331,12 +5332,12 @@ EOF
fi
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
"configure:533
5
: checking for st_blksize in struct stat"
>
&5
echo
"configure:533
6
: 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 534
0
"configure"
#line 534
1
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -5344,7 +5345,7 @@ int main() {
struct stat s; s.st_blksize;
; return 0; }
EOF
if
{
(
eval echo
configure:534
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:534
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_st_blksize
=
yes
else
...
...
@@ -5365,12 +5366,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
69
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:53
70
: 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 537
4
"configure"
#line 537
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5379,7 +5380,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:538
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:538
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -5400,12 +5401,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:540
4
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:540
5
: 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 540
9
"configure"
#line 54
1
0 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5413,7 +5414,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:541
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:541
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5436,7 +5437,7 @@ fi
echo
$ac_n
"checking if toupper() requires islower()""...
$ac_c
"
1>&6
echo
"configure:544
0
: checking if toupper() requires islower()"
>
&5
echo
"configure:544
1
: checking if toupper() requires islower()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ol_cv_c_upper_lower
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5445,7 +5446,7 @@ else
ol_cv_c_upper_lower
=
safe
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
49
"configure"
#line 54
50
"configure"
#include "confdefs.h"
#include <ctype.h>
...
...
@@ -5457,7 +5458,7 @@ main()
exit(1);
}
EOF
if
{
(
eval echo
configure:546
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:546
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ol_cv_c_upper_lower
=
no
else
...
...
@@ -5480,12 +5481,12 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:548
4
: checking for working const"
>
&5
echo
"configure:548
5
: 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 54
8
9 "configure"
#line 549
0
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5534,7 +5535,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:553
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:553
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5557,7 +5558,7 @@ fi
echo
$ac_n
"checking for 8-bit clean memcmp""...
$ac_c
"
1>&6
echo
"configure:556
1
: checking for 8-bit clean memcmp"
>
&5
echo
"configure:556
2
: 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
...
...
@@ -5565,7 +5566,7 @@ else
ac_cv_func_memcmp_clean
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
69
"configure"
#line 55
70
"configure"
#include "confdefs.h"
main()
...
...
@@ -5575,7 +5576,7 @@ main()
}
EOF
if
{
(
eval echo
configure:55
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:55
80
:
\"
$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
...
...
@@ -5593,12 +5594,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:559
7
: checking for strftime"
>
&5
echo
"configure:559
8
: 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 560
2
"configure"
#line 560
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strftime(); below. */
...
...
@@ -5621,7 +5622,7 @@ strftime();
; return 0; }
EOF
if
{
(
eval echo
configure:562
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:562
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strftime=yes"
else
...
...
@@ -5643,7 +5644,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:564
7
: checking for strftime in -lintl"
>
&5
echo
"configure:564
8
: 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
...
...
@@ -5651,7 +5652,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lintl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 565
5
"configure"
#line 565
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
...
...
@@ -5662,7 +5663,7 @@ int main() {
strftime()
; return 0; }
EOF
if
{
(
eval echo
configure:566
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:566
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
...
...
@@ -5689,12 +5690,12 @@ fi
fi
echo
$ac_n
"checking for vprintf""...
$ac_c
"
1>&6
echo
"configure:569
3
: checking for vprintf"
>
&5
echo
"configure:569
4
: 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 569
8
"configure"
#line 569
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
...
...
@@ -5717,7 +5718,7 @@ vprintf();
; return 0; }
EOF
if
{
(
eval echo
configure:572
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:572
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_vprintf=yes"
else
...
...
@@ -5741,12 +5742,12 @@ fi
if
test
"
$ac_cv_func_vprintf
"
!=
yes
;
then
echo
$ac_n
"checking for _doprnt""...
$ac_c
"
1>&6
echo
"configure:574
5
: checking for _doprnt"
>
&5
echo
"configure:574
6
: 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 575
0
"configure"
#line 575
1
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
...
...
@@ -5769,7 +5770,7 @@ _doprnt();
; return 0; }
EOF
if
{
(
eval echo
configure:577
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:577
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func__doprnt=yes"
else
...
...
@@ -5794,7 +5795,7 @@ fi
fi
echo
$ac_n
"checking for wait3 that fills in rusage""...
$ac_c
"
1>&6
echo
"configure:579
8
: checking for wait3 that fills in rusage"
>
&5
echo
"configure:579
9
: 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
...
...
@@ -5802,7 +5803,7 @@ else
ac_cv_func_wait3_rusage
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 580
6
"configure"
#line 580
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5833,7 +5834,7 @@ main() {
}
}
EOF
if
{
(
eval echo
configure:583
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:583
8
:
\"
$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
...
...
@@ -5887,12 +5888,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:589
1
: checking for
$ac_func
"
>
&5
echo
"configure:589
2
: 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
6
"configure"
#line 589
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5915,7 +5916,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:59
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:59
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5943,12 +5944,12 @@ done
for
ac_func
in
getopt strdup tempnam
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:594
7
: checking for
$ac_func
"
>
&5
echo
"configure:594
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 595
2
"configure"
#line 595
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5971,7 +5972,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:597
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:597
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
...
...
@@ -6001,13 +6002,13 @@ done
# Check Configuration
echo
$ac_n
"checking declaration of sys_errlist""...
$ac_c
"
1>&6
echo
"configure:600
5
: checking declaration of sys_errlist"
>
&5
echo
"configure:600
6
: 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 601
1
"configure"
#line 601
2
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -6017,7 +6018,7 @@ int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:602
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:602
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ol_cv_dcl_sys_errlist
=
yes
else
...
...
@@ -6038,20 +6039,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:604
2
: checking existence of sys_errlist"
>
&5
echo
"configure:604
3
: 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 604
8
"configure"
#line 604
9
"configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:605
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:605
6
:
\"
$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 @
18a33351
...
...
@@ -685,26 +685,27 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS( \
stddef.h \
errno.h \
fcntl.h \
filio.h \
getopt.h \
limits.h \
malloc.h \
regex.h \
sgtty.h \
sys/file.h \
sys/errno.h \
sys/ioctl.h \
sys/param.h \
sys/socket.h\
sys/time.h \
sys/types.h \
syslog.h \
termios.h \
unistd.h \
AC_CHECK_HEADERS( \
stddef.h \
errno.h \
fcntl.h \
filio.h \
getopt.h \
limits.h \
malloc.h \
regex.h \
sgtty.h \
sys/file.h \
sys/errno.h \
sys/ioctl.h \
sys/param.h \
sys/socket.h \
sys/syslog.h \
sys/time.h \
sys/types.h \
syslog.h \
termios.h \
unistd.h \
)
dnl ----------------------------------------------------------------
...
...
include/ac/syslog.h
View file @
18a33351
...
...
@@ -4,8 +4,11 @@
#ifndef _AC_SYSLOG_H_
#define _AC_SYSLOG_H_
#ifdef HAVE_SYSLOG_H
#if
def
ined(
HAVE_SYSLOG_H
)
#include
<syslog.h>
#elif defined ( HAVE_SYS_SYSLOG_H )
#include
<sys/syslog.h>
#endif
#if defined( LOG_NDELAY ) && defined( LOG_NOWAIT )
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY | LOG_NOWAIT )
...
...
@@ -17,6 +20,4 @@
# define OPENLOG_OPTIONS ( LOG_PID )
#endif
#endif
/* syslog.h */
#endif
/* _AC_SYSLOG_H_ */
include/portable.h.in
View file @
18a33351
...
...
@@ -410,6 +410,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define if you have the <sys/syslog.h> header file. */