2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for DHCP 4.3.4.
5 # Report bugs to <dhcp-users@isc.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and dhcp-users@isc.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='dhcp'
583 PACKAGE_VERSION
='4.3.4'
584 PACKAGE_STRING
='DHCP 4.3.4'
585 PACKAGE_BUGREPORT
='dhcp-users@isc.org'
588 # Factoring default headers for most tests.
589 ac_includes_default
="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars
='am__EXEEXT_FALSE
636 DISTCHECK_ATF_CONFIGURE_FLAG
651 CROSS_COMPILING_FALSE
680 MAINTAINER_MODE_FALSE
694 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
751 enable_maintainer_mode
752 enable_dependency_tracking
764 enable_secs_byteorder
782 with_bind_extra_config
789 ac_precious_vars
='build_alias
800 # Initialize some variables set by options.
802 ac_init_version
=false
803 ac_unrecognized_opts
=
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
814 program_transform_name
=s
,x
,x
,
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir
='${exec_prefix}/bin'
829 sbindir
='${exec_prefix}/sbin'
830 libexecdir
='${exec_prefix}/libexec'
831 datarootdir
='${prefix}/share'
832 datadir
='${datarootdir}'
833 sysconfdir
='${prefix}/etc'
834 sharedstatedir
='${prefix}/com'
835 localstatedir
='${prefix}/var'
836 includedir
='${prefix}/include'
837 oldincludedir
='/usr/include'
838 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir
='${datarootdir}/info'
844 libdir
='${exec_prefix}/lib'
845 localedir
='${datarootdir}/locale'
846 mandir
='${datarootdir}/man'
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\
$ac_option
860 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
873 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
876 -build |
--build |
--buil |
--bui |
--bu)
877 ac_prev
=build_alias
;;
878 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
879 build_alias
=$ac_optarg ;;
881 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
882 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
883 ac_prev
=cache_file
;;
884 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
885 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
886 cache_file
=$ac_optarg ;;
889 cache_file
=config.cache
;;
891 -datadir |
--datadir |
--datadi |
--datad)
893 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
894 datadir
=$ac_optarg ;;
896 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
897 |
--dataroo |
--dataro |
--datar)
898 ac_prev
=datarootdir
;;
899 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
900 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
901 datarootdir
=$ac_optarg ;;
903 -disable-* |
--disable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 as_fn_error $?
"invalid feature name: $ac_useropt"
908 ac_useropt_orig
=$ac_useropt
909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep
=', ';;
917 eval enable_
$ac_useropt=no
;;
919 -docdir |
--docdir |
--docdi |
--doc |
--do)
921 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
924 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
926 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
929 -enable-* |
--enable-*)
930 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
933 as_fn_error $?
"invalid feature name: $ac_useropt"
934 ac_useropt_orig
=$ac_useropt
935 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep
=', ';;
943 eval enable_
$ac_useropt=\
$ac_optarg ;;
945 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
946 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
947 |
--exec |
--exe |
--ex)
948 ac_prev
=exec_prefix
;;
949 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
950 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
951 |
--exec=* |
--exe=* |
--ex=*)
952 exec_prefix
=$ac_optarg ;;
954 -gas |
--gas |
--ga |
--g)
955 # Obsolete; use --with-gas.
958 -help |
--help |
--hel |
--he |
-h)
960 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
961 ac_init_help
=recursive
;;
962 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
963 ac_init_help
=short
;;
965 -host |
--host |
--hos |
--ho)
966 ac_prev
=host_alias
;;
967 -host=* |
--host=* |
--hos=* |
--ho=*)
968 host_alias
=$ac_optarg ;;
970 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
972 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
974 htmldir
=$ac_optarg ;;
976 -includedir |
--includedir |
--includedi |
--included |
--include \
977 |
--includ |
--inclu |
--incl |
--inc)
978 ac_prev
=includedir
;;
979 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
980 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
981 includedir
=$ac_optarg ;;
983 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
985 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
986 infodir
=$ac_optarg ;;
988 -libdir |
--libdir |
--libdi |
--libd)
990 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
993 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
994 |
--libexe |
--libex |
--libe)
995 ac_prev
=libexecdir
;;
996 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
997 |
--libexe=* |
--libex=* |
--libe=*)
998 libexecdir
=$ac_optarg ;;
1000 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1001 ac_prev
=localedir
;;
1002 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1003 localedir
=$ac_optarg ;;
1005 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1006 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1007 ac_prev
=localstatedir
;;
1008 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1009 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1010 localstatedir
=$ac_optarg ;;
1012 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1014 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1015 mandir
=$ac_optarg ;;
1017 -nfp |
--nfp |
--nf)
1018 # Obsolete; use --without-fp.
1021 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1022 |
--no-cr |
--no-c |
-n)
1025 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1026 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1029 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1030 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1031 |
--oldin |
--oldi |
--old |
--ol |
--o)
1032 ac_prev
=oldincludedir
;;
1033 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1034 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1035 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1036 oldincludedir
=$ac_optarg ;;
1038 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1040 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1041 prefix
=$ac_optarg ;;
1043 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1044 |
--program-pre |
--program-pr |
--program-p)
1045 ac_prev
=program_prefix
;;
1046 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1047 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1048 program_prefix
=$ac_optarg ;;
1050 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1051 |
--program-suf |
--program-su |
--program-s)
1052 ac_prev
=program_suffix
;;
1053 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1054 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1055 program_suffix
=$ac_optarg ;;
1057 -program-transform-name |
--program-transform-name \
1058 |
--program-transform-nam |
--program-transform-na \
1059 |
--program-transform-n |
--program-transform- \
1060 |
--program-transform |
--program-transfor \
1061 |
--program-transfo |
--program-transf \
1062 |
--program-trans |
--program-tran \
1063 |
--progr-tra |
--program-tr |
--program-t)
1064 ac_prev
=program_transform_name
;;
1065 -program-transform-name=* |
--program-transform-name=* \
1066 |
--program-transform-nam=* |
--program-transform-na=* \
1067 |
--program-transform-n=* |
--program-transform-=* \
1068 |
--program-transform=* |
--program-transfor=* \
1069 |
--program-transfo=* |
--program-transf=* \
1070 |
--program-trans=* |
--program-tran=* \
1071 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1072 program_transform_name
=$ac_optarg ;;
1074 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1076 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1077 pdfdir
=$ac_optarg ;;
1079 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1081 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1084 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1085 |
-silent |
--silent |
--silen |
--sile |
--sil)
1088 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1090 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1092 sbindir
=$ac_optarg ;;
1094 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1095 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1096 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1098 ac_prev
=sharedstatedir
;;
1099 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1100 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1101 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1103 sharedstatedir
=$ac_optarg ;;
1105 -site |
--site |
--sit)
1107 -site=* |
--site=* |
--sit=*)
1110 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1112 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1113 srcdir
=$ac_optarg ;;
1115 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1116 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1117 ac_prev
=sysconfdir
;;
1118 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1119 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1120 sysconfdir
=$ac_optarg ;;
1122 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1123 ac_prev
=target_alias
;;
1124 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1125 target_alias
=$ac_optarg ;;
1127 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1130 -version |
--version |
--versio |
--versi |
--vers |
-V)
1131 ac_init_version
=: ;;
1134 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error $?
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=\
$ac_optarg ;;
1149 -without-* |
--without-*)
1150 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error $?
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=no
;;
1166 # Obsolete; use --with-x.
1169 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1170 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1171 ac_prev
=x_includes
;;
1172 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1173 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1174 x_includes
=$ac_optarg ;;
1176 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1177 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1178 ac_prev
=x_libraries
;;
1179 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1180 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1181 x_libraries
=$ac_optarg ;;
1183 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information"
1188 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1192 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1194 eval $ac_envvar=\
$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208 if test -n "$ac_prev"; then
1209 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error $?
"missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1216 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 # Check all directory arguments for consistency.
1222 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1227 eval ac_val
=\$
$ac_var
1228 # Remove trailing slashes.
1231 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\
$ac_val;;
1234 # Be sure to have absolute directory names.
1236 [\\/$
]* | ?
:[\\/]* ) continue;;
1237 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1239 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 elif test "x$build_alias" != "x$host_alias"; then
1259 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1261 test "$silent" = yes && exec 6>/dev
/null
1264 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1265 ac_ls_di
=`ls -di .` &&
1266 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1267 as_fn_error $?
"working directory cannot be determined"
1268 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1269 as_fn_error $?
"pwd does not report name of working directory"
1272 # Find the source files, if location was not specified.
1273 if test -z "$srcdir"; then
1274 ac_srcdir_defaulted
=yes
1275 # Try the directory containing this script, then the parent directory.
1276 ac_confdir
=`$as_dirname -- "$as_myself" ||
1277 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1278 X"$as_myself" : 'X\(//\)[^/]' \| \
1279 X"$as_myself" : 'X\(//\)$' \| \
1280 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1281 $as_echo X"$as_myself" |
1282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1304 ac_srcdir_defaulted
=no
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1308 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1310 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1312 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1314 # When building in place, set srcdir=.
1315 if test "$ac_abs_confdir" = "$ac_pwd"; then
1318 # Remove unnecessary trailing slashes from srcdir.
1319 # Double slashes in file names in object file debugging info
1320 # mess up M-x gdb in Emacs.
1322 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1324 for ac_var
in $ac_precious_vars; do
1325 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1326 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1327 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1332 # Report the --help message.
1334 if test "$ac_init_help" = "long"; then
1335 # Omit some internal or obsolete options to make the list less imposing.
1336 # This message is too long to be a string in the A/UX 3.1 sh.
1338 \`configure' configures DHCP 4.3.4 to adapt to many kinds of systems.
1340 Usage: $0 [OPTION]... [VAR=VALUE]...
1342 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1343 VAR=VALUE. See below for descriptions of some of the useful variables.
1345 Defaults for the options are specified in brackets.
1348 -h, --help display this help and exit
1349 --help=short display options specific to this package
1350 --help=recursive display the short help of all the included packages
1351 -V, --version display version information and exit
1352 -q, --quiet, --silent do not print \`checking ...' messages
1353 --cache-file=FILE cache test results in FILE [disabled]
1354 -C, --config-cache alias for \`--cache-file=config.cache'
1355 -n, --no-create do not create output files
1356 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1358 Installation directories:
1359 --prefix=PREFIX install architecture-independent files in PREFIX
1360 [$ac_default_prefix]
1361 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1364 By default, \`make install' will install all the files in
1365 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1366 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1367 for instance \`--prefix=\$HOME'.
1369 For better control, use the options below.
1371 Fine tuning of the installation directories:
1372 --bindir=DIR user executables [EPREFIX/bin]
1373 --sbindir=DIR system admin executables [EPREFIX/sbin]
1374 --libexecdir=DIR program executables [EPREFIX/libexec]
1375 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1376 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1377 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1378 --libdir=DIR object code libraries [EPREFIX/lib]
1379 --includedir=DIR C header files [PREFIX/include]
1380 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1381 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1382 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1383 --infodir=DIR info documentation [DATAROOTDIR/info]
1384 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1385 --mandir=DIR man documentation [DATAROOTDIR/man]
1386 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1387 --htmldir=DIR html documentation [DOCDIR]
1388 --dvidir=DIR dvi documentation [DOCDIR]
1389 --pdfdir=DIR pdf documentation [DOCDIR]
1390 --psdir=DIR ps documentation [DOCDIR]
1396 --program-prefix=PREFIX prepend PREFIX to installed program names
1397 --program-suffix=SUFFIX append SUFFIX to installed program names
1398 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1401 --build=BUILD configure
for building on BUILD
[guessed
]
1402 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive
) echo "Configuration of DHCP 4.3.4:";;
1413 --disable-option-checking ignore unrecognized
--enable/--with options
1414 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1415 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1416 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1417 --disable-silent-rules verbose build output
(undo
: "make V=0")
1418 --enable-maintainer-mode
1419 enable make rules and dependencies not useful
(and
1420 sometimes confusing
) to the casual installer
1421 --enable-dependency-tracking
1422 do not reject slow dependency extractors
1423 --disable-dependency-tracking
1424 speeds up one-time build
1425 --enable-debug create a debug-only version of the software
(default
1427 --enable-failover enable support
for failover
(default is
yes)
1428 --enable-execute enable support
for execute
() in config
(default is
1430 --enable-tracing enable support
for server activity tracing
(default
1432 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1433 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1434 --enable-dhcpv4o6 enable support
for DHCPv4-over-DHCPv6
(default is
1436 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1437 --enable-early-chroot enable chrooting prior to configuration
(default is
1439 --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets
(default is
1441 --enable-use-sockets use the standard BSD socket API
(default is no
)
1442 --enable-secs-byteorder Correct bad byteorders
in the secs field
(default is
1444 --enable-log-pid Include PIDs
in syslog messages
(default is no
).
1445 --enable-binary-leases enable support
for binary insertion of leases
1447 --enable-kqueue use BSD kqueue
(default is no
)
1448 --enable-epoll use Linux epoll
(default is no
)
1449 --enable-devpoll use
/dev
/poll
(default is no
)
1452 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1453 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1454 --with-atf=PATH specify location where atf was installed
(or
"bind")
1455 --with-srv-lease-file=PATH
1456 File
for dhcpd leases
(default is
1457 LOCALSTATEDIR
/db
/dhcpd.leases
)
1458 --with-srv6-lease-file=PATH
1459 File
for dhcpd6 leases
(default is
1460 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1461 --with-cli-lease-file=PATH
1462 File
for dhclient leases
(default is
1463 LOCALSTATEDIR
/db
/dhclient.leases
)
1464 --with-cli6-lease-file=PATH
1465 File
for dhclient6 leases
(default is
1466 LOCALSTATEDIR
/db
/dhclient6.leases
)
1467 --with-srv-pid-file=PATH
1468 File
for dhcpd process information
(default is
1469 LOCALSTATEDIR
/run
/dhcpd.pid
)
1470 --with-srv6-pid-file=PATH
1471 File
for dhcpd6 process information
(default is
1472 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1473 --with-cli-pid-file=PATH
1474 File
for dhclient process information
(default is
1475 LOCALSTATEDIR
/run
/dhclient.pid
)
1476 --with-cli6-pid-file=PATH
1477 File
for dhclient6 process information
(default is
1478 LOCALSTATEDIR
/run
/dhclient6.pid
)
1479 --with-relay-pid-file=PATH
1480 File
for dhcrelay process information
(default is
1481 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1482 --with-relay6-pid-file=PATH
1483 File
for dhcrelay6 process information
(default is
1484 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1485 --with-randomdev=PATH Path
for random device
(default is
/dev
/random
)
1486 --with-bind-extra-config
1487 configure
bind librairies with some extra options
1489 --with-libbind=PATH
bind includes and libraries are
in PATH
1490 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1491 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1493 --with-ldap-gssapi enable krb
5/gssapi authentication
for OpenLDAP
in
1494 dhcpd
(default is no
)
1495 --with-ldapcasa enable LDAP CASA auth support
in dhcpd
(default is
1498 Some influential environment variables
:
1499 CC C compiler
command
1500 CFLAGS C compiler flags
1501 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1502 nonstandard directory
<lib dir
>
1503 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1504 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1505 you have headers
in a nonstandard directory
<include dir
>
1508 Use these variables to override the choices made by
`configure' or to help
1509 it to find libraries and programs with nonstandard names/locations.
1511 Report bugs to <dhcp-users@isc.org>.
1516 if test "$ac_init_help" = "recursive"; then
1517 # If there are subdirs, report their specific --help.
1518 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1519 test -d "$ac_dir" ||
1520 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1528 # A ".." for each directory in $ac_dir_suffix.
1529 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1530 case $ac_top_builddir_sub in
1531 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535 ac_abs_top_builddir=$ac_pwd
1536 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1537 # for backward compatibility:
1538 ac_top_builddir=$ac_top_build_prefix
1541 .) # We are building in place.
1543 ac_top_srcdir=$ac_top_builddir_sub
1544 ac_abs_top_srcdir=$ac_pwd ;;
1545 [\\/]* | ?:[\\/]* ) # Absolute name.
1546 ac_srcdir=$srcdir$ac_dir_suffix;
1547 ac_top_srcdir=$srcdir
1548 ac_abs_top_srcdir=$srcdir ;;
1550 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1551 ac_top_srcdir=$ac_top_build_prefix$srcdir
1552 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556 cd "$ac_dir" || { ac_status=$?; continue; }
1557 # Check for guested configure.
1558 if test -f "$ac_srcdir/configure.gnu"; then
1560 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1561 elif test -f "$ac_srcdir/configure"; then
1563 $SHELL "$ac_srcdir/configure" --help=recursive
1565 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567 cd "$ac_pwd" || { ac_status=$?; break; }
1571 test -n "$ac_init_help" && exit $ac_status
1572 if $ac_init_version; then
1574 DHCP configure 4.3.4
1575 generated by GNU Autoconf 2.69
1577 Copyright (C) 2012 Free Software Foundation, Inc.
1578 This configure script is free software; the Free Software Foundation
1579 gives unlimited permission to copy, distribute and modify it.
1584 ## ------------------------ ##
1585 ## Autoconf initialization. ##
1586 ## ------------------------ ##
1588 # ac_fn_c_try_compile LINENO
1589 # --------------------------
1590 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1591 ac_fn_c_try_compile ()
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 rm -f conftest.$ac_objext
1595 if { { ac_try="$ac_compile"
1597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1598 *) ac_try_echo
=$ac_try;;
1600 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_compile") 2>conftest.err
1604 if test -s conftest.err
; then
1605 grep -v '^ *+' conftest.err
>conftest.er1
1606 cat conftest.er1
>&5
1607 mv -f conftest.er1 conftest.err
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } && {
1611 test -z "$ac_c_werror_flag" ||
1612 test ! -s conftest.err
1613 } && test -s conftest.
$ac_objext; then :
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.
$ac_ext >&5
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status
$ac_retval
1624 } # ac_fn_c_try_compile
1626 # ac_fn_c_try_cpp LINENO
1627 # ----------------------
1628 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } > conftest.i && {
1648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1663 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1664 # -------------------------------------------------------
1665 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1666 # the include files in INCLUDES and setting the cache variable VAR
1668 ac_fn_c_check_header_mongrel ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if eval \${$3+:} false; then :
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if eval \${$3+:} false; then :
1675 $as_echo_n "(cached) " >&6
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679 $as_echo "$ac_res" >&6; }
1681 # Is the header compilable?
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1683 $as_echo_n "checking $2 usability... " >&6; }
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690 ac_header_compiler=yes
1692 ac_header_compiler=no
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1696 $as_echo "$ac_header_compiler" >&6; }
1698 # Is the header present?
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1700 $as_echo_n "checking $2 presence... " >&6; }
1701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1702 /* end confdefs.h. */
1705 if ac_fn_c_try_cpp "$LINENO"; then :
1706 ac_header_preproc=yes
1708 ac_header_preproc=no
1710 rm -f conftest.err conftest.i conftest.$ac_ext
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1712 $as_echo "$ac_header_preproc" >&6; }
1714 # So? What about this header?
1715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1718 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1720 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1724 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1726 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1728 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1730 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 ( $as_echo "## --------------------------------- ##
1734 ## Report this to dhcp-users@isc.org ##
1735 ## --------------------------------- ##"
1736 ) | sed "s/^/$as_me: WARNING: /" >&2
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1744 eval "$3=\$ac_header_compiler"
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_mongrel
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=$ac_status
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_find_intX_t LINENO BITS VAR
1828 # -----------------------------------
1829 # Finds a signed integer type with width BITS, setting cache variable VAR
1831 ac_fn_c_find_intX_t ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1835 $as_echo_n "checking for int$2_t... " >&6; }
1836 if eval \${$3+:} false; then :
1837 $as_echo_n "(cached) " >&6
1840 # Order is important - never check a type that is potentially smaller
1841 # than half of the expected target width.
1842 for ac_type in int$2_t 'int' 'long int' \
1843 'long long int' 'short int' 'signed char'; do
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1846 $ac_includes_default
1847 enum { N = $2 / 2 - 1 };
1851 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1853 return test_array [0];
1859 if ac_fn_c_try_compile "$LINENO"; then :
1860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1862 $ac_includes_default
1863 enum { N = $2 / 2 - 1 };
1867 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1868 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1870 return test_array [0];
1876 if ac_fn_c_try_compile "$LINENO"; then :
1883 eval "$3=\$ac_type" ;;
1886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 if eval test \"x\$"$3"\" = x"no"; then :
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 } # ac_fn_c_find_intX_t
1903 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1904 # -------------------------------------------
1905 # Tests whether TYPE exists after having included INCLUDES, setting cache
1906 # variable VAR accordingly.
1907 ac_fn_c_check_type ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \${$3+:} false; then :
1913 $as_echo_n "(cached) " >&6
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1941 if ac_fn_c_try_compile "$LINENO"; then :
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 } # ac_fn_c_check_type
1957 # ac_fn_c_find_uintX_t LINENO BITS VAR
1958 # ------------------------------------
1959 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1961 ac_fn_c_find_uintX_t ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1965 $as_echo_n "checking for uint$2_t... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1970 # Order is important - never check a type that is potentially smaller
1971 # than half of the expected target width.
1972 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1973 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h. */
1976 $ac_includes_default
1980 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1982 return test_array [0];
1988 if ac_fn_c_try_compile "$LINENO"; then :
1993 eval "$3=\$ac_type" ;;
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997 if eval test \"x\$"$3"\" = x"no"; then :
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009 } # ac_fn_c_find_uintX_t
2011 # ac_fn_c_try_link LINENO
2012 # -----------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 rm -f conftest.$ac_objext conftest$ac_exeext
2018 if { { ac_try="$ac_link"
2020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2021 *) ac_try_echo
=$ac_try;;
2023 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>conftest.err
2027 if test -s conftest.err
; then
2028 grep -v '^ *+' conftest.err
>conftest.er1
2029 cat conftest.er1
>&5
2030 mv -f conftest.er1 conftest.err
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; } && {
2034 test -z "$ac_c_werror_flag" ||
2035 test ! -s conftest.err
2036 } && test -s conftest
$ac_exeext && {
2037 test "$cross_compiling" = yes ||
2038 test -x conftest
$ac_exeext
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.
$ac_ext >&5
2047 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049 # interfere with the next link command; also delete a directory that is
2050 # left behind by Apple's compiler. We do this before executing the actions.
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 as_fn_set_status
$ac_retval
2055 } # ac_fn_c_try_link
2057 # ac_fn_c_check_func LINENO FUNC VAR
2058 # ----------------------------------
2059 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2060 ac_fn_c_check_func
()
2062 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if eval \
${$3+:} false
; then :
2066 $as_echo_n "(cached) " >&6
2068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2070 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2072 #define $2 innocuous_$2
2074 /* System header to define __stub macros and hopefully few prototypes,
2075 which can conflict with char $2 (); below.
2076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2077 <limits.h> exists even on freestanding compilers. */
2080 # include <limits.h>
2082 # include <assert.h>
2087 /* Override any GCC internal prototype to avoid an error.
2088 Use char because int might match the return type of a GCC
2089 builtin and then its argument prototype would still apply. */
2094 /* The GNU C library defines this for functions which it implements
2095 to always fail with ENOSYS. Some functions are actually named
2096 something starting with __ and the normal name is an alias. */
2097 #if defined __stub_$2 || defined __stub___$2
2109 if ac_fn_c_try_link
"$LINENO"; then :
2114 rm -f core conftest.err conftest.
$ac_objext \
2115 conftest
$ac_exeext conftest.
$ac_ext
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119 $as_echo "$ac_res" >&6; }
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 } # ac_fn_c_check_func
2124 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2125 # ----------------------------------------------------
2126 # Tries to find if the field MEMBER exists in type AGGR, after including
2127 # INCLUDES, setting cache variable VAR accordingly.
2128 ac_fn_c_check_member
()
2130 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2132 $as_echo_n "checking for $2.$3... " >&6; }
2133 if eval \
${$4+:} false
; then :
2134 $as_echo_n "(cached) " >&6
2136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2149 if ac_fn_c_try_compile
"$LINENO"; then :
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2159 if (sizeof ac_aggr.$3)
2165 if ac_fn_c_try_compile
"$LINENO"; then :
2170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 } # ac_fn_c_check_member
2181 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2182 # --------------------------------------------
2183 # Tries to find the compile-time value of EXPR in a program that includes
2184 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2186 ac_fn_c_compute_int
()
2188 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2189 if test "$cross_compiling" = yes; then
2190 # Depending upon the size, compute the lo and hi bounds.
2191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2197 static int test_array [1 - 2 * !(($2) >= 0)];
2199 return test_array [0];
2205 if ac_fn_c_try_compile
"$LINENO"; then :
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2214 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2216 return test_array [0];
2222 if ac_fn_c_try_compile
"$LINENO"; then :
2223 ac_hi
=$ac_mid; break
2225 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2226 if test $ac_lo -le $ac_mid; then
2230 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2241 static int test_array [1 - 2 * !(($2) < 0)];
2243 return test_array [0];
2249 if ac_fn_c_try_compile
"$LINENO"; then :
2252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2258 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2260 return test_array [0];
2266 if ac_fn_c_try_compile
"$LINENO"; then :
2267 ac_lo
=$ac_mid; break
2269 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2270 if test $ac_mid -le $ac_hi; then
2274 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2284 # Binary search between lo and hi bounds.
2285 while test "x$ac_lo" != "x$ac_hi"; do
2286 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2293 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2295 return test_array [0];
2301 if ac_fn_c_try_compile
"$LINENO"; then :
2304 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2309 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h. */
2316 static long int longval () { return $2; }
2317 static unsigned long int ulongval () { return $2; }
2324 FILE *f = fopen ("conftest.val", "w");
2329 long int i = longval ();
2332 fprintf (f, "%ld", i);
2336 unsigned long int i = ulongval ();
2339 fprintf (f, "%lu", i);
2341 /* Do not output a trailing newline, as this causes \r\n confusion
2342 on some platforms. */
2343 return ferror (f) || fclose (f) != 0;
2349 if ac_fn_c_try_run
"$LINENO"; then :
2350 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2354 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2355 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status
$ac_retval
2362 } # ac_fn_c_compute_int
2363 cat >config.log
<<_ACEOF
2364 This file contains any messages produced by compilers while
2365 running configure, to aid debugging if configure makes a mistake.
2367 It was created by DHCP $as_me 4.3.4, which was
2368 generated by GNU Autoconf 2.69. Invocation command line was
2380 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2381 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2382 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2383 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2384 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2386 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2387 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2389 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2390 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2391 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2392 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2393 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2394 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2395 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 $as_echo "PATH: $as_dir"
2420 # Keep a trace of the command line.
2421 # Strip out --no-create and --no-recursion so they do not pile up.
2422 # Strip out --silent because we don't want to record it for future runs.
2423 # Also quote any args containing shell meta-characters.
2424 # Make two passes to allow for proper duplicate-argument suppression.
2428 ac_must_keep_next
=false
2434 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2435 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2436 |
-silent |
--silent |
--silen |
--sile |
--sil)
2439 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2442 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2444 as_fn_append ac_configure_args1
" '$ac_arg'"
2445 if test $ac_must_keep_next = true
; then
2446 ac_must_keep_next
=false
# Got value, back to normal.
2449 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2450 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2451 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2452 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2453 case "$ac_configure_args0 " in
2454 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2457 -* ) ac_must_keep_next
=true
;;
2460 as_fn_append ac_configure_args
" '$ac_arg'"
2465 { ac_configure_args0
=; unset ac_configure_args0
;}
2466 { ac_configure_args1
=; unset ac_configure_args1
;}
2468 # When interrupted or exit'd, cleanup temporary files, and complete
2469 # config.log. We remove comments because anyway the quotes in there
2470 # would cause problems or look ugly.
2471 # WARNING: Use '\'' to represent an apostrophe within the trap.
2472 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2473 trap 'exit_status=$?
2474 # Save into config.log some information that might help in debugging.
2478 $as_echo "## ---------------- ##
2479 ## Cache variables. ##
2480 ## ---------------- ##"
2482 # The following way of writing the cache mishandles newlines in values,
2484 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2485 eval ac_val=\$$ac_var
2489 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2490 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2493 _ | IFS | as_nl) ;; #(
2494 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2495 *) { eval $ac_var=; unset $ac_var;} ;;
2500 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2501 *${as_nl}ac_space=\ *)
2503 "s/'\''/'\''\\\\'\'''\''/g;
2504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2514 $as_echo "## ----------------- ##
2515 ## Output variables. ##
2516 ## ----------------- ##"
2518 for ac_var in $ac_subst_vars
2520 eval ac_val=\$$ac_var
2522 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2524 $as_echo "$ac_var='\''$ac_val'\''"
2528 if test -n "$ac_subst_files"; then
2529 $as_echo "## ------------------- ##
2530 ## File substitutions. ##
2531 ## ------------------- ##"
2533 for ac_var
in $ac_subst_files
2535 eval ac_val
=\$
$ac_var
2537 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2539 $as_echo "$ac_var='\''$ac_val'\''"
2544 if test -s confdefs.h; then
2545 $as_echo "## ----------- ##
2552 test "$ac_signal" != 0 &&
2553 $as_echo "$as_me: caught signal $ac_signal"
2554 $as_echo "$as_me: exit $exit_status"
2556 rm -f core *.core core.conftest.* &&
2557 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2560 for ac_signal
in 1 2 13 15; do
2561 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2565 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2566 rm -f -r conftest
* confdefs.h
2568 $as_echo "/* confdefs.h */" > confdefs.h
2570 # Predefined preprocessor variables.
2572 cat >>confdefs.h
<<_ACEOF
2573 #define PACKAGE_NAME "$PACKAGE_NAME"
2576 cat >>confdefs.h
<<_ACEOF
2577 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2580 cat >>confdefs.h
<<_ACEOF
2581 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2584 cat >>confdefs.h
<<_ACEOF
2585 #define PACKAGE_STRING "$PACKAGE_STRING"
2588 cat >>confdefs.h
<<_ACEOF
2589 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2592 cat >>confdefs.h
<<_ACEOF
2593 #define PACKAGE_URL "$PACKAGE_URL"
2597 # Let the site file select an alternate cache file if it wants to.
2598 # Prefer an explicitly selected file to automatically selected ones.
2601 if test -n "$CONFIG_SITE"; then
2602 # We do not want a PATH search for config.site.
2603 case $CONFIG_SITE in #((
2604 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2605 */*) ac_site_file1
=$CONFIG_SITE;;
2606 *) ac_site_file1
=.
/$CONFIG_SITE;;
2608 elif test "x$prefix" != xNONE
; then
2609 ac_site_file1
=$prefix/share
/config.site
2610 ac_site_file2
=$prefix/etc
/config.site
2612 ac_site_file1
=$ac_default_prefix/share
/config.site
2613 ac_site_file2
=$ac_default_prefix/etc
/config.site
2615 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2617 test "x$ac_site_file" = xNONE
&& continue
2618 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2620 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2621 sed 's/^/| /' "$ac_site_file" >&5
2623 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2625 as_fn_error $?
"failed to load site script $ac_site_file
2626 See \`config.log' for more details" "$LINENO" 5; }
2630 if test -r "$cache_file"; then
2631 # Some versions of bash will fail to source /dev/null (special files
2632 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2633 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2635 $as_echo "$as_me: loading cache $cache_file" >&6;}
2637 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2638 *) .
"./$cache_file";;
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2643 $as_echo "$as_me: creating cache $cache_file" >&6;}
2647 # Check that the precious variables saved in the cache have kept the same
2649 ac_cache_corrupted
=false
2650 for ac_var
in $ac_precious_vars; do
2651 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2652 eval ac_new_set
=\
$ac_env_${ac_var}_set
2653 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2654 eval ac_new_val
=\
$ac_env_${ac_var}_value
2655 case $ac_old_set,$ac_new_set in
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2658 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2659 ac_cache_corrupted
=: ;;
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2662 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2663 ac_cache_corrupted
=: ;;
2666 if test "x$ac_old_val" != "x$ac_new_val"; then
2667 # differences in whitespace do not lead to failure.
2668 ac_old_val_w
=`echo x $ac_old_val`
2669 ac_new_val_w
=`echo x $ac_new_val`
2670 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2672 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2673 ac_cache_corrupted
=:
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2676 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2677 eval $ac_var=\
$ac_old_val
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2680 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2682 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2685 # Pass precious variables to config.status.
2686 if test "$ac_new_set" = set; then
2688 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2689 *) ac_arg
=$ac_var=$ac_new_val ;;
2691 case " $ac_configure_args " in
2692 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2693 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2697 if $ac_cache_corrupted; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2701 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2702 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2704 ## -------------------- ##
2705 ## Main body of script. ##
2706 ## -------------------- ##
2709 ac_cpp
='$CPP $CPPFLAGS'
2710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2716 # we specify "foreign" to avoid having to have the GNU mandated files,
2717 # like AUTHORS, COPYING, and such
2718 am__api_version
='1.15'
2721 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2722 if test -f "$ac_dir/install-sh"; then
2724 ac_install_sh
="$ac_aux_dir/install-sh -c"
2726 elif test -f "$ac_dir/install.sh"; then
2728 ac_install_sh
="$ac_aux_dir/install.sh -c"
2730 elif test -f "$ac_dir/shtool"; then
2732 ac_install_sh
="$ac_aux_dir/shtool install -c"
2736 if test -z "$ac_aux_dir"; then
2737 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2740 # These three variables are undocumented and unsupported,
2741 # and are intended to be withdrawn in a future Autoconf release.
2742 # They can cause serious problems if a builder's source tree is in a directory
2743 # whose full name contains unusual characters.
2744 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2745 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2746 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2749 # Find a good install program. We prefer a C program (faster),
2750 # so one script is as good as another. But avoid the broken or
2751 # incompatible versions:
2752 # SysV /etc/install, /usr/sbin/install
2753 # SunOS /usr/etc/install
2754 # IRIX /sbin/install
2756 # AmigaOS /C/install, which installs bootblocks on floppy discs
2757 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2758 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2759 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2760 # OS/2's system install, which has a completely different semantic
2761 # ./install, which can be erroneously created by make from ./install.sh.
2762 # Reject install programs that cannot install multiple files.
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2764 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2765 if test -z "$INSTALL"; then
2766 if ${ac_cv_path_install+:} false
; then :
2767 $as_echo_n "(cached) " >&6
2769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir
=.
2774 # Account for people who put trailing slashes in PATH elements.
2775 case $as_dir/ in #((
2776 .
/ | .
// |
/[cC
]/* | \
2777 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2778 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2781 # OSF1 and SCO ODT 3.0 have their own names for install.
2782 # Don't use installbsd from OSF since it installs stuff as root
2784 for ac_prog
in ginstall scoinst
install; do
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2787 if test $ac_prog = install &&
2788 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2789 # AIX install. It has an incompatible calling convention.
2791 elif test $ac_prog = install &&
2792 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2793 # program-specific install script used by HP pwplus--don't use.
2796 rm -rf conftest.one conftest.two conftest.dir
2797 echo one
> conftest.one
2798 echo two
> conftest.two
2800 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2801 test -s conftest.one
&& test -s conftest.two
&&
2802 test -s conftest.dir
/conftest.one
&&
2803 test -s conftest.dir
/conftest.two
2805 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2818 rm -rf conftest.one conftest.two conftest.dir
2821 if test "${ac_cv_path_install+set}" = set; then
2822 INSTALL
=$ac_cv_path_install
2824 # As a last resort, use the slow shell script. Don't cache a
2825 # value for INSTALL within a source directory, because that will
2826 # break other packages using the cache if that directory is
2827 # removed, or if the value is a relative name.
2828 INSTALL
=$ac_install_sh
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2832 $as_echo "$INSTALL" >&6; }
2834 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2835 # It thinks the first close brace ends the variable substitution.
2836 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2838 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2840 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2843 $as_echo_n "checking whether build environment is sane... " >&6; }
2844 # Reject unsafe characters in $srcdir or the absolute working directory
2845 # name. Accept space and tab only in the latter.
2849 *[\\\"\
#\$\&\'\`$am_lf]*)
2850 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2853 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2854 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2857 # Do 'set' in a subshell so we don't clobber the current shell's
2858 # arguments. Must try -L first in case configure is actually a
2859 # symlink; some systems play weird games with the mod time of symlinks
2860 # (eg FreeBSD returns the mod time of the symlink's containing
2864 for am_try
in 1 2; do
2865 echo "timestamp, slept: $am_has_slept" > conftest.
file
2866 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2867 if test "$*" = "X"; then
2869 set X
`ls -t "$srcdir/configure" conftest.file`
2871 if test "$*" != "X $srcdir/configure conftest.file" \
2872 && test "$*" != "X conftest.file $srcdir/configure"; then
2874 # If neither matched, then we have a broken ls. This can happen
2875 # if, for instance, CONFIG_SHELL is bash and it inherits a
2876 # broken ls alias from the environment. This has actually
2877 # happened. Such a system could not be considered "sane".
2878 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2879 alias in your environment" "$LINENO" 5
2881 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2888 test "$2" = conftest.
file
2894 as_fn_error $?
"newly created file is older than distributed files!
2895 Check your system clock" "$LINENO" 5
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2898 $as_echo "yes" >&6; }
2899 # If we didn't sleep, we still need to ensure time stamps of config.status and
2900 # generated files are strictly newer.
2902 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2909 test "$program_prefix" != NONE
&&
2910 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2911 # Use a double $ so make ignores it.
2912 test "$program_suffix" != NONE
&&
2913 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2914 # Double any \ or $.
2915 # By default was `s,x,x', remove it if useless.
2916 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2917 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2919 # Expand $ac_aux_dir to an absolute path.
2920 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2922 if test x
"${MISSING+set}" != xset
; then
2925 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2927 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2930 # Use eval to expand $SHELL
2931 if eval "$MISSING --is-lightweight"; then
2932 am_missing_run
="$MISSING "
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2936 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2939 if test x
"${install_sh+set}" != xset
; then
2942 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2944 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2948 # Installed binaries are usually stripped using 'strip' when the user
2949 # run "make install-strip". However 'strip' might not be the right
2950 # tool to use in cross-compilation environments, therefore Automake
2951 # will honor the 'STRIP' environment variable to overrule this program.
2952 if test "$cross_compiling" != no
; then
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2955 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if ${ac_cv_prog_STRIP+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$STRIP"; then
2962 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 STRIP
=$ac_cv_prog_STRIP
2982 if test -n "$STRIP"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2984 $as_echo "$STRIP" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2992 if test -z "$ac_cv_prog_STRIP"; then
2994 # Extract the first word of "strip", so it can be a program name with args.
2995 set dummy strip
; ac_word
=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$ac_ct_STRIP"; then
3002 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_ac_ct_STRIP
="strip"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3022 if test -n "$ac_ct_STRIP"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3024 $as_echo "$ac_ct_STRIP" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3030 if test "x$ac_ct_STRIP" = x
; then
3033 case $cross_compiling:$ac_tool_warned in
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned
=yes ;;
3042 STRIP
="$ac_cv_prog_STRIP"
3046 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3049 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3050 if test -z "$MKDIR_P"; then
3051 if ${ac_cv_path_mkdir+:} false
; then :
3052 $as_echo_n "(cached) " >&6
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3055 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_prog
in mkdir gmkdir
; do
3060 for ac_exec_ext
in '' $ac_executable_extensions; do
3061 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3062 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3063 'mkdir (GNU coreutils) '* | \
3064 'mkdir (coreutils) '* | \
3065 'mkdir (fileutils) '4.1*)
3066 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3076 test -d .
/--version && rmdir .
/--version
3077 if test "${ac_cv_path_mkdir+set}" = set; then
3078 MKDIR_P
="$ac_cv_path_mkdir -p"
3080 # As a last resort, use the slow shell script. Don't cache a
3081 # value for MKDIR_P within a source directory, because that will
3082 # break other packages using the cache if that directory is
3083 # removed, or if the value is a relative name.
3084 MKDIR_P
="$ac_install_sh -d"
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3088 $as_echo "$MKDIR_P" >&6; }
3090 for ac_prog
in gawk mawk nawk
awk
3092 # Extract the first word of "$ac_prog", so it can be a program name with args.
3093 set dummy
$ac_prog; ac_word
=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_AWK+:} false
; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$AWK"; then
3100 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir
=.
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_AWK
="$ac_prog"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$AWK"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3122 $as_echo "$AWK" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3129 test -n "$AWK" && break
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3133 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3135 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3136 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3137 $as_echo_n "(cached) " >&6
3139 cat >conftest.
make <<\_ACEOF
3142 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3144 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3145 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3147 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3149 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3153 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3155 $as_echo "yes" >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3160 SET_MAKE
="MAKE=${MAKE-make}"
3163 rm -rf .tst
2>/dev
/null
3164 mkdir .tst
2>/dev
/null
3165 if test -d .tst
; then
3170 rmdir .tst
2>/dev
/null
3172 # Check whether --enable-silent-rules was given.
3173 if test "${enable_silent_rules+set}" = set; then :
3174 enableval
=$enable_silent_rules;
3177 case $enable_silent_rules in # (((
3178 yes) AM_DEFAULT_VERBOSITY
=0;;
3179 no
) AM_DEFAULT_VERBOSITY
=1;;
3180 *) AM_DEFAULT_VERBOSITY
=1;;
3182 am_make
=${MAKE-make}
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3184 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3185 if ${am_cv_make_support_nested_variables+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 if $as_echo 'TRUE=$(BAR$(V))
3194 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3195 am_cv_make_support_nested_variables
=yes
3197 am_cv_make_support_nested_variables
=no
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3201 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3202 if test $am_cv_make_support_nested_variables = yes; then
3204 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3206 AM_V
=$AM_DEFAULT_VERBOSITY
3207 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3211 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3212 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3213 # is not polluted with repeated "-I."
3214 am__isrc
=' -I$(srcdir)'
3215 # test to see if srcdir already configured
3216 if test -f $srcdir/config.status
; then
3217 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3221 # test whether we have cygpath
3222 if test -z "$CYGPATH_W"; then
3223 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3224 CYGPATH_W
='cygpath -w'
3231 # Define the identity of the package.
3236 cat >>confdefs.h
<<_ACEOF
3237 #define PACKAGE "$PACKAGE"
3241 cat >>confdefs.h
<<_ACEOF
3242 #define VERSION "$VERSION"
3245 # Some tools Automake needs.
3247 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3250 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3253 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3256 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3259 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3261 # For better backward compatibility. To be removed once Automake 1.9.x
3262 # dies out for good. For more background, see:
3263 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3264 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3265 mkdir_p
='$(MKDIR_P)'
3267 # We need awk for the "check" target (and possibly the TAP driver). The
3268 # system "awk" is bad on some platforms.
3269 # Always define AMTAR for backward compatibility. Yes, it's still used
3270 # in the wild :-( We should find a proper way to deprecate it ...
3274 # We'll loop over all known methods to create a tar archive until one works.
3275 _am_tools
='gnutar pax cpio none'
3277 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3284 # POSIX will say in a future version that running "rm -f" with no argument
3285 # is OK; and we want to be able to make that assumption in our Makefile
3286 # recipes. So use an aggressive probe to check that the usage we want is
3287 # actually supported "in the wild" to an acceptable degree.
3288 # See automake bug#10828.
3289 # To make any issue more visible, cause the running configure to be aborted
3290 # by default if the 'rm' program in use doesn't match our expectations; the
3291 # user can still override this though.
3292 if rm -f && rm -fr && rm -rf; then : OK
; else
3296 Your 'rm' program seems unable to run without file operands specified
3297 on the command line, even when the '-f' option is present. This is contrary
3298 to the behaviour of most rm programs out there, and not conforming with
3299 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3301 Please tell bug-automake@gnu.org about your system, including the value
3302 of your $PATH and any error possibly output before this message. This
3303 can help us improve future automake versions.
3306 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3307 echo 'Configuration will proceed anyway, since you have set the' >&2
3308 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3312 Aborting the configuration process, to ensure you take notice of the issue.
3314 You can download and install GNU coreutils to get an 'rm' implementation
3315 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3317 If you want to complete the configuration process using your problematic
3318 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3319 to "yes", and re-run configure.
3322 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3327 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
3328 # the configure and makefiles. Without it users doing things that
3329 # change the timestamps on the code, like checking it into a cvs
3330 # tree, could trigger a rebuild of the infrastructure files which
3331 # might fail if they don't have the correct tools.
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3334 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3335 # Check whether --enable-maintainer-mode was given.
3336 if test "${enable_maintainer_mode+set}" = set; then :
3337 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3339 USE_MAINTAINER_MODE
=no
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3343 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3344 if test $USE_MAINTAINER_MODE = yes; then
3345 MAINTAINER_MODE_TRUE
=
3346 MAINTAINER_MODE_FALSE
='#'
3348 MAINTAINER_MODE_TRUE
='#'
3349 MAINTAINER_MODE_FALSE
=
3352 MAINT
=$MAINTAINER_MODE_TRUE
3356 # Make sure we can run config.sub.
3357 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3358 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3361 $as_echo_n "checking build system type... " >&6; }
3362 if ${ac_cv_build+:} false
; then :
3363 $as_echo_n "(cached) " >&6
3365 ac_build_alias
=$build_alias
3366 test "x$ac_build_alias" = x
&&
3367 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3368 test "x$ac_build_alias" = x
&&
3369 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3370 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3371 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3375 $as_echo "$ac_cv_build" >&6; }
3376 case $ac_cv_build in
3378 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3381 ac_save_IFS
=$IFS; IFS
='-'
3387 # Remember, the first character of IFS is used to create $*,
3388 # except with old shells:
3391 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3395 $as_echo_n "checking host system type... " >&6; }
3396 if ${ac_cv_host+:} false
; then :
3397 $as_echo_n "(cached) " >&6
3399 if test "x$host_alias" = x
; then
3400 ac_cv_host
=$ac_cv_build
3402 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3403 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3408 $as_echo "$ac_cv_host" >&6; }
3411 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3414 ac_save_IFS
=$IFS; IFS
='-'
3420 # Remember, the first character of IFS is used to create $*,
3421 # except with old shells:
3424 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3428 # We want to turn on warnings if we are using gcc and the user did
3429 # not specify CFLAGS. The autoconf check for the C compiler sets the
3430 # CFLAGS if gcc is used, so we will save it before we run that check.
3431 SAVE_CFLAGS
="$CFLAGS"
3433 # Now find our C compiler.
3435 ac_cpp
='$CPP $CPPFLAGS'
3436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3439 if test -n "$ac_tool_prefix"; then
3440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3441 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; }
3444 if ${ac_cv_prog_CC+:} false
; then :
3445 $as_echo_n "(cached) " >&6
3447 if test -n "$CC"; then
3448 ac_cv_prog_CC
="$CC" # Let the user override the test.
3450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3454 test -z "$as_dir" && as_dir
=.
3455 for ac_exec_ext
in '' $ac_executable_extensions; do
3456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3457 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 if test -n "$CC"; then
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3470 $as_echo "$CC" >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3478 if test -z "$ac_cv_prog_CC"; then
3480 # Extract the first word of "gcc", so it can be a program name with args.
3481 set dummy gcc
; ac_word
=$2
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3483 $as_echo_n "checking for $ac_word... " >&6; }
3484 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3485 $as_echo_n "(cached) " >&6
3487 if test -n "$ac_ct_CC"; then
3488 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir
=.
3495 for ac_exec_ext
in '' $ac_executable_extensions; do
3496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_ac_ct_CC
="gcc"
3498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3508 if test -n "$ac_ct_CC"; then
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3510 $as_echo "$ac_ct_CC" >&6; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513 $as_echo "no" >&6; }
3516 if test "x$ac_ct_CC" = x
; then
3519 case $cross_compiling:$ac_tool_warned in
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3523 ac_tool_warned
=yes ;;
3531 if test -z "$CC"; then
3532 if test -n "$ac_tool_prefix"; then
3533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3534 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false
; then :
3538 $as_echo_n "(cached) " >&6
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC
="$CC" # Let the user override the test.
3543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir
=.
3548 for ac_exec_ext
in '' $ac_executable_extensions; do
3549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3550 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3572 if test -z "$CC"; then
3573 # Extract the first word of "cc", so it can be a program name with args.
3574 set dummy cc
; ac_word
=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_CC+:} false
; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$CC"; then
3581 ac_cv_prog_CC
="$CC" # Let the user override the test.
3584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir
=.
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3592 ac_prog_rejected
=yes
3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 if test $ac_prog_rejected = yes; then
3604 # We found a bogon in the path, so make sure we never use it.
3605 set dummy
$ac_cv_prog_CC
3607 if test $# != 0; then
3608 # We chose a different compiler from the bogus one.
3609 # However, it has the same basename, so the bogon will be chosen
3610 # first if we set CC to just the basename; use the full file name.
3612 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3618 if test -n "$CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3620 $as_echo "$CC" >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3628 if test -z "$CC"; then
3629 if test -n "$ac_tool_prefix"; then
3630 for ac_prog
in cl.exe
3632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3633 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if ${ac_cv_prog_CC+:} false
; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC
="$CC" # Let the user override the test.
3642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir
=.
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3649 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3669 test -n "$CC" && break
3672 if test -z "$CC"; then
3674 for ac_prog
in cl.exe
3676 # Extract the first word of "$ac_prog", so it can be a program name with args.
3677 set dummy
$ac_prog; ac_word
=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$ac_ct_CC"; then
3684 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_ac_ct_CC
="$ac_prog"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3704 if test -n "$ac_ct_CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3706 $as_echo "$ac_ct_CC" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3713 test -n "$ac_ct_CC" && break
3716 if test "x$ac_ct_CC" = x
; then
3719 case $cross_compiling:$ac_tool_warned in
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3723 ac_tool_warned
=yes ;;
3732 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error $?
"no acceptable C compiler found in \$PATH
3735 See \`config.log' for more details" "$LINENO" 5; }
3737 # Provide some information about the compiler.
3738 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3741 for ac_option
in --version -v -V -qversion; do
3742 { { ac_try
="$ac_compiler $ac_option >&5"
3744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3751 if test -s conftest.err; then
3753 ... rest of stderr output deleted ...
3754 10q' conftest.err >conftest.er1
3755 cat conftest.er1 >&5
3757 rm -f conftest.er1 conftest.err
3758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759 test $ac_status = 0; }
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3773 ac_clean_files_save=$ac_clean_files
3774 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3775 # Try to create an executable without -o first, disregard a.out.
3776 # It will help us diagnose broken compilers, and finding out an intuition
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3779 $as_echo_n "checking whether the C compiler works... " >&6; }
3780 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3782 # The possible output files:
3783 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3786 for ac_file in $ac_files
3789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3795 if { { ac_try="$ac_link_default"
3797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3798 *) ac_try_echo
=$ac_try;;
3800 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801 $as_echo "$ac_try_echo"; } >&5
3802 (eval "$ac_link_default") 2>&5
3804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805 test $ac_status = 0; }; then :
3806 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3807 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3808 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3809 # so that the user can short-circuit this test for compilers unknown to
3811 for ac_file
in $ac_files ''
3813 test -f "$ac_file" ||
continue
3815 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3818 # We found the default executable, but exeext='' is most
3822 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3824 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3826 # We set ac_cv_exeext here because the later test for it is not
3827 # safe: cross compilers may not add the suffix if given an `-o'
3828 # argument, so we may need to know it at that point already.
3829 # Even if this section looks crufty: it has the advantage of
3836 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3841 if test -z "$ac_file"; then :
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3844 $as_echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.
$ac_ext >&5
3847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error
77 "C compiler cannot create executables
3850 See \`config.log' for more details" "$LINENO" 5; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853 $as_echo "yes" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3856 $as_echo_n "checking for C compiler default output file name... " >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3858 $as_echo "$ac_file" >&6; }
3859 ac_exeext
=$ac_cv_exeext
3861 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3862 ac_clean_files
=$ac_clean_files_save
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3864 $as_echo_n "checking for suffix of executables... " >&6; }
3865 if { { ac_try
="$ac_link"
3867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link") 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3877 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3878 # work properly (i.e., refer to `conftest.exe'), while it won't with
3880 for ac_file
in conftest.exe conftest conftest.
*; do
3881 test -f "$ac_file" ||
continue
3883 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3884 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3893 See \`config.log' for more details" "$LINENO" 5; }
3895 rm -f conftest conftest
$ac_cv_exeext
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3897 $as_echo "$ac_cv_exeext" >&6; }
3899 rm -f conftest.
$ac_ext
3900 EXEEXT
=$ac_cv_exeext
3902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3908 FILE *f = fopen ("conftest.out", "w");
3909 return ferror (f) || fclose (f) != 0;
3915 ac_clean_files
="$ac_clean_files conftest.out"
3916 # Check that the compiler produces executables we can run. If not, either
3917 # the compiler is broken, or we cross compile.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3919 $as_echo_n "checking whether we are cross compiling... " >&6; }
3920 if test "$cross_compiling" != yes; then
3921 { { ac_try
="$ac_link"
3923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927 $as_echo "$ac_try_echo"; } >&5
3928 (eval "$ac_link") 2>&5
3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931 test $ac_status = 0; }
3932 if { ac_try='./conftest$ac_cv_exeext'
3933 { { case "(($ac_try" in
3934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3935 *) ac_try_echo
=$ac_try;;
3937 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_try") 2>&5
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }; }; then
3945 if test "$cross_compiling" = maybe
; then
3948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950 as_fn_error $?
"cannot run C compiled programs.
3951 If you meant to cross compile, use \`--host'.
3952 See \`config.log' for more details" "$LINENO" 5; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3957 $as_echo "$cross_compiling" >&6; }
3959 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3960 ac_clean_files
=$ac_clean_files_save
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962 $as_echo_n "checking for suffix of object files... " >&6; }
3963 if ${ac_cv_objext+:} false
; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 rm -f conftest.o conftest.obj
3978 if { { ac_try
="$ac_compile"
3980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_compile") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 for ac_file in conftest.o conftest.obj conftest.*; do
3990 test -f "$ac_file" || continue;
3992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3993 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3998 $as_echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4004 See \
`config.log' for more details" "$LINENO" 5; }
4006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4009 $as_echo "$ac_cv_objext" >&6; }
4010 OBJEXT=$ac_cv_objext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4014 if ${ac_cv_c_compiler_gnu+:} false; then :
4015 $as_echo_n "(cached) " >&6
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4031 if ac_fn_c_try_compile "$LINENO"; then :
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4042 if test $ac_compiler_gnu = yes; then
4047 ac_test_CFLAGS=${CFLAGS+set}
4048 ac_save_CFLAGS=$CFLAGS
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4051 if ${ac_cv_prog_cc_g+:} false; then :
4052 $as_echo_n "(cached) " >&6
4054 ac_save_c_werror_flag=$ac_c_werror_flag
4055 ac_c_werror_flag=yes
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 if ac_fn_c_try_compile "$LINENO"; then :
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 if ac_fn_c_try_compile "$LINENO"; then :
4087 ac_c_werror_flag=$ac_save_c_werror_flag
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4100 if ac_fn_c_try_compile "$LINENO"; then :
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_c_werror_flag=$ac_save_c_werror_flag
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4111 $as_echo "$ac_cv_prog_cc_g" >&6; }
4112 if test "$ac_test_CFLAGS" = set; then
4113 CFLAGS=$ac_save_CFLAGS
4114 elif test $ac_cv_prog_cc_g = yes; then
4115 if test "$GCC" = yes; then
4121 if test "$GCC" = yes; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4129 if ${ac_cv_prog_cc_c89+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 ac_cv_prog_cc_c89=no
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4140 struct buf { int x; };
4141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4142 static char *e (p, i)
4148 static char *f (char * (*g) (char **, int), char **p, ...)
4153 s = g (p, va_arg (v,int));
4158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4159 function prototypes and stuff, but not '\xHH' hex character constants.
4160 These don't provoke an error unfortunately, instead are silently treated
4161 as 'x'. The following induces an error, until -std is added to get
4162 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4163 array size at least. It's necessary to write '\x00'==0 to get something
4164 that's true only with -std. */
4165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4167 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4168 inside strings and character constants. */
4170 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4172 int test (int i, double x);
4173 struct s1 {int (*f) (int a);};
4174 struct s2 {int (*f) (double a);};
4175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4181 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4186 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4187 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4189 CC="$ac_save_CC $ac_arg"
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_c89=$ac_arg
4193 rm -f core conftest.err conftest.$ac_objext
4194 test "x$ac_cv_prog_cc_c89" != "xno" && break
4196 rm -f conftest.$ac_ext
4201 case "x$ac_cv_prog_cc_c89" in
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4204 $as_echo "none needed" >&6; } ;;
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4207 $as_echo "unsupported" >&6; } ;;
4209 CC="$CC $ac_cv_prog_cc_c89"
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4211 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4213 if test "x$ac_cv_prog_cc_c89" != xno; then :
4218 ac_cpp='$CPP $CPPFLAGS'
4219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4224 ac_cpp='$CPP $CPPFLAGS'
4225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4229 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4230 if ${am_cv_prog_cc_c_o+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4244 # Make sure it works both with $CC and with simple cc.
4245 # Following AC_PROG_CC_C_O, we do the test twice because some
4246 # compilers refuse to overwrite an existing .o file with -o,
4247 # though they will create one.
4248 am_cv_prog_cc_c_o=yes
4250 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4251 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } \
4255 && test -f conftest2.$ac_objext; then
4258 am_cv_prog_cc_c_o=no
4262 rm -f core conftest*
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4266 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4267 if test "$am_cv_prog_cc_c_o" != yes; then
4268 # Losing compiler, so override with the script.
4269 # FIXME: It is wrong to rewrite CC.
4270 # But if we don't then we get into trouble of one sort or another.
4271 # A longer-term fix would be to have automake use am__CC in this case,
4272 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4273 CC="$am_aux_dir/compile $CC"
4276 ac_cpp='$CPP $CPPFLAGS'
4277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4281 DEPDIR="${am__leading_dot}deps"
4283 ac_config_commands="$ac_config_commands depfiles"
4286 am_make=${MAKE-make}
4287 cat > confinc << 'END'
4289 @echo this is the am__doit target
4292 # If we don't find an include directive, just comment out the code.
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4294 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4298 # First try GNU make style include.
4299 echo "include confinc" > confmf
4300 # Ignore all kinds of additional output from 'make'.
4301 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4302 *the\ am__doit\ target*)
4308 # Now try BSD make style include.
4309 if test "$am__include" = "#"; then
4310 echo '.include "confinc"' > confmf
4311 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4312 *the\ am__doit\ target*)
4313 am__include=.include
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4322 $as_echo "$_am_result" >&6; }
4323 rm -f confinc confmf
4325 # Check whether --enable-dependency-tracking was given.
4326 if test "${enable_dependency_tracking+set}" = set; then :
4327 enableval=$enable_dependency_tracking;
4330 if test "x$enable_dependency_tracking" != xno; then
4331 am_depcomp="$ac_aux_dir/depcomp"
4335 if test "x$enable_dependency_tracking" != xno; then
4345 depcc="$CC" am_compiler_list=
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4348 $as_echo_n "checking dependency style of $depcc... " >&6; }
4349 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4353 # We make a subdir and do the tests there. Otherwise we can end up
4354 # making bogus files that we don't know about and never remove. For
4355 # instance it was reported that on HP-UX the gcc test will end up
4356 # making a dummy file named 'D' -- because '-MD' means "put the output
4360 # Copy depcomp to subdir because otherwise we won't find it if we're
4361 # using a relative directory.
4362 cp "$am_depcomp" conftest.dir
4364 # We will build objects and dependencies in a subdirectory because
4365 # it helps to detect inapplicable dependency modes. For instance
4366 # both Tru64's cc and ICC support -MD to output dependencies as a
4367 # side effect of compilation, but ICC will put the dependencies in
4368 # the current directory while Tru64 will put them in the object
4372 am_cv_CC_dependencies_compiler_type=none
4373 if test "$am_compiler_list" = ""; then
4374 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4377 case " $depcc " in #(
4378 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4381 for depmode in $am_compiler_list; do
4382 # Setup a source with many dependencies, because some compilers
4383 # like to wrap large dependency lists on column 80 (with \), and
4384 # we should not choose a depcomp mode which is confused by this.
4386 # We need to recreate these files for each test, as the compiler may
4387 # overwrite some of them when testing with obscure command lines.
4388 # This happens at least with the AIX C compiler.
4390 for i in 1 2 3 4 5 6; do
4391 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4392 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4393 # Solaris 10 /bin/sh.
4394 echo '/* dummy */' > sub/conftst$i.h
4396 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4398 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4399 # mode. It turns out that the SunPro C++ compiler does not properly
4400 # handle '-M -o', and we need to detect this. Also, some Intel
4401 # versions had trouble with output in subdirs.
4402 am__obj=sub/conftest.${OBJEXT-o}
4403 am__minus_obj="-o $am__obj"
4406 # This depmode causes a compiler race in universal mode.
4407 test "$am__universal" = false || continue
4410 # After this tag, mechanisms are not by side-effect, so they'll
4411 # only be used when explicitly requested.
4412 if test "x$enable_dependency_tracking" = xyes; then
4418 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4419 # This compiler won't grok '-c -o', but also, the minuso test has
4420 # not run yet. These depmodes are late enough in the game, and
4421 # so weak that their functioning should not be impacted.
4422 am__obj=conftest.${OBJEXT-o}
4427 if depmode=$depmode \
4428 source=sub/conftest.c object=$am__obj \
4429 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4430 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4431 >/dev/null 2>conftest.err &&
4432 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4433 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4434 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4435 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4436 # icc doesn't choke on unknown options, it will just issue warnings
4437 # or remarks (even with -Werror). So we grep stderr for any message
4438 # that says an option was ignored or not supported.
4439 # When given -MP, icc 7.0 and 7.1 complain thusly:
4440 # icc: Command line warning: ignoring option '-M'; no argument required
4441 # The diagnosis changed in icc 8.0:
4442 # icc: Command line remark: option '-MP' not supported
4443 if (grep 'ignoring option' conftest.err ||
4444 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4445 am_cv_CC_dependencies_compiler_type=$depmode
4454 am_cv_CC_dependencies_compiler_type=none
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4459 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4460 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4463 test "x$enable_dependency_tracking" != xno \
4464 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4466 am__fastdepCC_FALSE='#'
4468 am__fastdepCC_TRUE='#'
4469 am__fastdepCC_FALSE=
4474 # Suppress warnings about --datarootdir
4477 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
4478 # user did not specify any flags. Add warnings in this case.
4479 if test "$GCC" = "yes"; then
4480 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
4481 STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
4485 # We can have some flags to pass to bind configure
4487 if test "$cross_compiling" = "yes"; then
4488 BINDCONFIG="--host=$host"
4490 # Pass CFLAGS and co. $ac_configure_args looks like "'arg1' 'arg2' ..."
4491 # and as there can be a space inside an argument some magic is required.
4492 # This sets $1 ... $N to my_configure_args, arg1 ... argN
4493 eval "set my_configure_args $ac_configure_args"
4494 # remove my_configure_args, i.e., the guard against empty $ac_configure_args
4496 # iterate on arguments and copying 'arg' when it begins by an upper case
4500 [A-Z]*) BINDCONFIG="$BINDCONFIG '$a'" ;;
4504 if test "$cross_compiling" = "yes"; then
4505 CROSS_COMPILING_TRUE=
4506 CROSS_COMPILING_FALSE='#'
4508 CROSS_COMPILING_TRUE='#'
4509 CROSS_COMPILING_FALSE=
4513 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
4514 # parts of the IPv6 Advanced Socket API as a result. This is stupid
4515 # as it breaks how the two halves (Basic and Advanced) of the IPv6
4516 # Socket API were designed to be used but we have to live with it.
4517 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
4520 ac_cpp='$CPP $CPPFLAGS'
4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4525 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4526 # On Suns, sometimes $CPP names a directory.
4527 if test -n "$CPP" && test -d "$CPP"; then
4530 if test -z "$CPP"; then
4531 if ${ac_cv_prog_CPP+:} false; then :
4532 $as_echo_n "(cached) " >&6
4534 # Double quotes because CPP needs to be expanded
4535 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4538 for ac_c_preproc_warn_flag in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4549 # include <limits.h>
4551 # include <assert.h>
4555 if ac_fn_c_try_cpp "$LINENO"; then :
4558 # Broken: fails on valid input.
4561 rm -f conftest.err conftest.i conftest.$ac_ext
4563 # OK, works on sane cases. Now check whether nonexistent headers
4564 # can be detected and how.
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567 #include <ac_nonexistent.h>
4569 if ac_fn_c_try_cpp "$LINENO"; then :
4570 # Broken: success on invalid input.
4573 # Passes both tests.
4577 rm -f conftest.err conftest.i conftest.$ac_ext
4580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4581 rm -f conftest.i conftest.err conftest.
$ac_ext
4582 if $ac_preproc_ok; then :
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4595 $as_echo "$CPP" >&6; }
4597 for ac_c_preproc_warn_flag
in '' yes
4599 # Use a header file that comes with gcc, so configuring glibc
4600 # with a fresh cross-compiler works.
4601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4602 # <limits.h> exists even on freestanding compilers.
4603 # On the NeXT, cc -E runs the code through the compiler's parser,
4604 # not just through cpp. "Syntax error" is here to catch this case.
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4608 # include <limits.h>
4610 # include <assert.h>
4614 if ac_fn_c_try_cpp
"$LINENO"; then :
4617 # Broken: fails on valid input.
4620 rm -f conftest.err conftest.i conftest.
$ac_ext
4622 # OK, works on sane cases. Now check whether nonexistent headers
4623 # can be detected and how.
4624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 #include <ac_nonexistent.h>
4628 if ac_fn_c_try_cpp
"$LINENO"; then :
4629 # Broken: success on invalid input.
4632 # Passes both tests.
4636 rm -f conftest.err conftest.i conftest.
$ac_ext
4639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4640 rm -f conftest.i conftest.err conftest.
$ac_ext
4641 if $ac_preproc_ok; then :
4644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4646 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4647 See \`config.log' for more details" "$LINENO" 5; }
4651 ac_cpp
='$CPP $CPPFLAGS'
4652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4658 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4659 if ${ac_cv_path_GREP+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -z "$GREP"; then
4663 ac_path_GREP_found
=false
4664 # Loop through the user's path and test for each of PROGNAME-LIST
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_prog
in grep ggrep
; do
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4673 as_fn_executable_p
"$ac_path_GREP" ||
continue
4674 # Check for GNU ac_path_GREP and select it if it is found.
4675 # Check for GNU $ac_path_GREP
4676 case `"$ac_path_GREP" --version 2>&1` in
4678 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4681 $as_echo_n 0123456789 >"conftest.in"
4684 cat "conftest.in" "conftest.in" >"conftest.tmp"
4685 mv "conftest.tmp" "conftest.in"
4686 cp "conftest.in" "conftest.nl"
4687 $as_echo 'GREP' >> "conftest.nl"
4688 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4690 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4691 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4692 # Best one so far, save it but keep looking for a better one
4693 ac_cv_path_GREP
="$ac_path_GREP"
4694 ac_path_GREP_max
=$ac_count
4696 # 10*(2^10) chars as input seems more than enough
4697 test $ac_count -gt 10 && break
4699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4702 $ac_path_GREP_found && break 3
4707 if test -z "$ac_cv_path_GREP"; then
4708 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4711 ac_cv_path_GREP
=$GREP
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4716 $as_echo "$ac_cv_path_GREP" >&6; }
4717 GREP
="$ac_cv_path_GREP"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4721 $as_echo_n "checking for egrep... " >&6; }
4722 if ${ac_cv_path_EGREP+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4726 then ac_cv_path_EGREP
="$GREP -E"
4728 if test -z "$EGREP"; then
4729 ac_path_EGREP_found
=false
4730 # Loop through the user's path and test for each of PROGNAME-LIST
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_prog
in egrep; do
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4739 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4740 # Check for GNU ac_path_EGREP and select it if it is found.
4741 # Check for GNU $ac_path_EGREP
4742 case `"$ac_path_EGREP" --version 2>&1` in
4744 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4747 $as_echo_n 0123456789 >"conftest.in"
4750 cat "conftest.in" "conftest.in" >"conftest.tmp"
4751 mv "conftest.tmp" "conftest.in"
4752 cp "conftest.in" "conftest.nl"
4753 $as_echo 'EGREP' >> "conftest.nl"
4754 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4756 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4757 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4758 # Best one so far, save it but keep looking for a better one
4759 ac_cv_path_EGREP
="$ac_path_EGREP"
4760 ac_path_EGREP_max
=$ac_count
4762 # 10*(2^10) chars as input seems more than enough
4763 test $ac_count -gt 10 && break
4765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4768 $ac_path_EGREP_found && break 3
4773 if test -z "$ac_cv_path_EGREP"; then
4774 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4777 ac_cv_path_EGREP
=$EGREP
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4783 $as_echo "$ac_cv_path_EGREP" >&6; }
4784 EGREP
="$ac_cv_path_EGREP"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4788 $as_echo_n "checking for ANSI C header files... " >&6; }
4789 if ${ac_cv_header_stdc+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4807 if ac_fn_c_try_compile
"$LINENO"; then :
4808 ac_cv_header_stdc
=yes
4810 ac_cv_header_stdc
=no
4812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4814 if test $ac_cv_header_stdc = yes; then
4815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4822 $EGREP "memchr" >/dev
/null
2>&1; then :
4825 ac_cv_header_stdc
=no
4831 if test $ac_cv_header_stdc = yes; then
4832 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4839 $EGREP "free" >/dev
/null
2>&1; then :
4842 ac_cv_header_stdc
=no
4848 if test $ac_cv_header_stdc = yes; then
4849 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4850 if test "$cross_compiling" = yes; then :
4853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4854 /* end confdefs.h. */
4857 #if ((' ' & 0x0FF) == 0x020)
4858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4861 # define ISLOWER(c) \
4862 (('a' <= (c) && (c) <= 'i') \
4863 || ('j' <= (c) && (c) <= 'r') \
4864 || ('s' <= (c) && (c) <= 'z'))
4865 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4868 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4873 for (i = 0; i < 256; i++)
4874 if (XOR (islower (i), ISLOWER (i))
4875 || toupper (i) != TOUPPER (i))
4880 if ac_fn_c_try_run
"$LINENO"; then :
4883 ac_cv_header_stdc
=no
4885 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4886 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4892 $as_echo "$ac_cv_header_stdc" >&6; }
4893 if test $ac_cv_header_stdc = yes; then
4895 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4899 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4900 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4901 inttypes.h stdint.h unistd.h
4903 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4904 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4906 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4907 cat >>confdefs.h
<<_ACEOF
4908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4917 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4918 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4925 if test "$MINIX" = yes; then
4927 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4930 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4933 $as_echo "#define _MINIX 1" >>confdefs.h
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4939 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4940 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4941 $as_echo_n "(cached) " >&6
4943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4946 # define __EXTENSIONS__ 1
4947 $ac_includes_default
4956 if ac_fn_c_try_compile
"$LINENO"; then :
4957 ac_cv_safe_to_define___extensions__
=yes
4959 ac_cv_safe_to_define___extensions__
=no
4961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4964 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4965 test $ac_cv_safe_to_define___extensions__ = yes &&
4966 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4968 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4970 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4972 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4974 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4980 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_RANLIB+:} false
; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$RANLIB"; then
4987 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir
=.
4994 for ac_exec_ext
in '' $ac_executable_extensions; do
4995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 RANLIB
=$ac_cv_prog_RANLIB
5007 if test -n "$RANLIB"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5009 $as_echo "$RANLIB" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5017 if test -z "$ac_cv_prog_RANLIB"; then
5018 ac_ct_RANLIB
=$RANLIB
5019 # Extract the first word of "ranlib", so it can be a program name with args.
5020 set dummy ranlib
; ac_word
=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$ac_ct_RANLIB"; then
5027 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5047 if test -n "$ac_ct_RANLIB"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5049 $as_echo "$ac_ct_RANLIB" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5055 if test "x$ac_ct_RANLIB" = x
; then
5058 case $cross_compiling:$ac_tool_warned in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5062 ac_tool_warned
=yes ;;
5064 RANLIB
=$ac_ct_RANLIB
5067 RANLIB
="$ac_cv_prog_RANLIB"
5071 # Extract the first word of "ar", so it can be a program name with args.
5072 set dummy
ar; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_path_AR+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5080 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
5083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir
=.
5088 for ac_exec_ext
in '' $ac_executable_extensions; do
5089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 if test -n "$AR"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5104 $as_echo "$AR" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5113 if test "X$AR" = "X"; then
5115 ar program not found. Please fix your PATH to include the directory in
5116 which ar resides, or set AR in the environment with the full path to ar." "$LINENO" 5
5119 ac_config_headers
="$ac_config_headers includes/config.h"
5122 # we sometimes need to know byte order for building packets
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5124 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5125 if ${ac_cv_c_bigendian+:} false
; then :
5126 $as_echo_n "(cached) " >&6
5128 ac_cv_c_bigendian
=unknown
5129 # See if we're dealing with a universal compiler.
5130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5132 #ifndef __APPLE_CC__
5133 not a universal capable compiler
5138 if ac_fn_c_try_compile
"$LINENO"; then :
5140 # Check for potential -arch flags. It is not universal unless
5141 # there are at least two -arch flags with different values.
5144 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5145 if test -n "$ac_prev"; then
5147 i?
86 | x86_64 | ppc | ppc64
)
5148 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5151 ac_cv_c_bigendian
=universal
5157 elif test "x$ac_word" = "x-arch"; then
5162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5163 if test $ac_cv_c_bigendian = unknown
; then
5164 # See if sys/param.h defines the BYTE_ORDER macro.
5165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #include <sys/types.h>
5168 #include <sys/param.h>
5173 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5174 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5183 if ac_fn_c_try_compile
"$LINENO"; then :
5184 # It does; now see whether it defined to BIG_ENDIAN or not.
5185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h. */
5187 #include <sys/types.h>
5188 #include <sys/param.h>
5193 #if BYTE_ORDER != BIG_ENDIAN
5201 if ac_fn_c_try_compile
"$LINENO"; then :
5202 ac_cv_c_bigendian
=yes
5204 ac_cv_c_bigendian
=no
5206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5210 if test $ac_cv_c_bigendian = unknown
; then
5211 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5219 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5227 if ac_fn_c_try_compile
"$LINENO"; then :
5228 # It does; now see whether it defined to _BIG_ENDIAN or not.
5229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5244 if ac_fn_c_try_compile
"$LINENO"; then :
5245 ac_cv_c_bigendian
=yes
5247 ac_cv_c_bigendian
=no
5249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5253 if test $ac_cv_c_bigendian = unknown
; then
5254 # Compile a test program.
5255 if test "$cross_compiling" = yes; then :
5256 # Try to guess by grepping values from an object file.
5257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5259 short int ascii_mm[] =
5260 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5261 short int ascii_ii[] =
5262 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5263 int use_ascii (int i) {
5264 return ascii_mm[i] + ascii_ii[i];
5266 short int ebcdic_ii[] =
5267 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5268 short int ebcdic_mm[] =
5269 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5270 int use_ebcdic (int i) {
5271 return ebcdic_mm[i] + ebcdic_ii[i];
5278 return use_ascii (foo) == use_ebcdic (foo);
5283 if ac_fn_c_try_compile
"$LINENO"; then :
5284 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5285 ac_cv_c_bigendian
=yes
5287 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5288 if test "$ac_cv_c_bigendian" = unknown
; then
5289 ac_cv_c_bigendian
=no
5291 # finding both strings is unlikely to happen, but who knows?
5292 ac_cv_c_bigendian
=unknown
5296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5300 $ac_includes_default
5305 /* Are we little or big endian? From Harbison&Steele. */
5309 char c[sizeof (long int)];
5312 return u.c[sizeof (long int) - 1] == 1;
5318 if ac_fn_c_try_run
"$LINENO"; then :
5319 ac_cv_c_bigendian
=no
5321 ac_cv_c_bigendian
=yes
5323 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5324 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5330 $as_echo "$ac_cv_c_bigendian" >&6; }
5331 case $ac_cv_c_bigendian in #(
5333 byte_order
=BIG_ENDIAN
5336 byte_order
=LITTLE_ENDIAN
5340 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5344 as_fn_error $?
"unknown endianness
5345 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5349 cat >>confdefs.h
<<_ACEOF
5350 #define DHCP_BYTE_ORDER $byte_order
5354 # Optional compile-time DEBUGging.
5355 # Check whether --enable-debug was given.
5356 if test "${enable_debug+set}" = set; then :
5357 enableval
=$enable_debug; case "${enableval}" in
5358 yes) enable_debug
=yes
5360 $as_echo "#define DEBUG 1" >>confdefs.h
5362 # Just override CFLAGS totally to remove optimization.
5364 no
) enable_debug
=no
;;
5365 *) as_fn_error $?
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
5372 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
5373 # but I don't want to pollute the --help space.
5375 #/* #define DEBUG_TOKENS */
5376 #/* #define DEBUG_PACKET */
5377 #/* #define DEBUG_EXPRESSIONS */
5378 #/* #define DEBUG_FIND_LEASE */
5379 #/* #define DEBUG_EXPRESSION_PARSE */
5380 #/* #define DEBUG_CLASS_MATCHING */
5381 #/* #define DEBUG_MEMORY_LEAKAGE */
5382 #/* #define DEBUG_MALLOC_POOL */
5383 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
5384 #/* #define DEBUG_RC_HISTORY */
5385 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
5386 #/* #define RC_HISTORY_MAX 10240 */
5387 #/* #define POINTER_DEBUG */
5388 #/* #define DEBUG_FAILOVER_MESSAGES */
5389 #/* #define DEBUG_FAILOVER_TIMING */
5390 #/* #define DEBUG_DUMP_ALL_LEASES */
5392 # Failover optional compile-time feature.
5393 # Check whether --enable-failover was given.
5394 if test "${enable_failover+set}" = set; then :
5395 enableval
=$enable_failover;
5398 # Failover is on by default, so define if it is not explicitly disabled.
5399 if test "$enable_failover" != "no"; then
5400 enable_failover
="yes"
5402 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
5406 # execute() support.
5407 # Check whether --enable-execute was given.
5408 if test "${enable_execute+set}" = set; then :
5409 enableval
=$enable_execute;
5412 # execute() is on by default, so define if it is not explicitly disabled.
5413 if test "$enable_execute" != "no" ; then
5414 enable_execute
="yes"
5416 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
5420 # Server tracing support.
5421 # Check whether --enable-tracing was given.
5422 if test "${enable_tracing+set}" = set; then :
5423 enableval
=$enable_tracing;
5426 # tracing is on by default, so define if it is not explicitly disabled.
5427 if test "$enable_tracing" != "no" ; then
5429 $as_echo "#define TRACING 1" >>confdefs.h
5433 # Delayed-ack feature support (experimental).
5434 # Check whether --enable-delayed_ack was given.
5435 if test "${enable_delayed_ack+set}" = set; then :
5436 enableval
=$enable_delayed_ack;
5439 if test "$enable_delayed_ack" = "yes"; then
5441 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
5444 enable_delayed_ack
="no"
5447 # DHCPv6 optional compile-time feature.
5448 # Check whether --enable-dhcpv6 was given.
5449 if test "${enable_dhcpv6+set}" = set; then :
5450 enableval
=$enable_dhcpv6;
5453 # DHCPv6 is on by default, so define if it is not explicitly disabled.
5454 if test "$enable_dhcpv6" != "no"; then
5457 $as_echo "#define DHCPv6 1" >>confdefs.h
5461 # DHCPv4o6 optional compile-time feature.
5462 # Check whether --enable-dhcpv4o6 was given.
5463 if test "${enable_dhcpv4o6+set}" = set; then :
5464 enableval
=$enable_dhcpv4o6;
5467 # DHCPv4o6 is off by default, so define if it is explicitly enabled.
5468 if test "$enable_dhcpv4o6" = "yes"; then
5469 # DHCPv4o6 requires DHCPv6
5470 if test "$enable_dhcpv6" = "no"; then
5471 as_fn_error $?
"dhcpv4o6 requires dhcpv6" "$LINENO" 5
5473 # DHCPv4o6 is not yet compatible with delayed-ack
5474 if test "$enable_delayed_ack" = "yes"; then
5475 as_fn_error $?
"dhcpv4o6 is not compatible with delayed-ack" "$LINENO" 5
5478 $as_echo "#define DHCP4o6 1" >>confdefs.h
5482 # PARANOIA is off by default (until we can test it with all features)
5483 # Check whether --enable-paranoia was given.
5484 if test "${enable_paranoia+set}" = set; then :
5485 enableval
=$enable_paranoia;
5488 # Check whether --enable-early_chroot was given.
5489 if test "${enable_early_chroot+set}" = set; then :
5490 enableval
=$enable_early_chroot;
5493 # If someone enables early chroot, but does not enable paranoia, do so for
5495 if test "$enable_paranoia" != "yes" && \
5496 test "$enable_early_chroot" = "yes" ; then
5497 enable_paranoia
="yes"
5500 if test "$enable_paranoia" = "yes" ; then
5502 $as_echo "#define PARANOIA 1" >>confdefs.h
5505 if test "$enable_early_chroot" = "yes" ; then
5507 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
5511 # Check whether --enable-ipv4_pktinfo was given.
5512 if test "${enable_ipv4_pktinfo+set}" = set; then :
5513 enableval
=$enable_ipv4_pktinfo;
5517 if test "$enable_ipv4_pktinfo" = "yes"; then
5519 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
5523 # Check whether --enable-use_sockets was given.
5524 if test "${enable_use_sockets+set}" = set; then :
5525 enableval
=$enable_use_sockets;
5529 if test "$enable_use_sockets" = "yes"; then
5531 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
5535 # Try to hnadle incorrect byte order for secs field
5536 # This is off by default
5537 # Check whether --enable-secs_byteorder was given.
5538 if test "${enable_secs_byteorder+set}" = set; then :
5539 enableval
=$enable_secs_byteorder;
5543 if test "$enable_secs_byteorder" = "yes" ; then
5545 $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h
5549 # Include the PID in the log messages. This is useful when there may
5550 # be multiple instances of a program.
5551 # This is off by default
5552 # Check whether --enable-log_pid was given.
5553 if test "${enable_log_pid+set}" = set; then :
5554 enableval
=$enable_log_pid;
5557 if test "$enable_log_pid" = "yes" ; then
5559 $as_echo "#define USE_LOG_PID 1" >>confdefs.h
5563 # Allow for binary search when inserting v4 leases into queues
5564 # Check whether --enable-binary_leases was given.
5565 if test "${enable_binary_leases+set}" = set; then :
5566 enableval
=$enable_binary_leases;
5569 # binary_leases is off by default.
5570 if test "$enable_binary_leases" = "yes"; then
5572 $as_echo "#define BINARY_LEASES 1" >>confdefs.h
5575 enable_binary_leases
="no"
5580 DISTCHECK_ATF_CONFIGURE_FLAG
=
5583 # Check whether --with-atf was given.
5584 if test "${with_atf+set}" = set; then :
5585 withval
=$with_atf; atf_path
="$withval"
5588 if test "$atf_path" = "bind"; then
5596 if test "$atf_path" = "bind" ; then
5597 DISTCHECK_ATF_CONFIGURE_FLAG
="--with-atf=bind"
5599 atf_path
="\${top_srcdir}/bind/atf"
5600 ATF_CFLAGS
="-I$atf_path/include -DUNIT_TEST"
5601 ATF_LDFLAGS
="-L$atf_path/lib -latf-c"
5602 ATF_BIN
=`cd $srcdir; pwd`/bind
/atf
/bin
5606 BINDCONFIG
="$BINDCONFIG --with-atf"
5607 elif test "$atf_path" != "no" ; then
5608 DISTCHECK_ATF_CONFIGURE_FLAG
="--with-atf=$atf_path"
5609 # Config path for pkg-config
5611 if test "$atf_path" != "yes" ; then
5612 if test -f $atf_path/lib
/pkgconfig
/atf-c.pc
; then
5613 atf_pcp
=$atf_path/lib
/pkgconfig
5614 elif test -f $atf_path/lib64
/pkgconfig
/atf-c.pc
; then
5615 atf_pcp
=$atf_path/lib64
/pkgconfig
5618 # Not specified, try some common paths
5619 atf_dirs
="/usr /usr/local /usr/pkg /opt /opt/local"
5622 if test -f $d/lib
/pkgconfig
/atf-c.pc
; then
5623 atf_pcp
=$d/lib
/pkgconfig
5625 elif test -f $d/lib64
/pkgconfig
/atf-c.pc
; then
5626 atf_pcp
=$d/lib64
/pkgconfig
5632 if test "$atf_pcp" = "" ; then
5633 as_fn_error $?
"Unable to find atf files in location specified" "$LINENO" 5
5635 # Extract the first word of "pkg-config", so it can be a program name with args.
5636 set dummy pkg-config
; ac_word
=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_pkgcfg_found+:} false
; then :
5640 $as_echo_n "(cached) " >&6
5642 if test -n "$pkgcfg_found"; then
5643 ac_cv_prog_pkgcfg_found
="$pkgcfg_found" # Let the user override the test.
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_pkgcfg_found
="pkg-config"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 pkgcfg_found
=$ac_cv_prog_pkgcfg_found
5663 if test -n "$pkgcfg_found"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgcfg_found" >&5
5665 $as_echo "$pkgcfg_found" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5672 if test "$pkgcfg_found" = ""; then
5673 as_fn_error $?
"Could not locate ATF, pkg-config not installed" "$LINENO" 5
5675 ATF_CFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
5676 ATF_LDFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
5677 if test -f $atf_pcp/atf-sh.pc
; then
5678 ATF_BIN
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --variable=exec_prefix atf-sh`/bin"
5680 # older versions don't have atf-sh, try usual place
5681 ATF_BIN
=$atf_path/bin
5684 if test ! -x $ATF_BIN/atf-run
-o ! -x $ATF_BIN/atf-report
; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run/atf-report not found, assuming they are in your path" >&5
5686 $as_echo "$as_me: WARNING: atf-run/atf-report not found, assuming they are in your path" >&2;}
5695 if test "$atf_pcp" != ""; then
5703 if test -z "$HAVE_ATF_TRUE"; then :
5705 $as_echo "#define HAVE_ATF 1" >>confdefs.h
5711 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
5712 ### need to look there and potentially overwrite by default (but not if
5713 ### the user configures an alternate value). LOCALSTATEDIR is totally
5714 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
5715 ### they would be insane for suggesting it. We need to look in /var/for
5716 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
5719 if test "x$prefix" = xNONE
; then
5720 $as_echo_n "checking for prefix by " >&6
5721 # Extract the first word of "dhcpd", so it can be a program name with args.
5722 set dummy dhcpd
; ac_word
=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_path_ac_prefix_program+:} false
; then :
5726 $as_echo_n "(cached) " >&6
5728 case $ac_prefix_program in
5730 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 ac_prefix_program
=$ac_cv_path_ac_prefix_program
5752 if test -n "$ac_prefix_program"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
5754 $as_echo "$ac_prefix_program" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 if test -n "$ac_prefix_program"; then
5762 prefix
=`$as_dirname -- "$ac_prefix_program" ||
5763 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5764 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5765 X"$ac_prefix_program" : 'X\(//\)$' \| \
5766 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
5767 $as_echo X"$ac_prefix_program" |
5768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5785 prefix
=`$as_dirname -- "$prefix" ||
5786 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5787 X"$prefix" : 'X\(//\)[^/]' \| \
5788 X"$prefix" : 'X\(//\)$' \| \
5789 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
5790 $as_echo X"$prefix" |
5791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5812 # XXX - isn't there SOME WAY to default autoconf to /var instead of
5813 # /usr/local/var/no/one/has/this/please/stop/trying?
5814 case "$localstatedir" in
5820 # Allow specification of alternate state files
5822 # Check whether --with-srv-lease-file was given.
5823 if test "${with_srv_lease_file+set}" = set; then :
5824 withval
=$with_srv_lease_file;
5825 cat >>confdefs.h
<<_ACEOF
5826 #define _PATH_DHCPD_DB "$withval"
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd.leases location" >&5
5833 $as_echo_n "checking for dhcpd.leases location... " >&6; }
5834 if [ "x$with_srv_lease_file" = "x" ] ; then
5835 if [ -d "${localstatedir}/db" ] ; then
5836 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
5837 elif [ -d "${localstatedir}/state" ] ; then
5838 if [ -d "${localstatedir}/state/dhcp" ] ; then
5839 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
5841 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
5843 elif [ -d "${localstatedir}/lib" ] ; then
5844 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5845 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
5847 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
5849 elif [ -d "${localstatedir}/etc" ] ; then
5850 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
5852 with_srv_lease_file
="/etc/dhcpd.leases"
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv_lease_file" >&5
5856 $as_echo "$with_srv_lease_file" >&6; }
5859 # Check whether --with-srv6-lease-file was given.
5860 if test "${with_srv6_lease_file+set}" = set; then :
5861 withval
=$with_srv6_lease_file;
5862 cat >>confdefs.h
<<_ACEOF
5863 #define _PATH_DHCPD6_DB "$withval"
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd6.leases location" >&5
5870 $as_echo_n "checking for dhcpd6.leases location... " >&6; }
5871 if [ "x$with_srv6_lease_file" = "x" ] ; then
5872 if [ -d "${localstatedir}/db" ] ; then
5873 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
5874 elif [ -d "${localstatedir}/state" ] ; then
5875 if [ -d "${localstatedir}/state/dhcp" ] ; then
5876 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
5878 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
5880 elif [ -d "${localstatedir}/lib" ] ; then
5881 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5882 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
5884 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
5886 elif [ -d "${localstatedir}/etc" ] ; then
5887 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
5889 with_srv6_lease_file
="/etc/dhcpd6.leases"
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv6_lease_file" >&5
5893 $as_echo "$with_srv6_lease_file" >&6; }
5896 # Check whether --with-cli-lease-file was given.
5897 if test "${with_cli_lease_file+set}" = set; then :
5898 withval
=$with_cli_lease_file;
5899 cat >>confdefs.h
<<_ACEOF
5900 #define _PATH_DHCLIENT_DB "$withval"
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient.leases location" >&5
5907 $as_echo_n "checking for dhclient.leases location... " >&6; }
5908 if [ "x$with_cli_lease_file" = "x" ] ; then
5909 if [ -d "${localstatedir}/db" ] ; then
5910 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
5911 elif [ -d "${localstatedir}/state" ] ; then
5912 if [ -d "${localstatedir}/state/dhcp" ] ; then
5913 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
5915 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
5917 elif [ -d "${localstatedir}/lib" ] ; then
5918 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5919 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
5921 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
5923 elif [ -d "${localstatedir}/etc" ] ; then
5924 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
5926 with_cli_lease_file
="/etc/dhclient.leases"
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli_lease_file" >&5
5930 $as_echo "$with_cli_lease_file" >&6; }
5933 # Check whether --with-cli6-lease-file was given.
5934 if test "${with_cli6_lease_file+set}" = set; then :
5935 withval
=$with_cli6_lease_file;
5936 cat >>confdefs.h
<<_ACEOF
5937 #define _PATH_DHCLIENT6_DB "$withval"
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient6.leases location" >&5
5944 $as_echo_n "checking for dhclient6.leases location... " >&6; }
5945 if [ "x$with_cli6_lease_file" = "x" ] ; then
5946 if [ -d "${localstatedir}/db" ] ; then
5947 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
5948 elif [ -d "${localstatedir}/state" ] ; then
5949 if [ -d "${localstatedir}/state/dhcp" ] ; then
5950 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5952 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5954 elif [ -d "${localstatedir}/lib" ] ; then
5955 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5956 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5958 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5960 elif [ -d "${localstatedir}/etc" ] ; then
5961 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5963 with_cli6_lease_file
="/etc/dhclient6.leases"
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli6_lease_file" >&5
5967 $as_echo "$with_cli6_lease_file" >&6; }
5970 # Check whether --with-srv-pid-file was given.
5971 if test "${with_srv_pid_file+set}" = set; then :
5972 withval
=$with_srv_pid_file;
5973 cat >>confdefs.h
<<_ACEOF
5974 #define _PATH_DHCPD_PID "$withval"
5980 # Check whether --with-srv6-pid-file was given.
5981 if test "${with_srv6_pid_file+set}" = set; then :
5982 withval
=$with_srv6_pid_file;
5983 cat >>confdefs.h
<<_ACEOF
5984 #define _PATH_DHCPD6_PID "$withval"
5990 # Check whether --with-cli-pid-file was given.
5991 if test "${with_cli_pid_file+set}" = set; then :
5992 withval
=$with_cli_pid_file;
5993 cat >>confdefs.h
<<_ACEOF
5994 #define _PATH_DHCLIENT_PID "$withval"
6000 # Check whether --with-cli6-pid-file was given.
6001 if test "${with_cli6_pid_file+set}" = set; then :
6002 withval
=$with_cli6_pid_file;
6003 cat >>confdefs.h
<<_ACEOF
6004 #define _PATH_DHCLIENT6_PID "$withval"
6010 # Check whether --with-relay-pid-file was given.
6011 if test "${with_relay_pid_file+set}" = set; then :
6012 withval
=$with_relay_pid_file;
6013 cat >>confdefs.h
<<_ACEOF
6014 #define _PATH_DHCRELAY_PID "$withval"
6020 # Check whether --with-relay6-pid-file was given.
6021 if test "${with_relay6_pid_file+set}" = set; then :
6022 withval
=$with_relay6_pid_file;
6023 cat >>confdefs.h
<<_ACEOF
6024 #define _PATH_DHCRELAY6_PID "$withval"
6030 # Check basic types.
6031 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
6032 case $ac_cv_c_int8_t in #(
6036 cat >>confdefs.h
<<_ACEOF
6037 #define int8_t $ac_cv_c_int8_t
6042 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
6043 case $ac_cv_c_int16_t in #(
6047 cat >>confdefs.h
<<_ACEOF
6048 #define int16_t $ac_cv_c_int16_t
6053 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
6054 case $ac_cv_c_int32_t in #(
6058 cat >>confdefs.h
<<_ACEOF
6059 #define int32_t $ac_cv_c_int32_t
6064 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
6065 case $ac_cv_c_int64_t in #(
6069 cat >>confdefs.h
<<_ACEOF
6070 #define int64_t $ac_cv_c_int64_t
6076 # Some systems need the u_intX_t types defined across.
6077 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
6078 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
6082 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
6083 case $ac_cv_c_uint8_t in #(
6087 $as_echo "#define _UINT8_T 1" >>confdefs.h
6090 cat >>confdefs.h
<<_ACEOF
6091 #define uint8_t $ac_cv_c_uint8_t
6097 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
6102 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
6103 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
6107 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
6108 case $ac_cv_c_uint16_t in #(
6113 cat >>confdefs.h
<<_ACEOF
6114 #define uint16_t $ac_cv_c_uint16_t
6120 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
6125 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
6126 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
6130 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
6131 case $ac_cv_c_uint32_t in #(
6135 $as_echo "#define _UINT32_T 1" >>confdefs.h
6138 cat >>confdefs.h
<<_ACEOF
6139 #define uint32_t $ac_cv_c_uint32_t
6145 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
6150 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
6151 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
6155 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
6156 case $ac_cv_c_uint64_t in #(
6160 $as_echo "#define _UINT64_T 1" >>confdefs.h
6163 cat >>confdefs.h
<<_ACEOF
6164 #define uint64_t $ac_cv_c_uint64_t
6170 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
6176 # see if ifaddrs.h is available
6177 for ac_header
in ifaddrs.h
6179 ac_fn_c_check_header_mongrel
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
6180 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6181 cat >>confdefs.h
<<_ACEOF
6182 #define HAVE_IFADDRS_H 1
6190 # figure out what IPv4 interface code to use
6191 for ac_header
in linux
/types.h
6193 ac_fn_c_check_header_mongrel
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
6194 if test "x$ac_cv_header_linux_types_h" = xyes
; then :
6195 cat >>confdefs.h
<<_ACEOF
6196 #define HAVE_LINUX_TYPES_H 1
6202 # needed for linux/filter.h on old systems
6204 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
6205 #ifdef HAVE_LINUX_TYPES_H
6206 #include <linux/types.h>
6210 if test "x$ac_cv_header_linux_filter_h" = xyes
; then :
6215 if test -n "$DO_LPF"
6218 $as_echo "#define HAVE_LPF 1" >>confdefs.h
6221 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
6222 if test "x$ac_cv_header_sys_dlpi_h" = xyes
; then :
6227 if test -n "$DO_DLPI"
6230 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
6233 ac_fn_c_check_header_mongrel
"$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
6234 if test "x$ac_cv_header_net_bpf_h" = xyes
; then :
6239 if test -n "$DO_BPF"
6242 $as_echo "#define HAVE_BPF 1" >>confdefs.h
6248 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
6249 # use the same structures. We like to use 'struct lifconf' and 'struct
6250 # lifreq', but we'll use these other structures if they're present. HPUX
6251 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
6255 $as_echo_n "checking for struct lifnum... " >&6; }
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #include <sys/types.h>
6259 #include <sys/socket.h>
6271 if ac_fn_c_try_compile
"$LINENO"; then :
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6273 $as_echo "yes" >&6; }
6275 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
6284 $as_echo_n "checking for struct if_laddrconf... " >&6; }
6285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6287 #include <sys/types.h>
6288 #include <net/if6.h>
6293 struct if_laddrconf a;
6299 if ac_fn_c_try_compile
"$LINENO"; then :
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6301 $as_echo "yes" >&6; }
6303 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
6312 $as_echo_n "checking for struct if_laddrreq... " >&6; }
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #include <sys/types.h>
6316 #include <net/if6.h>
6321 struct if_laddrreq a;
6327 if ac_fn_c_try_link
"$LINENO"; then :
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6329 $as_echo "yes" >&6; }
6331 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6335 $as_echo "no" >&6; }
6337 rm -f core conftest.err conftest.
$ac_objext \
6338 conftest
$ac_exeext conftest.
$ac_ext
6341 # check for GCC noreturn attribute
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
6344 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
6345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6351 void foo() __attribute__((noreturn));
6356 if ac_fn_c_try_compile
"$LINENO"; then :
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6358 $as_echo "yes" >&6; }
6360 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6366 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
6369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6371 # Look for optional headers.
6372 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6374 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6375 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6376 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6377 cat >>confdefs.h
<<_ACEOF
6378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6386 # Solaris needs some libraries for functions
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
6388 $as_echo_n "checking for library containing socket... " >&6; }
6389 if ${ac_cv_search_socket+:} false
; then :
6390 $as_echo_n "(cached) " >&6
6392 ac_func_search_save_LIBS
=$LIBS
6393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6396 /* Override any GCC internal prototype to avoid an error.
6397 Use char because int might match the return type of a GCC
6398 builtin and then its argument prototype would still apply. */
6411 for ac_lib
in '' socket
; do
6412 if test -z "$ac_lib"; then
6413 ac_res
="none required"
6416 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6418 if ac_fn_c_try_link
"$LINENO"; then :
6419 ac_cv_search_socket
=$ac_res
6421 rm -f core conftest.err conftest.
$ac_objext \
6423 if ${ac_cv_search_socket+:} false
; then :
6427 if ${ac_cv_search_socket+:} false
; then :
6430 ac_cv_search_socket
=no
6433 LIBS
=$ac_func_search_save_LIBS
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
6436 $as_echo "$ac_cv_search_socket" >&6; }
6437 ac_res
=$ac_cv_search_socket
6438 if test "$ac_res" != no
; then :
6439 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
6444 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
6445 if ${ac_cv_search_inet_ntoa+:} false
; then :
6446 $as_echo_n "(cached) " >&6
6448 ac_func_search_save_LIBS
=$LIBS
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6452 /* Override any GCC internal prototype to avoid an error.
6453 Use char because int might match the return type of a GCC
6454 builtin and then its argument prototype would still apply. */
6462 return inet_ntoa ();
6467 for ac_lib
in '' nsl
; do
6468 if test -z "$ac_lib"; then
6469 ac_res
="none required"
6472 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6474 if ac_fn_c_try_link
"$LINENO"; then :
6475 ac_cv_search_inet_ntoa
=$ac_res
6477 rm -f core conftest.err conftest.
$ac_objext \
6479 if ${ac_cv_search_inet_ntoa+:} false
; then :
6483 if ${ac_cv_search_inet_ntoa+:} false
; then :
6486 ac_cv_search_inet_ntoa
=no
6489 LIBS
=$ac_func_search_save_LIBS
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
6492 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
6493 ac_res
=$ac_cv_search_inet_ntoa
6494 if test "$ac_res" != no
; then :
6495 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
6501 $as_echo_n "checking for library containing inet_aton... " >&6; }
6502 if ${ac_cv_search_inet_aton+:} false
; then :
6503 $as_echo_n "(cached) " >&6
6505 ac_func_search_save_LIBS
=$LIBS
6506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6509 /* Override any GCC internal prototype to avoid an error.
6510 Use char because int might match the return type of a GCC
6511 builtin and then its argument prototype would still apply. */
6519 return inet_aton ();
6524 for ac_lib
in '' socket nsl
; do
6525 if test -z "$ac_lib"; then
6526 ac_res
="none required"
6529 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6531 if ac_fn_c_try_link
"$LINENO"; then :
6532 ac_cv_search_inet_aton
=$ac_res
6534 rm -f core conftest.err conftest.
$ac_objext \
6536 if ${ac_cv_search_inet_aton+:} false
; then :
6540 if ${ac_cv_search_inet_aton+:} false
; then :
6543 ac_cv_search_inet_aton
=no
6546 LIBS
=$ac_func_search_save_LIBS
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
6549 $as_echo "$ac_cv_search_inet_aton" >&6; }
6550 ac_res
=$ac_cv_search_inet_aton
6551 if test "$ac_res" != no
; then :
6552 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6556 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
6561 # Check for a standalone regex library.
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
6563 $as_echo_n "checking for library containing regcomp... " >&6; }
6564 if ${ac_cv_search_regcomp+:} false
; then :
6565 $as_echo_n "(cached) " >&6
6567 ac_func_search_save_LIBS
=$LIBS
6568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6571 /* Override any GCC internal prototype to avoid an error.
6572 Use char because int might match the return type of a GCC
6573 builtin and then its argument prototype would still apply. */
6586 for ac_lib
in '' regex
; do
6587 if test -z "$ac_lib"; then
6588 ac_res
="none required"
6591 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6593 if ac_fn_c_try_link
"$LINENO"; then :
6594 ac_cv_search_regcomp
=$ac_res
6596 rm -f core conftest.err conftest.
$ac_objext \
6598 if ${ac_cv_search_regcomp+:} false
; then :
6602 if ${ac_cv_search_regcomp+:} false
; then :
6605 ac_cv_search_regcomp
=no
6608 LIBS
=$ac_func_search_save_LIBS
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
6611 $as_echo "$ac_cv_search_regcomp" >&6; }
6612 ac_res
=$ac_cv_search_regcomp
6613 if test "$ac_res" != no
; then :
6614 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6619 for ac_func
in strlcat
6621 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
6622 if test "x$ac_cv_func_strlcat" = xyes
; then :
6623 cat >>confdefs.h
<<_ACEOF
6624 #define HAVE_STRLCAT 1
6631 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
6633 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
6634 if ${ac_cv_search_if_nametoindex+:} false
; then :
6635 $as_echo_n "(cached) " >&6
6637 ac_func_search_save_LIBS
=$LIBS
6638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6641 /* Override any GCC internal prototype to avoid an error.
6642 Use char because int might match the return type of a GCC
6643 builtin and then its argument prototype would still apply. */
6647 char if_nametoindex ();
6651 return if_nametoindex ();
6656 for ac_lib
in '' ipv6
; do
6657 if test -z "$ac_lib"; then
6658 ac_res
="none required"
6661 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6663 if ac_fn_c_try_link
"$LINENO"; then :
6664 ac_cv_search_if_nametoindex
=$ac_res
6666 rm -f core conftest.err conftest.
$ac_objext \
6668 if ${ac_cv_search_if_nametoindex+:} false
; then :
6672 if ${ac_cv_search_if_nametoindex+:} false
; then :
6675 ac_cv_search_if_nametoindex
=no
6678 LIBS
=$ac_func_search_save_LIBS
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
6681 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
6682 ac_res
=$ac_cv_search_if_nametoindex
6683 if test "$ac_res" != no
; then :
6684 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6689 # check for /dev/random (declares HAVE_DEV_RANDOM)
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random device" >&5
6691 $as_echo_n "checking for random device... " >&6; }
6693 # Check whether --with-randomdev was given.
6694 if test "${with_randomdev+set}" = set; then :
6695 withval
=$with_randomdev; use_randomdev
="$withval"
6697 use_randomdev
="unspec"
6700 if test "$use_randomdev" = "unspec"; then
6701 if test "$cross_compiling" = "yes"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unspecified" >&5
6703 $as_echo "unspecified" >&6; }
6704 as_fn_error $?
" need --with-randomdev=PATH or --with-randomdev=no" "$LINENO" 5
6706 use_randomdev
="/dev/random"
6707 elif test "$use_randomdev" = "yes"; then
6708 use_randomdev
="/dev/random"
6710 if test "$use_randomdev" = "no"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
6712 $as_echo "disabled" >&6; }
6713 BINDCONFIG
="$BINDCONFIG --with-randomdev=no"
6715 if test "$cross_compiling" = "yes"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_randomdev (unchecked)" >&5
6717 $as_echo "$use_randomdev (unchecked)" >&6; }
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_randomdev" >&5
6720 $as_echo "$use_randomdev" >&6; }
6721 as_ac_File
=`$as_echo "ac_cv_file_$use_randomdev" | $as_tr_sh`
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $use_randomdev" >&5
6723 $as_echo_n "checking for $use_randomdev... " >&6; }
6724 if eval \
${$as_ac_File+:} false
; then :
6725 $as_echo_n "(cached) " >&6
6727 test "$cross_compiling" = yes &&
6728 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6729 if test -r "$use_randomdev"; then
6730 eval "$as_ac_File=yes"
6732 eval "$as_ac_File=no"
6735 eval ac_res
=\$
$as_ac_File
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6737 $as_echo "$ac_res" >&6; }
6738 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
6740 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
6743 as_fn_error $?
"cannot find $use_randomdev" "$LINENO" 5
6747 BINDCONFIG
="$BINDCONFIG --with-randomdev=$use_randomdev"
6750 BINDIOMUX
="--disable-kqueue --disable-epoll --disable-devpoll"
6751 # check kqueue/epoll/devpoll alternative to select
6752 # Check whether --enable-kqueue was given.
6753 if test "${enable_kqueue+set}" = set; then :
6754 enableval
=$enable_kqueue; want_kqueue
="$enableval"
6759 if test "$want_kqueue" = "yes"; then
6760 BINDIOMUX
="--enable-kqueue"
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-kqueue is not supported: it may lead to issues such as server looping" >&5
6762 $as_echo "$as_me: WARNING: --enable-kqueue is not supported: it may lead to issues such as server looping" >&2;}
6764 # Check whether --enable-epoll was given.
6765 if test "${enable_epoll+set}" = set; then :
6766 enableval
=$enable_epoll; want_epoll
="$enableval"
6771 if test "$want_epoll" = "yes"; then
6772 BINDIOMUX
="--enable-epoll"
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-epoll is not supported: it may lead to issues such as server looping" >&5
6774 $as_echo "$as_me: WARNING: --enable-epoll is not supported: it may lead to issues such as server looping" >&2;}
6776 # Check whether --enable-devpoll was given.
6777 if test "${enable_devpoll+set}" = set; then :
6778 enableval
=$enable_devpoll; want_devpoll
="$enableval"
6783 if test "$want_devpoll" = "yes"; then
6784 BINDIOMUX
="--enable-devpoll"
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-devpoll is not supported: it may lead to issues such as server looping" >&5
6786 $as_echo "$as_me: WARNING: --enable-devpoll is not supported: it may lead to issues such as server looping" >&2;}
6790 # general extra bind configure arguments
6792 # Check whether --with-bind-extra-config was given.
6793 if test "${with_bind_extra_config+set}" = set; then :
6794 withval
=$with_bind_extra_config; use_xbindconfig
="$withval"
6799 case "$use_xbindconfig" in
6803 BINDCONFIG
="$BINDCONFIG $use_xbindconfig"
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Most options to bind configure are not supported when used by ISC DHCP" >&5
6805 $as_echo "$as_me: WARNING: Most options to bind configure are not supported when used by ISC DHCP" >&2;}
6809 # see if there is a "sa_len" field in our interface information structure
6810 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
6812 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
6814 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
6819 # figure out pointer size
6820 SAVE_CFLAGS
="$CFLAGS"
6821 CFLAGS
="$CFLAGS -I$srcdir"
6822 # The cast to long int works around a bug in the HP C Compiler
6823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6825 # This bug is HP SR number 8606223364.
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
6827 $as_echo_n "checking size of struct iaddr *... " >&6; }
6828 if ${ac_cv_sizeof_struct_iaddr_p+:} false
; then :
6829 $as_echo_n "(cached) " >&6
6831 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p" "
6832 #include \"includes/inet.h\"
6838 if test "$ac_cv_type_struct_iaddr_p" = yes; then
6839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6841 as_fn_error
77 "cannot compute sizeof (struct iaddr *)
6842 See \`config.log' for more details" "$LINENO" 5; }
6844 ac_cv_sizeof_struct_iaddr_p
=0
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
6850 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
6854 cat >>confdefs.h
<<_ACEOF
6855 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
6859 CFLAGS
="$SAVE_CFLAGS"
6861 # Solaris does not have the msg_control or msg_controlen members
6862 # in the msghdr structure unless you define:
6864 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
6866 # See the "standards" man page for details.
6868 # We check for the msg_control member, and if it is not found, we check
6869 # again with the appropriate defines added to the CFLAGS. (In order to
6870 # do this we have to remove the check from the cache, which is what the
6872 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6873 #include <sys/types.h>
6874 #include <sys/socket.h>
6877 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6880 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
6881 CFLAGS
="$CFLAGS -D__EXTENSIONS__"
6882 unset ac_cv_member_struct_msghdr_msg_control
6883 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6884 #include <sys/types.h>
6885 #include <sys/socket.h>
6888 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6891 as_fn_error $?
"Missing msg_control member in
6892 msg_control structure." "$LINENO" 5
6899 ac_fn_c_check_member
"$LINENO" "struct tpacket_auxdata" "tp_vlan_tci" "ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" "#include <linux/if_packet.h>
6901 if test "x$ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" = xyes
; then :
6903 $as_echo "#define VLAN_TCI_PRESENT 1" >>confdefs.h
6909 # bind/Makefile.in is not from automake so we need 2 sets of variables
6915 # Check whether --with-libbind was given.
6916 if test "${with_libbind+set}" = set; then :
6917 withval
=$with_libbind; use_libbind
="$withval"
6922 case "$use_libbind" in
6924 as_fn_error $?
"PATH is required in --with-libbind=PATH" "$LINENO" 5
6927 BINDDIR
="\${top_srcdir}/bind"
6928 BINDSRCDIR
="\${top_srcdir}/bind"
6929 my_abs_srcdir
=`cd $srcdir && pwd`
6930 BINDBIND
="${my_abs_srcdir}/bind"
6931 if test ! -d "$srcdir/bind"; then
6932 as_fn_error $?
"Where to find or build bind includes and libraries must be specified" "$LINENO" 5
6934 if test -d "$srcdir/bind/bind9"; then
6935 BINDBUILD
="${my_abs_srcdir}/bind/bind9"
6937 if test ! -f "$srcdir/bind/version.tmp"; then
6938 as_fn_error $?
"Cannot find $srcdir/bind/version.tmp" "$LINENO" 5
6940 .
"$srcdir/bind/version.tmp"
6941 bindversion
=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}
6942 BINDBUILD
="${my_abs_srcdir}/bind/bind-$bindversion"
6944 ac_config_files
="$ac_config_files $srcdir/bind/Makefile"
6948 if test ! -d "$use_libbind"; then
6949 as_fn_error $?
"Cannot find bind directory at $use_libbind" "$LINENO" 5
6951 if test ! -d "$use_libbind/include"; then
6952 as_fn_error $?
"Cannot find bind includes at $use_libbind/include" "$LINENO" 5
6954 if test ! -d "$use_libbind/lib"; then
6955 as_fn_error $?
"Cannot find bind libraries at $use_libbind/lib" "$LINENO" 5
6957 BINDDIR
="$use_libbind"
6967 # Check whether --with-ldap was given.
6968 if test "${with_ldap+set}" = set; then :
6969 withval
=$with_ldap; ldap
=$withval
6975 # OpenLDAP with SSL support.
6977 # Check whether --with-ldapcrypto was given.
6978 if test "${with_ldapcrypto+set}" = set; then :
6979 withval
=$with_ldapcrypto; ldapcrypto
=$withval
6985 # Gssapi to allow LDAP to authenticate with a keytab
6987 # Check whether --with-ldap-gssapi was given.
6988 if test "${with_ldap_gssapi+set}" = set; then :
6989 withval
=$with_ldap_gssapi; ldap_gssapi
=$withval
6996 # LDAP CASA auth support.
6998 # Check whether --with-ldapcasa was given.
6999 if test "${with_ldapcasa+set}" = set; then :
7000 withval
=$with_ldapcasa; ldapcasa
=$withval
7006 # OpenLDAP support is disabled by default, if enabled then SSL support is an
7007 # extra optional that is also disabled by default. Enabling LDAP SSL support
7008 # implies enabling LDAP support. Similarly, KRB5 support implies LDAP support,
7009 # but doesn't include SSL. The two are not dependant.
7010 if test x
$ldap = xyes ||
test x
$ldapcrypto = xyes ||
test x
$ldap_gssapi = xyes
; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
7014 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
7015 if ${ac_cv_search_ldap_initialize+:} false
; then :
7016 $as_echo_n "(cached) " >&6
7018 ac_func_search_save_LIBS
=$LIBS
7019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7022 /* Override any GCC internal prototype to avoid an error.
7023 Use char because int might match the return type of a GCC
7024 builtin and then its argument prototype would still apply. */
7028 char ldap_initialize ();
7032 return ldap_initialize ();
7037 for ac_lib
in '' ldap
; do
7038 if test -z "$ac_lib"; then
7039 ac_res
="none required"
7042 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7044 if ac_fn_c_try_link
"$LINENO"; then :
7045 ac_cv_search_ldap_initialize
=$ac_res
7047 rm -f core conftest.err conftest.
$ac_objext \
7049 if ${ac_cv_search_ldap_initialize+:} false
; then :
7053 if ${ac_cv_search_ldap_initialize+:} false
; then :
7056 ac_cv_search_ldap_initialize
=no
7059 LIBS
=$ac_func_search_save_LIBS
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
7062 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
7063 ac_res
=$ac_cv_search_ldap_initialize
7064 if test "$ac_res" != no
; then :
7065 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7070 as_fn_error $?
"*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
7071 See \`config.log' for more details" "$LINENO" 5; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
7075 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
7076 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
7077 $as_echo_n "(cached) " >&6
7079 ac_func_search_save_LIBS
=$LIBS
7080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7081 /* end confdefs.h. */
7083 /* Override any GCC internal prototype to avoid an error.
7084 Use char because int might match the return type of a GCC
7085 builtin and then its argument prototype would still apply. */
7089 char ber_pvt_opt_on ();
7093 return ber_pvt_opt_on ();
7098 for ac_lib
in '' lber
; do
7099 if test -z "$ac_lib"; then
7100 ac_res
="none required"
7103 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7105 if ac_fn_c_try_link
"$LINENO"; then :
7106 ac_cv_search_ber_pvt_opt_on
=$ac_res
7108 rm -f core conftest.err conftest.
$ac_objext \
7110 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
7114 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
7117 ac_cv_search_ber_pvt_opt_on
=no
7120 LIBS
=$ac_func_search_save_LIBS
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
7123 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
7124 ac_res
=$ac_cv_search_ber_pvt_opt_on
7125 if test "$ac_res" != no
; then :
7126 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7131 as_fn_error $?
"*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
7132 See \`config.log' for more details" "$LINENO" 5; }
7135 if test x
$ldap_gssapi = xyes
; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing krb5_init_context" >&5
7137 $as_echo_n "checking for library containing krb5_init_context... " >&6; }
7138 if ${ac_cv_search_krb5_init_context+:} false
; then :
7139 $as_echo_n "(cached) " >&6
7141 ac_func_search_save_LIBS
=$LIBS
7142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7145 /* Override any GCC internal prototype to avoid an error.
7146 Use char because int might match the return type of a GCC
7147 builtin and then its argument prototype would still apply. */
7151 char krb5_init_context ();
7155 return krb5_init_context ();
7160 for ac_lib
in '' krb5
; do
7161 if test -z "$ac_lib"; then
7162 ac_res
="none required"
7165 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7167 if ac_fn_c_try_link
"$LINENO"; then :
7168 ac_cv_search_krb5_init_context
=$ac_res
7170 rm -f core conftest.err conftest.
$ac_objext \
7172 if ${ac_cv_search_krb5_init_context+:} false
; then :
7176 if ${ac_cv_search_krb5_init_context+:} false
; then :
7179 ac_cv_search_krb5_init_context
=no
7182 LIBS
=$ac_func_search_save_LIBS
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_krb5_init_context" >&5
7185 $as_echo "$ac_cv_search_krb5_init_context" >&6; }
7186 ac_res
=$ac_cv_search_krb5_init_context
7187 if test "$ac_res" != no
; then :
7188 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7193 as_fn_error $?
"*** Cannot find krb5_init_context with -lkrb5 - do you need to install a Kerberos Devel package?
7194 See \`config.log' for more details" "$LINENO" 5; }
7199 # Create LDAP_LIBS which we specify them explicitly rather than lumping them in with LIBS
7205 for ac_header
in ldap.h
7207 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
7208 if test "x$ac_cv_header_ldap_h" = xyes
; then :
7209 cat >>confdefs.h
<<_ACEOF
7210 #define HAVE_LDAP_H 1
7217 for ac_func
in inet_pton inet_ntop
7219 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7220 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7221 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7222 cat >>confdefs.h
<<_ACEOF
7223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7231 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
7233 if test x
$ldapcasa = xyes
; then
7234 for ac_header
in micasa_mgmd.h
7236 ac_fn_c_check_header_mongrel
"$LINENO" "micasa_mgmd.h" "ac_cv_header_micasa_mgmd_h" "$ac_includes_default"
7237 if test "x$ac_cv_header_micasa_mgmd_h" = xyes
; then :
7238 cat >>confdefs.h
<<_ACEOF
7239 #define HAVE_MICASA_MGMD_H 1
7242 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_CASA_AUTH"
7245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7247 as_fn_error $?
"*** Cannot find micasa_mgmd.h for ldap casa auth support
7248 See \`config.log' for more details" "$LINENO" 5; }
7255 if test x
$ldapcrypto = xyes
; then
7256 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_USE_SSL"
7259 if test x
$ldap_gssapi = xyes
; then
7260 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_USE_GSSAPI"
7263 LDAP_CFLAGS
=$LDAP_CFLAGS
7267 # Append selected warning levels to CFLAGS before substitution (but after
7268 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
7269 CFLAGS
="$CFLAGS $STD_CWARNINGS"
7271 # Try to add the bind and dhcp include directories
7272 CFLAGS
="$CFLAGS -I\$(top_srcdir)/includes -I$BINDDIR/include"
7276 CFLAGS
="$CFLAGS -D__APPLE_USE_RFC_3542";;
7278 # As of Solaris 11, ethernet dev files are in /dev/net
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/net" >&5
7280 $as_echo_n "checking for /dev/net... " >&6; }
7281 if ${ac_cv_file__dev_net+:} false
; then :
7282 $as_echo_n "(cached) " >&6
7284 test "$cross_compiling" = yes &&
7285 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
7286 if test -r "/dev/net"; then
7287 ac_cv_file__dev_net
=yes
7289 ac_cv_file__dev_net
=no
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_net" >&5
7293 $as_echo "$ac_cv_file__dev_net" >&6; }
7294 if test "x$ac_cv_file__dev_net" = xyes
; then :
7296 $as_echo "#define USE_DEV_NET 1" >>confdefs.h
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
7305 $as_echo_n "checking for flexible array members... " >&6; }
7306 if ${ac_cv_c_flexmember+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7314 struct s { int n; double d[]; };
7319 struct s *p = malloc (offsetof (struct s, d)
7320 + m * sizeof (double));
7322 return p->d != (double *) NULL;
7327 if ac_fn_c_try_compile
"$LINENO"; then :
7328 ac_cv_c_flexmember
=yes
7330 ac_cv_c_flexmember
=no
7332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
7335 $as_echo "$ac_cv_c_flexmember" >&6; }
7336 if test $ac_cv_c_flexmember = yes; then
7338 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
7341 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
7346 ac_config_files
="$ac_config_files Makefile client/Makefile client/tests/Makefile common/Makefile common/tests/Makefile dhcpctl/Makefile includes/Makefile omapip/Makefile relay/Makefile server/Makefile tests/Makefile tests/unittest.sh server/tests/Makefile doc/devel/doxyfile"
7348 cat >confcache
<<\_ACEOF
7349 # This file is a shell script that caches the results of configure
7350 # tests run on this system so they can be shared between configure
7351 # scripts and configure runs, see configure's option --config-cache.
7352 # It is not useful on other systems. If it contains results you don't
7353 # want to keep, you may remove or edit it.
7355 # config.status only pays attention to the cache file if you give it
7356 # the --recheck option to rerun configure.
7358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7364 # The following way of writing the cache mishandles newlines in values,
7365 # but we know of no workaround that is simple, portable, and efficient.
7366 # So, we kill variables containing newlines.
7367 # Ultrix sh set writes to stderr and can't be redirected directly,
7368 # and sets the high bit in the cache file unless we assign to the vars.
7370 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7371 eval ac_val
=\$
$ac_var
7375 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7379 _ | IFS | as_nl
) ;; #(
7380 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7381 *) { eval $ac_var=; unset $ac_var;} ;;
7387 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7388 *${as_nl}ac_space
=\
*)
7389 # `set' does not quote correctly, so add quotes: double-quote
7390 # substitution turns \\\\ into \\, and sed turns \\ into \.
7393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7396 # `set' quotes correctly as required by POSIX, so do not add quotes.
7397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7408 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7410 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7411 if test -w "$cache_file"; then
7412 if test "x$cache_file" != "x/dev/null"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7414 $as_echo "$as_me: updating cache $cache_file" >&6;}
7415 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7416 cat confcache
>"$cache_file"
7418 case $cache_file in #(
7420 mv -f confcache
"$cache_file"$$
&&
7421 mv -f "$cache_file"$$
"$cache_file" ;; #(
7423 mv -f confcache
"$cache_file" ;;
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7434 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7435 # Let make expand exec_prefix.
7436 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7438 DEFS
=-DHAVE_CONFIG_H
7443 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7444 # 1. Remove the extension, and $U if already installed.
7445 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7446 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7447 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7448 # will be set to the directory where LIBOBJS objects are built.
7449 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7450 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7454 LTLIBOBJS
=$ac_ltlibobjs
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7458 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7459 if test -n "$am_sleep_pid"; then
7460 # Hide warnings about reused PIDs.
7461 wait $am_sleep_pid 2>/dev
/null
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7464 $as_echo "done" >&6; }
7465 if test -n "$EXEEXT"; then
7467 am__EXEEXT_FALSE
='#'
7473 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7474 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
7475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7477 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7478 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7481 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7482 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7485 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
7486 as_fn_error $?
"conditional \"CROSS_COMPILING\" was never defined.
7487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7490 if test -z "${BIND_ATF_TRUE}" && test -z "${BIND_ATF_FALSE}"; then
7491 as_fn_error $?
"conditional \"BIND_ATF\" was never defined.
7492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7494 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
7495 as_fn_error $?
"conditional \"HAVE_ATF\" was never defined.
7496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7499 : "${CONFIG_STATUS=./config.status}"
7501 ac_clean_files_save
=$ac_clean_files
7502 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7504 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7506 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7508 # Generated by $as_me.
7509 # Run this file to recreate the current configuration.
7510 # Compiler output produced by configure, useful for debugging
7511 # configure, is in config.log if it exists.
7517 SHELL=\${CONFIG_SHELL-$SHELL}
7520 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7521 ## -------------------- ##
7522 ## M4sh Initialization. ##
7523 ## -------------------- ##
7525 # Be more Bourne compatible
7526 DUALCASE
=1; export DUALCASE
# for MKS sh
7527 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7530 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7531 # is contrary to our usage. Disable this feature.
7532 alias -g '${1+"$@"}'='"$@"'
7533 setopt NO_GLOB_SUBST
7535 case `(set -o) 2>/dev/null` in #(
7547 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7548 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7549 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7550 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7551 # Prefer a ksh shell builtin over an external printf program on Solaris,
7552 # but without wasting forks for bash or zsh.
7553 if test -z "$BASH_VERSION$ZSH_VERSION" \
7554 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7555 as_echo='print
-r --'
7556 as_echo_n='print
-rn --'
7557 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7558 as_echo='printf %s
\n'
7559 as_echo_n='printf %s
'
7561 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7562 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7563 as_echo_n='/usr
/ucb
/echo -n'
7565 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7566 as_echo_n_body='eval
7570 expr "X$arg" : "X\\(.*\\)$as_nl";
7571 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7573 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7575 export as_echo_n_body
7576 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7579 as_echo='sh
-c $as_echo_body as_echo
'
7582 # The user is always right.
7583 if test "${PATH_SEPARATOR+set}" != set; then
7585 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7586 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7593 # We need space, tab and new line, in precisely that order. Quoting is
7594 # there to prevent editors from complaining about space-tab.
7595 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7596 # splitting by setting IFS to empty value.)
7599 # Find who we are. Look in the path if we contain no directory separator.
7602 *[\\/]* ) as_myself=$0 ;;
7603 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir=.
7608 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7614 # We did not find ourselves, most probably we were run as `sh COMMAND'
7615 # in which case we are not to be found in the path.
7616 if test "x$as_myself" = x
; then
7619 if test ! -f "$as_myself"; then
7620 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7624 # Unset variables that we do not need and which cause bugs (e.g. in
7625 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7626 # suppresses any "Segmentation fault" message there. '((' could
7627 # trigger a bug in pdksh 5.2.14.
7628 for as_var
in BASH_ENV ENV MAIL MAILPATH
7629 do eval test x\
${$as_var+set} = xset \
7630 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7643 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7646 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7647 # ----------------------------------------
7648 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7649 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7650 # script with STATUS, using 1 if that was 0.
7653 as_status
=$1; test $as_status -eq 0 && as_status
=1
7655 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7656 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7658 $as_echo "$as_me: error: $2" >&2
7659 as_fn_exit
$as_status
7663 # as_fn_set_status STATUS
7664 # -----------------------
7665 # Set $? to STATUS, without forking.
7669 } # as_fn_set_status
7673 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7683 # Portably unset VAR.
7686 { eval $1=; unset $1;}
7688 as_unset
=as_fn_unset
7689 # as_fn_append VAR VALUE
7690 # ----------------------
7691 # Append the text in VALUE to the end of the definition contained in VAR. Take
7692 # advantage of any shell optimizations that allow amortized linear growth over
7693 # repeated appends, instead of the typical quadratic growth present in naive
7695 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7696 eval 'as_fn_append ()
7707 # as_fn_arith ARG...
7708 # ------------------
7709 # Perform arithmetic evaluation on the ARGs, and store the result in the
7710 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7711 # must be portable across $(()) and expr.
7712 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7713 eval 'as_fn_arith ()
7720 as_val
=`expr "$@" || test $? -eq 1`
7725 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7726 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7732 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7733 as_basename
=basename
7738 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7744 as_me
=`$as_basename -- "$0" ||
7745 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7746 X"$0" : 'X\(//\)$' \| \
7747 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7749 sed '/^.*\/\([^/][^/]*\)\/*$/{
7763 # Avoid depending upon Character Ranges.
7764 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7765 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7766 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7767 as_cr_digits
='0123456789'
7768 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7770 ECHO_C
= ECHO_N
= ECHO_T
=
7771 case `echo -n x` in #(((((
7773 case `echo 'xy\c'` in
7774 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7776 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7783 rm -f conf$$ conf$$.exe conf$$.
file
7784 if test -d conf$$.dir
; then
7785 rm -f conf$$.dir
/conf$$.
file
7788 mkdir conf$$.dir
2>/dev
/null
7790 if (echo >conf$$.
file) 2>/dev
/null
; then
7791 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7793 # ... but there are two gotchas:
7794 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7795 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7796 # In both cases, we have to default to `cp -pR'.
7797 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7799 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7807 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7808 rmdir conf$$.dir
2>/dev
/null
7813 # Create "$as_dir" as a directory, including parents if necessary.
7818 -*) as_dir
=.
/$as_dir;;
7820 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7824 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7825 *) as_qdir
=$as_dir;;
7827 as_dirs
="'$as_qdir' $as_dirs"
7828 as_dir
=`$as_dirname -- "$as_dir" ||
7829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7830 X"$as_dir" : 'X\(//\)[^/]' \| \
7831 X"$as_dir" : 'X\(//\)$' \| \
7832 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7833 $as_echo X"$as_dir" |
7834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7851 test -d "$as_dir" && break
7853 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7854 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7858 if mkdir
-p .
2>/dev
/null
; then
7859 as_mkdir_p
='mkdir -p "$as_dir"'
7861 test -d .
/-p && rmdir .
/-p
7866 # as_fn_executable_p FILE
7867 # -----------------------
7868 # Test if FILE is an executable regular file.
7869 as_fn_executable_p
()
7871 test -f "$1" && test -x "$1"
7872 } # as_fn_executable_p
7874 as_executable_p
=as_fn_executable_p
7876 # Sed expression to map a string onto a valid CPP name.
7877 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7879 # Sed expression to map a string onto a valid variable name.
7880 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7884 ## ----------------------------------- ##
7885 ## Main body of $CONFIG_STATUS script. ##
7886 ## ----------------------------------- ##
7888 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7891 # Save the log message, to keep $0 and so on meaningful, and to
7892 # report actual input values of CONFIG_FILES etc. instead of their
7893 # values after options handling.
7895 This file was extended by DHCP $as_me 4.3.4, which was
7896 generated by GNU Autoconf 2.69. Invocation command line was
7898 CONFIG_FILES = $CONFIG_FILES
7899 CONFIG_HEADERS = $CONFIG_HEADERS
7900 CONFIG_LINKS = $CONFIG_LINKS
7901 CONFIG_COMMANDS = $CONFIG_COMMANDS
7904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7909 case $ac_config_files in *"
7910 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7913 case $ac_config_headers in *"
7914 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7919 # Files that config.status was made for.
7920 config_files="$ac_config_files"
7921 config_headers="$ac_config_headers"
7922 config_commands="$ac_config_commands"
7926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7928 \`$as_me' instantiates files and other configuration actions
7929 from templates according to the current configuration. Unless the files
7930 and actions are specified as TAGs, all are instantiated by default.
7932 Usage: $0 [OPTION]... [TAG]...
7934 -h, --help print this help, then exit
7935 -V, --version print version number and configuration settings, then exit
7936 --config print configuration, then exit
7937 -q, --quiet, --silent
7938 do not print progress messages
7939 -d, --debug don't remove temporary files
7940 --recheck update $as_me by reconfiguring in the same conditions
7941 --file=FILE[:TEMPLATE]
7942 instantiate the configuration file FILE
7943 --header=FILE[:TEMPLATE]
7944 instantiate the configuration header FILE
7946 Configuration files:
7949 Configuration headers:
7952 Configuration commands:
7955 Report bugs to <dhcp-users@isc.org>."
7958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7959 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7961 DHCP config.status 4.3.4
7962 configured by $0, generated by GNU Autoconf 2.69,
7963 with options \\"\$ac_cs_config\\"
7965 Copyright (C) 2012 Free Software Foundation, Inc.
7966 This config.status script is free software; the Free Software Foundation
7967 gives unlimited permission to copy, distribute and modify it."
7974 test -n "\$AWK" || AWK=awk
7977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7978 # The default lists apply if the user does not specify any file.
7984 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7985 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7989 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8001 # Handling of the options.
8002 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8004 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8005 $as_echo "$ac_cs_version"; exit ;;
8006 --config |
--confi |
--conf |
--con |
--co |
--c )
8007 $as_echo "$ac_cs_config"; exit ;;
8008 --debug |
--debu |
--deb |
--de |
--d |
-d )
8010 --file |
--fil |
--fi |
--f )
8013 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8014 '') as_fn_error $?
"missing file argument" ;;
8016 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8017 ac_need_defaults
=false
;;
8018 --header |
--heade |
--head |
--hea )
8021 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8023 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8024 ac_need_defaults
=false
;;
8026 # Conflict between --help and --header
8027 as_fn_error $?
"ambiguous option: \`$1'
8028 Try \`$0 --help' for more information.";;
8029 --help |
--hel |
-h )
8030 $as_echo "$ac_cs_usage"; exit ;;
8031 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8032 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8036 -*) as_fn_error $?
"unrecognized option: \`$1'
8037 Try \`$0 --help' for more information." ;;
8039 *) as_fn_append ac_config_targets
" $1"
8040 ac_need_defaults
=false
;;
8046 ac_configure_extra_args
=
8048 if $ac_cs_silent; then
8050 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8055 if \$ac_cs_recheck; then
8056 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8058 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8059 CONFIG_SHELL='$SHELL'
8065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8069 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8070 ## Running $as_me. ##
8076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8080 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8086 # Handling of arguments.
8087 for ac_config_target
in $ac_config_targets
8089 case $ac_config_target in
8090 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8091 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
8092 "$srcdir/bind/Makefile") CONFIG_FILES
="$CONFIG_FILES $srcdir/bind/Makefile" ;;
8093 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8094 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
8095 "client/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES client/tests/Makefile" ;;
8096 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
8097 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
8098 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
8099 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
8100 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
8101 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
8102 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
8103 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
8104 "tests/unittest.sh") CONFIG_FILES
="$CONFIG_FILES tests/unittest.sh" ;;
8105 "server/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES server/tests/Makefile" ;;
8106 "doc/devel/doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/devel/doxyfile" ;;
8108 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8113 # If the user did not use the arguments to specify the items to instantiate,
8114 # then the envvar interface is used. Set only those that are not.
8115 # We use the long form for the default assignment because of an extremely
8116 # bizarre bug on SunOS 4.1.3.
8117 if $ac_need_defaults; then
8118 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8119 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8120 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8123 # Have a temporary directory for convenience. Make it in the build tree
8124 # simply because there is no reason against having it here, and in addition,
8125 # creating and moving files from /tmp can sometimes cause problems.
8126 # Hook for its removal unless debugging.
8127 # Note that there is a small window in which the directory will not be cleaned:
8128 # after its creation but before its name has been assigned to `$tmp'.
8132 trap 'exit_status=$?
8134 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8136 trap 'as_fn_exit 1' 1 2 13 15
8138 # Create a (secure) tmp directory for tmp files.
8141 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8145 tmp
=.
/conf$$
-$RANDOM
8146 (umask 077 && mkdir
"$tmp")
8147 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8150 # Set up the scripts for CONFIG_FILES section.
8151 # No need to generate them if there are no CONFIG_FILES.
8152 # This happens for instance with `./config.status config.h'.
8153 if test -n "$CONFIG_FILES"; then
8156 ac_cr
=`echo X | tr X '\015'`
8157 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8158 # But we know of no other shell where ac_cr would be empty at this
8159 # point, so we can use a bashism as a fallback.
8160 if test "x$ac_cr" = x
; then
8161 eval ac_cr
=\$
\'\\r
\'
8163 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8164 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8170 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8175 echo "cat >conf$$subs.awk <<_ACEOF" &&
8176 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8179 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8182 for ac_last_try in false false false false false :; do
8183 . ./conf$$subs.sh ||
8184 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8186 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8187 if test $ac_delim_n = $ac_delim_num; then
8189 elif $ac_last_try; then
8190 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8192 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8198 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8202 s/^/S["/; s
/!.
*/"]=/
8212 s/\(.\{148\}\)..*/\1/
8214 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8219 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8226 s/\(.\{148\}\)..*/\1/
8228 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8232 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8237 ' <conf$$subs.awk | sed '
8242 ' >>$CONFIG_STATUS || ac_write_fail=1
8243 rm -f conf$$subs.awk
8244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8246 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8247 for (key in S) S_is_set[key] = 1
8253 nfields = split(line, field, "@
")
8255 len = length(field[1])
8256 for (i = 2; i < nfields; i++) {
8258 keylen = length(key)
8259 if (S_is_set[key]) {
8261 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8262 len += length(value) + length(field[++i])
8273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8274 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8275 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8278 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8279 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8282 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8283 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8284 # trailing colons and then remove the whole line if VPATH becomes empty
8285 # (actually we leave an empty line to preserve line numbers).
8286 if test "x
$srcdir" = x.; then
8287 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8306 fi # test -n "$CONFIG_FILES"
8308 # Set up the scripts for CONFIG_HEADERS section.
8309 # No need to generate them if there are no CONFIG_HEADERS.
8310 # This happens for instance with `./config.status Makefile'.
8311 if test -n "$CONFIG_HEADERS"; then
8312 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8316 # Transform confdefs.h into an awk script `defines.awk', embedded as
8317 # here-document in config.status, that substitutes the proper values into
8318 # config.h.in to produce config.h.
8320 # Create a delimiter string that does not exist in confdefs.h, to ease
8321 # handling of long lines.
8323 for ac_last_try in false false :; do
8324 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8325 if test -z "$ac_tt"; then
8327 elif $ac_last_try; then
8328 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8330 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8334 # For the awk script, D is an array of macro values keyed by name,
8335 # likewise P contains macro parameters if any. Preserve backslash
8336 # newline sequences.
8338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8340 s/.\{148\}/&'"$ac_delim"'/g
8343 s/^[ ]*#[ ]*define[ ][ ]*/ /
8350 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8352 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8357 D["\
1"]=" \
3\\\\\\n
"\\/p
8359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8364 s/.\{148\}/&'"$ac_delim"'/g
8369 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8372 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8374 ' <confdefs.h | sed '
8375 s/'"$ac_delim"'/"\\\
8376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8379 for (key in D) D_is_set[key] = 1
8382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8384 split(line, arg, " ")
8385 if (arg[1] == "#") {
8389 defundef
= substr
(arg
[1], 2)
8392 split(mac1
, mac2
, "(") #)
8394 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8395 if (D_is_set
[macro
]) {
8396 # Preserve the white space surrounding the "#".
8397 print prefix
"define", macro P
[macro
] D
[macro
]
8400 # Replace #undef with comments. This is necessary, for example,
8401 # in the case of _POSIX_SOURCE, which is predefined and required
8402 # on some systems where configure will not decide to define it.
8403 if (defundef
== "undef") {
8404 print
"/*", prefix defundef
, macro
, "*/"
8412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8413 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8414 fi # test -n "$CONFIG_HEADERS"
8417 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8422 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8424 case $ac_mode$ac_tag in
8426 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8427 :[FH
]-) ac_tag
=-:-;;
8428 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8445 -) ac_f
="$ac_tmp/stdin";;
8446 *) # Look for the file first in the build tree, then in the source tree
8447 # (if the path is not absolute). The absolute path cannot be DOS-style,
8448 # because $ac_f cannot contain `:'.
8452 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8454 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8456 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8457 as_fn_append ac_file_inputs
" '$ac_f'"
8460 # Let's still pretend it is `configure' which instantiates (i.e., don't
8461 # use $as_me), people would be surprised to read:
8462 # /* config.h. Generated by config.status. */
8463 configure_input
='Generated from '`
8464 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8466 if test x
"$ac_file" != x-
; then
8467 configure_input
="$ac_file. $configure_input"
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8469 $as_echo "$as_me: creating $ac_file" >&6;}
8471 # Neutralize special characters interpreted by sed in replacement strings.
8472 case $configure_input in #(
8473 *\
&* |
*\|
* |
*\\* )
8474 ac_sed_conf_input
=`$as_echo "$configure_input" |
8475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8476 *) ac_sed_conf_input
=$configure_input;;
8480 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8481 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8486 ac_dir
=`$as_dirname -- "$ac_file" ||
8487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8488 X"$ac_file" : 'X\(//\)[^/]' \| \
8489 X"$ac_file" : 'X\(//\)$' \| \
8490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8491 $as_echo X"$ac_file" |
8492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8509 as_dir
="$ac_dir"; as_fn_mkdir_p
8513 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8515 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8516 # A ".." for each directory in $ac_dir_suffix.
8517 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8518 case $ac_top_builddir_sub in
8519 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8520 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8523 ac_abs_top_builddir
=$ac_pwd
8524 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8525 # for backward compatibility:
8526 ac_top_builddir
=$ac_top_build_prefix
8529 .
) # We are building in place.
8531 ac_top_srcdir
=$ac_top_builddir_sub
8532 ac_abs_top_srcdir
=$ac_pwd ;;
8533 [\\/]* | ?
:[\\/]* ) # Absolute name.
8534 ac_srcdir
=$srcdir$ac_dir_suffix;
8535 ac_top_srcdir
=$srcdir
8536 ac_abs_top_srcdir
=$srcdir ;;
8538 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8539 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8540 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8542 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8552 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8553 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8557 [\\/$
]* | ?
:[\\/]* ) ;;
8558 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8563 # Neutralize VPATH when `$srcdir' = `.'.
8564 # Shell code in configure.ac might set extrasub.
8565 # FIXME: do we really want to maintain this feature?
8566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8567 ac_sed_extra="$ac_vpsub
8570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8572 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8573 s|@configure_input@|
$ac_sed_conf_input|
;t t
8574 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8575 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8576 s
&@srcdir@
&$ac_srcdir&;t t
8577 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8578 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8579 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8580 s
&@builddir@
&$ac_builddir&;t t
8581 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8582 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8583 s
&@INSTALL@
&$ac_INSTALL&;t t
8584 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8587 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8590 rm -f "$ac_tmp/stdin
"
8592 -) cat "$ac_tmp/out
" && rm -f "$ac_tmp/out
";;
8593 *) rm -f "$ac_file" && mv "$ac_tmp/out
" "$ac_file";;
8595 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8601 if test x"$ac_file" != x-; then
8603 $as_echo "/* $configure_input */" \
8604 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs"
8605 } >"$ac_tmp/config.h
" \
8606 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8607 if diff "$ac_file" "$ac_tmp/config.h
" >/dev/null 2>&1; then
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged
" >&5
8609 $as_echo "$as_me: $ac_file is unchanged
" >&6;}
8612 mv "$ac_tmp/config.h
" "$ac_file" \
8613 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8616 $as_echo "/* $configure_input */" \
8617 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs" \
8618 || as_fn_error $? "could not create
-" "$LINENO" 5
8620 # Compute "$ac_file"'s index in $config_headers.
8623 for _am_header in $config_headers :; do
8625 $_am_arg | $_am_arg:* )
8628 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8631 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8632 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8633 X"$_am_arg" : 'X\(//\)[^/]' \| \
8634 X"$_am_arg" : 'X\(//\)$' \| \
8635 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8636 $as_echo X"$_am_arg" |
8637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8653 s/.*/./; q'`/stamp-h$_am_stamp_count
8656 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing
$ac_file commands
" >&5
8657 $as_echo "$as_me: executing
$ac_file commands
" >&6;}
8662 case $ac_file$ac_mode in
8663 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || {
8664 # Older Autoconf quotes --file arguments for eval, but not when files
8665 # are listed without --file. Let's play safe and only enable the eval
8666 # if we detect the quoting.
8667 case $CONFIG_FILES in
8668 *\'*) eval set x "$CONFIG_FILES" ;;
8669 *) set x $CONFIG_FILES ;;
8674 # Strip MF so we end up with the name of the file.
8675 mf=`echo "$mf" | sed -e 's/:.*$//'`
8676 # Check whether this is an Automake generated Makefile or not.
8677 # We used to match only the files named 'Makefile.in', but
8678 # some people rename them; so instead we look at the file content.
8679 # Grep'ing the first line is not enough: some people post-process
8680 # each Makefile.in and add a new line on top of each file to say so.
8681 # Grep'ing the whole file is not good either: AIX grep has a line
8682 # limit of 2048, but all sed's we know have understand at least 4000.
8683 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8684 dirpart=`$as_dirname -- "$mf" ||
8685 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8686 X"$mf" : 'X\(//\)[^/]' \| \
8687 X"$mf" : 'X\(//\)$' \| \
8688 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8710 # Extract the definition of DEPDIR, am__include, and am__quote
8711 # from the Makefile without running 'make'.
8712 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8713 test -z "$DEPDIR" && continue
8714 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8715 test -z "$am__include" && continue
8716 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8717 # Find all dependency output files, they are included files with
8718 # $(DEPDIR) in their names. We invoke sed twice because it is the
8719 # simplest approach to changing $(DEPDIR) to its actual value in the
8721 for file in `sed -n "
8722 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8723 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8724 # Make sure the directory exists.
8725 test -f "$dirpart/$file" && continue
8726 fdir=`$as_dirname -- "$file" ||
8727 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8728 X"$file" : 'X\(//\)[^/]' \| \
8729 X"$file" : 'X\(//\)$' \| \
8730 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8749 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8750 # echo "creating
$dirpart/$file"
8751 echo '# dummy' > "$dirpart/$file"
8763 ac_clean_files=$ac_clean_files_save
8765 test $ac_write_fail = 0 ||
8766 as_fn_error $? "write failure creating
$CONFIG_STATUS" "$LINENO" 5
8769 # configure is writing to config.log, and then calls config.status.
8770 # config.status does its own redirection, appending to config.log.
8771 # Unfortunately, on DOS this fails, as config.log is still kept open
8772 # by configure, so config.status won't be able to write to it; its
8773 # output is simply discarded. So we exec the FD to /dev/null,
8774 # effectively closing config.log, so it can be properly (re)opened and
8775 # appended to by config.status. When coming back to configure, we
8776 # need to make the FD available again.
8777 if test "$no_create" != yes; then
8779 ac_config_status_args=
8780 test "$silent" = yes &&
8781 ac_config_status_args="$ac_config_status_args --quiet"
8783 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8786 # would make configure fail if this is the last instruction.
8787 $ac_cs_success || as_fn_exit 1
8789 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&5
8791 $as_echo "$as_me: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&2;}
8795 if test "$enable_dhcpv4o6" = "yes"; then
8796 DHCP_VERSIONS="DHCPv4
, DHCPv6 and DHCPv4-over-DHCPv6
"
8797 elif test "$enable_dhcpv6" != "no
"; then
8798 DHCP_VERSIONS="DHCPv4 and DHCPv6
"
8800 DHCP_VERSIONS="DHCPv4
"
8803 cat > config.report << END
8805 ISC DHCP source configure results:
8806 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8810 Version: $PACKAGE_VERSION
8818 DHCP versions: $DHCP_VERSIONS
8821 debug: $enable_debug
8822 failover: $enable_failover
8823 execute: $enable_execute
8824 binary-leases: $enable_binary_leases
8825 dhcpv6: $enable_dhcpv6
8826 delayed-ack: $enable_delayed_ack
8829 ATF unittests : $atf_path
8832 # TODO: Add Perl system tests
8834 if test "$atf_path" != "no
"
8836 echo "ATF_CFLAGS
: $ATF_CFLAGS" >> config.report
8837 echo "ATF_LDFLAGS
: $ATF_LDFLAGS" >> config.report
8838 echo "ATF_BIN
: $ATF_BIN" >> config.report
8845 echo Now you can type "make" to build ISC DHCP