1 --- configure.old 2001-02-25 13:07:03.000000000 +0100
2 +++ configure 2014-07-22 10:49:32.449242277 +0200
3 @@ -1573,45 +1573,12 @@ EOF
7 -for ac_hdr in fcntl.h syslog.h unistd.h sys/poll.h
9 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11 -echo "configure:1581: checking for $ac_hdr" >&5
12 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13 - echo $ac_n "(cached) $ac_c" 1>&6
15 - cat > conftest.$ac_ext <<EOF
16 -#line 1586 "configure"
17 -#include "confdefs.h"
19 +cat >> confdefs.h <<EOF
20 +#define HAVE_FCNTL_H 1
21 +#define HAVE_SYSLOG_H 1
22 +#define HAVE_UNISTD_H 1
23 +#define HAVE_SYS_POLL_H 1
25 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
26 -{ (eval echo configure:1591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
27 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
28 -if test -z "$ac_err"; then
30 - eval "ac_cv_header_$ac_safe=yes"
33 - echo "configure: failed program was:" >&5
34 - cat conftest.$ac_ext >&5
36 - eval "ac_cv_header_$ac_safe=no"
40 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
41 - echo "$ac_t""yes" 1>&6
42 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
43 - cat >> confdefs.h <<EOF
48 - echo "$ac_t""no" 1>&6
53 echo $ac_n "checking for working const""... $ac_c" 1>&6
54 @@ -1729,39 +1696,6 @@ EOF
58 -echo $ac_n "checking for size_t""... $ac_c" 1>&6
59 -echo "configure:1734: checking for size_t" >&5
60 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
61 - echo $ac_n "(cached) $ac_c" 1>&6
63 - cat > conftest.$ac_ext <<EOF
64 -#line 1739 "configure"
65 -#include "confdefs.h"
66 -#include <sys/types.h>
72 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
73 - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
75 - ac_cv_type_size_t=yes
78 - ac_cv_type_size_t=no
83 -echo "$ac_t""$ac_cv_type_size_t" 1>&6
84 -if test $ac_cv_type_size_t = no; then
85 - cat >> confdefs.h <<\EOF
86 -#define size_t unsigned
91 ##AC_CHECK_TYPE(socklen_t, unsigned) # doesn't search <sys/socket.h>
92 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
93 echo "configure:1768: checking for socklen_t" >&5