2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for DHCP 4.2.0.
5 # Report bugs to <dhcp-users@isc.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='dhcp'
577 PACKAGE_VERSION
='4.2.0'
578 PACKAGE_STRING
='DHCP 4.2.0'
579 PACKAGE_BUGREPORT
='dhcp-users@isc.org'
581 # Factoring default headers for most tests.
582 ac_includes_default
="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
626 program_transform_name
668 INSTALL_STRIP_PROGRAM
702 ac_precious_vars
='build_alias
713 # Initialize some variables set by options.
715 ac_init_version
=false
716 # The variables have the same names as the options, with
717 # dashes changed to underlines.
725 program_transform_name
=s
,x
,x
,
733 # Installation directory options.
734 # These are left unexpanded so users can "make install exec_prefix=/foo"
735 # and all the variables that are supposed to be based on exec_prefix
736 # by default will actually change.
737 # Use braces instead of parens because sh, perl, etc. also accept them.
738 # (The list follows the same order as the GNU Coding Standards.)
739 bindir
='${exec_prefix}/bin'
740 sbindir
='${exec_prefix}/sbin'
741 libexecdir
='${exec_prefix}/libexec'
742 datarootdir
='${prefix}/share'
743 datadir
='${datarootdir}'
744 sysconfdir
='${prefix}/etc'
745 sharedstatedir
='${prefix}/com'
746 localstatedir
='${prefix}/var'
747 includedir
='${prefix}/include'
748 oldincludedir
='/usr/include'
749 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
750 infodir
='${datarootdir}/info'
755 libdir
='${exec_prefix}/lib'
756 localedir
='${datarootdir}/locale'
757 mandir
='${datarootdir}/man'
763 # If the previous option needs an argument, assign it.
764 if test -n "$ac_prev"; then
765 eval $ac_prev=\
$ac_option
771 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
775 # Accept the important Cygnus configure options, so we can diagnose typos.
777 case $ac_dashdash$ac_option in
781 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
783 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
786 -build |
--build |
--buil |
--bui |
--bu)
787 ac_prev
=build_alias
;;
788 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
789 build_alias
=$ac_optarg ;;
791 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
792 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
793 ac_prev
=cache_file
;;
794 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
795 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
796 cache_file
=$ac_optarg ;;
799 cache_file
=config.cache
;;
801 -datadir |
--datadir |
--datadi |
--datad)
803 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
804 datadir
=$ac_optarg ;;
806 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
807 |
--dataroo |
--dataro |
--datar)
808 ac_prev
=datarootdir
;;
809 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
810 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
811 datarootdir
=$ac_optarg ;;
813 -disable-* |
--disable-*)
814 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
817 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
818 { (exit 1); exit 1; }; }
819 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
820 eval enable_
$ac_feature=no
;;
822 -docdir |
--docdir |
--docdi |
--doc |
--do)
824 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
827 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
829 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
832 -enable-* |
--enable-*)
833 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
836 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
837 { (exit 1); exit 1; }; }
838 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
839 eval enable_
$ac_feature=\
$ac_optarg ;;
841 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
842 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
843 |
--exec |
--exe |
--ex)
844 ac_prev
=exec_prefix
;;
845 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
846 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
847 |
--exec=* |
--exe=* |
--ex=*)
848 exec_prefix
=$ac_optarg ;;
850 -gas |
--gas |
--ga |
--g)
851 # Obsolete; use --with-gas.
854 -help |
--help |
--hel |
--he |
-h)
856 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
857 ac_init_help
=recursive
;;
858 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
859 ac_init_help
=short
;;
861 -host |
--host |
--hos |
--ho)
862 ac_prev
=host_alias
;;
863 -host=* |
--host=* |
--hos=* |
--ho=*)
864 host_alias
=$ac_optarg ;;
866 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
868 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
870 htmldir
=$ac_optarg ;;
872 -includedir |
--includedir |
--includedi |
--included |
--include \
873 |
--includ |
--inclu |
--incl |
--inc)
874 ac_prev
=includedir
;;
875 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
876 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
877 includedir
=$ac_optarg ;;
879 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
881 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
882 infodir
=$ac_optarg ;;
884 -libdir |
--libdir |
--libdi |
--libd)
886 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
889 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
890 |
--libexe |
--libex |
--libe)
891 ac_prev
=libexecdir
;;
892 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
893 |
--libexe=* |
--libex=* |
--libe=*)
894 libexecdir
=$ac_optarg ;;
896 -localedir |
--localedir |
--localedi |
--localed |
--locale)
898 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
899 localedir
=$ac_optarg ;;
901 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
902 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
903 ac_prev
=localstatedir
;;
904 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
905 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
906 localstatedir
=$ac_optarg ;;
908 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
910 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
914 # Obsolete; use --without-fp.
917 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
918 |
--no-cr |
--no-c |
-n)
921 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
922 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
925 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
926 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
927 |
--oldin |
--oldi |
--old |
--ol |
--o)
928 ac_prev
=oldincludedir
;;
929 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
930 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
931 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
932 oldincludedir
=$ac_optarg ;;
934 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
936 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
939 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
940 |
--program-pre |
--program-pr |
--program-p)
941 ac_prev
=program_prefix
;;
942 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
943 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
944 program_prefix
=$ac_optarg ;;
946 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
947 |
--program-suf |
--program-su |
--program-s)
948 ac_prev
=program_suffix
;;
949 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
950 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
951 program_suffix
=$ac_optarg ;;
953 -program-transform-name |
--program-transform-name \
954 |
--program-transform-nam |
--program-transform-na \
955 |
--program-transform-n |
--program-transform- \
956 |
--program-transform |
--program-transfor \
957 |
--program-transfo |
--program-transf \
958 |
--program-trans |
--program-tran \
959 |
--progr-tra |
--program-tr |
--program-t)
960 ac_prev
=program_transform_name
;;
961 -program-transform-name=* |
--program-transform-name=* \
962 |
--program-transform-nam=* |
--program-transform-na=* \
963 |
--program-transform-n=* |
--program-transform-=* \
964 |
--program-transform=* |
--program-transfor=* \
965 |
--program-transfo=* |
--program-transf=* \
966 |
--program-trans=* |
--program-tran=* \
967 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
968 program_transform_name
=$ac_optarg ;;
970 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
972 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
975 -psdir |
--psdir |
--psdi |
--psd |
--ps)
977 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
980 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
981 |
-silent |
--silent |
--silen |
--sile |
--sil)
984 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
986 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
988 sbindir
=$ac_optarg ;;
990 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
991 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
992 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
994 ac_prev
=sharedstatedir
;;
995 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
996 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
997 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
999 sharedstatedir
=$ac_optarg ;;
1001 -site |
--site |
--sit)
1003 -site=* |
--site=* |
--sit=*)
1006 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1008 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1009 srcdir
=$ac_optarg ;;
1011 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1012 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1013 ac_prev
=sysconfdir
;;
1014 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1015 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1016 sysconfdir
=$ac_optarg ;;
1018 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1019 ac_prev
=target_alias
;;
1020 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1021 target_alias
=$ac_optarg ;;
1023 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1026 -version |
--version |
--versio |
--versi |
--vers |
-V)
1027 ac_init_version
=: ;;
1030 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1033 { echo "$as_me: error: invalid package name: $ac_package" >&2
1034 { (exit 1); exit 1; }; }
1035 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1036 eval with_
$ac_package=\
$ac_optarg ;;
1038 -without-* |
--without-*)
1039 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1042 { echo "$as_me: error: invalid package name: $ac_package" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1045 eval with_
$ac_package=no
;;
1048 # Obsolete; use --with-x.
1051 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1052 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1053 ac_prev
=x_includes
;;
1054 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1055 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1056 x_includes
=$ac_optarg ;;
1058 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1059 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1060 ac_prev
=x_libraries
;;
1061 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1062 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1063 x_libraries
=$ac_optarg ;;
1065 -*) { echo "$as_me: error: unrecognized option: $ac_option
1066 Try \`$0 --help' for more information." >&2
1067 { (exit 1); exit 1; }; }
1071 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1074 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1075 { (exit 1); exit 1; }; }
1076 eval $ac_envvar=\
$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 if test -n "$ac_prev"; then
1091 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1092 { echo "$as_me: error: missing argument to $ac_option" >&2
1093 { (exit 1); exit 1; }; }
1096 # Be sure to have absolute directory names.
1097 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1102 eval ac_val
=\$
$ac_var
1104 [\\/$
]* | ?
:[\\/]* ) continue;;
1105 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1107 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1108 { (exit 1); exit 1; }; }
1111 # There might be people who depend on the old broken behavior: `$host'
1112 # used to hold the argument of --host etc.
1113 # FIXME: To remove some day.
1116 target
=$target_alias
1118 # FIXME: To remove some day.
1119 if test "x$host_alias" != x
; then
1120 if test "x$build_alias" = x
; then
1121 cross_compiling
=maybe
1122 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1123 If a cross compiler is detected then cross compile mode will be used." >&2
1124 elif test "x$build_alias" != "x$host_alias"; then
1130 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1132 test "$silent" = yes && exec 6>/dev
/null
1135 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1136 ac_ls_di
=`ls -di .` &&
1137 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1138 { echo "$as_me: error: Working directory cannot be determined" >&2
1139 { (exit 1); exit 1; }; }
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141 { echo "$as_me: error: pwd does not report name of working directory" >&2
1142 { (exit 1); exit 1; }; }
1145 # Find the source files, if location was not specified.
1146 if test -z "$srcdir"; then
1147 ac_srcdir_defaulted
=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir
=`$as_dirname -- "$0" ||
1150 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$0" : 'X\(//\)[^/]' \| \
1152 X"$0" : 'X\(//\)$' \| \
1153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1177 ac_srcdir_defaulted
=no
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1181 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1182 { (exit 1); exit 1; }; }
1184 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1186 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1187 { (exit 1); exit 1; }; }
1189 # When building in place, set srcdir=.
1190 if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 # Remove unnecessary trailing slashes from srcdir.
1194 # Double slashes in file names in object file debugging info
1195 # mess up M-x gdb in Emacs.
1197 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199 for ac_var
in $ac_precious_vars; do
1200 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1201 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1202 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1203 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1207 # Report the --help message.
1209 if test "$ac_init_help" = "long"; then
1210 # Omit some internal or obsolete options to make the list less imposing.
1211 # This message is too long to be a string in the A/UX 3.1 sh.
1213 \`configure' configures DHCP 4.2.0 to adapt to many kinds of systems.
1215 Usage: $0 [OPTION]... [VAR=VALUE]...
1217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1218 VAR=VALUE. See below for descriptions of some of the useful variables.
1220 Defaults for the options are specified in brackets.
1223 -h, --help display this help and exit
1224 --help=short display options specific to this package
1225 --help=recursive display the short help of all the included packages
1226 -V, --version display version information and exit
1227 -q, --quiet, --silent do not print \`checking...' messages
1228 --cache-file=FILE cache test results in FILE [disabled]
1229 -C, --config-cache alias for \`--cache-file=config.cache'
1230 -n, --no-create do not create output files
1231 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1233 Installation directories:
1234 --prefix=PREFIX install architecture-independent files in PREFIX
1235 [$ac_default_prefix]
1236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 By default, \`make install' will install all the files in
1240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1242 for instance \`--prefix=\$HOME'.
1244 For better control, use the options below.
1246 Fine tuning of the installation directories:
1247 --bindir=DIR user executables [EPREFIX/bin]
1248 --sbindir=DIR system admin executables [EPREFIX/sbin]
1249 --libexecdir=DIR program executables [EPREFIX/libexec]
1250 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1251 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1252 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1253 --libdir=DIR object code libraries [EPREFIX/lib]
1254 --includedir=DIR C header files [PREFIX/include]
1255 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1256 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1257 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1258 --infodir=DIR info documentation [DATAROOTDIR/info]
1259 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1260 --mandir=DIR man documentation [DATAROOTDIR/man]
1261 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1262 --htmldir=DIR html documentation [DOCDIR]
1263 --dvidir=DIR dvi documentation [DOCDIR]
1264 --pdfdir=DIR pdf documentation [DOCDIR]
1265 --psdir=DIR ps documentation [DOCDIR]
1271 --program-prefix=PREFIX prepend PREFIX to installed program names
1272 --program-suffix=SUFFIX append SUFFIX to installed program names
1273 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1277 if test -n "$ac_init_help"; then
1278 case $ac_init_help in
1279 short | recursive
) echo "Configuration of DHCP 4.2.0:";;
1284 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1285 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1286 --disable-dependency-tracking speeds up one-time build
1287 --enable-dependency-tracking do not reject slow dependency extractors
1288 --enable-debug create a debug-only version of the software
(default
1290 --enable-failover enable support
for failover
(default is
yes)
1291 --enable-execute enable support
for execute
() in config
(default is
1293 --enable-tracing enable support
for server activity tracing
(default
1295 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1296 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1297 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1298 --enable-early-chroot enable chrooting prior to configuration
(default is
1302 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1303 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1304 --with-srv-lease-file=PATH
1305 File
for dhcpd leases
(default is
1306 LOCALSTATEDIR
/db
/dhcpd.leases
)
1307 --with-srv6-lease-file=PATH
1308 File
for dhcpd6 leases
(default is
1309 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1310 --with-cli-lease-file=PATH
1311 File
for dhclient leases
(default is
1312 LOCALSTATEDIR
/db
/dhclient.leases
)
1313 --with-cli6-lease-file=PATH
1314 File
for dhclient6 leases
(default is
1315 LOCALSTATEDIR
/db
/dhclient6.leases
)
1316 --with-srv-pid-file=PATH
1317 File
for dhcpd process information
(default is
1318 LOCALSTATEDIR
/run
/dhcpd.pid
)
1319 --with-srv6-pid-file=PATH
1320 File
for dhcpd6 process information
(default is
1321 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1322 --with-cli-pid-file=PATH
1323 File
for dhclient process information
(default is
1324 LOCALSTATEDIR
/run
/dhclient.pid
)
1325 --with-cli6-pid-file=PATH
1326 File
for dhclient6 process information
(default is
1327 LOCALSTATEDIR
/run
/dhclient6.pid
)
1328 --with-relay-pid-file=PATH
1329 File
for dhcrelay process information
(default is
1330 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1331 --with-relay6-pid-file=PATH
1332 File
for dhcrelay6 process information
(default is
1333 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1334 --with-libbind=PATH
bind includes and libraries are
in PATH
(default is
1336 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1337 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1340 Some influential environment variables
:
1341 CC C compiler
command
1342 CFLAGS C compiler flags
1343 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1344 nonstandard directory
<lib dir
>
1345 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1346 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1347 you have headers
in a nonstandard directory
<include dir
>
1350 Use these variables to override the choices made by
`configure' or to help
1351 it to find libraries and programs with nonstandard names/locations.
1353 Report bugs to <dhcp-users@isc.org>.
1358 if test "$ac_init_help" = "recursive"; then
1359 # If there are subdirs, report their specific --help.
1360 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1361 test -d "$ac_dir" || continue
1365 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1368 # A ".." for each directory in $ac_dir_suffix.
1369 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1370 case $ac_top_builddir_sub in
1371 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1372 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1375 ac_abs_top_builddir=$ac_pwd
1376 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1377 # for backward compatibility:
1378 ac_top_builddir=$ac_top_build_prefix
1381 .) # We are building in place.
1383 ac_top_srcdir=$ac_top_builddir_sub
1384 ac_abs_top_srcdir=$ac_pwd ;;
1385 [\\/]* | ?:[\\/]* ) # Absolute name.
1386 ac_srcdir=$srcdir$ac_dir_suffix;
1387 ac_top_srcdir=$srcdir
1388 ac_abs_top_srcdir=$srcdir ;;
1390 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1391 ac_top_srcdir=$ac_top_build_prefix$srcdir
1392 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1394 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1396 cd "$ac_dir" || { ac_status=$?; continue; }
1397 # Check for guested configure.
1398 if test -f "$ac_srcdir/configure.gnu"; then
1400 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1401 elif test -f "$ac_srcdir/configure"; then
1403 $SHELL "$ac_srcdir/configure" --help=recursive
1405 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1407 cd "$ac_pwd" || { ac_status=$?; break; }
1411 test -n "$ac_init_help" && exit $ac_status
1412 if $ac_init_version; then
1414 DHCP configure 4.2.0
1415 generated by GNU Autoconf 2.61
1417 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1418 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1419 This configure script is free software; the Free Software Foundation
1420 gives unlimited permission to copy, distribute and modify it.
1424 cat >config.log <<_ACEOF
1425 This file contains any messages produced by compilers while
1426 running configure, to aid debugging if configure makes a mistake.
1428 It was created by DHCP $as_me 4.2.0, which was
1429 generated by GNU Autoconf 2.61. Invocation command line was
1441 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1442 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1443 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1444 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1445 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1447 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1448 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1450 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1451 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1452 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1453 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1454 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1455 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1456 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1464 test -z "$as_dir" && as_dir=.
1465 echo "PATH: $as_dir"
1481 # Keep a trace of the command line.
1482 # Strip out --no-create and --no-recursion so they do not pile up.
1483 # Strip out --silent because we don't want to record it for future runs.
1484 # Also quote any args containing shell meta-characters.
1485 # Make two passes to allow for proper duplicate-argument suppression.
1489 ac_must_keep_next=false
1495 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1496 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1497 | -silent | --silent | --silen | --sile | --sil)
1500 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1503 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1505 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1506 if test $ac_must_keep_next = true; then
1507 ac_must_keep_next=false # Got value, back to normal.
1510 *=* | --config-cache | -C | -disable-* | --disable-* \
1511 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1512 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1513 | -with-* | --with-* | -without-* | --without-* | --x)
1514 case "$ac_configure_args0 " in
1515 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1518 -* ) ac_must_keep_next=true ;;
1521 ac_configure_args="$ac_configure_args '$ac_arg'"
1526 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1527 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1529 # When interrupted or exit'd, cleanup temporary files, and complete
1530 # config.log. We remove comments because anyway the quotes in there
1531 # would cause problems or look ugly.
1532 # WARNING: Use '\'' to represent an apostrophe within the trap.
1533 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1534 trap 'exit_status=$?
1535 # Save into config.log some information that might help in debugging.
1540 ## ---------------- ##
1541 ## Cache variables. ##
1542 ## ---------------- ##
1545 # The following way of writing the cache mishandles newlines in values,
1547 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1548 eval ac_val=\$$ac_var
1552 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1553 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1556 _ | IFS | as_nl) ;; #(
1557 *) $as_unset $ac_var ;;
1562 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1563 *${as_nl}ac_space=\ *)
1565 "s/'\''/'\''\\\\'\'''\''/g;
1566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1577 ## ----------------- ##
1578 ## Output variables. ##
1579 ## ----------------- ##
1582 for ac_var in $ac_subst_vars
1584 eval ac_val=\$$ac_var
1586 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1588 echo "$ac_var='\''$ac_val'\''"
1592 if test -n "$ac_subst_files"; then
1594 ## ------------------- ##
1595 ## File substitutions. ##
1596 ## ------------------- ##
1599 for ac_var in $ac_subst_files
1601 eval ac_val=\$$ac_var
1603 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605 echo "$ac_var='\''$ac_val'\''"
1610 if test -s confdefs.h; then
1620 test "$ac_signal" != 0 &&
1621 echo "$as_me: caught signal $ac_signal"
1622 echo "$as_me: exit $exit_status"
1624 rm -f core *.core core.conftest.* &&
1625 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1628 for ac_signal in 1 2 13 15; do
1629 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1633 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1634 rm -f -r conftest* confdefs.h
1636 # Predefined preprocessor variables.
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_NAME "$PACKAGE_NAME"
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1648 cat >>confdefs.h <<_ACEOF
1649 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_STRING "$PACKAGE_STRING"
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1663 # Let the site file select an alternate cache file if it wants to.
1664 # Prefer explicitly selected file to automatically selected ones.
1665 if test -n "$CONFIG_SITE"; then
1666 set x "$CONFIG_SITE"
1667 elif test "x$prefix" != xNONE; then
1668 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1670 set x "$ac_default_prefix/share/config.site" \
1671 "$ac_default_prefix/etc/config.site"
1676 if test -r "$ac_site_file"; then
1677 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1678 echo "$as_me: loading site script $ac_site_file" >&6;}
1679 sed 's/^/| /' "$ac_site_file" >&5
1684 if test -r "$cache_file"; then
1685 # Some versions of bash will fail to source /dev/null (special
1686 # files actually), so we avoid doing that.
1687 if test -f "$cache_file"; then
1688 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1689 echo "$as_me: loading cache $cache_file" >&6;}
1691 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1692 *) . "./$cache_file";;
1696 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1697 echo "$as_me: creating cache $cache_file" >&6;}
1701 # Check that the precious variables saved in the cache have kept the same
1703 ac_cache_corrupted=false
1704 for ac_var in $ac_precious_vars; do
1705 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1706 eval ac_new_set=\$ac_env_${ac_var}_set
1707 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1708 eval ac_new_val=\$ac_env_${ac_var}_value
1709 case $ac_old_set,$ac_new_set in
1711 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1712 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1713 ac_cache_corrupted=: ;;
1715 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1716 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1717 ac_cache_corrupted=: ;;
1720 if test "x$ac_old_val" != "x$ac_new_val"; then
1721 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1722 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1723 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1724 echo "$as_me: former value
: $ac_old_val" >&2;}
1725 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1726 echo "$as_me: current value
: $ac_new_val" >&2;}
1727 ac_cache_corrupted=:
1730 # Pass precious variables to config.status.
1731 if test "$ac_new_set" = set; then
1733 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1734 *) ac_arg=$ac_var=$ac_new_val ;;
1736 case " $ac_configure_args " in
1737 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1738 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1742 if $ac_cache_corrupted; then
1743 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1744 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1745 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1746 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1747 { (exit 1); exit 1; }; }
1775 ac_cpp='$CPP $CPPFLAGS'
1776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1782 # we specify "foreign" to avoid having to have the GNU mandated files,
1783 # like AUTHORS, COPYING, and such
1784 am__api_version='1.10'
1787 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1788 if test -f "$ac_dir/install-sh"; then
1790 ac_install_sh="$ac_aux_dir/install-sh -c"
1792 elif test -f "$ac_dir/install.sh"; then
1794 ac_install_sh="$ac_aux_dir/install.sh -c"
1796 elif test -f "$ac_dir/shtool"; then
1798 ac_install_sh="$ac_aux_dir/shtool install -c"
1802 if test -z "$ac_aux_dir"; then
1803 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1804 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1805 { (exit 1); exit 1; }; }
1808 # These three variables are undocumented and unsupported,
1809 # and are intended to be withdrawn in a future Autoconf release.
1810 # They can cause serious problems if a builder's source tree is in a directory
1811 # whose full name contains unusual characters.
1812 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1813 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1814 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1817 # Find a good install program. We prefer a C program (faster),
1818 # so one script is as good as another. But avoid the broken or
1819 # incompatible versions:
1820 # SysV /etc/install, /usr/sbin/install
1821 # SunOS /usr/etc/install
1822 # IRIX /sbin/install
1824 # AmigaOS /C/install, which installs bootblocks on floppy discs
1825 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1826 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1827 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1828 # OS/2's system install, which has a completely different semantic
1829 # ./install, which can be erroneously created by make from ./install.sh.
1830 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1831 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1832 if test -z "$INSTALL"; then
1833 if test "${ac_cv_path_install+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir=.
1841 # Account for people who put trailing slashes in PATH elements.
1843 ./ | .// | /cC/* | \
1844 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1845 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1848 # OSF1 and SCO ODT 3.0 have their own names for install.
1849 # Don't use installbsd from OSF since it installs stuff as root
1851 for ac_prog in ginstall scoinst install; do
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1854 if test $ac_prog = install &&
1855 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1856 # AIX install. It has an incompatible calling convention.
1858 elif test $ac_prog = install &&
1859 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1860 # program-specific install script used by HP pwplus--don't use.
1863 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1876 if test "${ac_cv_path_install+set}" = set; then
1877 INSTALL=$ac_cv_path_install
1879 # As a last resort, use the slow shell script. Don't cache a
1880 # value for INSTALL within a source directory, because that will
1881 # break other packages using the cache if that directory is
1882 # removed, or if the value is a relative name.
1883 INSTALL=$ac_install_sh
1886 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1887 echo "${ECHO_T}$INSTALL" >&6; }
1889 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1890 # It thinks the first close brace ends the variable substitution.
1891 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1893 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1895 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1897 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1898 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1901 echo timestamp > conftest.file
1902 # Do `set' in a subshell so we don't clobber the current shell
's
1903 # arguments. Must try -L first in case configure is actually a
1904 # symlink; some systems play weird games with the mod time of symlinks
1905 # (eg FreeBSD returns the mod time of the symlink's containing
1908 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1909 if test "$*" = "X"; then
1911 set X
`ls -t $srcdir/configure conftest.file`
1914 if test "$*" != "X $srcdir/configure conftest.file" \
1915 && test "$*" != "X conftest.file $srcdir/configure"; then
1917 # If neither matched, then we have a broken ls. This can happen
1918 # if, for instance, CONFIG_SHELL is bash and it inherits a
1919 # broken ls alias from the environment. This has actually
1920 # happened. Such a system could not be considered "sane".
1921 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1922 alias in your environment" >&5
1923 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1924 alias in your environment" >&2;}
1925 { (exit 1); exit 1; }; }
1928 test "$2" = conftest.
file
1934 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1935 Check your system clock" >&5
1936 echo "$as_me: error: newly created file is older than distributed files!
1937 Check your system clock" >&2;}
1938 { (exit 1); exit 1; }; }
1940 { echo "$as_me:$LINENO: result: yes" >&5
1941 echo "${ECHO_T}yes" >&6; }
1942 test "$program_prefix" != NONE
&&
1943 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1944 # Use a double $ so make ignores it.
1945 test "$program_suffix" != NONE
&&
1946 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1947 # Double any \ or $. echo might interpret backslashes.
1948 # By default was `s,x,x', remove it if useless.
1949 cat <<\_ACEOF
>conftest.
sed
1950 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1952 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1955 # expand $ac_aux_dir to an absolute path
1956 am_aux_dir
=`cd $ac_aux_dir && pwd`
1958 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1959 # Use eval to expand $SHELL
1960 if eval "$MISSING --run true"; then
1961 am_missing_run
="$MISSING --run "
1964 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1965 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1968 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1969 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1970 if test -z "$MKDIR_P"; then
1971 if test "${ac_cv_path_mkdir+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1975 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1978 test -z "$as_dir" && as_dir
=.
1979 for ac_prog
in mkdir gmkdir
; do
1980 for ac_exec_ext
in '' $ac_executable_extensions; do
1981 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1982 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1983 'mkdir (GNU coreutils) '* | \
1984 'mkdir (coreutils) '* | \
1985 'mkdir (fileutils) '4.1*)
1986 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1996 if test "${ac_cv_path_mkdir+set}" = set; then
1997 MKDIR_P
="$ac_cv_path_mkdir -p"
1999 # As a last resort, use the slow shell script. Don't cache a
2000 # value for MKDIR_P within a source directory, because that will
2001 # break other packages using the cache if that directory is
2002 # removed, or if the value is a relative name.
2003 test -d .
/--version && rmdir .
/--version
2004 MKDIR_P
="$ac_install_sh -d"
2007 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2008 echo "${ECHO_T}$MKDIR_P" >&6; }
2012 [\\/$
]* | ?
:[\\/]*) ;;
2013 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2016 for ac_prog
in gawk mawk nawk
awk
2018 # Extract the first word of "$ac_prog", so it can be a program name with args.
2019 set dummy
$ac_prog; ac_word
=$2
2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2022 if test "${ac_cv_prog_AWK+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 if test -n "$AWK"; then
2026 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir
=.
2033 for ac_exec_ext
in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2035 ac_cv_prog_AWK
="$ac_prog"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 if test -n "$AWK"; then
2047 { echo "$as_me:$LINENO: result: $AWK" >&5
2048 echo "${ECHO_T}$AWK" >&6; }
2050 { echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6; }
2055 test -n "$AWK" && break
2058 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2059 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2060 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2061 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.
make <<\_ACEOF
2067 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2069 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2070 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2072 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2074 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2078 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2079 { echo "$as_me:$LINENO: result: yes" >&5
2080 echo "${ECHO_T}yes" >&6; }
2083 { echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6; }
2085 SET_MAKE
="MAKE=${MAKE-make}"
2088 rm -rf .tst
2>/dev
/null
2089 mkdir .tst
2>/dev
/null
2090 if test -d .tst
; then
2095 rmdir .tst
2>/dev
/null
2097 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2098 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2099 # is not polluted with repeated "-I."
2100 am__isrc
=' -I$(srcdir)'
2101 # test to see if srcdir already configured
2102 if test -f $srcdir/config.status
; then
2103 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2104 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2105 { (exit 1); exit 1; }; }
2109 # test whether we have cygpath
2110 if test -z "$CYGPATH_W"; then
2111 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2112 CYGPATH_W
='cygpath -w'
2119 # Define the identity of the package.
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE "$PACKAGE"
2129 cat >>confdefs.h
<<_ACEOF
2130 #define VERSION "$VERSION"
2133 # Some tools Automake needs.
2135 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2138 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2141 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2144 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2147 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2149 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2151 # Installed binaries are usually stripped using `strip' when the user
2152 # run `make install-strip'. However `strip' might not be the right
2153 # tool to use in cross-compilation environments, therefore Automake
2154 # will honor the `STRIP' environment variable to overrule this program.
2155 if test "$cross_compiling" != no
; then
2156 if test -n "$ac_tool_prefix"; then
2157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2158 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2161 if test "${ac_cv_prog_STRIP+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$STRIP"; then
2165 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2174 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 STRIP
=$ac_cv_prog_STRIP
2185 if test -n "$STRIP"; then
2186 { echo "$as_me:$LINENO: result: $STRIP" >&5
2187 echo "${ECHO_T}$STRIP" >&6; }
2189 { echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6; }
2195 if test -z "$ac_cv_prog_STRIP"; then
2197 # Extract the first word of "strip", so it can be a program name with args.
2198 set dummy strip
; ac_word
=$2
2199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2201 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 if test -n "$ac_ct_STRIP"; then
2205 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir
=.
2212 for ac_exec_ext
in '' $ac_executable_extensions; do
2213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2214 ac_cv_prog_ac_ct_STRIP
="strip"
2215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2225 if test -n "$ac_ct_STRIP"; then
2226 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2227 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2229 { echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6; }
2233 if test "x$ac_ct_STRIP" = x
; then
2236 case $cross_compiling:$ac_tool_warned in
2238 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2239 whose name does not start with the host triplet. If you think this
2240 configuration is useful to you, please write to autoconf@gnu.org." >&5
2241 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2242 whose name does not start with the host triplet. If you think this
2243 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2244 ac_tool_warned
=yes ;;
2249 STRIP
="$ac_cv_prog_STRIP"
2253 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2255 # We need awk for the "check" target. The system "awk" is bad on
2257 # Always define AMTAR for backward compatibility.
2259 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2261 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2268 # We want to turn on warnings if we are using gcc and the user did
2269 # not specify CFLAGS. The autoconf check for the C compiler sets the
2270 # CFLAGS if gcc is used, so we will save it before we run that check.
2271 SAVE_CFLAGS
="$CFLAGS"
2273 # Now find our C compiler.
2275 ac_cpp
='$CPP $CPPFLAGS'
2276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2279 if test -n "$ac_tool_prefix"; then
2280 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2281 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2284 if test "${ac_cv_prog_CC+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 if test -n "$CC"; then
2288 ac_cv_prog_CC
="$CC" # Let the user override the test.
2290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir
=.
2295 for ac_exec_ext
in '' $ac_executable_extensions; do
2296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2297 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 if test -n "$CC"; then
2309 { echo "$as_me:$LINENO: result: $CC" >&5
2310 echo "${ECHO_T}$CC" >&6; }
2312 { echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6; }
2318 if test -z "$ac_cv_prog_CC"; then
2320 # Extract the first word of "gcc", so it can be a program name with args.
2321 set dummy gcc
; ac_word
=$2
2322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$ac_ct_CC"; then
2328 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir
=.
2335 for ac_exec_ext
in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_ac_ct_CC
="gcc"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2348 if test -n "$ac_ct_CC"; then
2349 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350 echo "${ECHO_T}$ac_ct_CC" >&6; }
2352 { echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6; }
2356 if test "x$ac_ct_CC" = x
; then
2359 case $cross_compiling:$ac_tool_warned in
2361 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2362 whose name does not start with the host triplet. If you think this
2363 configuration is useful to you, please write to autoconf@gnu.org." >&5
2364 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2365 whose name does not start with the host triplet. If you think this
2366 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2367 ac_tool_warned
=yes ;;
2375 if test -z "$CC"; then
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2378 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2381 if test "${ac_cv_prog_CC+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 if test -n "$CC"; then
2385 ac_cv_prog_CC
="$CC" # Let the user override the test.
2387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir
=.
2392 for ac_exec_ext
in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 if test -n "$CC"; then
2406 { echo "$as_me:$LINENO: result: $CC" >&5
2407 echo "${ECHO_T}$CC" >&6; }
2409 { echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6; }
2416 if test -z "$CC"; then
2417 # Extract the first word of "cc", so it can be a program name with args.
2418 set dummy cc
; ac_word
=$2
2419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2421 if test "${ac_cv_prog_CC+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC
="$CC" # Let the user override the test.
2428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir
=.
2433 for ac_exec_ext
in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2436 ac_prog_rejected
=yes
2440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 if test $ac_prog_rejected = yes; then
2448 # We found a bogon in the path, so make sure we never use it.
2449 set dummy
$ac_cv_prog_CC
2451 if test $# != 0; then
2452 # We chose a different compiler from the bogus one.
2453 # However, it has the same basename, so the bogon will be chosen
2454 # first if we set CC to just the basename; use the full file name.
2456 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2462 if test -n "$CC"; then
2463 { echo "$as_me:$LINENO: result: $CC" >&5
2464 echo "${ECHO_T}$CC" >&6; }
2466 { echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6; }
2472 if test -z "$CC"; then
2473 if test -n "$ac_tool_prefix"; then
2474 for ac_prog
in cl.exe
2476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2480 if test "${ac_cv_prog_CC+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 if test -n "$CC"; then
2484 ac_cv_prog_CC
="$CC" # Let the user override the test.
2486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir
=.
2491 for ac_exec_ext
in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 if test -n "$CC"; then
2505 { echo "$as_me:$LINENO: result: $CC" >&5
2506 echo "${ECHO_T}$CC" >&6; }
2508 { echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6; }
2513 test -n "$CC" && break
2516 if test -z "$CC"; then
2518 for ac_prog
in cl.exe
2520 # Extract the first word of "$ac_prog", so it can be a program name with args.
2521 set dummy
$ac_prog; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$ac_ct_CC"; then
2528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_ac_ct_CC
="$ac_prog"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2548 if test -n "$ac_ct_CC"; then
2549 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2550 echo "${ECHO_T}$ac_ct_CC" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2557 test -n "$ac_ct_CC" && break
2560 if test "x$ac_ct_CC" = x
; then
2563 case $cross_compiling:$ac_tool_warned in
2565 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2566 whose name does not start with the host triplet. If you think this
2567 configuration is useful to you, please write to autoconf@gnu.org." >&5
2568 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2569 whose name does not start with the host triplet. If you think this
2570 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2571 ac_tool_warned
=yes ;;
2580 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2581 See \`config.log' for more details." >&5
2582 echo "$as_me: error: no acceptable C compiler found in \$PATH
2583 See \`config.log' for more details." >&2;}
2584 { (exit 1); exit 1; }; }
2586 # Provide some information about the compiler.
2587 echo "$as_me:$LINENO: checking for C compiler version" >&5
2588 ac_compiler
=`set X $ac_compile; echo $2`
2589 { (ac_try
="$ac_compiler --version >&5"
2591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595 (eval "$ac_compiler --version >&5") 2>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }
2599 { (ac_try="$ac_compiler -v >&5"
2601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2602 *) ac_try_echo
=$ac_try;;
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compiler -v >&5") 2>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }
2609 { (ac_try
="$ac_compiler -V >&5"
2611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compiler -V >&5") 2>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }
2620 cat >conftest.$ac_ext <<_ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2635 ac_clean_files_save=$ac_clean_files
2636 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2637 # Try to create an executable without -o first, disregard a.out.
2638 # It will help us diagnose broken compilers, and finding out an intuition
2640 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2641 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2642 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2644 # List of possible output files, starting from the most likely.
2645 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2646 # only as a last resort. b.out is created by i960 compilers.
2647 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2649 # The IRIX 6 linker writes into existing files which may not be
2650 # executable, retaining their permissions. Remove them first so a
2651 # subsequent execution test works.
2653 for ac_file in $ac_files
2656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2657 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2662 if { (ac_try="$ac_link_default"
2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2668 (eval "$ac_link_default") 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; then
2672 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2673 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2674 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2675 # so that the user can short-circuit this test for compilers unknown to
2677 for ac_file
in $ac_files ''
2679 test -f "$ac_file" ||
continue
2681 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2684 # We found the default executable, but exeext='' is most
2688 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2690 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2692 # We set ac_cv_exeext here because the later test for it is not
2693 # safe: cross compilers may not add the suffix if given an `-o'
2694 # argument, so we may need to know it at that point already.
2695 # Even if this section looks crufty: it has the advantage of
2702 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2708 { echo "$as_me:$LINENO: result: $ac_file" >&5
2709 echo "${ECHO_T}$ac_file" >&6; }
2710 if test -z "$ac_file"; then
2711 echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.
$ac_ext >&5
2714 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2715 See \`config.log' for more details." >&5
2716 echo "$as_me: error: C compiler cannot create executables
2717 See \`config.log' for more details." >&2;}
2718 { (exit 77); exit 77; }; }
2721 ac_exeext
=$ac_cv_exeext
2723 # Check that the compiler produces executables we can run. If not, either
2724 # the compiler is broken, or we cross compile.
2725 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2726 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2727 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2728 # If not cross compiling, check that we can run a simple program.
2729 if test "$cross_compiling" != yes; then
2730 if { ac_try
='./$ac_file'
2731 { (case "(($ac_try" in
2732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_try") 2>&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2742 if test "$cross_compiling" = maybe; then
2745 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2746 If you meant to cross compile, use \`--host'.
2747 See \`config.log' for more details.
" >&5
2748 echo "$as_me: error
: cannot run C compiled programs.
2749 If you meant to cross compile
, use \
`--host'.
2750 See \`config.log
' for more details." >&2;}
2751 { (exit 1); exit 1; }; }
2755 { echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6; }
2758 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2759 ac_clean_files=$ac_clean_files_save
2760 # Check that the compiler produces executables we can run. If not, either
2761 # the compiler is broken, or we cross compile.
2762 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2763 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2764 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2765 echo "${ECHO_T}$cross_compiling" >&6; }
2767 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2768 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2769 if { (ac_try="$ac_link"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_link") 2>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }; then
2779 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2780 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2781 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2783 for ac_file
in conftest.exe conftest conftest.
*; do
2784 test -f "$ac_file" ||
continue
2786 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2787 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2796 See \`config.log' for more details." >&2;}
2797 { (exit 1); exit 1; }; }
2800 rm -f conftest
$ac_cv_exeext
2801 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2802 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2804 rm -f conftest.
$ac_ext
2805 EXEEXT
=$ac_cv_exeext
2807 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2808 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2809 if test "${ac_cv_objext+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 cat >conftest.
$ac_ext <<_ACEOF
2815 cat confdefs.h
>>conftest.
$ac_ext
2816 cat >>conftest.
$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2827 rm -f conftest.o conftest.obj
2828 if { (ac_try
="$ac_compile"
2830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2834 (eval "$ac_compile") 2>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 for ac_file in conftest.o conftest.obj conftest.*; do
2839 test -f "$ac_file" || continue;
2841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2842 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2851 See \`config.log
' for more details." >&5
2852 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2853 See \`config.log' for more details.
" >&2;}
2854 { (exit 1); exit 1; }; }
2857 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2859 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2860 echo "${ECHO_T}$ac_cv_objext" >&6; }
2861 OBJEXT=$ac_cv_objext
2863 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2864 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2865 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2866 echo $ECHO_N "(cached
) $ECHO_C" >&6
2868 cat >conftest.$ac_ext <<_ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2886 rm -f conftest.$ac_objext
2887 if { (ac_try="$ac_compile"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_compile") 2>conftest.er1
2895 grep -v '^ *+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2899 (exit $ac_status); } && {
2900 test -z "$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.$ac_objext; then
2905 echo "$as_me: failed program was
:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2915 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2916 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2917 GCC=`test $ac_compiler_gnu = yes && echo yes`
2918 ac_test_CFLAGS=${CFLAGS+set}
2919 ac_save_CFLAGS=$CFLAGS
2920 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2921 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2922 if test "${ac_cv_prog_cc_g+set}" = set; then
2923 echo $ECHO_N "(cached
) $ECHO_C" >&6
2925 ac_save_c_werror_flag=$ac_c_werror_flag
2926 ac_c_werror_flag=yes
2929 cat >conftest.$ac_ext <<_ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2944 rm -f conftest.$ac_objext
2945 if { (ac_try="$ac_compile"
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2951 (eval "$ac_compile") 2>conftest.er1
2953 grep -v '^ *+' conftest.er1 >conftest.err
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2957 (exit $ac_status); } && {
2958 test -z "$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2960 } && test -s conftest.$ac_objext; then
2963 echo "$as_me: failed program was
:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2982 rm -f conftest.$ac_objext
2983 if { (ac_try="$ac_compile"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_compile") 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2995 (exit $ac_status); } && {
2996 test -z "$ac_c_werror_flag" ||
2997 test ! -s conftest.err
2998 } && test -s conftest.$ac_objext; then
3001 echo "$as_me: failed program was
:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_c_werror_flag=$ac_save_c_werror_flag
3006 cat >conftest.$ac_ext <<_ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3021 rm -f conftest.$ac_objext
3022 if { (ac_try="$ac_compile"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compile") 2>conftest.er1
3030 grep -v '^ *+' conftest.er1 >conftest.err
3032 cat conftest.err >&5
3033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3034 (exit $ac_status); } && {
3035 test -z "$ac_c_werror_flag" ||
3036 test ! -s conftest.err
3037 } && test -s conftest.$ac_objext; then
3040 echo "$as_me: failed program was
:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 ac_c_werror_flag=$ac_save_c_werror_flag
3055 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3056 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3057 if test "$ac_test_CFLAGS" = set; then
3058 CFLAGS=$ac_save_CFLAGS
3059 elif test $ac_cv_prog_cc_g = yes; then
3060 if test "$GCC" = yes; then
3066 if test "$GCC" = yes; then
3072 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3073 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3074 if test "${ac_cv_prog_cc_c89+set}" = set; then
3075 echo $ECHO_N "(cached
) $ECHO_C" >&6
3077 ac_cv_prog_cc_c89=no
3079 cat >conftest.$ac_ext <<_ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3087 #include <sys/types.h>
3088 #include <sys/stat.h>
3089 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3090 struct buf { int x; };
3091 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3092 static char *e (p, i)
3098 static char *f (char * (*g) (char **, int), char **p, ...)
3103 s = g (p, va_arg (v,int));
3108 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3109 function prototypes and stuff, but not '\xHH' hex character constants.
3110 These don't provoke an error unfortunately, instead are silently treated
3111 as 'x'. The following induces an error, until -std is added to get
3112 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3113 array size at least. It's necessary to write '\x00'==0 to get something
3114 that's true only with -std. */
3115 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3117 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3118 inside strings and character constants. */
3120 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3122 int test (int i, double x);
3123 struct s1 {int (*f) (int a);};
3124 struct s2 {int (*f) (double a);};
3125 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3131 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3136 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3137 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3139 CC="$ac_save_CC $ac_arg"
3140 rm -f conftest.$ac_objext
3141 if { (ac_try="$ac_compile"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_compile") 2>conftest.er1
3149 grep -v '^ *+' conftest.er1 >conftest.err
3151 cat conftest.err >&5
3152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3153 (exit $ac_status); } && {
3154 test -z "$ac_c_werror_flag" ||
3155 test ! -s conftest.err
3156 } && test -s conftest.$ac_objext; then
3157 ac_cv_prog_cc_c89=$ac_arg
3159 echo "$as_me: failed program was
:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3165 rm -f core conftest.err conftest.$ac_objext
3166 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3168 rm -f conftest.$ac_ext
3173 case "x
$ac_cv_prog_cc_c89" in
3175 { echo "$as_me:$LINENO: result
: none needed
" >&5
3176 echo "${ECHO_T}none needed
" >&6; } ;;
3178 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3179 echo "${ECHO_T}unsupported
" >&6; } ;;
3181 CC="$CC $ac_cv_prog_cc_c89"
3182 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3183 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 DEPDIR="${am__leading_dot}deps
"
3194 ac_config_commands="$ac_config_commands depfiles
"
3197 am_make=${MAKE-make}
3198 cat > confinc << 'END'
3203 # If we don't find an include directive, just comment out the code.
3204 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3205 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3209 # First try GNU make style include.
3210 echo "include confinc" > confmf
3211 # We grep out `Entering directory' and `Leaving directory'
3212 # messages which can occur if `w' ends up in MAKEFLAGS.
3213 # In particular we don't look at `^make:' because GNU make might
3214 # be invoked under some other name (usually "gmake"), in which
3215 # case it prints its new name instead of `make'.
3216 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3221 # Now try BSD make style include.
3222 if test "$am__include" = "#"; then
3223 echo '.include "confinc"' > confmf
3224 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3225 am__include
=.include
3232 { echo "$as_me:$LINENO: result: $_am_result" >&5
3233 echo "${ECHO_T}$_am_result" >&6; }
3234 rm -f confinc confmf
3236 # Check whether --enable-dependency-tracking was given.
3237 if test "${enable_dependency_tracking+set}" = set; then
3238 enableval
=$enable_dependency_tracking;
3241 if test "x$enable_dependency_tracking" != xno
; then
3242 am_depcomp
="$ac_aux_dir/depcomp"
3245 if test "x$enable_dependency_tracking" != xno; then
3255 depcc
="$CC" am_compiler_list
=
3257 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3258 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3259 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3263 # We make a subdir and do the tests there. Otherwise we can end up
3264 # making bogus files that we don't know about and never remove. For
3265 # instance it was reported that on HP-UX the gcc test will end up
3266 # making a dummy file named `D' -- because `-MD' means `put the output
3269 # Copy depcomp to subdir because otherwise we won't find it if we're
3270 # using a relative directory.
3271 cp "$am_depcomp" conftest.dir
3273 # We will build objects and dependencies in a subdirectory because
3274 # it helps to detect inapplicable dependency modes. For instance
3275 # both Tru64's cc and ICC support -MD to output dependencies as a
3276 # side effect of compilation, but ICC will put the dependencies in
3277 # the current directory while Tru64 will put them in the object
3281 am_cv_CC_dependencies_compiler_type
=none
3282 if test "$am_compiler_list" = ""; then
3283 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3285 for depmode
in $am_compiler_list; do
3286 # Setup a source with many dependencies, because some compilers
3287 # like to wrap large dependency lists on column 80 (with \), and
3288 # we should not choose a depcomp mode which is confused by this.
3290 # We need to recreate these files for each test, as the compiler may
3291 # overwrite some of them when testing with obscure command lines.
3292 # This happens at least with the AIX C compiler.
3294 for i
in 1 2 3 4 5 6; do
3295 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3296 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3297 # Solaris 8's {/usr,}/bin/sh.
3298 touch sub
/conftst
$i.h
3300 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3304 # after this tag, mechanisms are not by side-effect, so they'll
3305 # only be used when explicitly requested
3306 if test "x$enable_dependency_tracking" = xyes
; then
3314 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3315 # mode. It turns out that the SunPro C++ compiler does not properly
3316 # handle `-M -o', and we need to detect this.
3317 if depmode
=$depmode \
3318 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3319 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3320 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3321 >/dev
/null
2>conftest.err
&&
3322 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3323 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3324 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3325 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3326 # icc doesn't choke on unknown options, it will just issue warnings
3327 # or remarks (even with -Werror). So we grep stderr for any message
3328 # that says an option was ignored or not supported.
3329 # When given -MP, icc 7.0 and 7.1 complain thusly:
3330 # icc: Command line warning: ignoring option '-M'; no argument required
3331 # The diagnosis changed in icc 8.0:
3332 # icc: Command line remark: option '-MP' not supported
3333 if (grep 'ignoring option' conftest.err ||
3334 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3335 am_cv_CC_dependencies_compiler_type
=$depmode
3344 am_cv_CC_dependencies_compiler_type
=none
3348 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3349 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3350 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3353 test "x$enable_dependency_tracking" != xno \
3354 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3356 am__fastdepCC_FALSE
='#'
3358 am__fastdepCC_TRUE
='#'
3359 am__fastdepCC_FALSE
=
3364 # Suppress warnings about --datarootdir
3367 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
3368 # user did not specify any flags. Add warnings in this case.
3369 if test "$GCC" = "yes"; then
3370 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
3371 STD_CWARNINGS
="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
3375 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
3376 # parts of the IPv6 Advanced Socket API as a result. This is stupid
3377 # as it breaks how the two halves (Basic and Advanced) of the IPv6
3378 # Socket API were designed to be used but we have to live with it.
3379 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
3381 cat >>confdefs.h
<<\_ACEOF
3382 #define _GNU_SOURCE 1
3388 ac_cpp
='$CPP $CPPFLAGS'
3389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3392 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3393 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3394 # On Suns, sometimes $CPP names a directory.
3395 if test -n "$CPP" && test -d "$CPP"; then
3398 if test -z "$CPP"; then
3399 if test "${ac_cv_prog_CPP+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 # Double quotes because CPP needs to be expanded
3403 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3406 for ac_c_preproc_warn_flag
in '' yes
3408 # Use a header file that comes with gcc, so configuring glibc
3409 # with a fresh cross-compiler works.
3410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3411 # <limits.h> exists even on freestanding compilers.
3412 # On the NeXT, cc -E runs the code through the compiler's parser,
3413 # not just through cpp. "Syntax error" is here to catch this case.
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3421 # include <limits.h>
3423 # include <assert.h>
3427 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3435 grep -v '^ *+' conftest.er1 >conftest.err
3437 cat conftest.err >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); } >/dev/null && {
3440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3441 test ! -s conftest.err
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3448 # Broken: fails on valid input.
3452 rm -f conftest.err conftest.$ac_ext
3454 # OK, works on sane cases. Now check whether nonexistent headers
3455 # can be detected and how.
3456 cat >conftest.$ac_ext <<_ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3462 #include <ac_nonexistent.h>
3464 if { (ac_try="$ac_cpp conftest.$ac_ext"
3466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3467 *) ac_try_echo
=$ac_try;;
3469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3472 grep -v '^ *+' conftest.er1
>conftest.err
3474 cat conftest.err
>&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } >/dev
/null
&& {
3477 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3478 test ! -s conftest.err
3480 # Broken: success on invalid input.
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.
$ac_ext >&5
3486 # Passes both tests.
3491 rm -f conftest.err conftest.
$ac_ext
3494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3495 rm -f conftest.err conftest.
$ac_ext
3496 if $ac_preproc_ok; then
3508 { echo "$as_me:$LINENO: result: $CPP" >&5
3509 echo "${ECHO_T}$CPP" >&6; }
3511 for ac_c_preproc_warn_flag
in '' yes
3513 # Use a header file that comes with gcc, so configuring glibc
3514 # with a fresh cross-compiler works.
3515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3516 # <limits.h> exists even on freestanding compilers.
3517 # On the NeXT, cc -E runs the code through the compiler's parser,
3518 # not just through cpp. "Syntax error" is here to catch this case.
3519 cat >conftest.
$ac_ext <<_ACEOF
3522 cat confdefs.h
>>conftest.
$ac_ext
3523 cat >>conftest.
$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3526 # include <limits.h>
3528 # include <assert.h>
3532 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3540 grep -v '^ *+' conftest.er1 >conftest.err
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } >/dev/null && {
3545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3546 test ! -s conftest.err
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 # Broken: fails on valid input.
3557 rm -f conftest.err conftest.$ac_ext
3559 # OK, works on sane cases. Now check whether nonexistent headers
3560 # can be detected and how.
3561 cat >conftest.$ac_ext <<_ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3567 #include <ac_nonexistent.h>
3569 if { (ac_try="$ac_cpp conftest.$ac_ext"
3571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3572 *) ac_try_echo
=$ac_try;;
3574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3577 grep -v '^ *+' conftest.er1
>conftest.err
3579 cat conftest.err
>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } >/dev
/null
&& {
3582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3583 test ! -s conftest.err
3585 # Broken: success on invalid input.
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.
$ac_ext >&5
3591 # Passes both tests.
3596 rm -f conftest.err conftest.
$ac_ext
3599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3600 rm -f conftest.err conftest.
$ac_ext
3601 if $ac_preproc_ok; then
3604 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3605 See \`config.log' for more details." >&5
3606 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3607 See \`config.log' for more details." >&2;}
3608 { (exit 1); exit 1; }; }
3612 ac_cpp
='$CPP $CPPFLAGS'
3613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3618 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3619 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3620 if test "${ac_cv_path_GREP+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 # Extract the first word of "grep ggrep" to use in msg output
3624 if test -z "$GREP"; then
3625 set dummy
grep ggrep
; ac_prog_name
=$2
3626 if test "${ac_cv_path_GREP+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 ac_path_GREP_found
=false
3630 # Loop through the user's path and test for each of PROGNAME-LIST
3631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3632 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3635 test -z "$as_dir" && as_dir
=.
3636 for ac_prog
in grep ggrep
; do
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3639 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3640 # Check for GNU ac_path_GREP and select it if it is found.
3641 # Check for GNU $ac_path_GREP
3642 case `"$ac_path_GREP" --version 2>&1` in
3644 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3647 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3650 cat "conftest.in" "conftest.in" >"conftest.tmp"
3651 mv "conftest.tmp" "conftest.in"
3652 cp "conftest.in" "conftest.nl"
3653 echo 'GREP' >> "conftest.nl"
3654 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3655 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3656 ac_count
=`expr $ac_count + 1`
3657 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3658 # Best one so far, save it but keep looking for a better one
3659 ac_cv_path_GREP
="$ac_path_GREP"
3660 ac_path_GREP_max
=$ac_count
3662 # 10*(2^10) chars as input seems more than enough
3663 test $ac_count -gt 10 && break
3665 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3669 $ac_path_GREP_found && break 3
3679 GREP
="$ac_cv_path_GREP"
3680 if test -z "$GREP"; then
3681 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3682 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3683 { (exit 1); exit 1; }; }
3687 ac_cv_path_GREP
=$GREP
3692 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3693 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3694 GREP
="$ac_cv_path_GREP"
3697 { echo "$as_me:$LINENO: checking for egrep" >&5
3698 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3699 if test "${ac_cv_path_EGREP+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3703 then ac_cv_path_EGREP
="$GREP -E"
3705 # Extract the first word of "egrep" to use in msg output
3706 if test -z "$EGREP"; then
3707 set dummy
egrep; ac_prog_name
=$2
3708 if test "${ac_cv_path_EGREP+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 ac_path_EGREP_found
=false
3712 # Loop through the user's path and test for each of PROGNAME-LIST
3713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3717 test -z "$as_dir" && as_dir
=.
3718 for ac_prog
in egrep; do
3719 for ac_exec_ext
in '' $ac_executable_extensions; do
3720 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3721 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3722 # Check for GNU ac_path_EGREP and select it if it is found.
3723 # Check for GNU $ac_path_EGREP
3724 case `"$ac_path_EGREP" --version 2>&1` in
3726 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3729 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3732 cat "conftest.in" "conftest.in" >"conftest.tmp"
3733 mv "conftest.tmp" "conftest.in"
3734 cp "conftest.in" "conftest.nl"
3735 echo 'EGREP' >> "conftest.nl"
3736 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3737 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3738 ac_count
=`expr $ac_count + 1`
3739 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3740 # Best one so far, save it but keep looking for a better one
3741 ac_cv_path_EGREP
="$ac_path_EGREP"
3742 ac_path_EGREP_max
=$ac_count
3744 # 10*(2^10) chars as input seems more than enough
3745 test $ac_count -gt 10 && break
3747 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3751 $ac_path_EGREP_found && break 3
3761 EGREP
="$ac_cv_path_EGREP"
3762 if test -z "$EGREP"; then
3763 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3764 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3765 { (exit 1); exit 1; }; }
3769 ac_cv_path_EGREP
=$EGREP
3775 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3776 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3777 EGREP
="$ac_cv_path_EGREP"
3781 { echo "$as_me:$LINENO: checking for AIX" >&5
3782 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3783 cat >conftest.
$ac_ext <<_ACEOF
3786 cat confdefs.h
>>conftest.
$ac_ext
3787 cat >>conftest.
$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3795 $EGREP "yes" >/dev
/null
2>&1; then
3796 { echo "$as_me:$LINENO: result: yes" >&5
3797 echo "${ECHO_T}yes" >&6; }
3798 cat >>confdefs.h
<<\_ACEOF
3799 #define _ALL_SOURCE 1
3803 { echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6; }
3809 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3810 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3811 if test "${ac_cv_header_stdc+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 cat >conftest.
$ac_ext <<_ACEOF
3817 cat confdefs.h
>>conftest.
$ac_ext
3818 cat >>conftest.
$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3833 rm -f conftest.
$ac_objext
3834 if { (ac_try
="$ac_compile"
3836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_compile") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1 >conftest.err
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } && {
3847 test -z "$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 } && test -s conftest.$ac_objext; then
3850 ac_cv_header_stdc=yes
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 ac_cv_header_stdc=no
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3860 if test $ac_cv_header_stdc = yes; then
3861 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3862 cat >conftest.$ac_ext <<_ACEOF
3865 cat confdefs.h >>conftest.$ac_ext
3866 cat >>conftest.$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3872 $EGREP "memchr" >/dev/null 2>&1; then
3875 ac_cv_header_stdc=no
3881 if test $ac_cv_header_stdc = yes; then
3882 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3883 cat >conftest.$ac_ext <<_ACEOF
3886 cat confdefs.h >>conftest.$ac_ext
3887 cat >>conftest.$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3893 $EGREP "free" >/dev/null 2>&1; then
3896 ac_cv_header_stdc=no
3902 if test $ac_cv_header_stdc = yes; then
3903 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3904 if test "$cross_compiling" = yes; then
3907 cat >conftest.$ac_ext <<_ACEOF
3910 cat confdefs.h >>conftest.$ac_ext
3911 cat >>conftest.$ac_ext <<_ACEOF
3912 /* end confdefs.h. */
3915 #if ((' ' & 0x0FF) == 0x020)
3916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3919 # define ISLOWER(c) \
3920 (('a' <= (c) && (c) <= 'i') \
3921 || ('j' <= (c) && (c) <= 'r') \
3922 || ('s' <= (c) && (c) <= 'z'))
3923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3931 for (i = 0; i < 256; i++)
3932 if (XOR (islower (i), ISLOWER (i))
3933 || toupper (i) != TOUPPER (i))
3938 rm -f conftest$ac_exeext
3939 if { (ac_try="$ac_link"
3941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3942 *) ac_try_echo
=$ac_try;;
3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3945 (eval "$ac_link") 2>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3949 { (case "(($ac_try" in
3950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3954 (eval "$ac_try") 2>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3960 echo "$as_me: program exited with status $ac_status" >&5
3961 echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.$ac_ext >&5
3965 ac_cv_header_stdc=no
3967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3973 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3974 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3975 if test $ac_cv_header_stdc = yes; then
3977 cat >>confdefs.h <<\_ACEOF
3978 #define STDC_HEADERS 1
3983 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3993 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3994 inttypes.h stdint.h unistd.h
3996 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.$ac_ext <<_ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 $ac_includes_default
4010 #include <$ac_header>
4012 rm -f conftest.$ac_objext
4013 if { (ac_try="$ac_compile"
4015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4016 *) ac_try_echo
=$ac_try;;
4018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4019 (eval "$ac_compile") 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } && {
4026 test -z "$ac_c_werror_flag" ||
4027 test ! -s conftest.err
4028 } && test -s conftest.
$ac_objext; then
4029 eval "$as_ac_Header=yes"
4031 echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.
$ac_ext >&5
4034 eval "$as_ac_Header=no"
4037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4039 ac_res
=`eval echo '${'$as_ac_Header'}'`
4040 { echo "$as_me:$LINENO: result: $ac_res" >&5
4041 echo "${ECHO_T}$ac_res" >&6; }
4042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4043 cat >>confdefs.h
<<_ACEOF
4044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4052 if test "${ac_cv_header_minix_config_h+set}" = set; then
4053 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4054 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4055 if test "${ac_cv_header_minix_config_h+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4059 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4061 # Is the header compilable?
4062 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4063 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4064 cat >conftest.
$ac_ext <<_ACEOF
4067 cat confdefs.h
>>conftest.
$ac_ext
4068 cat >>conftest.
$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4070 $ac_includes_default
4071 #include <minix/config.h>
4073 rm -f conftest.
$ac_objext
4074 if { (ac_try
="$ac_compile"
4076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4080 (eval "$ac_compile") 2>conftest.er1
4082 grep -v '^ *+' conftest.er1 >conftest.err
4084 cat conftest.err >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } && {
4087 test -z "$ac_c_werror_flag" ||
4088 test ! -s conftest.err
4089 } && test -s conftest.$ac_objext; then
4090 ac_header_compiler=yes
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 ac_header_compiler=no
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4100 echo "${ECHO_T}$ac_header_compiler" >&6; }
4102 # Is the header present?
4103 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4104 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4105 cat >conftest.$ac_ext <<_ACEOF
4108 cat confdefs.h >>conftest.$ac_ext
4109 cat >>conftest.$ac_ext <<_ACEOF
4110 /* end confdefs.h. */
4111 #include <minix/config.h>
4113 if { (ac_try="$ac_cpp conftest.$ac_ext"
4115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4116 *) ac_try_echo
=$ac_try;;
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4121 grep -v '^ *+' conftest.er1
>conftest.err
4123 cat conftest.err
>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } >/dev
/null
&& {
4126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4127 test ! -s conftest.err
4129 ac_header_preproc
=yes
4131 echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.
$ac_ext >&5
4134 ac_header_preproc
=no
4137 rm -f conftest.err conftest.
$ac_ext
4138 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4139 echo "${ECHO_T}$ac_header_preproc" >&6; }
4141 # So? What about this header?
4142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4144 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4145 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4146 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4147 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4148 ac_header_preproc
=yes
4151 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4152 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4153 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4154 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4155 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4156 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4158 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4159 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4160 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4161 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4162 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4164 ## --------------------------------- ##
4165 ## Report this to dhcp-users@isc.org ##
4166 ## --------------------------------- ##
4168 ) |
sed "s/^/$as_me: WARNING: /" >&2
4171 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4172 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4173 if test "${ac_cv_header_minix_config_h+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4176 ac_cv_header_minix_config_h
=$ac_header_preproc
4178 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4179 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4182 if test $ac_cv_header_minix_config_h = yes; then
4189 if test "$MINIX" = yes; then
4191 cat >>confdefs.h
<<\_ACEOF
4192 #define _POSIX_SOURCE 1
4196 cat >>confdefs.h
<<\_ACEOF
4197 #define _POSIX_1_SOURCE 2
4201 cat >>confdefs.h
<<\_ACEOF
4217 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4218 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4219 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 cat >conftest.
$ac_ext <<_ACEOF
4225 cat confdefs.h
>>conftest.
$ac_ext
4226 cat >>conftest.
$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4229 # define __EXTENSIONS__ 1
4230 $ac_includes_default
4239 rm -f conftest.
$ac_objext
4240 if { (ac_try
="$ac_compile"
4242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4243 *) ac_try_echo=$ac_try;;
4245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4246 (eval "$ac_compile") 2>conftest.er1
4248 grep -v '^ *+' conftest.er1 >conftest.err
4250 cat conftest.err >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); } && {
4253 test -z "$ac_c_werror_flag" ||
4254 test ! -s conftest.err
4255 } && test -s conftest.$ac_objext; then
4256 ac_cv_safe_to_define___extensions__=yes
4258 echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4261 ac_cv_safe_to_define___extensions__=no
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4267 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4268 test $ac_cv_safe_to_define___extensions__ = yes &&
4269 cat >>confdefs.h <<\_ACEOF
4270 #define __EXTENSIONS__ 1
4273 cat >>confdefs.h <<\_ACEOF
4274 #define _POSIX_PTHREAD_SEMANTICS 1
4277 cat >>confdefs.h <<\_ACEOF
4278 #define _TANDEM_SOURCE 1
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4285 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4288 if test "${ac_cv_prog_RANLIB+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 if test -n "$RANLIB"; then
4292 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 RANLIB=$ac_cv_prog_RANLIB
4312 if test -n "$RANLIB"; then
4313 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4314 echo "${ECHO_T}$RANLIB" >&6; }
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4322 if test -z "$ac_cv_prog_RANLIB"; then
4323 ac_ct_RANLIB=$RANLIB
4324 # Extract the first word of "ranlib", so it can be a program name with args.
4325 set dummy ranlib; ac_word=$2
4326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4328 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 if test -n "$ac_ct_RANLIB"; then
4332 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir=.
4339 for ac_exec_ext in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341 ac_cv_prog_ac_ct_RANLIB="ranlib"
4342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4352 if test -n "$ac_ct_RANLIB"; then
4353 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4354 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4356 { echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6; }
4360 if test "x$ac_ct_RANLIB" = x; then
4363 case $cross_compiling:$ac_tool_warned in
4365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4366 whose name does not start with the host triplet. If you think this
4367 configuration is useful to you, please write to autoconf@gnu.org." >&5
4368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4369 whose name does not start with the host triplet. If you think this
4370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4371 ac_tool_warned=yes ;;
4373 RANLIB=$ac_ct_RANLIB
4376 RANLIB="$ac_cv_prog_RANLIB"
4379 ac_config_headers="$ac_config_headers includes/config.h"
4382 # we sometimes need to know byte order for building packets
4383 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4384 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4385 if test "${ac_cv_c_bigendian+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 # See if sys/param.h defines the BYTE_ORDER macro.
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4395 #include <sys/types.h>
4396 #include <sys/param.h>
4401 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4402 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4410 rm -f conftest.$ac_objext
4411 if { (ac_try="$ac_compile"
4413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4414 *) ac_try_echo
=$ac_try;;
4416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417 (eval "$ac_compile") 2>conftest.er1
4419 grep -v '^ *+' conftest.er1
>conftest.err
4421 cat conftest.err
>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } && {
4424 test -z "$ac_c_werror_flag" ||
4425 test ! -s conftest.err
4426 } && test -s conftest.
$ac_objext; then
4427 # It does; now see whether it defined to BIG_ENDIAN or not.
4428 cat >conftest.
$ac_ext <<_ACEOF
4431 cat confdefs.h
>>conftest.
$ac_ext
4432 cat >>conftest.
$ac_ext <<_ACEOF
4433 /* end confdefs.h. */
4434 #include <sys/types.h>
4435 #include <sys/param.h>
4440 #if BYTE_ORDER != BIG_ENDIAN
4448 rm -f conftest.
$ac_objext
4449 if { (ac_try
="$ac_compile"
4451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4455 (eval "$ac_compile") 2>conftest.er1
4457 grep -v '^ *+' conftest.er1 >conftest.err
4459 cat conftest.err >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } && {
4462 test -z "$ac_c_werror_flag" ||
4463 test ! -s conftest.err
4464 } && test -s conftest.$ac_objext; then
4465 ac_cv_c_bigendian=yes
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.$ac_ext >&5
4470 ac_cv_c_bigendian=no
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 # It does not; compile a test program.
4479 if test "$cross_compiling" = yes; then
4480 # try to guess the endianness by grepping values into an object file
4481 ac_cv_c_bigendian=unknown
4482 cat >conftest.$ac_ext <<_ACEOF
4485 cat confdefs.h >>conftest.$ac_ext
4486 cat >>conftest.$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4488 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4489 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4490 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4491 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4492 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4493 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4497 _ascii (); _ebcdic ();
4502 rm -f conftest.$ac_objext
4503 if { (ac_try="$ac_compile"
4505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4506 *) ac_try_echo
=$ac_try;;
4508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4509 (eval "$ac_compile") 2>conftest.er1
4511 grep -v '^ *+' conftest.er1
>conftest.err
4513 cat conftest.err
>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } && {
4516 test -z "$ac_c_werror_flag" ||
4517 test ! -s conftest.err
4518 } && test -s conftest.
$ac_objext; then
4519 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4520 ac_cv_c_bigendian
=yes
4522 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4523 if test "$ac_cv_c_bigendian" = unknown
; then
4524 ac_cv_c_bigendian
=no
4526 # finding both strings is unlikely to happen, but who knows?
4527 ac_cv_c_bigendian
=unknown
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4539 cat >conftest.
$ac_ext <<_ACEOF
4542 cat confdefs.h
>>conftest.
$ac_ext
4543 cat >>conftest.
$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4545 $ac_includes_default
4550 /* Are we little or big endian? From Harbison&Steele. */
4554 char c[sizeof (long int)];
4557 return u.c[sizeof (long int) - 1] == 1;
4563 rm -f conftest
$ac_exeext
4564 if { (ac_try
="$ac_link"
4566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570 (eval "$ac_link") 2>&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4574 { (case "(($ac_try" in
4575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4576 *) ac_try_echo
=$ac_try;;
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_try") 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 ac_cv_c_bigendian
=no
4585 echo "$as_me: program exited with status $ac_status" >&5
4586 echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.
$ac_ext >&5
4590 ac_cv_c_bigendian
=yes
4592 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4600 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4601 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4602 case $ac_cv_c_bigendian in
4604 byte_order
=BIG_ENDIAN
4607 byte_order
=LITTLE_ENDIAN
4610 { { echo "$as_me:$LINENO: error: unknown endianness
4611 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4612 echo "$as_me: error: unknown endianness
4613 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4614 { (exit 1); exit 1; }; } ;;
4618 cat >>confdefs.h
<<_ACEOF
4619 #define DHCP_BYTE_ORDER $byte_order
4623 # Optional compile-time DEBUGging.
4624 # Check whether --enable-debug was given.
4625 if test "${enable_debug+set}" = set; then
4626 enableval
=$enable_debug;
4629 # This is very much off by default.
4630 if test "$enable_debug" = "yes" ; then
4632 cat >>confdefs.h
<<\_ACEOF
4636 # Just override CFLAGS to totally to remove optimization.
4639 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
4640 # but I don't want to pollute the --help space.
4642 #/* #define DEBUG_TOKENS */
4643 #/* #define DEBUG_PACKET */
4644 #/* #define DEBUG_EXPRESSIONS */
4645 #/* #define DEBUG_FIND_LEASE */
4646 #/* #define DEBUG_EXPRESSION_PARSE */
4647 #/* #define DEBUG_CLASS_MATCHING */
4648 #/* #define DEBUG_MEMORY_LEAKAGE */
4649 #/* #define DEBUG_MALLOC_POOL */
4650 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
4651 #/* #define DEBUG_RC_HISTORY */
4652 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
4653 #/* #define RC_HISTORY_MAX 10240 */
4654 #/* #define POINTER_DEBUG */
4655 #/* #define DEBUG_FAILOVER_MESSAGES */
4656 #/* #define DEBUG_FAILOVER_TIMING */
4657 #/* #define DEBUG_DUMP_ALL_LEASES */
4659 # Failover optional compile-time feature.
4660 # Check whether --enable-failover was given.
4661 if test "${enable_failover+set}" = set; then
4662 enableval
=$enable_failover;
4665 # Failover is on by default, so define if it is not explicitly disabled.
4666 if test "$enable_failover" != "no"; then
4668 cat >>confdefs.h
<<\_ACEOF
4669 #define FAILOVER_PROTOCOL 1
4674 # execute() support.
4675 # Check whether --enable-execute was given.
4676 if test "${enable_execute+set}" = set; then
4677 enableval
=$enable_execute;
4680 # execute() is on by default, so define if it is not explicitly disabled.
4681 if test "$enable_execute" != "no" ; then
4683 cat >>confdefs.h
<<\_ACEOF
4684 #define ENABLE_EXECUTE 1
4689 # Server tracing support.
4690 # Check whether --enable-tracing was given.
4691 if test "${enable_tracing+set}" = set; then
4692 enableval
=$enable_tracing;
4695 # tracing is on by default, so define if it is not explicitly disabled.
4696 if test "$enable_tracing" != "no" ; then
4698 cat >>confdefs.h
<<\_ACEOF
4704 # Delayed-ack feature support (experimental).
4705 # Check whether --enable-delayed_ack was given.
4706 if test "${enable_delayed_ack+set}" = set; then
4707 enableval
=$enable_delayed_ack;
4710 if test "$enable_delayed_ack" = "yes"; then
4712 cat >>confdefs.h
<<\_ACEOF
4713 #define DELAYED_ACK 1
4718 # DHCPv6 optional compile-time feature.
4719 # Check whether --enable-dhcpv6 was given.
4720 if test "${enable_dhcpv6+set}" = set; then
4721 enableval
=$enable_dhcpv6;
4724 # DHCPv6 is on by default, so define if it is not explicitly disabled.
4725 if test "$enable_dhcpv6" != "no"; then
4727 cat >>confdefs.h
<<\_ACEOF
4733 # PARANOIA is off by default (until we can test it with all features)
4734 # Check whether --enable-paranoia was given.
4735 if test "${enable_paranoia+set}" = set; then
4736 enableval
=$enable_paranoia;
4739 # Check whether --enable-early_chroot was given.
4740 if test "${enable_early_chroot+set}" = set; then
4741 enableval
=$enable_early_chroot;
4744 # If someone enables early chroot, but does not enable paranoia, do so for
4746 if test "$enable_paranoia" != "yes" && \
4747 test "$enable_early_chroot" = "yes" ; then
4748 enable_paranoia
="yes"
4751 if test "$enable_paranoia" = "yes" ; then
4753 cat >>confdefs.h
<<\_ACEOF
4758 if test "$enable_early_chroot" = "yes" ; then
4760 cat >>confdefs.h
<<\_ACEOF
4761 #define EARLY_CHROOT 1
4767 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
4768 ### need to look there and potentially overwrite by default (but not if
4769 ### the user configures an alternate value). LOCALSTATEDIR is totally
4770 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
4771 ### they would be insane for suggesting it. We need to look in /var/for
4772 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
4775 if test "x$prefix" = xNONE
; then
4776 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
4777 # Extract the first word of "dhcpd", so it can be a program name with args.
4778 set dummy dhcpd
; ac_word
=$2
4779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4781 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 case $ac_prefix_program in
4786 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir
=.
4794 for ac_exec_ext
in '' $ac_executable_extensions; do
4795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
4797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_prefix_program
=$ac_cv_path_ac_prefix_program
4808 if test -n "$ac_prefix_program"; then
4809 { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
4810 echo "${ECHO_T}$ac_prefix_program" >&6; }
4812 { echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6; }
4817 if test -n "$ac_prefix_program"; then
4818 prefix
=`$as_dirname -- "$ac_prefix_program" ||
4819 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4820 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4821 X"$ac_prefix_program" : 'X\(//\)$' \| \
4822 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4823 echo X"$ac_prefix_program" |
4824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4841 prefix
=`$as_dirname -- "$prefix" ||
4842 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4843 X"$prefix" : 'X\(//\)[^/]' \| \
4844 X"$prefix" : 'X\(//\)$' \| \
4845 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4868 # XXX - isn't there SOME WAY to default autoconf to /var instead of
4869 # /usr/local/var/no/one/has/this/please/stop/trying?
4870 case "$localstatedir" in
4876 # Allow specification of alternate state files
4878 # Check whether --with-srv-lease-file was given.
4879 if test "${with_srv_lease_file+set}" = set; then
4880 withval
=$with_srv_lease_file;
4881 cat >>confdefs.h
<<_ACEOF
4882 #define _PATH_DHCPD_DB "$withval"
4888 echo -n "checking for dhcpd.leases location..."
4889 if [ "x$with_srv_lease_file" = "x" ] ; then
4890 if [ -d "${localstatedir}/db" ] ; then
4891 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
4892 elif [ -d "${localstatedir}/state" ] ; then
4893 if [ -d "${localstatedir}/state/dhcp" ] ; then
4894 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
4896 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
4898 elif [ -d "${localstatedir}/lib" ] ; then
4899 if [ -d "${localstatedir}/lib/dhcp" ] ; then
4900 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
4902 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
4904 elif [ -d "${localstatedir}/etc" ] ; then
4905 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
4907 with_srv_lease_file
="/etc/dhcpd.leases"
4910 echo "$with_srv_lease_file"
4913 # Check whether --with-srv6-lease-file was given.
4914 if test "${with_srv6_lease_file+set}" = set; then
4915 withval
=$with_srv6_lease_file;
4916 cat >>confdefs.h
<<_ACEOF
4917 #define _PATH_DHCPD6_DB "$withval"
4923 echo -n "checking for dhcpd6.leases location..."
4924 if [ "x$with_srv6_lease_file" = "x" ] ; then
4925 if [ -d "${localstatedir}/db" ] ; then
4926 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
4927 elif [ -d "${localstatedir}/state" ] ; then
4928 if [ -d "${localstatedir}/state/dhcp" ] ; then
4929 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
4931 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
4933 elif [ -d "${localstatedir}/lib" ] ; then
4934 if [ -d "${localstatedir}/lib/dhcp" ] ; then
4935 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
4937 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
4939 elif [ -d "${localstatedir}/etc" ] ; then
4940 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
4942 with_srv6_lease_file
="/etc/dhcpd6.leases"
4945 echo "$with_srv6_lease_file"
4948 # Check whether --with-cli-lease-file was given.
4949 if test "${with_cli_lease_file+set}" = set; then
4950 withval
=$with_cli_lease_file;
4951 cat >>confdefs.h
<<_ACEOF
4952 #define _PATH_DHCLIENT_DB "$withval"
4958 echo -n "checking for dhclient.leases location..."
4959 if [ "x$with_cli_lease_file" = "x" ] ; then
4960 if [ -d "${localstatedir}/db" ] ; then
4961 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
4962 elif [ -d "${localstatedir}/state" ] ; then
4963 if [ -d "${localstatedir}/state/dhcp" ] ; then
4964 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
4966 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
4968 elif [ -d "${localstatedir}/lib" ] ; then
4969 if [ -d "${localstatedir}/lib/dhcp" ] ; then
4970 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
4972 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
4974 elif [ -d "${localstatedir}/etc" ] ; then
4975 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
4977 with_cli_lease_file
="/etc/dhclient.leases"
4980 echo "$with_cli_lease_file"
4983 # Check whether --with-cli6-lease-file was given.
4984 if test "${with_cli6_lease_file+set}" = set; then
4985 withval
=$with_cli6_lease_file;
4986 cat >>confdefs.h
<<_ACEOF
4987 #define _PATH_DHCLIENT6_DB "$withval"
4993 echo -n "checking for dhclient6.leases location..."
4994 if [ "x$with_cli6_lease_file" = "x" ] ; then
4995 if [ -d "${localstatedir}/db" ] ; then
4996 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
4997 elif [ -d "${localstatedir}/state" ] ; then
4998 if [ -d "${localstatedir}/state/dhcp" ] ; then
4999 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5001 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5003 elif [ -d "${localstatedir}/lib" ] ; then
5004 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5005 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5007 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5009 elif [ -d "${localstatedir}/etc" ] ; then
5010 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5012 with_cli6_lease_file
="/etc/dhclient6.leases"
5015 echo "$with_cli6_lease_file"
5018 # Check whether --with-srv-pid-file was given.
5019 if test "${with_srv_pid_file+set}" = set; then
5020 withval
=$with_srv_pid_file;
5021 cat >>confdefs.h
<<_ACEOF
5022 #define _PATH_DHCPD_PID "$withval"
5028 # Check whether --with-srv6-pid-file was given.
5029 if test "${with_srv6_pid_file+set}" = set; then
5030 withval
=$with_srv6_pid_file;
5031 cat >>confdefs.h
<<_ACEOF
5032 #define _PATH_DHCPD6_PID "$withval"
5038 # Check whether --with-cli-pid-file was given.
5039 if test "${with_cli_pid_file+set}" = set; then
5040 withval
=$with_cli_pid_file;
5041 cat >>confdefs.h
<<_ACEOF
5042 #define _PATH_DHCLIENT_PID "$withval"
5048 # Check whether --with-cli6-pid-file was given.
5049 if test "${with_cli6_pid_file+set}" = set; then
5050 withval
=$with_cli6_pid_file;
5051 cat >>confdefs.h
<<_ACEOF
5052 #define _PATH_DHCLIENT6_PID "$withval"
5058 # Check whether --with-relay-pid-file was given.
5059 if test "${with_relay_pid_file+set}" = set; then
5060 withval
=$with_relay_pid_file;
5061 cat >>confdefs.h
<<_ACEOF
5062 #define _PATH_DHCRELAY_PID "$withval"
5068 # Check whether --with-relay6-pid-file was given.
5069 if test "${with_relay6_pid_file+set}" = set; then
5070 withval
=$with_relay6_pid_file;
5071 cat >>confdefs.h
<<_ACEOF
5072 #define _PATH_DHCRELAY6_PID "$withval"
5078 # Check basic types.
5080 { echo "$as_me:$LINENO: checking for int8_t" >&5
5081 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; }
5082 if test "${ac_cv_c_int8_t+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 for ac_type
in 'int8_t' 'int' 'long int' \
5087 'long long int' 'short int' 'signed char'; do
5088 cat >conftest.
$ac_ext <<_ACEOF
5091 cat confdefs.h
>>conftest.
$ac_ext
5092 cat >>conftest.
$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5094 $ac_includes_default
5098 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
5105 rm -f conftest.
$ac_objext
5106 if { (ac_try
="$ac_compile"
5108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_compile") 2>conftest.er1
5114 grep -v '^ *+' conftest.er1 >conftest.err
5116 cat conftest.err >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } && {
5119 test -z "$ac_c_werror_flag" ||
5120 test ! -s conftest.err
5121 } && test -s conftest.$ac_objext; then
5122 cat >conftest.$ac_ext <<_ACEOF
5125 cat confdefs.h >>conftest.$ac_ext
5126 cat >>conftest.$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128 $ac_includes_default
5132 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
5133 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
5140 rm -f conftest.$ac_objext
5141 if { (ac_try="$ac_compile"
5143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5144 *) ac_try_echo
=$ac_try;;
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147 (eval "$ac_compile") 2>conftest.er1
5149 grep -v '^ *+' conftest.er1
>conftest.err
5151 cat conftest.err
>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } && {
5154 test -z "$ac_c_werror_flag" ||
5155 test ! -s conftest.err
5156 } && test -s conftest.
$ac_objext; then
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.
$ac_ext >&5
5163 int8_t
) ac_cv_c_int8_t
=yes ;;
5164 *) ac_cv_c_int8_t
=$ac_type ;;
5169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5171 echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.
$ac_ext >&5
5177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5178 test "$ac_cv_c_int8_t" != no
&& break
5181 { echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
5182 echo "${ECHO_T}$ac_cv_c_int8_t" >&6; }
5183 case $ac_cv_c_int8_t in #(
5187 cat >>confdefs.h
<<_ACEOF
5188 #define int8_t $ac_cv_c_int8_t
5194 { echo "$as_me:$LINENO: checking for int16_t" >&5
5195 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
5196 if test "${ac_cv_c_int16_t+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 for ac_type
in 'int16_t' 'int' 'long int' \
5201 'long long int' 'short int' 'signed char'; do
5202 cat >conftest.
$ac_ext <<_ACEOF
5205 cat confdefs.h
>>conftest.
$ac_ext
5206 cat >>conftest.
$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5208 $ac_includes_default
5212 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
5219 rm -f conftest.
$ac_objext
5220 if { (ac_try
="$ac_compile"
5222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_compile") 2>conftest.er1
5228 grep -v '^ *+' conftest.er1 >conftest.err
5230 cat conftest.err >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } && {
5233 test -z "$ac_c_werror_flag" ||
5234 test ! -s conftest.err
5235 } && test -s conftest.$ac_objext; then
5236 cat >conftest.$ac_ext <<_ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 $ac_includes_default
5246 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
5247 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
5254 rm -f conftest.$ac_objext
5255 if { (ac_try="$ac_compile"
5257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5258 *) ac_try_echo
=$ac_try;;
5260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5261 (eval "$ac_compile") 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } && {
5268 test -z "$ac_c_werror_flag" ||
5269 test ! -s conftest.err
5270 } && test -s conftest.
$ac_objext; then
5273 echo "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.
$ac_ext >&5
5277 int16_t
) ac_cv_c_int16_t
=yes ;;
5278 *) ac_cv_c_int16_t
=$ac_type ;;
5283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.
$ac_ext >&5
5291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5292 test "$ac_cv_c_int16_t" != no
&& break
5295 { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
5296 echo "${ECHO_T}$ac_cv_c_int16_t" >&6; }
5297 case $ac_cv_c_int16_t in #(
5301 cat >>confdefs.h
<<_ACEOF
5302 #define int16_t $ac_cv_c_int16_t
5308 { echo "$as_me:$LINENO: checking for int32_t" >&5
5309 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
5310 if test "${ac_cv_c_int32_t+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 for ac_type
in 'int32_t' 'int' 'long int' \
5315 'long long int' 'short int' 'signed char'; do
5316 cat >conftest.
$ac_ext <<_ACEOF
5319 cat confdefs.h
>>conftest.
$ac_ext
5320 cat >>conftest.
$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5322 $ac_includes_default
5326 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
5333 rm -f conftest.
$ac_objext
5334 if { (ac_try
="$ac_compile"
5336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5337 *) ac_try_echo=$ac_try;;
5339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5340 (eval "$ac_compile") 2>conftest.er1
5342 grep -v '^ *+' conftest.er1 >conftest.err
5344 cat conftest.err >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } && {
5347 test -z "$ac_c_werror_flag" ||
5348 test ! -s conftest.err
5349 } && test -s conftest.$ac_objext; then
5350 cat >conftest.$ac_ext <<_ACEOF
5353 cat confdefs.h >>conftest.$ac_ext
5354 cat >>conftest.$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5356 $ac_includes_default
5360 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
5361 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
5368 rm -f conftest.$ac_objext
5369 if { (ac_try="$ac_compile"
5371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5372 *) ac_try_echo
=$ac_try;;
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_compile") 2>conftest.er1
5377 grep -v '^ *+' conftest.er1
>conftest.err
5379 cat conftest.err
>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } && {
5382 test -z "$ac_c_werror_flag" ||
5383 test ! -s conftest.err
5384 } && test -s conftest.
$ac_objext; then
5387 echo "$as_me: failed program was:" >&5
5388 sed 's/^/| /' conftest.
$ac_ext >&5
5391 int32_t
) ac_cv_c_int32_t
=yes ;;
5392 *) ac_cv_c_int32_t
=$ac_type ;;
5397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5399 echo "$as_me: failed program was:" >&5
5400 sed 's/^/| /' conftest.
$ac_ext >&5
5405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5406 test "$ac_cv_c_int32_t" != no
&& break
5409 { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
5410 echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
5411 case $ac_cv_c_int32_t in #(
5415 cat >>confdefs.h
<<_ACEOF
5416 #define int32_t $ac_cv_c_int32_t
5422 { echo "$as_me:$LINENO: checking for int64_t" >&5
5423 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
5424 if test "${ac_cv_c_int64_t+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5428 for ac_type
in 'int64_t' 'int' 'long int' \
5429 'long long int' 'short int' 'signed char'; do
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5436 $ac_includes_default
5440 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
5447 rm -f conftest.
$ac_objext
5448 if { (ac_try
="$ac_compile"
5450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5451 *) ac_try_echo=$ac_try;;
5453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5454 (eval "$ac_compile") 2>conftest.er1
5456 grep -v '^ *+' conftest.er1 >conftest.err
5458 cat conftest.err >&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); } && {
5461 test -z "$ac_c_werror_flag" ||
5462 test ! -s conftest.err
5463 } && test -s conftest.$ac_objext; then
5464 cat >conftest.$ac_ext <<_ACEOF
5467 cat confdefs.h >>conftest.$ac_ext
5468 cat >>conftest.$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5470 $ac_includes_default
5474 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
5475 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
5482 rm -f conftest.$ac_objext
5483 if { (ac_try="$ac_compile"
5485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5486 *) ac_try_echo
=$ac_try;;
5488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5489 (eval "$ac_compile") 2>conftest.er1
5491 grep -v '^ *+' conftest.er1
>conftest.err
5493 cat conftest.err
>&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); } && {
5496 test -z "$ac_c_werror_flag" ||
5497 test ! -s conftest.err
5498 } && test -s conftest.
$ac_objext; then
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.
$ac_ext >&5
5505 int64_t
) ac_cv_c_int64_t
=yes ;;
5506 *) ac_cv_c_int64_t
=$ac_type ;;
5511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.
$ac_ext >&5
5519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5520 test "$ac_cv_c_int64_t" != no
&& break
5523 { echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
5524 echo "${ECHO_T}$ac_cv_c_int64_t" >&6; }
5525 case $ac_cv_c_int64_t in #(
5529 cat >>confdefs.h
<<_ACEOF
5530 #define int64_t $ac_cv_c_int64_t
5536 # Some systems need the u_intX_t types defined across.
5537 { echo "$as_me:$LINENO: checking for u_int8_t" >&5
5538 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6; }
5539 if test "${ac_cv_type_u_int8_t+set}" = set; then
5540 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 cat >conftest.
$ac_ext <<_ACEOF
5545 cat confdefs.h
>>conftest.
$ac_ext
5546 cat >>conftest.
$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5548 $ac_includes_default
5549 typedef u_int8_t ac__type_new_;
5553 if ((ac__type_new_ *) 0)
5555 if (sizeof (ac__type_new_))
5561 rm -f conftest.
$ac_objext
5562 if { (ac_try
="$ac_compile"
5564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5565 *) ac_try_echo=$ac_try;;
5567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5568 (eval "$ac_compile") 2>conftest.er1
5570 grep -v '^ *+' conftest.er1 >conftest.err
5572 cat conftest.err >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); } && {
5575 test -z "$ac_c_werror_flag" ||
5576 test ! -s conftest.err
5577 } && test -s conftest.$ac_objext; then
5578 ac_cv_type_u_int8_t=yes
5580 echo "$as_me: failed program was:" >&5
5581 sed 's/^/| /' conftest.$ac_ext >&5
5583 ac_cv_type_u_int8_t=no
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
5589 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6; }
5590 if test $ac_cv_type_u_int8_t = yes; then
5595 { echo "$as_me:$LINENO: checking for uint8_t" >&5
5596 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
5597 if test "${ac_cv_c_uint8_t+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
5602 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5603 cat >conftest.$ac_ext <<_ACEOF
5606 cat confdefs.h >>conftest.$ac_ext
5607 cat >>conftest.$ac_ext <<_ACEOF
5608 /* end confdefs.h. */
5609 $ac_includes_default
5613 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
5620 rm -f conftest.$ac_objext
5621 if { (ac_try="$ac_compile"
5623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5624 *) ac_try_echo
=$ac_try;;
5626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5627 (eval "$ac_compile") 2>conftest.er1
5629 grep -v '^ *+' conftest.er1
>conftest.err
5631 cat conftest.err
>&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && {
5634 test -z "$ac_c_werror_flag" ||
5635 test ! -s conftest.err
5636 } && test -s conftest.
$ac_objext; then
5638 uint8_t
) ac_cv_c_uint8_t
=yes ;;
5639 *) ac_cv_c_uint8_t
=$ac_type ;;
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.
$ac_ext >&5
5649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5650 test "$ac_cv_c_uint8_t" != no
&& break
5653 { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
5654 echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
5655 case $ac_cv_c_uint8_t in #(
5659 cat >>confdefs.h
<<\_ACEOF
5664 cat >>confdefs.h
<<_ACEOF
5665 #define uint8_t $ac_cv_c_uint8_t
5671 cat >>confdefs.h
<<\_ACEOF
5672 #define u_int8_t uint8_t
5678 { echo "$as_me:$LINENO: checking for u_int16_t" >&5
5679 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
5680 if test "${ac_cv_type_u_int16_t+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 cat >conftest.
$ac_ext <<_ACEOF
5686 cat confdefs.h
>>conftest.
$ac_ext
5687 cat >>conftest.
$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5689 $ac_includes_default
5690 typedef u_int16_t ac__type_new_;
5694 if ((ac__type_new_ *) 0)
5696 if (sizeof (ac__type_new_))
5702 rm -f conftest.
$ac_objext
5703 if { (ac_try
="$ac_compile"
5705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_compile") 2>conftest.er1
5711 grep -v '^ *+' conftest.er1 >conftest.err
5713 cat conftest.err >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } && {
5716 test -z "$ac_c_werror_flag" ||
5717 test ! -s conftest.err
5718 } && test -s conftest.$ac_objext; then
5719 ac_cv_type_u_int16_t=yes
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.$ac_ext >&5
5724 ac_cv_type_u_int16_t=no
5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5729 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5730 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
5731 if test $ac_cv_type_u_int16_t = yes; then
5736 { echo "$as_me:$LINENO: checking for uint16_t" >&5
5737 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
5738 if test "${ac_cv_c_uint16_t+set}" = set; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
5743 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5744 cat >conftest.$ac_ext <<_ACEOF
5747 cat confdefs.h >>conftest.$ac_ext
5748 cat >>conftest.$ac_ext <<_ACEOF
5749 /* end confdefs.h. */
5750 $ac_includes_default
5754 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
5761 rm -f conftest.$ac_objext
5762 if { (ac_try="$ac_compile"
5764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5765 *) ac_try_echo
=$ac_try;;
5767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5768 (eval "$ac_compile") 2>conftest.er1
5770 grep -v '^ *+' conftest.er1
>conftest.err
5772 cat conftest.err
>&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && {
5775 test -z "$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5777 } && test -s conftest.
$ac_objext; then
5779 uint16_t
) ac_cv_c_uint16_t
=yes ;;
5780 *) ac_cv_c_uint16_t
=$ac_type ;;
5784 echo "$as_me: failed program was:" >&5
5785 sed 's/^/| /' conftest.
$ac_ext >&5
5790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5791 test "$ac_cv_c_uint16_t" != no
&& break
5794 { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
5795 echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
5796 case $ac_cv_c_uint16_t in #(
5801 cat >>confdefs.h
<<_ACEOF
5802 #define uint16_t $ac_cv_c_uint16_t
5808 cat >>confdefs.h
<<\_ACEOF
5809 #define u_int16_t uint16_t
5815 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
5816 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
5817 if test "${ac_cv_type_u_int32_t+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5826 $ac_includes_default
5827 typedef u_int32_t ac__type_new_;
5831 if ((ac__type_new_ *) 0)
5833 if (sizeof (ac__type_new_))
5839 rm -f conftest.
$ac_objext
5840 if { (ac_try
="$ac_compile"
5842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5843 *) ac_try_echo=$ac_try;;
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5846 (eval "$ac_compile") 2>conftest.er1
5848 grep -v '^ *+' conftest.er1 >conftest.err
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } && {
5853 test -z "$ac_c_werror_flag" ||
5854 test ! -s conftest.err
5855 } && test -s conftest.$ac_objext; then
5856 ac_cv_type_u_int32_t=yes
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 ac_cv_type_u_int32_t=no
5864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5866 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5867 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
5868 if test $ac_cv_type_u_int32_t = yes; then
5873 { echo "$as_me:$LINENO: checking for uint32_t" >&5
5874 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
5875 if test "${ac_cv_c_uint32_t+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
5880 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5881 cat >conftest.$ac_ext <<_ACEOF
5884 cat confdefs.h >>conftest.$ac_ext
5885 cat >>conftest.$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5887 $ac_includes_default
5891 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
5898 rm -f conftest.$ac_objext
5899 if { (ac_try="$ac_compile"
5901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5902 *) ac_try_echo
=$ac_try;;
5904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5905 (eval "$ac_compile") 2>conftest.er1
5907 grep -v '^ *+' conftest.er1
>conftest.err
5909 cat conftest.err
>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } && {
5912 test -z "$ac_c_werror_flag" ||
5913 test ! -s conftest.err
5914 } && test -s conftest.
$ac_objext; then
5916 uint32_t
) ac_cv_c_uint32_t
=yes ;;
5917 *) ac_cv_c_uint32_t
=$ac_type ;;
5921 echo "$as_me: failed program was:" >&5
5922 sed 's/^/| /' conftest.
$ac_ext >&5
5927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 test "$ac_cv_c_uint32_t" != no
&& break
5931 { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
5932 echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
5933 case $ac_cv_c_uint32_t in #(
5937 cat >>confdefs.h
<<\_ACEOF
5942 cat >>confdefs.h
<<_ACEOF
5943 #define uint32_t $ac_cv_c_uint32_t
5949 cat >>confdefs.h
<<\_ACEOF
5950 #define u_int32_t uint32_t
5956 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
5957 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
5958 if test "${ac_cv_type_u_int64_t+set}" = set; then
5959 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 cat >conftest.
$ac_ext <<_ACEOF
5964 cat confdefs.h
>>conftest.
$ac_ext
5965 cat >>conftest.
$ac_ext <<_ACEOF
5966 /* end confdefs.h. */
5967 $ac_includes_default
5968 typedef u_int64_t ac__type_new_;
5972 if ((ac__type_new_ *) 0)
5974 if (sizeof (ac__type_new_))
5980 rm -f conftest.
$ac_objext
5981 if { (ac_try
="$ac_compile"
5983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5984 *) ac_try_echo=$ac_try;;
5986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5987 (eval "$ac_compile") 2>conftest.er1
5989 grep -v '^ *+' conftest.er1 >conftest.err
5991 cat conftest.err >&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } && {
5994 test -z "$ac_c_werror_flag" ||
5995 test ! -s conftest.err
5996 } && test -s conftest.$ac_objext; then
5997 ac_cv_type_u_int64_t=yes
5999 echo "$as_me: failed program was:" >&5
6000 sed 's/^/| /' conftest.$ac_ext >&5
6002 ac_cv_type_u_int64_t=no
6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6007 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
6008 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
6009 if test $ac_cv_type_u_int64_t = yes; then
6014 { echo "$as_me:$LINENO: checking for uint64_t" >&5
6015 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
6016 if test "${ac_cv_c_uint64_t+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6020 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
6021 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
6022 cat >conftest.$ac_ext <<_ACEOF
6025 cat confdefs.h >>conftest.$ac_ext
6026 cat >>conftest.$ac_ext <<_ACEOF
6027 /* end confdefs.h. */
6028 $ac_includes_default
6032 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
6039 rm -f conftest.$ac_objext
6040 if { (ac_try="$ac_compile"
6042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6043 *) ac_try_echo
=$ac_try;;
6045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6046 (eval "$ac_compile") 2>conftest.er1
6048 grep -v '^ *+' conftest.er1
>conftest.err
6050 cat conftest.err
>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } && {
6053 test -z "$ac_c_werror_flag" ||
6054 test ! -s conftest.err
6055 } && test -s conftest.
$ac_objext; then
6057 uint64_t
) ac_cv_c_uint64_t
=yes ;;
6058 *) ac_cv_c_uint64_t
=$ac_type ;;
6062 echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.
$ac_ext >&5
6068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6069 test "$ac_cv_c_uint64_t" != no
&& break
6072 { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
6073 echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
6074 case $ac_cv_c_uint64_t in #(
6078 cat >>confdefs.h
<<\_ACEOF
6083 cat >>confdefs.h
<<_ACEOF
6084 #define uint64_t $ac_cv_c_uint64_t
6090 cat >>confdefs.h
<<\_ACEOF
6091 #define u_int64_t uint64_t
6098 # see if ifaddrs.h is available
6100 for ac_header
in ifaddrs.h
6102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6103 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6106 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6107 echo $ECHO_N "(cached) $ECHO_C" >&6
6109 ac_res
=`eval echo '${'$as_ac_Header'}'`
6110 { echo "$as_me:$LINENO: result: $ac_res" >&5
6111 echo "${ECHO_T}$ac_res" >&6; }
6113 # Is the header compilable?
6114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6116 cat >conftest.
$ac_ext <<_ACEOF
6119 cat confdefs.h
>>conftest.
$ac_ext
6120 cat >>conftest.
$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6122 $ac_includes_default
6123 #include <$ac_header>
6125 rm -f conftest.
$ac_objext
6126 if { (ac_try
="$ac_compile"
6128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6129 *) ac_try_echo=$ac_try;;
6131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6132 (eval "$ac_compile") 2>conftest.er1
6134 grep -v '^ *+' conftest.er1 >conftest.err
6136 cat conftest.err >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } && {
6139 test -z "$ac_c_werror_flag" ||
6140 test ! -s conftest.err
6141 } && test -s conftest.$ac_objext; then
6142 ac_header_compiler=yes
6144 echo "$as_me: failed program was:" >&5
6145 sed 's/^/| /' conftest.$ac_ext >&5
6147 ac_header_compiler=no
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6152 echo "${ECHO_T}$ac_header_compiler" >&6; }
6154 # Is the header present?
6155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6157 cat >conftest.$ac_ext <<_ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 #include <$ac_header>
6165 if { (ac_try="$ac_cpp conftest.$ac_ext"
6167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6168 *) ac_try_echo
=$ac_try;;
6170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6173 grep -v '^ *+' conftest.er1
>conftest.err
6175 cat conftest.err
>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } >/dev
/null
&& {
6178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6179 test ! -s conftest.err
6181 ac_header_preproc
=yes
6183 echo "$as_me: failed program was:" >&5
6184 sed 's/^/| /' conftest.
$ac_ext >&5
6186 ac_header_preproc
=no
6189 rm -f conftest.err conftest.
$ac_ext
6190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6191 echo "${ECHO_T}$ac_header_preproc" >&6; }
6193 # So? What about this header?
6194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6200 ac_header_preproc
=yes
6203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6216 ## --------------------------------- ##
6217 ## Report this to dhcp-users@isc.org ##
6218 ## --------------------------------- ##
6220 ) |
sed "s/^/$as_me: WARNING: /" >&2
6223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6225 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 eval "$as_ac_Header=\$ac_header_preproc"
6230 ac_res
=`eval echo '${'$as_ac_Header'}'`
6231 { echo "$as_me:$LINENO: result: $ac_res" >&5
6232 echo "${ECHO_T}$ac_res" >&6; }
6235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6236 cat >>confdefs.h
<<_ACEOF
6237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6245 # figure out what IPv4 interface code to use
6247 for ac_header
in linux
/types.h
6249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6250 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6253 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 ac_res
=`eval echo '${'$as_ac_Header'}'`
6257 { echo "$as_me:$LINENO: result: $ac_res" >&5
6258 echo "${ECHO_T}$ac_res" >&6; }
6260 # Is the header compilable?
6261 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6263 cat >conftest.
$ac_ext <<_ACEOF
6266 cat confdefs.h
>>conftest.
$ac_ext
6267 cat >>conftest.
$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6269 $ac_includes_default
6270 #include <$ac_header>
6272 rm -f conftest.
$ac_objext
6273 if { (ac_try
="$ac_compile"
6275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6276 *) ac_try_echo=$ac_try;;
6278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6279 (eval "$ac_compile") 2>conftest.er1
6281 grep -v '^ *+' conftest.er1 >conftest.err
6283 cat conftest.err >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } && {
6286 test -z "$ac_c_werror_flag" ||
6287 test ! -s conftest.err
6288 } && test -s conftest.$ac_objext; then
6289 ac_header_compiler=yes
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 ac_header_compiler=no
6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6298 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6299 echo "${ECHO_T}$ac_header_compiler" >&6; }
6301 # Is the header present?
6302 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6304 cat >conftest.$ac_ext <<_ACEOF
6307 cat confdefs.h >>conftest.$ac_ext
6308 cat >>conftest.$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 #include <$ac_header>
6312 if { (ac_try="$ac_cpp conftest.$ac_ext"
6314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6315 *) ac_try_echo
=$ac_try;;
6317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6318 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6320 grep -v '^ *+' conftest.er1
>conftest.err
6322 cat conftest.err
>&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } >/dev
/null
&& {
6325 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6326 test ! -s conftest.err
6328 ac_header_preproc
=yes
6330 echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.
$ac_ext >&5
6333 ac_header_preproc
=no
6336 rm -f conftest.err conftest.
$ac_ext
6337 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6338 echo "${ECHO_T}$ac_header_preproc" >&6; }
6340 # So? What about this header?
6341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6347 ac_header_preproc
=yes
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6363 ## --------------------------------- ##
6364 ## Report this to dhcp-users@isc.org ##
6365 ## --------------------------------- ##
6367 ) |
sed "s/^/$as_me: WARNING: /" >&2
6370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6372 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 eval "$as_ac_Header=\$ac_header_preproc"
6377 ac_res
=`eval echo '${'$as_ac_Header'}'`
6378 { echo "$as_me:$LINENO: result: $ac_res" >&5
6379 echo "${ECHO_T}$ac_res" >&6; }
6382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6383 cat >>confdefs.h
<<_ACEOF
6384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6390 # needed for linux/filter.h on old systems
6392 { echo "$as_me:$LINENO: checking for linux/filter.h" >&5
6393 echo $ECHO_N "checking for linux/filter.h... $ECHO_C" >&6; }
6394 if test "${ac_cv_header_linux_filter_h+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 cat >conftest.
$ac_ext <<_ACEOF
6400 cat confdefs.h
>>conftest.
$ac_ext
6401 cat >>conftest.
$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 #ifdef HAVE_LINUX_TYPES_H
6405 #include <linux/types.h>
6409 #include <linux/filter.h>
6411 rm -f conftest.
$ac_objext
6412 if { (ac_try
="$ac_compile"
6414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6415 *) ac_try_echo=$ac_try;;
6417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6418 (eval "$ac_compile") 2>conftest.er1
6420 grep -v '^ *+' conftest.er1 >conftest.err
6422 cat conftest.err >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } && {
6425 test -z "$ac_c_werror_flag" ||
6426 test ! -s conftest.err
6427 } && test -s conftest.$ac_objext; then
6428 ac_cv_header_linux_filter_h=yes
6430 echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.$ac_ext >&5
6433 ac_cv_header_linux_filter_h=no
6436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6438 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_filter_h" >&5
6439 echo "${ECHO_T}$ac_cv_header_linux_filter_h" >&6; }
6440 if test $ac_cv_header_linux_filter_h = yes; then
6445 if test -n "$DO_LPF"
6448 cat >>confdefs.h <<\_ACEOF
6453 if test "${ac_cv_header_sys_dlpi_h+set}" = set; then
6454 { echo "$as_me:$LINENO: checking for sys/dlpi.h" >&5
6455 echo $ECHO_N "checking for sys/dlpi.h... $ECHO_C" >&6; }
6456 if test "${ac_cv_header_sys_dlpi_h+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dlpi_h" >&5
6460 echo "${ECHO_T}$ac_cv_header_sys_dlpi_h" >&6; }
6462 # Is the header compilable?
6463 { echo "$as_me:$LINENO: checking sys/dlpi.h usability" >&5
6464 echo $ECHO_N "checking sys/dlpi.h usability... $ECHO_C" >&6; }
6465 cat >conftest.$ac_ext <<_ACEOF
6468 cat confdefs.h >>conftest.$ac_ext
6469 cat >>conftest.$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 $ac_includes_default
6472 #include <sys/dlpi.h>
6474 rm -f conftest.$ac_objext
6475 if { (ac_try="$ac_compile"
6477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6478 *) ac_try_echo
=$ac_try;;
6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6481 (eval "$ac_compile") 2>conftest.er1
6483 grep -v '^ *+' conftest.er1
>conftest.err
6485 cat conftest.err
>&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } && {
6488 test -z "$ac_c_werror_flag" ||
6489 test ! -s conftest.err
6490 } && test -s conftest.
$ac_objext; then
6491 ac_header_compiler
=yes
6493 echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.
$ac_ext >&5
6496 ac_header_compiler
=no
6499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6501 echo "${ECHO_T}$ac_header_compiler" >&6; }
6503 # Is the header present?
6504 { echo "$as_me:$LINENO: checking sys/dlpi.h presence" >&5
6505 echo $ECHO_N "checking sys/dlpi.h presence... $ECHO_C" >&6; }
6506 cat >conftest.
$ac_ext <<_ACEOF
6509 cat confdefs.h
>>conftest.
$ac_ext
6510 cat >>conftest.
$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6512 #include <sys/dlpi.h>
6514 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6517 *) ac_try_echo=$ac_try;;
6519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6522 grep -v '^ *+' conftest.er1 >conftest.err
6524 cat conftest.err >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } >/dev/null && {
6527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6528 test ! -s conftest.err
6530 ac_header_preproc=yes
6532 echo "$as_me: failed program was:" >&5
6533 sed 's/^/| /' conftest.$ac_ext >&5
6535 ac_header_preproc=no
6538 rm -f conftest.err conftest.$ac_ext
6539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6540 echo "${ECHO_T}$ac_header_preproc" >&6; }
6542 # So? What about this header?
6543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6545 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: accepted by the compiler, rejected by the preprocessor!" >&5
6546 echo "$as_me: WARNING: sys/dlpi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6547 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: proceeding with the compiler's result" >&5
6548 echo "$as_me: WARNING: sys/dlpi.h: proceeding with the compiler's result" >&2;}
6549 ac_header_preproc=yes
6552 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: present but cannot be compiled" >&5
6553 echo "$as_me: WARNING: sys/dlpi.h: present but cannot be compiled" >&2;}
6554 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: check for missing prerequisite headers?" >&5
6555 echo "$as_me: WARNING: sys/dlpi.h: check for missing prerequisite headers?" >&2;}
6556 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: see the Autoconf documentation" >&5
6557 echo "$as_me: WARNING: sys/dlpi.h: see the Autoconf documentation" >&2;}
6558 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: section \"Present But Cannot Be Compiled\"" >&5
6559 echo "$as_me: WARNING: sys/dlpi.h: section \"Present But Cannot Be Compiled\"" >&2;}
6560 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: proceeding with the preprocessor's result" >&5
6561 echo "$as_me: WARNING: sys/dlpi.h: proceeding with the preprocessor's result" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: in the future, the compiler will take precedence" >&5
6563 echo "$as_me: WARNING: sys/dlpi.h: in the future, the compiler will take precedence" >&2;}
6565 ## --------------------------------- ##
6566 ## Report this to dhcp-users@isc.org ##
6567 ## --------------------------------- ##
6569 ) | sed "s/^/$as_me: WARNING: /" >&2
6572 { echo "$as_me:$LINENO: checking for sys/dlpi.h" >&5
6573 echo $ECHO_N "checking for sys/dlpi.h... $ECHO_C" >&6; }
6574 if test "${ac_cv_header_sys_dlpi_h+set}" = set; then
6575 echo $ECHO_N "(cached) $ECHO_C" >&6
6577 ac_cv_header_sys_dlpi_h=$ac_header_preproc
6579 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dlpi_h" >&5
6580 echo "${ECHO_T}$ac_cv_header_sys_dlpi_h" >&6; }
6583 if test $ac_cv_header_sys_dlpi_h = yes; then
6588 if test -n "$DO_DLPI"
6591 cat >>confdefs.h <<\_ACEOF
6596 if test "${ac_cv_header_net_bpf_h+set}" = set; then
6597 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
6598 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
6599 if test "${ac_cv_header_net_bpf_h+set}" = set; then
6600 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
6603 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
6605 # Is the header compilable?
6606 { echo "$as_me:$LINENO: checking net/bpf.h usability" >&5
6607 echo $ECHO_N "checking net/bpf.h usability... $ECHO_C" >&6; }
6608 cat >conftest.$ac_ext <<_ACEOF
6611 cat confdefs.h >>conftest.$ac_ext
6612 cat >>conftest.$ac_ext <<_ACEOF
6613 /* end confdefs.h. */
6614 $ac_includes_default
6615 #include <net/bpf.h>
6617 rm -f conftest.$ac_objext
6618 if { (ac_try="$ac_compile"
6620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6621 *) ac_try_echo
=$ac_try;;
6623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6624 (eval "$ac_compile") 2>conftest.er1
6626 grep -v '^ *+' conftest.er1
>conftest.err
6628 cat conftest.err
>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && {
6631 test -z "$ac_c_werror_flag" ||
6632 test ! -s conftest.err
6633 } && test -s conftest.
$ac_objext; then
6634 ac_header_compiler
=yes
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.
$ac_ext >&5
6639 ac_header_compiler
=no
6642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6644 echo "${ECHO_T}$ac_header_compiler" >&6; }
6646 # Is the header present?
6647 { echo "$as_me:$LINENO: checking net/bpf.h presence" >&5
6648 echo $ECHO_N "checking net/bpf.h presence... $ECHO_C" >&6; }
6649 cat >conftest.
$ac_ext <<_ACEOF
6652 cat confdefs.h
>>conftest.
$ac_ext
6653 cat >>conftest.
$ac_ext <<_ACEOF
6654 /* end confdefs.h. */
6655 #include <net/bpf.h>
6657 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6660 *) ac_try_echo=$ac_try;;
6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6665 grep -v '^ *+' conftest.er1 >conftest.err
6667 cat conftest.err >&5
6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669 (exit $ac_status); } >/dev/null && {
6670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6671 test ! -s conftest.err
6673 ac_header_preproc=yes
6675 echo "$as_me: failed program was:" >&5
6676 sed 's/^/| /' conftest.$ac_ext >&5
6678 ac_header_preproc=no
6681 rm -f conftest.err conftest.$ac_ext
6682 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6683 echo "${ECHO_T}$ac_header_preproc" >&6; }
6685 # So? What about this header?
6686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6688 { echo "$as_me:$LINENO: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&5
6689 echo "$as_me: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6690 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the compiler's result" >&5
6691 echo "$as_me: WARNING: net/bpf.h: proceeding with the compiler's result" >&2;}
6692 ac_header_preproc=yes
6695 { echo "$as_me:$LINENO: WARNING: net/bpf.h: present but cannot be compiled" >&5
6696 echo "$as_me: WARNING: net/bpf.h: present but cannot be compiled" >&2;}
6697 { echo "$as_me:$LINENO: WARNING: net/bpf.h: check for missing prerequisite headers?" >&5
6698 echo "$as_me: WARNING: net/bpf.h: check for missing prerequisite headers?" >&2;}
6699 { echo "$as_me:$LINENO: WARNING: net/bpf.h: see the Autoconf documentation" >&5
6700 echo "$as_me: WARNING: net/bpf.h: see the Autoconf documentation" >&2;}
6701 { echo "$as_me:$LINENO: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&5
6702 echo "$as_me: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&2;}
6703 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the preprocessor's result" >&5
6704 echo "$as_me: WARNING: net/bpf.h: proceeding with the preprocessor's result" >&2;}
6705 { echo "$as_me:$LINENO: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&5
6706 echo "$as_me: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&2;}
6708 ## --------------------------------- ##
6709 ## Report this to dhcp-users@isc.org ##
6710 ## --------------------------------- ##
6712 ) | sed "s/^/$as_me: WARNING: /" >&2
6715 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
6716 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
6717 if test "${ac_cv_header_net_bpf_h+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 ac_cv_header_net_bpf_h=$ac_header_preproc
6722 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
6723 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
6726 if test $ac_cv_header_net_bpf_h = yes; then
6731 if test -n "$DO_BPF"
6734 cat >>confdefs.h <<\_ACEOF
6742 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
6743 # use the same structures. We like to use 'struct lifconf' and 'struct
6744 # lifreq', but we'll use these other structures if they're present. HPUX
6745 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
6748 { echo "$as_me:$LINENO: checking for struct lifnum" >&5
6749 echo $ECHO_N "checking for struct lifnum... $ECHO_C" >&6; }
6750 cat >conftest.$ac_ext <<_ACEOF
6753 cat confdefs.h >>conftest.$ac_ext
6754 cat >>conftest.$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6756 #include <sys/types.h>
6757 #include <sys/socket.h>
6769 rm -f conftest.$ac_objext
6770 if { (ac_try="$ac_compile"
6772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6773 *) ac_try_echo
=$ac_try;;
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_compile") 2>conftest.er1
6778 grep -v '^ *+' conftest.er1
>conftest.err
6780 cat conftest.err
>&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); } && {
6783 test -z "$ac_c_werror_flag" ||
6784 test ! -s conftest.err
6785 } && test -s conftest.
$ac_objext; then
6786 { echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6; }
6789 cat >>confdefs.h
<<\_ACEOF
6790 #define ISC_PLATFORM_HAVELIFNUM 1
6794 echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.
$ac_ext >&5
6797 { echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6; }
6801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6803 { echo "$as_me:$LINENO: checking for struct if_laddrconf" >&5
6804 echo $ECHO_N "checking for struct if_laddrconf... $ECHO_C" >&6; }
6805 cat >conftest.
$ac_ext <<_ACEOF
6808 cat confdefs.h
>>conftest.
$ac_ext
6809 cat >>conftest.
$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 #include <sys/types.h>
6812 #include <net/if6.h>
6817 struct if_laddrconf a;
6823 rm -f conftest.
$ac_objext
6824 if { (ac_try
="$ac_compile"
6826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6827 *) ac_try_echo=$ac_try;;
6829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6830 (eval "$ac_compile") 2>conftest.er1
6832 grep -v '^ *+' conftest.er1 >conftest.err
6834 cat conftest.err >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } && {
6837 test -z "$ac_c_werror_flag" ||
6838 test ! -s conftest.err
6839 } && test -s conftest.$ac_objext; then
6840 { echo "$as_me:$LINENO: result: yes" >&5
6841 echo "${ECHO_T}yes" >&6; }
6843 cat >>confdefs.h <<\_ACEOF
6844 #define ISC_PLATFORM_HAVEIF_LADDRCONF 1
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 { echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6; }
6855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857 { echo "$as_me:$LINENO: checking for struct if_laddrreq" >&5
6858 echo $ECHO_N "checking for struct if_laddrreq... $ECHO_C" >&6; }
6859 cat >conftest.$ac_ext <<_ACEOF
6862 cat confdefs.h >>conftest.$ac_ext
6863 cat >>conftest.$ac_ext <<_ACEOF
6864 /* end confdefs.h. */
6865 #include <sys/types.h>
6866 #include <net/if6.h>
6871 struct if_laddrreq a;
6877 rm -f conftest.$ac_objext conftest$ac_exeext
6878 if { (ac_try="$ac_link"
6880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6881 *) ac_try_echo
=$ac_try;;
6883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6884 (eval "$ac_link") 2>conftest.er1
6886 grep -v '^ *+' conftest.er1
>conftest.err
6888 cat conftest.err
>&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); } && {
6891 test -z "$ac_c_werror_flag" ||
6892 test ! -s conftest.err
6893 } && test -s conftest
$ac_exeext &&
6894 $as_test_x conftest
$ac_exeext; then
6895 { echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6; }
6898 cat >>confdefs.h
<<\_ACEOF
6899 #define ISC_PLATFORM_HAVEIF_LADDRREQ 1
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.
$ac_ext >&5
6906 { echo "$as_me:$LINENO: result: no" >&5
6907 echo "${ECHO_T}no" >&6; }
6910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6911 conftest
$ac_exeext conftest.
$ac_ext
6913 # Look for optional headers.
6918 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6920 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6921 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6924 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 ac_res
=`eval echo '${'$as_ac_Header'}'`
6928 { echo "$as_me:$LINENO: result: $ac_res" >&5
6929 echo "${ECHO_T}$ac_res" >&6; }
6931 # Is the header compilable?
6932 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 $ac_includes_default
6941 #include <$ac_header>
6943 rm -f conftest.
$ac_objext
6944 if { (ac_try
="$ac_compile"
6946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6947 *) ac_try_echo=$ac_try;;
6949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6950 (eval "$ac_compile") 2>conftest.er1
6952 grep -v '^ *+' conftest.er1 >conftest.err
6954 cat conftest.err >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); } && {
6957 test -z "$ac_c_werror_flag" ||
6958 test ! -s conftest.err
6959 } && test -s conftest.$ac_objext; then
6960 ac_header_compiler=yes
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6965 ac_header_compiler=no
6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6969 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6970 echo "${ECHO_T}$ac_header_compiler" >&6; }
6972 # Is the header present?
6973 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6975 cat >conftest.$ac_ext <<_ACEOF
6978 cat confdefs.h >>conftest.$ac_ext
6979 cat >>conftest.$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 #include <$ac_header>
6983 if { (ac_try="$ac_cpp conftest.$ac_ext"
6985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6986 *) ac_try_echo
=$ac_try;;
6988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6991 grep -v '^ *+' conftest.er1
>conftest.err
6993 cat conftest.err
>&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } >/dev
/null
&& {
6996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6997 test ! -s conftest.err
6999 ac_header_preproc
=yes
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.
$ac_ext >&5
7004 ac_header_preproc
=no
7007 rm -f conftest.err conftest.
$ac_ext
7008 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7009 echo "${ECHO_T}$ac_header_preproc" >&6; }
7011 # So? What about this header?
7012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7018 ac_header_preproc
=yes
7021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7034 ## --------------------------------- ##
7035 ## Report this to dhcp-users@isc.org ##
7036 ## --------------------------------- ##
7038 ) |
sed "s/^/$as_me: WARNING: /" >&2
7041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7043 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7046 eval "$as_ac_Header=\$ac_header_preproc"
7048 ac_res
=`eval echo '${'$as_ac_Header'}'`
7049 { echo "$as_me:$LINENO: result: $ac_res" >&5
7050 echo "${ECHO_T}$ac_res" >&6; }
7053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7054 cat >>confdefs.h
<<_ACEOF
7055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7063 # Solaris needs some libraries for functions
7064 { echo "$as_me:$LINENO: checking for library containing socket" >&5
7065 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
7066 if test "${ac_cv_search_socket+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 ac_func_search_save_LIBS
=$LIBS
7070 cat >conftest.
$ac_ext <<_ACEOF
7073 cat confdefs.h
>>conftest.
$ac_ext
7074 cat >>conftest.
$ac_ext <<_ACEOF
7075 /* end confdefs.h. */
7077 /* Override any GCC internal prototype to avoid an error.
7078 Use char because int might match the return type of a GCC
7079 builtin and then its argument prototype would still apply. */
7092 for ac_lib
in '' socket
; do
7093 if test -z "$ac_lib"; then
7094 ac_res
="none required"
7097 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7099 rm -f conftest.
$ac_objext conftest
$ac_exeext
7100 if { (ac_try
="$ac_link"
7102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7103 *) ac_try_echo=$ac_try;;
7105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7106 (eval "$ac_link") 2>conftest.er1
7108 grep -v '^ *+' conftest.er1 >conftest.err
7110 cat conftest.err >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } && {
7113 test -z "$ac_c_werror_flag" ||
7114 test ! -s conftest.err
7115 } && test -s conftest$ac_exeext &&
7116 $as_test_x conftest$ac_exeext; then
7117 ac_cv_search_socket=$ac_res
7119 echo "$as_me: failed program was:" >&5
7120 sed 's/^/| /' conftest.$ac_ext >&5
7125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7127 if test "${ac_cv_search_socket+set}" = set; then
7131 if test "${ac_cv_search_socket+set}" = set; then
7134 ac_cv_search_socket=no
7137 LIBS=$ac_func_search_save_LIBS
7139 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
7140 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
7141 ac_res=$ac_cv_search_socket
7142 if test "$ac_res" != no; then
7143 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7147 { echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&5
7148 echo $ECHO_N "checking for library containing inet_ntoa... $ECHO_C" >&6; }
7149 if test "${ac_cv_search_inet_ntoa+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 ac_func_search_save_LIBS=$LIBS
7153 cat >conftest.$ac_ext <<_ACEOF
7156 cat confdefs.h >>conftest.$ac_ext
7157 cat >>conftest.$ac_ext <<_ACEOF
7158 /* end confdefs.h. */
7160 /* Override any GCC internal prototype to avoid an error.
7161 Use char because int might match the return type of a GCC
7162 builtin and then its argument prototype would still apply. */
7170 return inet_ntoa ();
7175 for ac_lib in '' nsl; do
7176 if test -z "$ac_lib"; then
7177 ac_res="none required"
7180 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7182 rm -f conftest.$ac_objext conftest$ac_exeext
7183 if { (ac_try="$ac_link"
7185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7186 *) ac_try_echo
=$ac_try;;
7188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7189 (eval "$ac_link") 2>conftest.er1
7191 grep -v '^ *+' conftest.er1
>conftest.err
7193 cat conftest.err
>&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); } && {
7196 test -z "$ac_c_werror_flag" ||
7197 test ! -s conftest.err
7198 } && test -s conftest
$ac_exeext &&
7199 $as_test_x conftest
$ac_exeext; then
7200 ac_cv_search_inet_ntoa
=$ac_res
7202 echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.
$ac_ext >&5
7208 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7210 if test "${ac_cv_search_inet_ntoa+set}" = set; then
7214 if test "${ac_cv_search_inet_ntoa+set}" = set; then
7217 ac_cv_search_inet_ntoa
=no
7220 LIBS
=$ac_func_search_save_LIBS
7222 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&5
7223 echo "${ECHO_T}$ac_cv_search_inet_ntoa" >&6; }
7224 ac_res
=$ac_cv_search_inet_ntoa
7225 if test "$ac_res" != no
; then
7226 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7231 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
7232 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
7233 if test "${ac_cv_search_inet_aton+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 ac_func_search_save_LIBS
=$LIBS
7237 cat >conftest.
$ac_ext <<_ACEOF
7240 cat confdefs.h
>>conftest.
$ac_ext
7241 cat >>conftest.
$ac_ext <<_ACEOF
7242 /* end confdefs.h. */
7244 /* Override any GCC internal prototype to avoid an error.
7245 Use char because int might match the return type of a GCC
7246 builtin and then its argument prototype would still apply. */
7254 return inet_aton ();
7259 for ac_lib
in '' socket nsl
; do
7260 if test -z "$ac_lib"; then
7261 ac_res
="none required"
7264 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7266 rm -f conftest.
$ac_objext conftest
$ac_exeext
7267 if { (ac_try
="$ac_link"
7269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_link") 2>conftest.er1
7275 grep -v '^ *+' conftest.er1 >conftest.err
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest$ac_exeext &&
7283 $as_test_x conftest$ac_exeext; then
7284 ac_cv_search_inet_aton=$ac_res
7286 echo "$as_me: failed program was:" >&5
7287 sed 's/^/| /' conftest.$ac_ext >&5
7292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7294 if test "${ac_cv_search_inet_aton+set}" = set; then
7298 if test "${ac_cv_search_inet_aton+set}" = set; then
7301 ac_cv_search_inet_aton=no
7304 LIBS=$ac_func_search_save_LIBS
7306 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
7307 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
7308 ac_res=$ac_cv_search_inet_aton
7309 if test "$ac_res" != no; then
7310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7314 cat >>confdefs.h <<\_ACEOF
7315 #define NEED_INET_ATON 1
7321 # Check for a standalone regex library.
7322 { echo "$as_me:$LINENO: checking for library containing regcomp" >&5
7323 echo $ECHO_N "checking for library containing regcomp... $ECHO_C" >&6; }
7324 if test "${ac_cv_search_regcomp+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7327 ac_func_search_save_LIBS=$LIBS
7328 cat >conftest.$ac_ext <<_ACEOF
7331 cat confdefs.h >>conftest.$ac_ext
7332 cat >>conftest.$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7335 /* Override any GCC internal prototype to avoid an error.
7336 Use char because int might match the return type of a GCC
7337 builtin and then its argument prototype would still apply. */
7350 for ac_lib in '' regex; do
7351 if test -z "$ac_lib"; then
7352 ac_res="none required"
7355 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7357 rm -f conftest.$ac_objext conftest$ac_exeext
7358 if { (ac_try="$ac_link"
7360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7361 *) ac_try_echo
=$ac_try;;
7363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364 (eval "$ac_link") 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } && {
7371 test -z "$ac_c_werror_flag" ||
7372 test ! -s conftest.err
7373 } && test -s conftest
$ac_exeext &&
7374 $as_test_x conftest
$ac_exeext; then
7375 ac_cv_search_regcomp
=$ac_res
7377 echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.
$ac_ext >&5
7383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7385 if test "${ac_cv_search_regcomp+set}" = set; then
7389 if test "${ac_cv_search_regcomp+set}" = set; then
7392 ac_cv_search_regcomp
=no
7395 LIBS
=$ac_func_search_save_LIBS
7397 { echo "$as_me:$LINENO: result: $ac_cv_search_regcomp" >&5
7398 echo "${ECHO_T}$ac_cv_search_regcomp" >&6; }
7399 ac_res
=$ac_cv_search_regcomp
7400 if test "$ac_res" != no
; then
7401 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7406 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
7407 { echo "$as_me:$LINENO: checking for library containing if_nametoindex" >&5
7408 echo $ECHO_N "checking for library containing if_nametoindex... $ECHO_C" >&6; }
7409 if test "${ac_cv_search_if_nametoindex+set}" = set; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 ac_func_search_save_LIBS
=$LIBS
7413 cat >conftest.
$ac_ext <<_ACEOF
7416 cat confdefs.h
>>conftest.
$ac_ext
7417 cat >>conftest.
$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7420 /* Override any GCC internal prototype to avoid an error.
7421 Use char because int might match the return type of a GCC
7422 builtin and then its argument prototype would still apply. */
7426 char if_nametoindex ();
7430 return if_nametoindex ();
7435 for ac_lib
in '' ipv6
; do
7436 if test -z "$ac_lib"; then
7437 ac_res
="none required"
7440 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7442 rm -f conftest.
$ac_objext conftest
$ac_exeext
7443 if { (ac_try
="$ac_link"
7445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7446 *) ac_try_echo=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_link") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1 >conftest.err
7453 cat conftest.err >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest$ac_exeext &&
7459 $as_test_x conftest$ac_exeext; then
7460 ac_cv_search_if_nametoindex=$ac_res
7462 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7470 if test "${ac_cv_search_if_nametoindex+set}" = set; then
7474 if test "${ac_cv_search_if_nametoindex+set}" = set; then
7477 ac_cv_search_if_nametoindex=no
7480 LIBS=$ac_func_search_save_LIBS
7482 { echo "$as_me:$LINENO: result: $ac_cv_search_if_nametoindex" >&5
7483 echo "${ECHO_T}$ac_cv_search_if_nametoindex" >&6; }
7484 ac_res=$ac_cv_search_if_nametoindex
7485 if test "$ac_res" != no; then
7486 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7491 # check for /dev/random (declares HAVE_DEV_RANDOM)
7492 { echo "$as_me:$LINENO: checking for /dev/random" >&5
7493 echo $ECHO_N "checking for /dev/random... $ECHO_C" >&6; }
7494 if test "${ac_cv_file__dev_random+set}" = set; then
7495 echo $ECHO_N "(cached) $ECHO_C" >&6
7497 test "$cross_compiling" = yes &&
7498 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7499 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7500 { (exit 1); exit 1; }; }
7501 if test -r "/dev/random"; then
7502 ac_cv_file__dev_random=yes
7504 ac_cv_file__dev_random=no
7507 { echo "$as_me:$LINENO: result: $ac_cv_file__dev_random" >&5
7508 echo "${ECHO_T}$ac_cv_file__dev_random" >&6; }
7509 if test $ac_cv_file__dev_random = yes; then
7511 cat >>confdefs.h <<\_ACEOF
7512 #define HAVE_DEV_RANDOM 1
7518 # see if there is a "sa_len" field in our interface information structure
7519 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
7520 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
7521 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 cat >conftest.$ac_ext <<_ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 #include <sys/socket.h>
7535 static struct sockaddr ac_aggr;
7542 rm -f conftest.$ac_objext
7543 if { (ac_try="$ac_compile"
7545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7546 *) ac_try_echo
=$ac_try;;
7548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7549 (eval "$ac_compile") 2>conftest.er1
7551 grep -v '^ *+' conftest.er1
>conftest.err
7553 cat conftest.err
>&5
7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 (exit $ac_status); } && {
7556 test -z "$ac_c_werror_flag" ||
7557 test ! -s conftest.err
7558 } && test -s conftest.
$ac_objext; then
7559 ac_cv_member_struct_sockaddr_sa_len
=yes
7561 echo "$as_me: failed program was:" >&5
7562 sed 's/^/| /' conftest.
$ac_ext >&5
7564 cat >conftest.
$ac_ext <<_ACEOF
7567 cat confdefs.h
>>conftest.
$ac_ext
7568 cat >>conftest.
$ac_ext <<_ACEOF
7569 /* end confdefs.h. */
7570 #include <sys/socket.h>
7575 static struct sockaddr ac_aggr;
7576 if (sizeof ac_aggr.sa_len)
7582 rm -f conftest.
$ac_objext
7583 if { (ac_try
="$ac_compile"
7585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7586 *) ac_try_echo=$ac_try;;
7588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7589 (eval "$ac_compile") 2>conftest.er1
7591 grep -v '^ *+' conftest.er1 >conftest.err
7593 cat conftest.err >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } && {
7596 test -z "$ac_c_werror_flag" ||
7597 test ! -s conftest.err
7598 } && test -s conftest.$ac_objext; then
7599 ac_cv_member_struct_sockaddr_sa_len=yes
7601 echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.$ac_ext >&5
7604 ac_cv_member_struct_sockaddr_sa_len=no
7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
7613 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
7614 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
7616 cat >>confdefs.h <<\_ACEOF
7623 # figure out pointer size
7624 { echo "$as_me:$LINENO: checking for struct iaddr *" >&5
7625 echo $ECHO_N "checking for struct iaddr *... $ECHO_C" >&6; }
7626 if test "${ac_cv_type_struct_iaddr_p+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 cat >conftest.$ac_ext <<_ACEOF
7632 cat confdefs.h >>conftest.$ac_ext
7633 cat >>conftest.$ac_ext <<_ACEOF
7634 /* end confdefs.h. */
7636 #include "includes/inet.h"
7640 typedef struct iaddr * ac__type_new_;
7644 if ((ac__type_new_ *) 0)
7646 if (sizeof (ac__type_new_))
7652 rm -f conftest.$ac_objext
7653 if { (ac_try="$ac_compile"
7655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7656 *) ac_try_echo
=$ac_try;;
7658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7659 (eval "$ac_compile") 2>conftest.er1
7661 grep -v '^ *+' conftest.er1
>conftest.err
7663 cat conftest.err
>&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } && {
7666 test -z "$ac_c_werror_flag" ||
7667 test ! -s conftest.err
7668 } && test -s conftest.
$ac_objext; then
7669 ac_cv_type_struct_iaddr_p
=yes
7671 echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.
$ac_ext >&5
7674 ac_cv_type_struct_iaddr_p
=no
7677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7679 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_iaddr_p" >&5
7680 echo "${ECHO_T}$ac_cv_type_struct_iaddr_p" >&6; }
7682 # The cast to long int works around a bug in the HP C Compiler
7683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7685 # This bug is HP SR number 8606223364.
7686 { echo "$as_me:$LINENO: checking size of struct iaddr *" >&5
7687 echo $ECHO_N "checking size of struct iaddr *... $ECHO_C" >&6; }
7688 if test "${ac_cv_sizeof_struct_iaddr_p+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 if test "$cross_compiling" = yes; then
7692 # Depending upon the size, compute the lo and hi bounds.
7693 cat >conftest.
$ac_ext <<_ACEOF
7696 cat confdefs.h
>>conftest.
$ac_ext
7697 cat >>conftest.
$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7700 #include "includes/inet.h"
7704 typedef struct iaddr * ac__type_sizeof_;
7708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7715 rm -f conftest.
$ac_objext
7716 if { (ac_try
="$ac_compile"
7718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7719 *) ac_try_echo=$ac_try;;
7721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7722 (eval "$ac_compile") 2>conftest.er1
7724 grep -v '^ *+' conftest.er1 >conftest.err
7726 cat conftest.err >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } && {
7729 test -z "$ac_c_werror_flag" ||
7730 test ! -s conftest.err
7731 } && test -s conftest.$ac_objext; then
7734 cat >conftest.$ac_ext <<_ACEOF
7737 cat confdefs.h >>conftest.$ac_ext
7738 cat >>conftest.$ac_ext <<_ACEOF
7739 /* end confdefs.h. */
7741 #include "includes/inet.h"
7745 typedef struct iaddr * ac__type_sizeof_;
7749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7756 rm -f conftest.$ac_objext
7757 if { (ac_try="$ac_compile"
7759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7760 *) ac_try_echo
=$ac_try;;
7762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7763 (eval "$ac_compile") 2>conftest.er1
7765 grep -v '^ *+' conftest.er1
>conftest.err
7767 cat conftest.err
>&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } && {
7770 test -z "$ac_c_werror_flag" ||
7771 test ! -s conftest.err
7772 } && test -s conftest.
$ac_objext; then
7773 ac_hi
=$ac_mid; break
7775 echo "$as_me: failed program was:" >&5
7776 sed 's/^/| /' conftest.
$ac_ext >&5
7778 ac_lo
=`expr $ac_mid + 1`
7779 if test $ac_lo -le $ac_mid; then
7783 ac_mid
=`expr 2 '*' $ac_mid + 1`
7786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.
$ac_ext >&5
7792 cat >conftest.
$ac_ext <<_ACEOF
7795 cat confdefs.h
>>conftest.
$ac_ext
7796 cat >>conftest.
$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7799 #include "includes/inet.h"
7803 typedef struct iaddr * ac__type_sizeof_;
7807 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7814 rm -f conftest.
$ac_objext
7815 if { (ac_try
="$ac_compile"
7817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7818 *) ac_try_echo=$ac_try;;
7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7821 (eval "$ac_compile") 2>conftest.er1
7823 grep -v '^ *+' conftest.er1 >conftest.err
7825 cat conftest.err >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } && {
7828 test -z "$ac_c_werror_flag" ||
7829 test ! -s conftest.err
7830 } && test -s conftest.$ac_objext; then
7833 cat >conftest.$ac_ext <<_ACEOF
7836 cat confdefs.h >>conftest.$ac_ext
7837 cat >>conftest.$ac_ext <<_ACEOF
7838 /* end confdefs.h. */
7840 #include "includes/inet.h"
7844 typedef struct iaddr * ac__type_sizeof_;
7848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7855 rm -f conftest.$ac_objext
7856 if { (ac_try="$ac_compile"
7858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7859 *) ac_try_echo
=$ac_try;;
7861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7862 (eval "$ac_compile") 2>conftest.er1
7864 grep -v '^ *+' conftest.er1
>conftest.err
7866 cat conftest.err
>&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); } && {
7869 test -z "$ac_c_werror_flag" ||
7870 test ! -s conftest.err
7871 } && test -s conftest.
$ac_objext; then
7872 ac_lo
=$ac_mid; break
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.
$ac_ext >&5
7877 ac_hi
=`expr '(' $ac_mid ')' - 1`
7878 if test $ac_mid -le $ac_hi; then
7882 ac_mid
=`expr 2 '*' $ac_mid`
7885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7888 echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.
$ac_ext >&5
7894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7898 # Binary search between lo and hi bounds.
7899 while test "x$ac_lo" != "x$ac_hi"; do
7900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7908 #include "includes/inet.h"
7912 typedef struct iaddr * ac__type_sizeof_;
7916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7923 rm -f conftest.
$ac_objext
7924 if { (ac_try
="$ac_compile"
7926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7927 *) ac_try_echo=$ac_try;;
7929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7930 (eval "$ac_compile") 2>conftest.er1
7932 grep -v '^ *+' conftest.er1 >conftest.err
7934 cat conftest.err >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } && {
7937 test -z "$ac_c_werror_flag" ||
7938 test ! -s conftest.err
7939 } && test -s conftest.$ac_objext; then
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7945 ac_lo=`expr '(' $ac_mid ')' + 1`
7948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7951 ?*) ac_cv_sizeof_struct_iaddr_p=$ac_lo;;
7952 '') if test "$ac_cv_type_struct_iaddr_p" = yes; then
7953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (struct iaddr *)
7954 See \`config.log
' for more details." >&5
7955 echo "$as_me: error: cannot compute sizeof (struct iaddr *)
7956 See \`config.log' for more details.
" >&2;}
7957 { (exit 77); exit 77; }; }
7959 ac_cv_sizeof_struct_iaddr_p=0
7963 cat >conftest.$ac_ext <<_ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7970 #include "includes
/inet.h
"
7974 typedef struct iaddr * ac__type_sizeof_;
7975 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7976 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7983 FILE *f = fopen ("conftest.val
", "w
");
7986 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7988 long int i = longval ();
7989 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7991 fprintf (f, "%ld
\n", i);
7995 unsigned long int i = ulongval ();
7996 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7998 fprintf (f, "%lu
\n", i);
8000 return ferror (f) || fclose (f) != 0;
8006 rm -f conftest$ac_exeext
8007 if { (ac_try="$ac_link"
8009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8010 *) ac_try_echo=$ac_try;;
8012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8013 (eval "$ac_link") 2>&5
8015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8017 { (case "(($ac_try" in
8018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8019 *) ac_try_echo=$ac_try;;
8021 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8022 (eval "$ac_try") 2>&5
8024 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8025 (exit $ac_status); }; }; then
8026 ac_cv_sizeof_struct_iaddr_p=`cat conftest.val`
8028 echo "$as_me: program exited with status
$ac_status" >&5
8029 echo "$as_me: failed program was
:" >&5
8030 sed 's/^/| /' conftest.$ac_ext >&5
8033 if test "$ac_cv_type_struct_iaddr_p" = yes; then
8034 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(struct iaddr
*)
8035 See \
`config.log' for more details." >&5
8036 echo "$as_me: error: cannot compute sizeof (struct iaddr *)
8037 See \`config.log
' for more details." >&2;}
8038 { (exit 77); exit 77; }; }
8040 ac_cv_sizeof_struct_iaddr_p=0
8043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8047 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_struct_iaddr_p" >&5
8048 echo "${ECHO_T}$ac_cv_sizeof_struct_iaddr_p" >&6; }
8052 cat >>confdefs.h <<_ACEOF
8053 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
8058 # Solaris does not have the msg_control or msg_controlen members in
8059 # in the msghdr structure unless you define:
8061 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
8063 # See the "standards" man page for details.
8065 # We check for the msg_control member, and if it is not found, we check
8066 # again with the appropriate defines added to the CFLAGS. (In order to
8067 # do this we have to remove the check from the cache, which is what the
8069 { echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
8070 echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6; }
8071 if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 cat >conftest.$ac_ext <<_ACEOF
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8081 #include <sys/types.h>
8082 #include <sys/socket.h>
8088 static struct msghdr ac_aggr;
8089 if (ac_aggr.msg_control)
8095 rm -f conftest.$ac_objext
8096 if { (ac_try="$ac_compile"
8098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8099 *) ac_try_echo=$ac_try;;
8101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8102 (eval "$ac_compile") 2>conftest.er1
8104 grep -v '^
*+' conftest.er1 >conftest.err
8106 cat conftest.err >&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } && {
8109 test -z "$ac_c_werror_flag" ||
8110 test ! -s conftest.err
8111 } && test -s conftest.$ac_objext; then
8112 ac_cv_member_struct_msghdr_msg_control=yes
8114 echo "$as_me: failed program was:" >&5
8115 sed 's
/^
/|
/' conftest.$ac_ext >&5
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8124 #include <sys/types.h>
8125 #include <sys/socket.h>
8131 static struct msghdr ac_aggr;
8132 if (sizeof ac_aggr.msg_control)
8138 rm -f conftest.$ac_objext
8139 if { (ac_try="$ac_compile"
8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8142 *) ac_try_echo=$ac_try;;
8144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8145 (eval "$ac_compile") 2>conftest.er1
8147 grep -v '^
*+' conftest.er1 >conftest.err
8149 cat conftest.err >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); } && {
8152 test -z "$ac_c_werror_flag" ||
8153 test ! -s conftest.err
8154 } && test -s conftest.$ac_objext; then
8155 ac_cv_member_struct_msghdr_msg_control=yes
8157 echo "$as_me: failed program was:" >&5
8158 sed 's
/^
/|
/' conftest.$ac_ext >&5
8160 ac_cv_member_struct_msghdr_msg_control=no
8163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8168 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
8169 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6; }
8170 if test $ac_cv_member_struct_msghdr_msg_control = yes; then
8173 CFLAGS="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
8174 CFLAGS="$CFLAGS -D__EXTENSIONS__"
8175 unset ac_cv_member_struct_msghdr_msg_control
8176 { echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
8177 echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6; }
8178 if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 cat >conftest.$ac_ext <<_ACEOF
8184 cat confdefs.h >>conftest.$ac_ext
8185 cat >>conftest.$ac_ext <<_ACEOF
8186 /* end confdefs.h. */
8188 #include <sys/types.h>
8189 #include <sys/socket.h>
8195 static struct msghdr ac_aggr;
8196 if (ac_aggr.msg_control)
8202 rm -f conftest.$ac_objext
8203 if { (ac_try="$ac_compile"
8205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_compile") 2>conftest.er1
8211 grep -v '^
*+' conftest.er1 >conftest.err
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest.$ac_objext; then
8219 ac_cv_member_struct_msghdr_msg_control=yes
8221 echo "$as_me: failed program was:" >&5
8222 sed 's
/^
/|
/' conftest.$ac_ext >&5
8224 cat >conftest.$ac_ext <<_ACEOF
8227 cat confdefs.h >>conftest.$ac_ext
8228 cat >>conftest.$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8231 #include <sys/types.h>
8232 #include <sys/socket.h>
8238 static struct msghdr ac_aggr;
8239 if (sizeof ac_aggr.msg_control)
8245 rm -f conftest.$ac_objext
8246 if { (ac_try="$ac_compile"
8248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8249 *) ac_try_echo=$ac_try;;
8251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8252 (eval "$ac_compile") 2>conftest.er1
8254 grep -v '^
*+' conftest.er1 >conftest.err
8256 cat conftest.err >&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } && {
8259 test -z "$ac_c_werror_flag" ||
8260 test ! -s conftest.err
8261 } && test -s conftest.$ac_objext; then
8262 ac_cv_member_struct_msghdr_msg_control=yes
8264 echo "$as_me: failed program was:" >&5
8265 sed 's
/^
/|
/' conftest.$ac_ext >&5
8267 ac_cv_member_struct_msghdr_msg_control=no
8270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8275 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
8276 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6; }
8277 if test $ac_cv_member_struct_msghdr_msg_control = yes; then
8280 { { echo "$as_me:$LINENO: error: Missing msg_control member in
8281 msg_control structure." >&5
8282 echo "$as_me: error: Missing msg_control member in
8283 msg_control structure." >&2;}
8284 { (exit 1); exit 1; }; }
8293 # Check whether --with-libbind was given.
8294 if test "${with_libbind+set}" = set; then
8295 withval=$with_libbind; use_libbind="$withval"
8300 case "$use_libbind" in
8302 libbind="\${top_srcdir}/bind"
8305 libbind="\${top_srcdir}/bind"
8308 libbind="$use_libbind"
8314 # Check whether --with-ldap was given.
8315 if test "${with_ldap+set}" = set; then
8316 withval=$with_ldap; ldap=$withval
8322 # OpenLDAP with SSL support.
8324 # Check whether --with-ldapcrypto was given.
8325 if test "${with_ldapcrypto+set}" = set; then
8326 withval=$with_ldapcrypto; ldapcrypto=$withval
8332 # OpenLDAP support is disabled by default, if enabled then SSL support is an
8333 # extra optional that is also disabled by default. Enabling LDAP SSL support
8334 # implies enabling LDAP support.
8335 if test x$ldap = xyes || test x$ldapcrypto = xyes ; then
8336 { echo "$as_me:$LINENO: checking for library containing ldap_initialize" >&5
8337 echo $ECHO_N "checking for library containing ldap_initialize... $ECHO_C" >&6; }
8338 if test "${ac_cv_search_ldap_initialize+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 ac_func_search_save_LIBS=$LIBS
8342 cat >conftest.$ac_ext <<_ACEOF
8345 cat confdefs.h >>conftest.$ac_ext
8346 cat >>conftest.$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8349 /* Override any GCC internal prototype to avoid an error.
8350 Use char because int might match the return type of a GCC
8351 builtin and then its argument prototype would still apply. */
8355 char ldap_initialize ();
8359 return ldap_initialize ();
8364 for ac_lib in '' ldap; do
8365 if test -z "$ac_lib"; then
8366 ac_res="none required"
8369 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8371 rm -f conftest.$ac_objext conftest$ac_exeext
8372 if { (ac_try="$ac_link"
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_link") 2>conftest.er1
8380 grep -v '^
*+' conftest.er1 >conftest.err
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } && {
8385 test -z "$ac_c_werror_flag" ||
8386 test ! -s conftest.err
8387 } && test -s conftest$ac_exeext &&
8388 $as_test_x conftest$ac_exeext; then
8389 ac_cv_search_ldap_initialize=$ac_res
8391 echo "$as_me: failed program was:" >&5
8392 sed 's
/^
/|
/' conftest.$ac_ext >&5
8397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8399 if test "${ac_cv_search_ldap_initialize+set}" = set; then
8403 if test "${ac_cv_search_ldap_initialize+set}" = set; then
8406 ac_cv_search_ldap_initialize=no
8409 LIBS=$ac_func_search_save_LIBS
8411 { echo "$as_me:$LINENO: result: $ac_cv_search_ldap_initialize" >&5
8412 echo "${ECHO_T}$ac_cv_search_ldap_initialize" >&6; }
8413 ac_res=$ac_cv_search_ldap_initialize
8414 if test "$ac_res" != no; then
8415 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8418 { { echo "$as_me:$LINENO: error: *** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
8419 See \`config.log' for more details.
" >&5
8420 echo "$as_me: error
: *** Cannot
find ldap_initialize with
-lldap - do you need to
install an OpenLDAP2 Devel package?
8421 See \
`config.log' for more details." >&2;}
8422 { (exit 1); exit 1; }; }
8425 { echo "$as_me:$LINENO: checking for library containing ber_pvt_opt_on" >&5
8426 echo $ECHO_N "checking for library containing ber_pvt_opt_on... $ECHO_C" >&6; }
8427 if test "${ac_cv_search_ber_pvt_opt_on+set}" = set; then
8428 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 ac_func_search_save_LIBS=$LIBS
8431 cat >conftest.$ac_ext <<_ACEOF
8434 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8438 /* Override any GCC internal prototype to avoid an error.
8439 Use char because int might match the return type of a GCC
8440 builtin and then its argument prototype would still apply. */
8444 char ber_pvt_opt_on ();
8448 return ber_pvt_opt_on ();
8453 for ac_lib in '' lber; do
8454 if test -z "$ac_lib"; then
8455 ac_res="none required"
8458 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8460 rm -f conftest.$ac_objext conftest$ac_exeext
8461 if { (ac_try="$ac_link"
8463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8464 *) ac_try_echo
=$ac_try;;
8466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 (eval "$ac_link") 2>conftest.er1
8469 grep -v '^ *+' conftest.er1
>conftest.err
8471 cat conftest.err
>&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } && {
8474 test -z "$ac_c_werror_flag" ||
8475 test ! -s conftest.err
8476 } && test -s conftest
$ac_exeext &&
8477 $as_test_x conftest
$ac_exeext; then
8478 ac_cv_search_ber_pvt_opt_on
=$ac_res
8480 echo "$as_me: failed program was:" >&5
8481 sed 's/^/| /' conftest.
$ac_ext >&5
8486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8488 if test "${ac_cv_search_ber_pvt_opt_on+set}" = set; then
8492 if test "${ac_cv_search_ber_pvt_opt_on+set}" = set; then
8495 ac_cv_search_ber_pvt_opt_on
=no
8498 LIBS
=$ac_func_search_save_LIBS
8500 { echo "$as_me:$LINENO: result: $ac_cv_search_ber_pvt_opt_on" >&5
8501 echo "${ECHO_T}$ac_cv_search_ber_pvt_opt_on" >&6; }
8502 ac_res
=$ac_cv_search_ber_pvt_opt_on
8503 if test "$ac_res" != no
; then
8504 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8507 { { echo "$as_me:$LINENO: error: *** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
8508 See \`config.log' for more details." >&5
8509 echo "$as_me: error: *** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
8510 See \`config.log' for more details." >&2;}
8511 { (exit 1); exit 1; }; }
8515 if test x
$ldapcrypto = xyes
; then
8516 LDAP_CFLAGS
="-DLDAP_CONFIGURATION -DLDAP_USE_SSL"
8519 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
8524 # Append selected warning levels to CFLAGS before substitution (but after
8525 # AC_TRY_COMPILE & etc).
8526 CFLAGS
="$CFLAGS $STD_CWARNINGS"
8528 # Try to add the bind include directory
8529 CFLAGS
="$CFLAGS -I$libbind/include"
8532 { echo "$as_me:$LINENO: checking for flexible array members" >&5
8533 echo $ECHO_N "checking for flexible array members... $ECHO_C" >&6; }
8534 if test "${ac_cv_c_flexmember+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 cat >conftest.
$ac_ext <<_ACEOF
8540 cat confdefs.h
>>conftest.
$ac_ext
8541 cat >>conftest.
$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8546 struct s { int n; double d[]; };
8551 struct s *p = malloc (offsetof (struct s, d)
8552 + m * sizeof (double));
8554 return p->d != (double *) NULL;
8559 rm -f conftest.
$ac_objext
8560 if { (ac_try
="$ac_compile"
8562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_compile") 2>conftest.er1
8568 grep -v '^ *+' conftest.er1 >conftest.err
8570 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } && {
8573 test -z "$ac_c_werror_flag" ||
8574 test ! -s conftest.err
8575 } && test -s conftest.$ac_objext; then
8576 ac_cv_c_flexmember=yes
8578 echo "$as_me: failed program was:" >&5
8579 sed 's/^/| /' conftest.$ac_ext >&5
8581 ac_cv_c_flexmember=no
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 { echo "$as_me:$LINENO: result: $ac_cv_c_flexmember" >&5
8587 echo "${ECHO_T}$ac_cv_c_flexmember" >&6; }
8588 if test $ac_cv_c_flexmember = yes; then
8590 cat >>confdefs.h <<\_ACEOF
8591 #define FLEXIBLE_ARRAY_MEMBER
8595 cat >>confdefs.h <<\_ACEOF
8596 #define FLEXIBLE_ARRAY_MEMBER 1
8602 ac_config_files="$ac_config_files Makefile client/Makefile common/Makefile common/tests/Makefile dhcpctl/Makefile dst/Makefile includes/Makefile omapip/Makefile relay/Makefile server/Makefile tests/Makefile"
8604 cat >confcache <<\_ACEOF
8605 # This file is a shell script that caches the results of configure
8606 # tests run on this system so they can be shared between configure
8607 # scripts and configure runs, see configure's option --config-cache.
8608 # It is not useful on other systems. If it contains results you don't
8609 # want to keep, you may remove or edit it.
8611 # config.status only pays attention to the cache file if you give it
8612 # the --recheck option to rerun configure.
8614 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8620 # The following way of writing the cache mishandles newlines in values,
8621 # but we know of no workaround that is simple, portable, and efficient.
8622 # So, we kill variables containing newlines.
8623 # Ultrix sh set writes to stderr and can't be redirected directly,
8624 # and sets the high bit in the cache file unless we assign to the vars.
8626 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8627 eval ac_val
=\$
$ac_var
8631 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8632 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8635 _ | IFS | as_nl
) ;; #(
8636 *) $as_unset $ac_var ;;
8642 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8643 *${as_nl}ac_space
=\
*)
8644 # `set' does not quote correctly, so add quotes (double-quote
8645 # substitution turns \\\\ into \\, and sed turns \\ into \).
8648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8651 # `set' quotes correctly as required by POSIX, so do not add quotes.
8652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8663 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8665 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8666 if test -w "$cache_file"; then
8667 test "x$cache_file" != "x/dev/null" &&
8668 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8669 echo "$as_me: updating cache $cache_file" >&6;}
8670 cat confcache
>$cache_file
8672 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8673 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8678 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8679 # Let make expand exec_prefix.
8680 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8682 DEFS
=-DHAVE_CONFIG_H
8686 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8687 # 1. Remove the extension, and $U if already installed.
8688 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8689 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8691 # will be set to the directory where LIBOBJS objects are built.
8692 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8693 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8697 LTLIBOBJS
=$ac_ltlibobjs
8700 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8701 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8702 Usually this means the macro was only invoked conditionally." >&5
8703 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8704 Usually this means the macro was only invoked conditionally." >&2;}
8705 { (exit 1); exit 1; }; }
8707 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8708 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8709 Usually this means the macro was only invoked conditionally." >&5
8710 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8711 Usually this means the macro was only invoked conditionally." >&2;}
8712 { (exit 1); exit 1; }; }
8715 : ${CONFIG_STATUS=./config.status}
8716 ac_clean_files_save
=$ac_clean_files
8717 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8718 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8719 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8720 cat >$CONFIG_STATUS <<_ACEOF
8722 # Generated by $as_me.
8723 # Run this file to recreate the current configuration.
8724 # Compiler output produced by configure, useful for debugging
8725 # configure, is in config.log if it exists.
8730 SHELL=\${CONFIG_SHELL-$SHELL}
8733 cat >>$CONFIG_STATUS <<\_ACEOF
8734 ## --------------------- ##
8735 ## M4sh Initialization. ##
8736 ## --------------------- ##
8738 # Be more Bourne compatible
8739 DUALCASE
=1; export DUALCASE
# for MKS sh
8740 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8743 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8744 # is contrary to our usage. Disable this feature.
8745 alias -g '${1+"$@"}'='"$@"'
8746 setopt NO_GLOB_SUBST
8748 case `(set -o) 2>/dev/null` in
8749 *posix
*) set -o posix
;;
8758 # Avoid depending upon Character Ranges.
8759 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8760 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8761 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8762 as_cr_digits
='0123456789'
8763 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8765 # The user is always right.
8766 if test "${PATH_SEPARATOR+set}" != set; then
8767 echo "#! /bin/sh" >conf$$.sh
8768 echo "exit 0" >>conf$$.sh
8770 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8778 # Support unset when possible.
8779 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8787 # We need space, tab and new line, in precisely that order. Quoting is
8788 # there to prevent editors from complaining about space-tab.
8789 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8790 # splitting by setting IFS to empty value.)
8795 # Find who we are. Look in the path if we contain no directory separator.
8797 *[\\/]* ) as_myself
=$0 ;;
8798 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8802 test -z "$as_dir" && as_dir
=.
8803 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8809 # We did not find ourselves, most probably we were run as `sh COMMAND'
8810 # in which case we are not to be found in the path.
8811 if test "x$as_myself" = x
; then
8814 if test ! -f "$as_myself"; then
8815 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8816 { (exit 1); exit 1; }
8819 # Work around bugs in pre-3.0 UWIN ksh.
8820 for as_var
in ENV MAIL MAILPATH
8821 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8829 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8830 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8831 LC_TELEPHONE LC_TIME
8833 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8834 eval $as_var=C
; export $as_var
8836 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8840 # Required to use basename.
8841 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8842 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8848 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8849 as_basename
=basename
8855 # Name of the executable.
8856 as_me
=`$as_basename -- "$0" ||
8857 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8858 X"$0" : 'X\(//\)$' \| \
8859 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8861 sed '/^.*\/\([^/][^/]*\)\/*$/{
8882 test "x$as_lineno_1" != "x$as_lineno_2" &&
8883 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8885 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8886 # uniformly replaced by the line number. The first 'sed' inserts a
8887 # line-number line after each line using $LINENO; the second 'sed'
8888 # does the real work. The second script uses 'N' to pair each
8889 # line-number line with the line containing $LINENO, and appends
8890 # trailing '-' during substitution so that $LINENO is not a special
8892 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8893 # scripts with optimization help from Paolo Bonzini. Blame Lee
8894 # E. McMahon (1931-1989) for sed's syntax. :-)
8906 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8910 chmod +x
"$as_me.lineno" ||
8911 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8912 { (exit 1); exit 1; }; }
8914 # Don't try to exec as it changes $[0], causing all sort of problems
8915 # (the dirname of $[0] is not the place where we might find the
8916 # original and so on. Autoconf is especially sensitive to this).
8918 # Exit status is that of the last command.
8923 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8929 ECHO_C
= ECHO_N
= ECHO_T
=
8932 case `echo 'x\c'` in
8933 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8940 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8941 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8947 rm -f conf$$ conf$$.exe conf$$.
file
8948 if test -d conf$$.dir
; then
8949 rm -f conf$$.dir
/conf$$.
file
8955 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8957 # ... but there are two gotchas:
8958 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8959 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8960 # In both cases, we have to default to `cp -p'.
8961 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8963 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8968 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8969 rmdir conf$$.dir
2>/dev
/null
8971 if mkdir
-p .
2>/dev
/null
; then
8974 test -d .
/-p && rmdir .
/-p
8978 if test -x / >/dev
/null
2>&1; then
8981 if ls -dL / >/dev
/null
2>&1; then
8988 if test -d "$1"; then
8994 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8995 ???[sx]*):;;*)false;;esac;fi
8999 as_executable_p
=$as_test_x
9001 # Sed expression to map a string onto a valid CPP name.
9002 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9004 # Sed expression to map a string onto a valid variable name.
9005 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9010 # Save the log message, to keep $[0] and so on meaningful, and to
9011 # report actual input values of CONFIG_FILES etc. instead of their
9012 # values after options handling.
9014 This file was extended by DHCP $as_me 4.2.0, which was
9015 generated by GNU Autoconf 2.61. Invocation command line was
9017 CONFIG_FILES = $CONFIG_FILES
9018 CONFIG_HEADERS = $CONFIG_HEADERS
9019 CONFIG_LINKS = $CONFIG_LINKS
9020 CONFIG_COMMANDS = $CONFIG_COMMANDS
9023 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9028 cat >>$CONFIG_STATUS <<_ACEOF
9029 # Files that config.status was made for.
9030 config_files="$ac_config_files"
9031 config_headers="$ac_config_headers"
9032 config_commands="$ac_config_commands"
9036 cat >>$CONFIG_STATUS <<\_ACEOF
9038 \`$as_me' instantiates files from templates according to the
9039 current configuration.
9041 Usage: $0 [OPTIONS] [FILE]...
9043 -h, --help print this help, then exit
9044 -V, --version print version number and configuration settings, then exit
9045 -q, --quiet do not print progress messages
9046 -d, --debug don't remove temporary files
9047 --recheck update $as_me by reconfiguring in the same conditions
9048 --file=FILE[:TEMPLATE]
9049 instantiate the configuration file FILE
9050 --header=FILE[:TEMPLATE]
9051 instantiate the configuration header FILE
9053 Configuration files:
9056 Configuration headers:
9059 Configuration commands:
9062 Report bugs to <bug-autoconf@gnu.org>."
9065 cat >>$CONFIG_STATUS <<_ACEOF
9067 DHCP config.status 4.2.0
9068 configured by $0, generated by GNU Autoconf 2.61,
9069 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9071 Copyright (C) 2006 Free Software Foundation, Inc.
9072 This config.status script is free software; the Free Software Foundation
9073 gives unlimited permission to copy, distribute and modify it."
9081 cat >>$CONFIG_STATUS <<\_ACEOF
9082 # If no file are specified by the user, then we need to provide default
9083 # value. By we need to know if files were specified by the user.
9089 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9090 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9101 # Handling of the options.
9102 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9104 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9105 echo "$ac_cs_version"; exit ;;
9106 --debug |
--debu |
--deb |
--de |
--d |
-d )
9108 --file |
--fil |
--fi |
--f )
9110 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9111 ac_need_defaults
=false
;;
9112 --header |
--heade |
--head |
--hea )
9114 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9115 ac_need_defaults
=false
;;
9117 # Conflict between --help and --header
9118 { echo "$as_me: error: ambiguous option: $1
9119 Try \`$0 --help' for more information." >&2
9120 { (exit 1); exit 1; }; };;
9121 --help |
--hel |
-h )
9122 echo "$ac_cs_usage"; exit ;;
9123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9124 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9128 -*) { echo "$as_me: error: unrecognized option: $1
9129 Try \`$0 --help' for more information." >&2
9130 { (exit 1); exit 1; }; } ;;
9132 *) ac_config_targets
="$ac_config_targets $1"
9133 ac_need_defaults
=false
;;
9139 ac_configure_extra_args
=
9141 if $ac_cs_silent; then
9143 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9147 cat >>$CONFIG_STATUS <<_ACEOF
9148 if \$ac_cs_recheck; then
9149 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9152 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9156 cat >>$CONFIG_STATUS <<\_ACEOF
9160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9161 ## Running $as_me. ##
9167 cat >>$CONFIG_STATUS <<_ACEOF
9171 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9175 cat >>$CONFIG_STATUS <<\_ACEOF
9177 # Handling of arguments.
9178 for ac_config_target
in $ac_config_targets
9180 case $ac_config_target in
9181 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9182 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
9183 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9184 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
9185 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
9186 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
9187 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
9188 "dst/Makefile") CONFIG_FILES
="$CONFIG_FILES dst/Makefile" ;;
9189 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
9190 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
9191 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
9192 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
9193 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
9195 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9196 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9197 { (exit 1); exit 1; }; };;
9202 # If the user did not use the arguments to specify the items to instantiate,
9203 # then the envvar interface is used. Set only those that are not.
9204 # We use the long form for the default assignment because of an extremely
9205 # bizarre bug on SunOS 4.1.3.
9206 if $ac_need_defaults; then
9207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9208 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9209 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9212 # Have a temporary directory for convenience. Make it in the build tree
9213 # simply because there is no reason against having it here, and in addition,
9214 # creating and moving files from /tmp can sometimes cause problems.
9215 # Hook for its removal unless debugging.
9216 # Note that there is a small window in which the directory will not be cleaned:
9217 # after its creation but before its name has been assigned to `$tmp'.
9221 trap 'exit_status=$?
9222 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9224 trap '{ (exit 1); exit 1; }' 1 2 13 15
9226 # Create a (secure) tmp directory for tmp files.
9229 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9230 test -n "$tmp" && test -d "$tmp"
9233 tmp
=.
/conf$$
-$RANDOM
9234 (umask 077 && mkdir
"$tmp")
9237 echo "$me: cannot create a temporary directory in ." >&2
9238 { (exit 1); exit 1; }
9242 # Set up the sed scripts for CONFIG_FILES section.
9245 # No need to generate the scripts if there are no CONFIG_FILES.
9246 # This happens for instance when ./config.status config.h
9247 if test -n "$CONFIG_FILES"; then
9254 for ac_last_try
in false false false false false
:; do
9255 cat >conf$
$subs.
sed <<_ACEOF
9256 SHELL!$SHELL$ac_delim
9257 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9258 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9259 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9260 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9261 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9262 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9263 exec_prefix!$exec_prefix$ac_delim
9264 prefix!$prefix$ac_delim
9265 program_transform_name!$program_transform_name$ac_delim
9266 bindir!$bindir$ac_delim
9267 sbindir!$sbindir$ac_delim
9268 libexecdir!$libexecdir$ac_delim
9269 datarootdir!$datarootdir$ac_delim
9270 datadir!$datadir$ac_delim
9271 sysconfdir!$sysconfdir$ac_delim
9272 sharedstatedir!$sharedstatedir$ac_delim
9273 localstatedir!$localstatedir$ac_delim
9274 includedir!$includedir$ac_delim
9275 oldincludedir!$oldincludedir$ac_delim
9276 docdir!$docdir$ac_delim
9277 infodir!$infodir$ac_delim
9278 htmldir!$htmldir$ac_delim
9279 dvidir!$dvidir$ac_delim
9280 pdfdir!$pdfdir$ac_delim
9281 psdir!$psdir$ac_delim
9282 libdir!$libdir$ac_delim
9283 localedir!$localedir$ac_delim
9284 mandir!$mandir$ac_delim
9286 ECHO_C!$ECHO_C$ac_delim
9287 ECHO_N!$ECHO_N$ac_delim
9288 ECHO_T!$ECHO_T$ac_delim
9290 build_alias!$build_alias$ac_delim
9291 host_alias!$host_alias$ac_delim
9292 target_alias!$target_alias$ac_delim
9293 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9294 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9295 INSTALL_DATA!$INSTALL_DATA$ac_delim
9296 am__isrc!$am__isrc$ac_delim
9297 CYGPATH_W!$CYGPATH_W$ac_delim
9298 PACKAGE!$PACKAGE$ac_delim
9299 VERSION!$VERSION$ac_delim
9300 ACLOCAL!$ACLOCAL$ac_delim
9301 AUTOCONF!$AUTOCONF$ac_delim
9302 AUTOMAKE!$AUTOMAKE$ac_delim
9303 AUTOHEADER!$AUTOHEADER$ac_delim
9304 MAKEINFO!$MAKEINFO$ac_delim
9305 install_sh!$install_sh$ac_delim
9306 STRIP!$STRIP$ac_delim
9307 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9308 mkdir_p!$mkdir_p$ac_delim
9310 SET_MAKE!$SET_MAKE$ac_delim
9311 am__leading_dot!$am__leading_dot$ac_delim
9312 AMTAR!$AMTAR$ac_delim
9313 am__tar!$am__tar$ac_delim
9314 am__untar!$am__untar$ac_delim
9316 CFLAGS!$CFLAGS$ac_delim
9317 LDFLAGS!$LDFLAGS$ac_delim
9318 CPPFLAGS!$CPPFLAGS$ac_delim
9319 ac_ct_CC!$ac_ct_CC$ac_delim
9320 EXEEXT!$EXEEXT$ac_delim
9321 OBJEXT!$OBJEXT$ac_delim
9322 DEPDIR!$DEPDIR$ac_delim
9323 am__include!$am__include$ac_delim
9324 am__quote!$am__quote$ac_delim
9325 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9326 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9327 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9328 CCDEPMODE!$CCDEPMODE$ac_delim
9329 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9330 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9333 EGREP!$EGREP$ac_delim
9334 RANLIB!$RANLIB$ac_delim
9335 byte_order!$byte_order$ac_delim
9336 ac_prefix_program!$ac_prefix_program$ac_delim
9337 LDAP_CFLAGS!$LDAP_CFLAGS$ac_delim
9338 LIBOBJS!$LIBOBJS$ac_delim
9339 LTLIBOBJS!$LTLIBOBJS$ac_delim
9342 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
9344 elif $ac_last_try; then
9345 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9346 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9347 { (exit 1); exit 1; }; }
9349 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9353 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9354 if test -n "$ac_eof"; then
9355 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9356 ac_eof
=`expr $ac_eof + 1`
9359 cat >>$CONFIG_STATUS <<_ACEOF
9360 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9361 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9364 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9365 s/^/s,@/; s/!/@,|#_!!_#|/
9368 s/'"$ac_delim"'$/,g/; t
9370 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9371 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9372 rm -f conf$
$subs.
sed
9373 cat >>$CONFIG_STATUS <<_ACEOF
9380 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9381 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9382 # trailing colons and then remove the whole line if VPATH becomes empty
9383 # (actually we leave an empty line to preserve line numbers).
9384 if test "x$srcdir" = x.
; then
9385 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9389 s/^\([^=]*=[ ]*\):*/\1/
9395 cat >>$CONFIG_STATUS <<\_ACEOF
9396 fi # test -n "$CONFIG_FILES"
9399 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9402 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9404 case $ac_mode$ac_tag in
9406 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9407 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9408 { (exit 1); exit 1; }; };;
9409 :[FH
]-) ac_tag
=-:-;;
9410 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9427 -) ac_f
="$tmp/stdin";;
9428 *) # Look for the file first in the build tree, then in the source tree
9429 # (if the path is not absolute). The absolute path cannot be DOS-style,
9430 # because $ac_f cannot contain `:'.
9434 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9436 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9437 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9438 { (exit 1); exit 1; }; };;
9440 ac_file_inputs
="$ac_file_inputs $ac_f"
9443 # Let's still pretend it is `configure' which instantiates (i.e., don't
9444 # use $as_me), people would be surprised to read:
9445 # /* config.h. Generated by config.status. */
9446 configure_input
="Generated from "`IFS=:
9447 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9448 if test x
"$ac_file" != x-
; then
9449 configure_input
="$ac_file. $configure_input"
9450 { echo "$as_me:$LINENO: creating $ac_file" >&5
9451 echo "$as_me: creating $ac_file" >&6;}
9455 *:-:* |
*:-) cat >"$tmp/stdin";;
9460 ac_dir
=`$as_dirname -- "$ac_file" ||
9461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9462 X"$ac_file" : 'X\(//\)[^/]' \| \
9463 X"$ac_file" : 'X\(//\)$' \| \
9464 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9485 -*) as_dir
=.
/$as_dir;;
9487 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9491 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9492 *) as_qdir
=$as_dir;;
9494 as_dirs
="'$as_qdir' $as_dirs"
9495 as_dir
=`$as_dirname -- "$as_dir" ||
9496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9497 X"$as_dir" : 'X\(//\)[^/]' \| \
9498 X"$as_dir" : 'X\(//\)$' \| \
9499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9518 test -d "$as_dir" && break
9520 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9521 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9522 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9523 { (exit 1); exit 1; }; }; }
9527 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9529 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9530 # A ".." for each directory in $ac_dir_suffix.
9531 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9532 case $ac_top_builddir_sub in
9533 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9534 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9537 ac_abs_top_builddir
=$ac_pwd
9538 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9539 # for backward compatibility:
9540 ac_top_builddir
=$ac_top_build_prefix
9543 .
) # We are building in place.
9545 ac_top_srcdir
=$ac_top_builddir_sub
9546 ac_abs_top_srcdir
=$ac_pwd ;;
9547 [\\/]* | ?
:[\\/]* ) # Absolute name.
9548 ac_srcdir
=$srcdir$ac_dir_suffix;
9549 ac_top_srcdir
=$srcdir
9550 ac_abs_top_srcdir
=$srcdir ;;
9552 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9553 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9554 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9556 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9566 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9567 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9571 [\\/$
]* | ?
:[\\/]* ) ;;
9572 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9577 # Neutralize VPATH when `$srcdir' = `.'.
9578 # Shell code in configure.ac might set extrasub.
9579 # FIXME: do we really want to maintain this feature?
9580 cat >>$CONFIG_STATUS <<_ACEOF
9584 cat >>$CONFIG_STATUS <<\_ACEOF
9586 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9587 s
&@configure_input@
&$configure_input&;t t
9588 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9589 s
&@srcdir@
&$ac_srcdir&;t t
9590 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9591 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9592 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9593 s
&@builddir@
&$ac_builddir&;t t
9594 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9595 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9596 s
&@INSTALL@
&$ac_INSTALL&;t t
9597 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9598 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
9603 -) cat "$tmp/out
"; rm -f "$tmp/out
";;
9604 *) rm -f "$ac_file"; mv "$tmp/out
" $ac_file;;
9613 # Transform confdefs.h into a sed script `conftest.defines', that
9614 # substitutes the proper values into config.h.in to produce config.h.
9615 rm -f conftest.defines conftest.tail
9616 # First, append a space to every undef/define line, to ease matching.
9617 echo 's/$/ /' >conftest.defines
9618 # Then, protect against being on the right side of a sed subst, or in
9619 # an unquoted here document, in config.status. If some macros were
9620 # called several times there might be several #defines for the same
9621 # symbol, which is useless. But do not sort them, since the last
9622 # AC_DEFINE must be honored.
9623 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9624 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D
", where
9625 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9626 # PARAMS is the parameter list in the macro definition--in most cases, it's
9627 # just an empty string.
9628 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9629 ac_dB='\\)[ (].*,\\1define\\2'
9637 s/^[ ]*#[ ]*define[ ][ ]*//
9642 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9643 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9644 ' >>conftest.defines
9646 # Remove the space that was appended to ease matching.
9647 # Then replace #undef with comments. This is necessary, for
9648 # example, in the case of _POSIX_SOURCE, which is predefined and required
9649 # on some systems where configure will not decide to define it.
9650 # (The regexp can be short, since the line contains either #define or #undef.)
9652 s,^[ #]*u.*,/* & */,' >>conftest.defines
9654 # Break up conftest.defines:
9657 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1
"
9658 # Second one is: sed -f defines.sed "$tmp/out1
" >"$tmp/out2
"
9659 # Third one will be: sed -f defines.sed "$tmp/out2
" >"$tmp/out1
"
9661 ac_in='$ac_file_inputs'
9662 ac_out='"$tmp/out1
"'
9663 ac_nxt='"$tmp/out2
"'
9667 # Write a here document:
9668 cat >>$CONFIG_STATUS <<_ACEOF
9669 # First, check the format of the line:
9670 cat >"\
$tmp/defines.
sed" <<\\CEOF
9671 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9672 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9676 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9678 sed -f "$tmp/defines.
sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9679 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9680 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9681 grep . conftest.tail >/dev/null || break
9682 rm -f conftest.defines
9683 mv conftest.tail conftest.defines
9685 rm -f conftest.defines conftest.tail
9687 echo "ac_result
=$ac_in" >>$CONFIG_STATUS
9688 cat >>$CONFIG_STATUS <<\_ACEOF
9689 if test x"$ac_file" != x-; then
9690 echo "/* $configure_input */" >"$tmp/config.h
"
9691 cat "$ac_result" >>"$tmp/config.h
"
9692 if diff $ac_file "$tmp/config.h
" >/dev/null 2>&1; then
9693 { echo "$as_me:$LINENO: $ac_file is unchanged
" >&5
9694 echo "$as_me: $ac_file is unchanged
" >&6;}
9697 mv "$tmp/config.h
" $ac_file
9700 echo "/* $configure_input */"
9704 # Compute $ac_file's index in $config_headers.
9707 for _am_header in $config_headers :; do
9709 $_am_arg | $_am_arg:* )
9712 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9715 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9716 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9717 X"$_am_arg" : 'X\(//\)[^/]' \| \
9718 X"$_am_arg" : 'X\(//\)$' \| \
9719 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9737 s/.*/./; q'`/stamp-h$_am_stamp_count
9740 :C) { echo "$as_me:$LINENO: executing
$ac_file commands
" >&5
9741 echo "$as_me: executing
$ac_file commands
" >&6;}
9746 case $ac_file$ac_mode in
9747 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9748 # Strip MF so we end up with the name of the file.
9749 mf=`echo "$mf" | sed -e 's/:.*$//'`
9750 # Check whether this is an Automake generated Makefile or not.
9751 # We used to match only the files named `Makefile.in', but
9752 # some people rename them; so instead we look at the file content.
9753 # Grep'ing the first line is not enough: some people post-process
9754 # each Makefile.in and add a new line on top of each file to say so.
9755 # Grep'ing the whole file is not good either: AIX grep has a line
9756 # limit of 2048, but all sed's we know have understand at least 4000.
9757 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9758 dirpart=`$as_dirname -- "$mf" ||
9759 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9760 X"$mf" : 'X\(//\)[^/]' \| \
9761 X"$mf" : 'X\(//\)$' \| \
9762 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9784 # Extract the definition of DEPDIR, am__include, and am__quote
9785 # from the Makefile without running `make'.
9786 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9787 test -z "$DEPDIR" && continue
9788 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9789 test -z "am__include
" && continue
9790 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9791 # When using ansi2knr, U may be empty or an underscore; expand it
9792 U=`sed -n 's/^U = //p' < "$mf"`
9793 # Find all dependency output files, they are included files with
9794 # $(DEPDIR) in their names. We invoke sed twice because it is the
9795 # simplest approach to changing $(DEPDIR) to its actual value in the
9797 for file in `sed -n "
9798 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
9799 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9800 # Make sure the directory exists.
9801 test -f "$dirpart/$file" && continue
9802 fdir=`$as_dirname -- "$file" ||
9803 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9804 X"$file" : 'X\(//\)[^/]' \| \
9805 X"$file" : 'X\(//\)$' \| \
9806 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9825 { as_dir=$dirpart/$fdir
9827 -*) as_dir=./$as_dir;;
9829 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9833 *\'*) as_qdir=`echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #(
9834 *) as_qdir=$as_dir;;
9836 as_dirs="'$as_qdir' $as_dirs"
9837 as_dir=`$as_dirname -- "$as_dir" ||
9838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9839 X"$as_dir" : 'X\(//\)[^/]' \| \
9840 X"$as_dir" : 'X\(//\)$' \| \
9841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9860 test -d "$as_dir" && break
9862 test -z "$as_dirs" || eval "mkdir
$as_dirs"
9863 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
9864 echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
9865 { (exit 1); exit 1; }; }; }
9866 # echo "creating
$dirpart/$file"
9867 echo '# dummy' > "$dirpart/$file"
9876 { (exit 0); exit 0; }
9878 chmod +x $CONFIG_STATUS
9879 ac_clean_files=$ac_clean_files_save
9882 # configure is writing to config.log, and then calls config.status.
9883 # config.status does its own redirection, appending to config.log.
9884 # Unfortunately, on DOS this fails, as config.log is still kept open
9885 # by configure, so config.status won't be able to write to it; its
9886 # output is simply discarded. So we exec the FD to /dev/null,
9887 # effectively closing config.log, so it can be properly (re)opened and
9888 # appended to by config.status. When coming back to configure, we
9889 # need to make the FD available again.
9890 if test "$no_create" != yes; then
9892 ac_config_status_args=
9893 test "$silent" = yes &&
9894 ac_config_status_args="$ac_config_status_args --quiet"
9896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9899 # would make configure fail if this is the last instruction.
9900 $ac_cs_success || { (exit 1); exit 1; }