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
639 DISTCHECK_ATF_CONFIGURE_FLAG
654 CROSS_COMPILING_FALSE
683 MAINTAINER_MODE_FALSE
697 INSTALL_STRIP_PROGRAM
739 program_transform_name
752 enable_option_checking
754 enable_maintainer_mode
755 enable_dependency_tracking
767 enable_secs_byteorder
785 with_bind_extra_config
792 ac_precious_vars
='build_alias
803 # Initialize some variables set by options.
805 ac_init_version
=false
806 ac_unrecognized_opts
=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name
=s
,x
,x
,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir
='${exec_prefix}/bin'
832 sbindir
='${exec_prefix}/sbin'
833 libexecdir
='${exec_prefix}/libexec'
834 datarootdir
='${prefix}/share'
835 datadir
='${datarootdir}'
836 sysconfdir
='${prefix}/etc'
837 sharedstatedir
='${prefix}/com'
838 localstatedir
='${prefix}/var'
839 includedir
='${prefix}/include'
840 oldincludedir
='/usr/include'
841 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir
='${datarootdir}/info'
847 libdir
='${exec_prefix}/lib'
848 localedir
='${datarootdir}/locale'
849 mandir
='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\
$ac_option
863 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 # Accept the important Cygnus configure options, so we can diagnose typos.
870 case $ac_dashdash$ac_option in
874 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
876 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
879 -build |
--build |
--buil |
--bui |
--bu)
880 ac_prev
=build_alias
;;
881 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
882 build_alias
=$ac_optarg ;;
884 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
885 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
886 ac_prev
=cache_file
;;
887 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
888 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
889 cache_file
=$ac_optarg ;;
892 cache_file
=config.cache
;;
894 -datadir |
--datadir |
--datadi |
--datad)
896 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
897 datadir
=$ac_optarg ;;
899 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
900 |
--dataroo |
--dataro |
--datar)
901 ac_prev
=datarootdir
;;
902 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
903 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
904 datarootdir
=$ac_optarg ;;
906 -disable-* |
--disable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=no
;;
922 -docdir |
--docdir |
--docdi |
--doc |
--do)
924 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
927 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
929 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
932 -enable-* |
--enable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error $?
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=\
$ac_optarg ;;
948 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
949 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
950 |
--exec |
--exe |
--ex)
951 ac_prev
=exec_prefix
;;
952 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
953 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
954 |
--exec=* |
--exe=* |
--ex=*)
955 exec_prefix
=$ac_optarg ;;
957 -gas |
--gas |
--ga |
--g)
958 # Obsolete; use --with-gas.
961 -help |
--help |
--hel |
--he |
-h)
963 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
964 ac_init_help
=recursive
;;
965 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
966 ac_init_help
=short
;;
968 -host |
--host |
--hos |
--ho)
969 ac_prev
=host_alias
;;
970 -host=* |
--host=* |
--hos=* |
--ho=*)
971 host_alias
=$ac_optarg ;;
973 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
975 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
977 htmldir
=$ac_optarg ;;
979 -includedir |
--includedir |
--includedi |
--included |
--include \
980 |
--includ |
--inclu |
--incl |
--inc)
981 ac_prev
=includedir
;;
982 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
983 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
984 includedir
=$ac_optarg ;;
986 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
988 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
989 infodir
=$ac_optarg ;;
991 -libdir |
--libdir |
--libdi |
--libd)
993 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
996 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
997 |
--libexe |
--libex |
--libe)
998 ac_prev
=libexecdir
;;
999 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1000 |
--libexe=* |
--libex=* |
--libe=*)
1001 libexecdir
=$ac_optarg ;;
1003 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1004 ac_prev
=localedir
;;
1005 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1006 localedir
=$ac_optarg ;;
1008 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1009 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1010 ac_prev
=localstatedir
;;
1011 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1012 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1013 localstatedir
=$ac_optarg ;;
1015 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1017 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1018 mandir
=$ac_optarg ;;
1020 -nfp |
--nfp |
--nf)
1021 # Obsolete; use --without-fp.
1024 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1025 |
--no-cr |
--no-c |
-n)
1028 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1029 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1032 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1033 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1034 |
--oldin |
--oldi |
--old |
--ol |
--o)
1035 ac_prev
=oldincludedir
;;
1036 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1037 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1038 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1039 oldincludedir
=$ac_optarg ;;
1041 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1043 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1044 prefix
=$ac_optarg ;;
1046 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1047 |
--program-pre |
--program-pr |
--program-p)
1048 ac_prev
=program_prefix
;;
1049 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1050 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1051 program_prefix
=$ac_optarg ;;
1053 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1054 |
--program-suf |
--program-su |
--program-s)
1055 ac_prev
=program_suffix
;;
1056 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1057 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1058 program_suffix
=$ac_optarg ;;
1060 -program-transform-name |
--program-transform-name \
1061 |
--program-transform-nam |
--program-transform-na \
1062 |
--program-transform-n |
--program-transform- \
1063 |
--program-transform |
--program-transfor \
1064 |
--program-transfo |
--program-transf \
1065 |
--program-trans |
--program-tran \
1066 |
--progr-tra |
--program-tr |
--program-t)
1067 ac_prev
=program_transform_name
;;
1068 -program-transform-name=* |
--program-transform-name=* \
1069 |
--program-transform-nam=* |
--program-transform-na=* \
1070 |
--program-transform-n=* |
--program-transform-=* \
1071 |
--program-transform=* |
--program-transfor=* \
1072 |
--program-transfo=* |
--program-transf=* \
1073 |
--program-trans=* |
--program-tran=* \
1074 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1075 program_transform_name
=$ac_optarg ;;
1077 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1079 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1080 pdfdir
=$ac_optarg ;;
1082 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1084 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1087 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1088 |
-silent |
--silent |
--silen |
--sile |
--sil)
1091 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1093 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1095 sbindir
=$ac_optarg ;;
1097 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1098 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1099 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1101 ac_prev
=sharedstatedir
;;
1102 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1103 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1104 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1106 sharedstatedir
=$ac_optarg ;;
1108 -site |
--site |
--sit)
1110 -site=* |
--site=* |
--sit=*)
1113 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1115 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1116 srcdir
=$ac_optarg ;;
1118 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1119 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1120 ac_prev
=sysconfdir
;;
1121 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1122 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1123 sysconfdir
=$ac_optarg ;;
1125 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1126 ac_prev
=target_alias
;;
1127 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1128 target_alias
=$ac_optarg ;;
1130 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1133 -version |
--version |
--versio |
--versi |
--vers |
-V)
1134 ac_init_version
=: ;;
1137 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error $?
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=\
$ac_optarg ;;
1152 -without-* |
--without-*)
1153 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error $?
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=no
;;
1169 # Obsolete; use --with-x.
1172 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1173 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1174 ac_prev
=x_includes
;;
1175 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1176 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1177 x_includes
=$ac_optarg ;;
1179 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1180 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1181 ac_prev
=x_libraries
;;
1182 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1183 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1184 x_libraries
=$ac_optarg ;;
1186 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1187 Try \`$0 --help' for more information"
1191 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1195 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1197 eval $ac_envvar=\
$ac_optarg
1198 export $ac_envvar ;;
1201 # FIXME: should be removed in autoconf 3.0.
1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211 if test -n "$ac_prev"; then
1212 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $?
"missing argument to $ac_option"
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1219 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 # Check all directory arguments for consistency.
1225 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir
1230 eval ac_val
=\$
$ac_var
1231 # Remove trailing slashes.
1234 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\
$ac_val;;
1237 # Be sure to have absolute directory names.
1239 [\\/$
]* | ?
:[\\/]* ) continue;;
1240 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1242 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1245 # There might be people who depend on the old broken behavior: `$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1250 target
=$target_alias
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x
; then
1254 if test "x$build_alias" = x
; then
1255 cross_compiling
=maybe
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1264 test "$silent" = yes && exec 6>/dev
/null
1267 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di
=`ls -di .` &&
1269 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $?
"working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $?
"pwd does not report name of working directory"
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted
=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir
=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1307 ac_srcdir_defaulted
=no
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1311 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1313 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1325 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 for ac_var
in $ac_precious_vars; do
1328 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1330 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1335 # Report the --help message.
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1341 \`configure' configures DHCP 4.3.4 to adapt to many kinds of systems.
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1348 Defaults for the options are specified in brackets.
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1372 For better control, use the options below.
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1399 --program-prefix=PREFIX prepend PREFIX to installed program names
1400 --program-suffix=SUFFIX append SUFFIX to installed program names
1401 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1404 --build=BUILD configure
for building on BUILD
[guessed
]
1405 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of DHCP 4.3.4:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1420 --disable-silent-rules verbose build output
(undo
: "make V=0")
1421 --enable-maintainer-mode
1422 enable make rules and dependencies not useful
(and
1423 sometimes confusing
) to the casual installer
1424 --enable-dependency-tracking
1425 do not reject slow dependency extractors
1426 --disable-dependency-tracking
1427 speeds up one-time build
1428 --enable-debug create a debug-only version of the software
(default
1430 --enable-failover enable support
for failover
(default is
yes)
1431 --enable-execute enable support
for execute
() in config
(default is
1433 --enable-tracing enable support
for server activity tracing
(default
1435 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1436 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1437 --enable-dhcpv4o6 enable support
for DHCPv4-over-DHCPv6
(default is
1439 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1440 --enable-early-chroot enable chrooting prior to configuration
(default is
1442 --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets
(default is
1444 --enable-use-sockets use the standard BSD socket API
(default is no
)
1445 --enable-secs-byteorder Correct bad byteorders
in the secs field
(default is
1447 --enable-log-pid Include PIDs
in syslog messages
(default is no
).
1448 --enable-binary-leases enable support
for binary insertion of leases
1450 --enable-kqueue use BSD kqueue
(default is no
)
1451 --enable-epoll use Linux epoll
(default is no
)
1452 --enable-devpoll use
/dev
/poll
(default is no
)
1455 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1456 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1457 --with-atf=PATH specify location where atf was installed
(or
"bind")
1458 --with-srv-lease-file=PATH
1459 File
for dhcpd leases
(default is
1460 LOCALSTATEDIR
/db
/dhcpd.leases
)
1461 --with-srv6-lease-file=PATH
1462 File
for dhcpd6 leases
(default is
1463 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1464 --with-cli-lease-file=PATH
1465 File
for dhclient leases
(default is
1466 LOCALSTATEDIR
/db
/dhclient.leases
)
1467 --with-cli6-lease-file=PATH
1468 File
for dhclient6 leases
(default is
1469 LOCALSTATEDIR
/db
/dhclient6.leases
)
1470 --with-srv-pid-file=PATH
1471 File
for dhcpd process information
(default is
1472 LOCALSTATEDIR
/run
/dhcpd.pid
)
1473 --with-srv6-pid-file=PATH
1474 File
for dhcpd6 process information
(default is
1475 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1476 --with-cli-pid-file=PATH
1477 File
for dhclient process information
(default is
1478 LOCALSTATEDIR
/run
/dhclient.pid
)
1479 --with-cli6-pid-file=PATH
1480 File
for dhclient6 process information
(default is
1481 LOCALSTATEDIR
/run
/dhclient6.pid
)
1482 --with-relay-pid-file=PATH
1483 File
for dhcrelay process information
(default is
1484 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1485 --with-relay6-pid-file=PATH
1486 File
for dhcrelay6 process information
(default is
1487 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1488 --with-randomdev=PATH Path
for random device
(default is
/dev
/random
)
1489 --with-bind-extra-config
1490 configure
bind librairies with some extra options
1492 --with-libbind=PATH
bind includes and libraries are
in PATH
1493 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1494 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1496 --with-ldap-gssapi enable krb
5/gssapi authentication
for OpenLDAP
in
1497 dhcpd
(default is no
)
1498 --with-ldapcasa enable LDAP CASA auth support
in dhcpd
(default is
1501 Some influential environment variables
:
1502 CC C compiler
command
1503 CFLAGS C compiler flags
1504 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1505 nonstandard directory
<lib dir
>
1506 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1507 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1508 you have headers
in a nonstandard directory
<include dir
>
1511 Use these variables to override the choices made by
`configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to <dhcp-users@isc.org>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir=$ac_pwd
1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir=$ac_top_build_prefix
1544 .) # We are building in place.
1546 ac_top_srcdir=$ac_top_builddir_sub
1547 ac_abs_top_srcdir=$ac_pwd ;;
1548 [\\/]* | ?:[\\/]* ) # Absolute name.
1549 ac_srcdir=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir=$srcdir
1551 ac_abs_top_srcdir=$srcdir ;;
1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" || { ac_status=$?; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" || { ac_status=$?; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 DHCP configure 4.3.4
1578 generated by GNU Autoconf 2.69
1580 Copyright (C) 2012 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext
1598 if { { ac_try="$ac_compile"
1600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1601 *) ac_try_echo
=$ac_try;;
1603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err
; then
1608 grep -v '^ *+' conftest.err
>conftest.er1
1609 cat conftest.er1
>&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.
$ac_objext; then :
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.
$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status
$ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i && {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1669 # the include files in INCLUDES and setting the cache variable VAR
1671 ac_fn_c_check_header_mongrel ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if eval \${$3+:} false; then :
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1684 # Is the header compilable?
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1686 $as_echo_n "checking $2 usability... " >&6; }
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1692 if ac_fn_c_try_compile "$LINENO"; then :
1693 ac_header_compiler=yes
1695 ac_header_compiler=no
1697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1699 $as_echo "$ac_header_compiler" >&6; }
1701 # Is the header present?
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1703 $as_echo_n "checking $2 presence... " >&6; }
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1708 if ac_fn_c_try_cpp "$LINENO"; then :
1709 ac_header_preproc=yes
1711 ac_header_preproc=no
1713 rm -f conftest.err conftest.i conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1715 $as_echo "$ac_header_preproc" >&6; }
1717 # So? What about this header?
1718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 ( $as_echo "## --------------------------------- ##
1737 ## Report this to dhcp-users@isc.org ##
1738 ## --------------------------------- ##"
1739 ) | sed "s/^/$as_me: WARNING: /" >&2
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1747 eval "$3=\$ac_header_compiler"
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_header_mongrel
1757 # ac_fn_c_try_run LINENO
1758 # ----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1760 # that executables *can* be run.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_link"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>&5
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1775 { { case "(($ac_try" in
1776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_try") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; }; }; then :
1787 $as_echo "$as_me: program exited with status $ac_status" >&5
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 ac_retval=$ac_status
1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile "$LINENO"; then :
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_compile
1830 # ac_fn_c_find_intX_t LINENO BITS VAR
1831 # -----------------------------------
1832 # Finds a signed integer type with width BITS, setting cache variable VAR
1834 ac_fn_c_find_intX_t ()
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1838 $as_echo_n "checking for int$2_t... " >&6; }
1839 if eval \${$3+:} false; then :
1840 $as_echo_n "(cached) " >&6
1843 # Order is important - never check a type that is potentially smaller
1844 # than half of the expected target width.
1845 for ac_type in int$2_t 'int' 'long int' \
1846 'long long int' 'short int' 'signed char'; do
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1849 $ac_includes_default
1850 enum { N = $2 / 2 - 1 };
1854 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1856 return test_array [0];
1862 if ac_fn_c_try_compile "$LINENO"; then :
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1865 $ac_includes_default
1866 enum { N = $2 / 2 - 1 };
1870 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1871 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1873 return test_array [0];
1879 if ac_fn_c_try_compile "$LINENO"; then :
1886 eval "$3=\$ac_type" ;;
1889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892 if eval test \"x\$"$3"\" = x"no"; then :
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 } # ac_fn_c_find_intX_t
1906 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1907 # -------------------------------------------
1908 # Tests whether TYPE exists after having included INCLUDES, setting cache
1909 # variable VAR accordingly.
1910 ac_fn_c_check_type ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1931 if ac_fn_c_try_compile "$LINENO"; then :
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1944 if ac_fn_c_try_compile "$LINENO"; then :
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_check_type
1960 # ac_fn_c_find_uintX_t LINENO BITS VAR
1961 # ------------------------------------
1962 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1964 ac_fn_c_find_uintX_t ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1968 $as_echo_n "checking for uint$2_t... " >&6; }
1969 if eval \${$3+:} false; then :
1970 $as_echo_n "(cached) " >&6
1973 # Order is important - never check a type that is potentially smaller
1974 # than half of the expected target width.
1975 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1976 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1979 $ac_includes_default
1983 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1985 return test_array [0];
1991 if ac_fn_c_try_compile "$LINENO"; then :
1996 eval "$3=\$ac_type" ;;
1999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2000 if eval test \"x\$"$3"\" = x"no"; then :
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 } # ac_fn_c_find_uintX_t
2014 # ac_fn_c_try_link LINENO
2015 # -----------------------
2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 rm -f conftest.$ac_objext conftest$ac_exeext
2021 if { { ac_try="$ac_link"
2023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2024 *) ac_try_echo
=$ac_try;;
2026 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 $as_echo "$ac_try_echo"; } >&5
2028 (eval "$ac_link") 2>conftest.err
2030 if test -s conftest.err
; then
2031 grep -v '^ *+' conftest.err
>conftest.er1
2032 cat conftest.er1
>&5
2033 mv -f conftest.er1 conftest.err
2035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } && {
2037 test -z "$ac_c_werror_flag" ||
2038 test ! -s conftest.err
2039 } && test -s conftest
$ac_exeext && {
2040 test "$cross_compiling" = yes ||
2041 test -x conftest
$ac_exeext
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.
$ac_ext >&5
2050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2052 # interfere with the next link command; also delete a directory that is
2053 # left behind by Apple's compiler. We do this before executing the actions.
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 as_fn_set_status
$ac_retval
2058 } # ac_fn_c_try_link
2060 # ac_fn_c_check_func LINENO FUNC VAR
2061 # ----------------------------------
2062 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2063 ac_fn_c_check_func
()
2065 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067 $as_echo_n "checking for $2... " >&6; }
2068 if eval \
${$3+:} false
; then :
2069 $as_echo_n "(cached) " >&6
2071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2073 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2075 #define $2 innocuous_$2
2077 /* System header to define __stub macros and hopefully few prototypes,
2078 which can conflict with char $2 (); below.
2079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2080 <limits.h> exists even on freestanding compilers. */
2083 # include <limits.h>
2085 # include <assert.h>
2090 /* Override any GCC internal prototype to avoid an error.
2091 Use char because int might match the return type of a GCC
2092 builtin and then its argument prototype would still apply. */
2097 /* The GNU C library defines this for functions which it implements
2098 to always fail with ENOSYS. Some functions are actually named
2099 something starting with __ and the normal name is an alias. */
2100 #if defined __stub_$2 || defined __stub___$2
2112 if ac_fn_c_try_link
"$LINENO"; then :
2117 rm -f core conftest.err conftest.
$ac_objext \
2118 conftest
$ac_exeext conftest.
$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 } # ac_fn_c_check_func
2127 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2128 # ----------------------------------------------------
2129 # Tries to find if the field MEMBER exists in type AGGR, after including
2130 # INCLUDES, setting cache variable VAR accordingly.
2131 ac_fn_c_check_member
()
2133 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2135 $as_echo_n "checking for $2.$3... " >&6; }
2136 if eval \
${$4+:} false
; then :
2137 $as_echo_n "(cached) " >&6
2139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2152 if ac_fn_c_try_compile
"$LINENO"; then :
2155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2162 if (sizeof ac_aggr.$3)
2168 if ac_fn_c_try_compile
"$LINENO"; then :
2173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 } # ac_fn_c_check_member
2184 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2185 # --------------------------------------------
2186 # Tries to find the compile-time value of EXPR in a program that includes
2187 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2189 ac_fn_c_compute_int
()
2191 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2192 if test "$cross_compiling" = yes; then
2193 # Depending upon the size, compute the lo and hi bounds.
2194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h. */
2200 static int test_array [1 - 2 * !(($2) >= 0)];
2202 return test_array [0];
2208 if ac_fn_c_try_compile
"$LINENO"; then :
2211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2217 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2219 return test_array [0];
2225 if ac_fn_c_try_compile
"$LINENO"; then :
2226 ac_hi
=$ac_mid; break
2228 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2229 if test $ac_lo -le $ac_mid; then
2233 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2244 static int test_array [1 - 2 * !(($2) < 0)];
2246 return test_array [0];
2252 if ac_fn_c_try_compile
"$LINENO"; then :
2255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2256 /* end confdefs.h. */
2261 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2263 return test_array [0];
2269 if ac_fn_c_try_compile
"$LINENO"; then :
2270 ac_lo
=$ac_mid; break
2272 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2273 if test $ac_mid -le $ac_hi; then
2277 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2287 # Binary search between lo and hi bounds.
2288 while test "x$ac_lo" != "x$ac_hi"; do
2289 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2296 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2298 return test_array [0];
2304 if ac_fn_c_try_compile
"$LINENO"; then :
2307 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2312 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2317 /* end confdefs.h. */
2319 static long int longval () { return $2; }
2320 static unsigned long int ulongval () { return $2; }
2327 FILE *f = fopen ("conftest.val", "w");
2332 long int i = longval ();
2335 fprintf (f, "%ld", i);
2339 unsigned long int i = ulongval ();
2342 fprintf (f, "%lu", i);
2344 /* Do not output a trailing newline, as this causes \r\n confusion
2345 on some platforms. */
2346 return ferror (f) || fclose (f) != 0;
2352 if ac_fn_c_try_run
"$LINENO"; then :
2353 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2357 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2358 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 as_fn_set_status
$ac_retval
2365 } # ac_fn_c_compute_int
2366 cat >config.log
<<_ACEOF
2367 This file contains any messages produced by compilers while
2368 running configure, to aid debugging if configure makes a mistake.
2370 It was created by DHCP $as_me 4.3.4, which was
2371 generated by GNU Autoconf 2.69. Invocation command line was
2383 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2384 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2385 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2386 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2387 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2389 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2390 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2392 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2393 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2394 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2395 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2396 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2397 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2398 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 $as_echo "PATH: $as_dir"
2423 # Keep a trace of the command line.
2424 # Strip out --no-create and --no-recursion so they do not pile up.
2425 # Strip out --silent because we don't want to record it for future runs.
2426 # Also quote any args containing shell meta-characters.
2427 # Make two passes to allow for proper duplicate-argument suppression.
2431 ac_must_keep_next
=false
2437 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2438 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2439 |
-silent |
--silent |
--silen |
--sile |
--sil)
2442 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2445 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2447 as_fn_append ac_configure_args1
" '$ac_arg'"
2448 if test $ac_must_keep_next = true
; then
2449 ac_must_keep_next
=false
# Got value, back to normal.
2452 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2453 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2454 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2455 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2456 case "$ac_configure_args0 " in
2457 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2460 -* ) ac_must_keep_next
=true
;;
2463 as_fn_append ac_configure_args
" '$ac_arg'"
2468 { ac_configure_args0
=; unset ac_configure_args0
;}
2469 { ac_configure_args1
=; unset ac_configure_args1
;}
2471 # When interrupted or exit'd, cleanup temporary files, and complete
2472 # config.log. We remove comments because anyway the quotes in there
2473 # would cause problems or look ugly.
2474 # WARNING: Use '\'' to represent an apostrophe within the trap.
2475 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2476 trap 'exit_status=$?
2477 # Save into config.log some information that might help in debugging.
2481 $as_echo "## ---------------- ##
2482 ## Cache variables. ##
2483 ## ---------------- ##"
2485 # The following way of writing the cache mishandles newlines in values,
2487 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2488 eval ac_val=\$$ac_var
2492 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2496 _ | IFS | as_nl) ;; #(
2497 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2498 *) { eval $ac_var=; unset $ac_var;} ;;
2503 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2504 *${as_nl}ac_space=\ *)
2506 "s/'\''/'\''\\\\'\'''\''/g;
2507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2517 $as_echo "## ----------------- ##
2518 ## Output variables. ##
2519 ## ----------------- ##"
2521 for ac_var in $ac_subst_vars
2523 eval ac_val=\$$ac_var
2525 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2527 $as_echo "$ac_var='\''$ac_val'\''"
2531 if test -n "$ac_subst_files"; then
2532 $as_echo "## ------------------- ##
2533 ## File substitutions. ##
2534 ## ------------------- ##"
2536 for ac_var
in $ac_subst_files
2538 eval ac_val
=\$
$ac_var
2540 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2542 $as_echo "$ac_var='\''$ac_val'\''"
2547 if test -s confdefs.h; then
2548 $as_echo "## ----------- ##
2555 test "$ac_signal" != 0 &&
2556 $as_echo "$as_me: caught signal $ac_signal"
2557 $as_echo "$as_me: exit $exit_status"
2559 rm -f core *.core core.conftest.* &&
2560 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2563 for ac_signal
in 1 2 13 15; do
2564 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2568 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2569 rm -f -r conftest
* confdefs.h
2571 $as_echo "/* confdefs.h */" > confdefs.h
2573 # Predefined preprocessor variables.
2575 cat >>confdefs.h
<<_ACEOF
2576 #define PACKAGE_NAME "$PACKAGE_NAME"
2579 cat >>confdefs.h
<<_ACEOF
2580 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2583 cat >>confdefs.h
<<_ACEOF
2584 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2587 cat >>confdefs.h
<<_ACEOF
2588 #define PACKAGE_STRING "$PACKAGE_STRING"
2591 cat >>confdefs.h
<<_ACEOF
2592 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2595 cat >>confdefs.h
<<_ACEOF
2596 #define PACKAGE_URL "$PACKAGE_URL"
2600 # Let the site file select an alternate cache file if it wants to.
2601 # Prefer an explicitly selected file to automatically selected ones.
2604 if test -n "$CONFIG_SITE"; then
2605 # We do not want a PATH search for config.site.
2606 case $CONFIG_SITE in #((
2607 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2608 */*) ac_site_file1
=$CONFIG_SITE;;
2609 *) ac_site_file1
=.
/$CONFIG_SITE;;
2611 elif test "x$prefix" != xNONE
; then
2612 ac_site_file1
=$prefix/share
/config.site
2613 ac_site_file2
=$prefix/etc
/config.site
2615 ac_site_file1
=$ac_default_prefix/share
/config.site
2616 ac_site_file2
=$ac_default_prefix/etc
/config.site
2618 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2620 test "x$ac_site_file" = xNONE
&& continue
2621 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2623 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2624 sed 's/^/| /' "$ac_site_file" >&5
2626 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2628 as_fn_error $?
"failed to load site script $ac_site_file
2629 See \`config.log' for more details" "$LINENO" 5; }
2633 if test -r "$cache_file"; then
2634 # Some versions of bash will fail to source /dev/null (special files
2635 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2636 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2638 $as_echo "$as_me: loading cache $cache_file" >&6;}
2640 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2641 *) .
"./$cache_file";;
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2646 $as_echo "$as_me: creating cache $cache_file" >&6;}
2650 # Check that the precious variables saved in the cache have kept the same
2652 ac_cache_corrupted
=false
2653 for ac_var
in $ac_precious_vars; do
2654 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2655 eval ac_new_set
=\
$ac_env_${ac_var}_set
2656 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2657 eval ac_new_val
=\
$ac_env_${ac_var}_value
2658 case $ac_old_set,$ac_new_set in
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2661 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2662 ac_cache_corrupted
=: ;;
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2665 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2666 ac_cache_corrupted
=: ;;
2669 if test "x$ac_old_val" != "x$ac_new_val"; then
2670 # differences in whitespace do not lead to failure.
2671 ac_old_val_w
=`echo x $ac_old_val`
2672 ac_new_val_w
=`echo x $ac_new_val`
2673 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2675 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2676 ac_cache_corrupted
=:
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2679 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2680 eval $ac_var=\
$ac_old_val
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2683 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2685 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2688 # Pass precious variables to config.status.
2689 if test "$ac_new_set" = set; then
2691 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2692 *) ac_arg
=$ac_var=$ac_new_val ;;
2694 case " $ac_configure_args " in
2695 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2696 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2700 if $ac_cache_corrupted; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2704 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2705 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2707 ## -------------------- ##
2708 ## Main body of script. ##
2709 ## -------------------- ##
2712 ac_cpp
='$CPP $CPPFLAGS'
2713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2719 # we specify "foreign" to avoid having to have the GNU mandated files,
2720 # like AUTHORS, COPYING, and such
2721 am__api_version
='1.15'
2724 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2725 if test -f "$ac_dir/install-sh"; then
2727 ac_install_sh
="$ac_aux_dir/install-sh -c"
2729 elif test -f "$ac_dir/install.sh"; then
2731 ac_install_sh
="$ac_aux_dir/install.sh -c"
2733 elif test -f "$ac_dir/shtool"; then
2735 ac_install_sh
="$ac_aux_dir/shtool install -c"
2739 if test -z "$ac_aux_dir"; then
2740 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2743 # These three variables are undocumented and unsupported,
2744 # and are intended to be withdrawn in a future Autoconf release.
2745 # They can cause serious problems if a builder's source tree is in a directory
2746 # whose full name contains unusual characters.
2747 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2748 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2749 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2752 # Find a good install program. We prefer a C program (faster),
2753 # so one script is as good as another. But avoid the broken or
2754 # incompatible versions:
2755 # SysV /etc/install, /usr/sbin/install
2756 # SunOS /usr/etc/install
2757 # IRIX /sbin/install
2759 # AmigaOS /C/install, which installs bootblocks on floppy discs
2760 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2761 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2762 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2763 # OS/2's system install, which has a completely different semantic
2764 # ./install, which can be erroneously created by make from ./install.sh.
2765 # Reject install programs that cannot install multiple files.
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2767 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2768 if test -z "$INSTALL"; then
2769 if ${ac_cv_path_install+:} false
; then :
2770 $as_echo_n "(cached) " >&6
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 # Account for people who put trailing slashes in PATH elements.
2778 case $as_dir/ in #((
2779 .
/ | .
// |
/[cC
]/* | \
2780 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2781 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2784 # OSF1 and SCO ODT 3.0 have their own names for install.
2785 # Don't use installbsd from OSF since it installs stuff as root
2787 for ac_prog
in ginstall scoinst
install; do
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2790 if test $ac_prog = install &&
2791 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2792 # AIX install. It has an incompatible calling convention.
2794 elif test $ac_prog = install &&
2795 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2796 # program-specific install script used by HP pwplus--don't use.
2799 rm -rf conftest.one conftest.two conftest.dir
2800 echo one
> conftest.one
2801 echo two
> conftest.two
2803 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2804 test -s conftest.one
&& test -s conftest.two
&&
2805 test -s conftest.dir
/conftest.one
&&
2806 test -s conftest.dir
/conftest.two
2808 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2821 rm -rf conftest.one conftest.two conftest.dir
2824 if test "${ac_cv_path_install+set}" = set; then
2825 INSTALL
=$ac_cv_path_install
2827 # As a last resort, use the slow shell script. Don't cache a
2828 # value for INSTALL within a source directory, because that will
2829 # break other packages using the cache if that directory is
2830 # removed, or if the value is a relative name.
2831 INSTALL
=$ac_install_sh
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2835 $as_echo "$INSTALL" >&6; }
2837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2838 # It thinks the first close brace ends the variable substitution.
2839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2843 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2846 $as_echo_n "checking whether build environment is sane... " >&6; }
2847 # Reject unsafe characters in $srcdir or the absolute working directory
2848 # name. Accept space and tab only in the latter.
2852 *[\\\"\
#\$\&\'\`$am_lf]*)
2853 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2856 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2857 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2860 # Do 'set' in a subshell so we don't clobber the current shell's
2861 # arguments. Must try -L first in case configure is actually a
2862 # symlink; some systems play weird games with the mod time of symlinks
2863 # (eg FreeBSD returns the mod time of the symlink's containing
2867 for am_try
in 1 2; do
2868 echo "timestamp, slept: $am_has_slept" > conftest.
file
2869 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2870 if test "$*" = "X"; then
2872 set X
`ls -t "$srcdir/configure" conftest.file`
2874 if test "$*" != "X $srcdir/configure conftest.file" \
2875 && test "$*" != "X conftest.file $srcdir/configure"; then
2877 # If neither matched, then we have a broken ls. This can happen
2878 # if, for instance, CONFIG_SHELL is bash and it inherits a
2879 # broken ls alias from the environment. This has actually
2880 # happened. Such a system could not be considered "sane".
2881 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2882 alias in your environment" "$LINENO" 5
2884 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2891 test "$2" = conftest.
file
2897 as_fn_error $?
"newly created file is older than distributed files!
2898 Check your system clock" "$LINENO" 5
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2901 $as_echo "yes" >&6; }
2902 # If we didn't sleep, we still need to ensure time stamps of config.status and
2903 # generated files are strictly newer.
2905 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2912 test "$program_prefix" != NONE
&&
2913 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2914 # Use a double $ so make ignores it.
2915 test "$program_suffix" != NONE
&&
2916 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2917 # Double any \ or $.
2918 # By default was `s,x,x', remove it if useless.
2919 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2920 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2922 # Expand $ac_aux_dir to an absolute path.
2923 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2925 if test x
"${MISSING+set}" != xset
; then
2928 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2930 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2933 # Use eval to expand $SHELL
2934 if eval "$MISSING --is-lightweight"; then
2935 am_missing_run
="$MISSING "
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2939 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2942 if test x
"${install_sh+set}" != xset
; then
2945 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2947 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2951 # Installed binaries are usually stripped using 'strip' when the user
2952 # run "make install-strip". However 'strip' might not be the right
2953 # tool to use in cross-compilation environments, therefore Automake
2954 # will honor the 'STRIP' environment variable to overrule this program.
2955 if test "$cross_compiling" != no
; then
2956 if test -n "$ac_tool_prefix"; then
2957 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2958 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_STRIP+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$STRIP"; then
2965 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_exec_ext
in '' $ac_executable_extensions; do
2973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2974 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 STRIP
=$ac_cv_prog_STRIP
2985 if test -n "$STRIP"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2987 $as_echo "$STRIP" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2995 if test -z "$ac_cv_prog_STRIP"; then
2997 # Extract the first word of "strip", so it can be a program name with args.
2998 set dummy strip
; ac_word
=$2
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3000 $as_echo_n "checking for $ac_word... " >&6; }
3001 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3002 $as_echo_n "(cached) " >&6
3004 if test -n "$ac_ct_STRIP"; then
3005 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir
=.
3012 for ac_exec_ext
in '' $ac_executable_extensions; do
3013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3014 ac_cv_prog_ac_ct_STRIP
="strip"
3015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3025 if test -n "$ac_ct_STRIP"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3027 $as_echo "$ac_ct_STRIP" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3033 if test "x$ac_ct_STRIP" = x
; then
3036 case $cross_compiling:$ac_tool_warned in
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3040 ac_tool_warned
=yes ;;
3045 STRIP
="$ac_cv_prog_STRIP"
3049 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3052 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3053 if test -z "$MKDIR_P"; then
3054 if ${ac_cv_path_mkdir+:} false
; then :
3055 $as_echo_n "(cached) " >&6
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_prog
in mkdir gmkdir
; do
3063 for ac_exec_ext
in '' $ac_executable_extensions; do
3064 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3065 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3066 'mkdir (GNU coreutils) '* | \
3067 'mkdir (coreutils) '* | \
3068 'mkdir (fileutils) '4.1*)
3069 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3079 test -d .
/--version && rmdir .
/--version
3080 if test "${ac_cv_path_mkdir+set}" = set; then
3081 MKDIR_P
="$ac_cv_path_mkdir -p"
3083 # As a last resort, use the slow shell script. Don't cache a
3084 # value for MKDIR_P within a source directory, because that will
3085 # break other packages using the cache if that directory is
3086 # removed, or if the value is a relative name.
3087 MKDIR_P
="$ac_install_sh -d"
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3091 $as_echo "$MKDIR_P" >&6; }
3093 for ac_prog
in gawk mawk nawk
awk
3095 # Extract the first word of "$ac_prog", so it can be a program name with args.
3096 set dummy
$ac_prog; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_AWK+:} false
; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$AWK"; then
3103 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3112 ac_cv_prog_AWK
="$ac_prog"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$AWK"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3125 $as_echo "$AWK" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3132 test -n "$AWK" && break
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3136 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3138 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3139 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3140 $as_echo_n "(cached) " >&6
3142 cat >conftest.
make <<\_ACEOF
3145 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3147 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3148 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3150 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3152 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3156 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3158 $as_echo "yes" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3163 SET_MAKE
="MAKE=${MAKE-make}"
3166 rm -rf .tst
2>/dev
/null
3167 mkdir .tst
2>/dev
/null
3168 if test -d .tst
; then
3173 rmdir .tst
2>/dev
/null
3175 # Check whether --enable-silent-rules was given.
3176 if test "${enable_silent_rules+set}" = set; then :
3177 enableval
=$enable_silent_rules;
3180 case $enable_silent_rules in # (((
3181 yes) AM_DEFAULT_VERBOSITY
=0;;
3182 no
) AM_DEFAULT_VERBOSITY
=1;;
3183 *) AM_DEFAULT_VERBOSITY
=1;;
3185 am_make
=${MAKE-make}
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3187 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3188 if ${am_cv_make_support_nested_variables+:} false
; then :
3189 $as_echo_n "(cached) " >&6
3191 if $as_echo 'TRUE=$(BAR$(V))
3197 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3198 am_cv_make_support_nested_variables
=yes
3200 am_cv_make_support_nested_variables
=no
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3204 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3205 if test $am_cv_make_support_nested_variables = yes; then
3207 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3209 AM_V
=$AM_DEFAULT_VERBOSITY
3210 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3214 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3215 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3216 # is not polluted with repeated "-I."
3217 am__isrc
=' -I$(srcdir)'
3218 # test to see if srcdir already configured
3219 if test -f $srcdir/config.status
; then
3220 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3224 # test whether we have cygpath
3225 if test -z "$CYGPATH_W"; then
3226 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3227 CYGPATH_W
='cygpath -w'
3234 # Define the identity of the package.
3239 cat >>confdefs.h
<<_ACEOF
3240 #define PACKAGE "$PACKAGE"
3244 cat >>confdefs.h
<<_ACEOF
3245 #define VERSION "$VERSION"
3248 # Some tools Automake needs.
3250 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3253 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3256 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3259 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3262 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3264 # For better backward compatibility. To be removed once Automake 1.9.x
3265 # dies out for good. For more background, see:
3266 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3267 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3268 mkdir_p
='$(MKDIR_P)'
3270 # We need awk for the "check" target (and possibly the TAP driver). The
3271 # system "awk" is bad on some platforms.
3272 # Always define AMTAR for backward compatibility. Yes, it's still used
3273 # in the wild :-( We should find a proper way to deprecate it ...
3277 # We'll loop over all known methods to create a tar archive until one works.
3278 _am_tools
='gnutar pax cpio none'
3280 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3287 # POSIX will say in a future version that running "rm -f" with no argument
3288 # is OK; and we want to be able to make that assumption in our Makefile
3289 # recipes. So use an aggressive probe to check that the usage we want is
3290 # actually supported "in the wild" to an acceptable degree.
3291 # See automake bug#10828.
3292 # To make any issue more visible, cause the running configure to be aborted
3293 # by default if the 'rm' program in use doesn't match our expectations; the
3294 # user can still override this though.
3295 if rm -f && rm -fr && rm -rf; then : OK
; else
3299 Your 'rm' program seems unable to run without file operands specified
3300 on the command line, even when the '-f' option is present. This is contrary
3301 to the behaviour of most rm programs out there, and not conforming with
3302 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3304 Please tell bug-automake@gnu.org about your system, including the value
3305 of your $PATH and any error possibly output before this message. This
3306 can help us improve future automake versions.
3309 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3310 echo 'Configuration will proceed anyway, since you have set the' >&2
3311 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3315 Aborting the configuration process, to ensure you take notice of the issue.
3317 You can download and install GNU coreutils to get an 'rm' implementation
3318 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3320 If you want to complete the configuration process using your problematic
3321 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3322 to "yes", and re-run configure.
3325 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3330 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
3331 # the configure and makefiles. Without it users doing things that
3332 # change the timestamps on the code, like checking it into a cvs
3333 # tree, could trigger a rebuild of the infrastructure files which
3334 # might fail if they don't have the correct tools.
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3337 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3338 # Check whether --enable-maintainer-mode was given.
3339 if test "${enable_maintainer_mode+set}" = set; then :
3340 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3342 USE_MAINTAINER_MODE
=no
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3346 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3347 if test $USE_MAINTAINER_MODE = yes; then
3348 MAINTAINER_MODE_TRUE
=
3349 MAINTAINER_MODE_FALSE
='#'
3351 MAINTAINER_MODE_TRUE
='#'
3352 MAINTAINER_MODE_FALSE
=
3355 MAINT
=$MAINTAINER_MODE_TRUE
3359 # Make sure we can run config.sub.
3360 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3361 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3364 $as_echo_n "checking build system type... " >&6; }
3365 if ${ac_cv_build+:} false
; then :
3366 $as_echo_n "(cached) " >&6
3368 ac_build_alias
=$build_alias
3369 test "x$ac_build_alias" = x
&&
3370 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3371 test "x$ac_build_alias" = x
&&
3372 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3373 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3374 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3378 $as_echo "$ac_cv_build" >&6; }
3379 case $ac_cv_build in
3381 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3384 ac_save_IFS
=$IFS; IFS
='-'
3390 # Remember, the first character of IFS is used to create $*,
3391 # except with old shells:
3394 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3398 $as_echo_n "checking host system type... " >&6; }
3399 if ${ac_cv_host+:} false
; then :
3400 $as_echo_n "(cached) " >&6
3402 if test "x$host_alias" = x
; then
3403 ac_cv_host
=$ac_cv_build
3405 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3406 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3411 $as_echo "$ac_cv_host" >&6; }
3414 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3417 ac_save_IFS
=$IFS; IFS
='-'
3423 # Remember, the first character of IFS is used to create $*,
3424 # except with old shells:
3427 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3431 # We want to turn on warnings if we are using gcc and the user did
3432 # not specify CFLAGS. The autoconf check for the C compiler sets the
3433 # CFLAGS if gcc is used, so we will save it before we run that check.
3434 SAVE_CFLAGS
="$CFLAGS"
3436 # Now find our C compiler.
3438 ac_cpp
='$CPP $CPPFLAGS'
3439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3442 if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3444 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3446 $as_echo_n "checking for $ac_word... " >&6; }
3447 if ${ac_cv_prog_CC+:} false
; then :
3448 $as_echo_n "(cached) " >&6
3450 if test -n "$CC"; then
3451 ac_cv_prog_CC
="$CC" # Let the user override the test.
3453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3457 test -z "$as_dir" && as_dir
=.
3458 for ac_exec_ext
in '' $ac_executable_extensions; do
3459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 if test -n "$CC"; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3473 $as_echo "$CC" >&6; }
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3481 if test -z "$ac_cv_prog_CC"; then
3483 # Extract the first word of "gcc", so it can be a program name with args.
3484 set dummy gcc
; ac_word
=$2
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3486 $as_echo_n "checking for $ac_word... " >&6; }
3487 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3488 $as_echo_n "(cached) " >&6
3490 if test -n "$ac_ct_CC"; then
3491 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir
=.
3498 for ac_exec_ext
in '' $ac_executable_extensions; do
3499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_prog_ac_ct_CC
="gcc"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3511 if test -n "$ac_ct_CC"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3513 $as_echo "$ac_ct_CC" >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3516 $as_echo "no" >&6; }
3519 if test "x$ac_ct_CC" = x
; then
3522 case $cross_compiling:$ac_tool_warned in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3526 ac_tool_warned
=yes ;;
3534 if test -z "$CC"; then
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3537 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if ${ac_cv_prog_CC+:} false
; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$CC"; then
3544 ac_cv_prog_CC
="$CC" # Let the user override the test.
3546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir
=.
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test -n "$CC"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3575 if test -z "$CC"; then
3576 # Extract the first word of "cc", so it can be a program name with args.
3577 set dummy cc
; ac_word
=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if ${ac_cv_prog_CC+:} false
; then :
3581 $as_echo_n "(cached) " >&6
3583 if test -n "$CC"; then
3584 ac_cv_prog_CC
="$CC" # Let the user override the test.
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3594 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3595 ac_prog_rejected
=yes
3599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 if test $ac_prog_rejected = yes; then
3607 # We found a bogon in the path, so make sure we never use it.
3608 set dummy
$ac_cv_prog_CC
3610 if test $# != 0; then
3611 # We chose a different compiler from the bogus one.
3612 # However, it has the same basename, so the bogon will be chosen
3613 # first if we set CC to just the basename; use the full file name.
3615 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3621 if test -n "$CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3623 $as_echo "$CC" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 for ac_prog
in cl.exe
3635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3636 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_CC+:} false
; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC
="$CC" # Let the user override the test.
3645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir
=.
3650 for ac_exec_ext
in '' $ac_executable_extensions; do
3651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3672 test -n "$CC" && break
3675 if test -z "$CC"; then
3677 for ac_prog
in cl.exe
3679 # Extract the first word of "$ac_prog", so it can be a program name with args.
3680 set dummy
$ac_prog; ac_word
=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$ac_ct_CC"; then
3687 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_ac_ct_CC
="$ac_prog"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3707 if test -n "$ac_ct_CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3709 $as_echo "$ac_ct_CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3716 test -n "$ac_ct_CC" && break
3719 if test "x$ac_ct_CC" = x
; then
3722 case $cross_compiling:$ac_tool_warned in
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3726 ac_tool_warned
=yes ;;
3735 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737 as_fn_error $?
"no acceptable C compiler found in \$PATH
3738 See \`config.log' for more details" "$LINENO" 5; }
3740 # Provide some information about the compiler.
3741 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3744 for ac_option
in --version -v -V -qversion; do
3745 { { ac_try
="$ac_compiler $ac_option >&5"
3747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751 $as_echo "$ac_try_echo"; } >&5
3752 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3754 if test -s conftest.err; then
3756 ... rest of stderr output deleted ...
3757 10q' conftest.err >conftest.er1
3758 cat conftest.er1 >&5
3760 rm -f conftest.er1 conftest.err
3761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3762 test $ac_status = 0; }
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3776 ac_clean_files_save=$ac_clean_files
3777 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3778 # Try to create an executable without -o first, disregard a.out.
3779 # It will help us diagnose broken compilers, and finding out an intuition
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3782 $as_echo_n "checking whether the C compiler works... " >&6; }
3783 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3785 # The possible output files:
3786 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3789 for ac_file in $ac_files
3792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3793 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3798 if { { ac_try="$ac_link_default"
3800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3801 *) ac_try_echo
=$ac_try;;
3803 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3804 $as_echo "$ac_try_echo"; } >&5
3805 (eval "$ac_link_default") 2>&5
3807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3808 test $ac_status = 0; }; then :
3809 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3810 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3811 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3812 # so that the user can short-circuit this test for compilers unknown to
3814 for ac_file
in $ac_files ''
3816 test -f "$ac_file" ||
continue
3818 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3821 # We found the default executable, but exeext='' is most
3825 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3827 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3829 # We set ac_cv_exeext here because the later test for it is not
3830 # safe: cross compilers may not add the suffix if given an `-o'
3831 # argument, so we may need to know it at that point already.
3832 # Even if this section looks crufty: it has the advantage of
3839 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3844 if test -z "$ac_file"; then :
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3847 $as_echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error
77 "C compiler cannot create executables
3853 See \`config.log' for more details" "$LINENO" 5; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3856 $as_echo "yes" >&6; }
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3859 $as_echo_n "checking for C compiler default output file name... " >&6; }
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3861 $as_echo "$ac_file" >&6; }
3862 ac_exeext
=$ac_cv_exeext
3864 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3865 ac_clean_files
=$ac_clean_files_save
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3867 $as_echo_n "checking for suffix of executables... " >&6; }
3868 if { { ac_try
="$ac_link"
3870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 $as_echo "$ac_try_echo"; } >&5
3875 (eval "$ac_link") 2>&5
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3880 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3881 # work properly (i.e., refer to `conftest.exe'), while it won't with
3883 for ac_file
in conftest.exe conftest conftest.
*; do
3884 test -f "$ac_file" ||
continue
3886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3887 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 rm -f conftest conftest
$ac_cv_exeext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3900 $as_echo "$ac_cv_exeext" >&6; }
3902 rm -f conftest.
$ac_ext
3903 EXEEXT
=$ac_cv_exeext
3905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3911 FILE *f = fopen ("conftest.out", "w");
3912 return ferror (f) || fclose (f) != 0;
3918 ac_clean_files
="$ac_clean_files conftest.out"
3919 # Check that the compiler produces executables we can run. If not, either
3920 # the compiler is broken, or we cross compile.
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3922 $as_echo_n "checking whether we are cross compiling... " >&6; }
3923 if test "$cross_compiling" != yes; then
3924 { { ac_try
="$ac_link"
3926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_link") 2>&5
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }
3935 if { ac_try='./conftest$ac_cv_exeext'
3936 { { case "(($ac_try" in
3937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3938 *) ac_try_echo
=$ac_try;;
3940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_try") 2>&5
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; }; then
3948 if test "$cross_compiling" = maybe
; then
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 as_fn_error $?
"cannot run C compiled programs.
3954 If you meant to cross compile, use \`--host'.
3955 See \`config.log' for more details" "$LINENO" 5; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3960 $as_echo "$cross_compiling" >&6; }
3962 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3963 ac_clean_files
=$ac_clean_files_save
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3965 $as_echo_n "checking for suffix of object files... " >&6; }
3966 if ${ac_cv_objext+:} false
; then :
3967 $as_echo_n "(cached) " >&6
3969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3980 rm -f conftest.o conftest.obj
3981 if { { ac_try
="$ac_compile"
3983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_compile") 2>&5
3990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3991 test $ac_status = 0; }; then :
3992 for ac_file in conftest.o conftest.obj conftest.*; do
3993 test -f "$ac_file" || continue;
3995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3996 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4007 See \
`config.log' for more details" "$LINENO" 5; }
4009 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4012 $as_echo "$ac_cv_objext" >&6; }
4013 OBJEXT=$ac_cv_objext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4016 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4017 if ${ac_cv_c_compiler_gnu+:} false; then :
4018 $as_echo_n "(cached) " >&6
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4034 if ac_fn_c_try_compile "$LINENO"; then :
4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4044 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4045 if test $ac_compiler_gnu = yes; then
4050 ac_test_CFLAGS=${CFLAGS+set}
4051 ac_save_CFLAGS=$CFLAGS
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4053 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4054 if ${ac_cv_prog_cc_g+:} false; then :
4055 $as_echo_n "(cached) " >&6
4057 ac_save_c_werror_flag=$ac_c_werror_flag
4058 ac_c_werror_flag=yes
4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4072 if ac_fn_c_try_compile "$LINENO"; then :
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4087 if ac_fn_c_try_compile "$LINENO"; then :
4090 ac_c_werror_flag=$ac_save_c_werror_flag
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4103 if ac_fn_c_try_compile "$LINENO"; then :
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 ac_c_werror_flag=$ac_save_c_werror_flag
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4114 $as_echo "$ac_cv_prog_cc_g" >&6; }
4115 if test "$ac_test_CFLAGS" = set; then
4116 CFLAGS=$ac_save_CFLAGS
4117 elif test $ac_cv_prog_cc_g = yes; then
4118 if test "$GCC" = yes; then
4124 if test "$GCC" = yes; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4131 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4132 if ${ac_cv_prog_cc_c89+:} false; then :
4133 $as_echo_n "(cached) " >&6
4135 ac_cv_prog_cc_c89=no
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4142 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4143 struct buf { int x; };
4144 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4145 static char *e (p, i)
4151 static char *f (char * (*g) (char **, int), char **p, ...)
4156 s = g (p, va_arg (v,int));
4161 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4162 function prototypes and stuff, but not '\xHH' hex character constants.
4163 These don't provoke an error unfortunately, instead are silently treated
4164 as 'x'. The following induces an error, until -std is added to get
4165 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4166 array size at least. It's necessary to write '\x00'==0 to get something
4167 that's true only with -std. */
4168 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4170 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4171 inside strings and character constants. */
4173 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4175 int test (int i, double x);
4176 struct s1 {int (*f) (int a);};
4177 struct s2 {int (*f) (double a);};
4178 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4184 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4189 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4190 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4192 CC="$ac_save_CC $ac_arg"
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_cv_prog_cc_c89=$ac_arg
4196 rm -f core conftest.err conftest.$ac_objext
4197 test "x$ac_cv_prog_cc_c89" != "xno" && break
4199 rm -f conftest.$ac_ext
4204 case "x$ac_cv_prog_cc_c89" in
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4207 $as_echo "none needed" >&6; } ;;
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4210 $as_echo "unsupported" >&6; } ;;
4212 CC="$CC $ac_cv_prog_cc_c89"
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4214 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4216 if test "x$ac_cv_prog_cc_c89" != xno; then :
4221 ac_cpp='$CPP $CPPFLAGS'
4222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4227 ac_cpp='$CPP $CPPFLAGS'
4228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4232 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4233 if ${am_cv_prog_cc_c_o+:} false; then :
4234 $as_echo_n "(cached) " >&6
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 # Make sure it works both with $CC and with simple cc.
4248 # Following AC_PROG_CC_C_O, we do the test twice because some
4249 # compilers refuse to overwrite an existing .o file with -o,
4250 # though they will create one.
4251 am_cv_prog_cc_c_o=yes
4253 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4254 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } \
4258 && test -f conftest2.$ac_objext; then
4261 am_cv_prog_cc_c_o=no
4265 rm -f core conftest*
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4269 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4270 if test "$am_cv_prog_cc_c_o" != yes; then
4271 # Losing compiler, so override with the script.
4272 # FIXME: It is wrong to rewrite CC.
4273 # But if we don't then we get into trouble of one sort or another.
4274 # A longer-term fix would be to have automake use am__CC in this case,
4275 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4276 CC="$am_aux_dir/compile $CC"
4279 ac_cpp='$CPP $CPPFLAGS'
4280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4284 DEPDIR="${am__leading_dot}deps"
4286 ac_config_commands="$ac_config_commands depfiles"
4289 am_make=${MAKE-make}
4290 cat > confinc << 'END'
4292 @echo this is the am__doit target
4295 # If we don't find an include directive, just comment out the code.
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4297 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4301 # First try GNU make style include.
4302 echo "include confinc" > confmf
4303 # Ignore all kinds of additional output from 'make'.
4304 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4305 *the\ am__doit\ target*)
4311 # Now try BSD make style include.
4312 if test "$am__include" = "#"; then
4313 echo '.include "confinc"' > confmf
4314 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4315 *the\ am__doit\ target*)
4316 am__include=.include
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4325 $as_echo "$_am_result" >&6; }
4326 rm -f confinc confmf
4328 # Check whether --enable-dependency-tracking was given.
4329 if test "${enable_dependency_tracking+set}" = set; then :
4330 enableval=$enable_dependency_tracking;
4333 if test "x$enable_dependency_tracking" != xno; then
4334 am_depcomp="$ac_aux_dir/depcomp"
4338 if test "x$enable_dependency_tracking" != xno; then
4348 depcc="$CC" am_compiler_list=
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4351 $as_echo_n "checking dependency style of $depcc... " >&6; }
4352 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4353 $as_echo_n "(cached) " >&6
4355 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4356 # We make a subdir and do the tests there. Otherwise we can end up
4357 # making bogus files that we don't know about and never remove. For
4358 # instance it was reported that on HP-UX the gcc test will end up
4359 # making a dummy file named 'D' -- because '-MD' means "put the output
4363 # Copy depcomp to subdir because otherwise we won't find it if we're
4364 # using a relative directory.
4365 cp "$am_depcomp" conftest.dir
4367 # We will build objects and dependencies in a subdirectory because
4368 # it helps to detect inapplicable dependency modes. For instance
4369 # both Tru64's cc and ICC support -MD to output dependencies as a
4370 # side effect of compilation, but ICC will put the dependencies in
4371 # the current directory while Tru64 will put them in the object
4375 am_cv_CC_dependencies_compiler_type=none
4376 if test "$am_compiler_list" = ""; then
4377 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4380 case " $depcc " in #(
4381 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4384 for depmode in $am_compiler_list; do
4385 # Setup a source with many dependencies, because some compilers
4386 # like to wrap large dependency lists on column 80 (with \), and
4387 # we should not choose a depcomp mode which is confused by this.
4389 # We need to recreate these files for each test, as the compiler may
4390 # overwrite some of them when testing with obscure command lines.
4391 # This happens at least with the AIX C compiler.
4393 for i in 1 2 3 4 5 6; do
4394 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4395 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4396 # Solaris 10 /bin/sh.
4397 echo '/* dummy */' > sub/conftst$i.h
4399 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4401 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4402 # mode. It turns out that the SunPro C++ compiler does not properly
4403 # handle '-M -o', and we need to detect this. Also, some Intel
4404 # versions had trouble with output in subdirs.
4405 am__obj=sub/conftest.${OBJEXT-o}
4406 am__minus_obj="-o $am__obj"
4409 # This depmode causes a compiler race in universal mode.
4410 test "$am__universal" = false || continue
4413 # After this tag, mechanisms are not by side-effect, so they'll
4414 # only be used when explicitly requested.
4415 if test "x$enable_dependency_tracking" = xyes; then
4421 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4422 # This compiler won't grok '-c -o', but also, the minuso test has
4423 # not run yet. These depmodes are late enough in the game, and
4424 # so weak that their functioning should not be impacted.
4425 am__obj=conftest.${OBJEXT-o}
4430 if depmode=$depmode \
4431 source=sub/conftest.c object=$am__obj \
4432 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4433 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4434 >/dev/null 2>conftest.err &&
4435 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4436 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4437 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4438 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4439 # icc doesn't choke on unknown options, it will just issue warnings
4440 # or remarks (even with -Werror). So we grep stderr for any message
4441 # that says an option was ignored or not supported.
4442 # When given -MP, icc 7.0 and 7.1 complain thusly:
4443 # icc: Command line warning: ignoring option '-M'; no argument required
4444 # The diagnosis changed in icc 8.0:
4445 # icc: Command line remark: option '-MP' not supported
4446 if (grep 'ignoring option' conftest.err ||
4447 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4448 am_cv_CC_dependencies_compiler_type=$depmode
4457 am_cv_CC_dependencies_compiler_type=none
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4462 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4463 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4466 test "x$enable_dependency_tracking" != xno \
4467 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4469 am__fastdepCC_FALSE='#'
4471 am__fastdepCC_TRUE='#'
4472 am__fastdepCC_FALSE=
4477 # Suppress warnings about --datarootdir
4480 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
4481 # user did not specify any flags. Add warnings in this case.
4482 if test "$GCC" = "yes"; then
4483 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
4484 STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
4488 # We can have some flags to pass to bind configure
4490 if test "$cross_compiling" = "yes"; then
4491 BINDCONFIG="--host=$host"
4493 # Pass CFLAGS and co. $ac_configure_args looks like "'arg1' 'arg2' ..."
4494 # and as there can be a space inside an argument some magic is required.
4495 # This sets $1 ... $N to my_configure_args, arg1 ... argN
4496 eval "set my_configure_args $ac_configure_args"
4497 # remove my_configure_args, i.e., the guard against empty $ac_configure_args
4499 # iterate on arguments and copying 'arg' when it begins by an upper case
4503 [A-Z]*) BINDCONFIG="$BINDCONFIG '$a'" ;;
4507 if test "$cross_compiling" = "yes"; then
4508 CROSS_COMPILING_TRUE=
4509 CROSS_COMPILING_FALSE='#'
4511 CROSS_COMPILING_TRUE='#'
4512 CROSS_COMPILING_FALSE=
4516 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
4517 # parts of the IPv6 Advanced Socket API as a result. This is stupid
4518 # as it breaks how the two halves (Basic and Advanced) of the IPv6
4519 # Socket API were designed to be used but we have to live with it.
4520 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
4523 ac_cpp='$CPP $CPPFLAGS'
4524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4528 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4529 # On Suns, sometimes $CPP names a directory.
4530 if test -n "$CPP" && test -d "$CPP"; then
4533 if test -z "$CPP"; then
4534 if ${ac_cv_prog_CPP+:} false; then :
4535 $as_echo_n "(cached) " >&6
4537 # Double quotes because CPP needs to be expanded
4538 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4541 for ac_c_preproc_warn_flag in '' yes
4543 # Use a header file that comes with gcc, so configuring glibc
4544 # with a fresh cross-compiler works.
4545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4546 # <limits.h> exists even on freestanding compilers.
4547 # On the NeXT, cc -E runs the code through the compiler's parser,
4548 # not just through cpp. "Syntax error" is here to catch this case.
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4552 # include <limits.h>
4554 # include <assert.h>
4558 if ac_fn_c_try_cpp "$LINENO"; then :
4561 # Broken: fails on valid input.
4564 rm -f conftest.err conftest.i conftest.$ac_ext
4566 # OK, works on sane cases. Now check whether nonexistent headers
4567 # can be detected and how.
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4570 #include <ac_nonexistent.h>
4572 if ac_fn_c_try_cpp "$LINENO"; then :
4573 # Broken: success on invalid input.
4576 # Passes both tests.
4580 rm -f conftest.err conftest.i conftest.$ac_ext
4583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4584 rm -f conftest.i conftest.err conftest.
$ac_ext
4585 if $ac_preproc_ok; then :
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4598 $as_echo "$CPP" >&6; }
4600 for ac_c_preproc_warn_flag
in '' yes
4602 # Use a header file that comes with gcc, so configuring glibc
4603 # with a fresh cross-compiler works.
4604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4605 # <limits.h> exists even on freestanding compilers.
4606 # On the NeXT, cc -E runs the code through the compiler's parser,
4607 # not just through cpp. "Syntax error" is here to catch this case.
4608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4611 # include <limits.h>
4613 # include <assert.h>
4617 if ac_fn_c_try_cpp
"$LINENO"; then :
4620 # Broken: fails on valid input.
4623 rm -f conftest.err conftest.i conftest.
$ac_ext
4625 # OK, works on sane cases. Now check whether nonexistent headers
4626 # can be detected and how.
4627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #include <ac_nonexistent.h>
4631 if ac_fn_c_try_cpp
"$LINENO"; then :
4632 # Broken: success on invalid input.
4635 # Passes both tests.
4639 rm -f conftest.err conftest.i conftest.
$ac_ext
4642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4643 rm -f conftest.i conftest.err conftest.
$ac_ext
4644 if $ac_preproc_ok; then :
4647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4649 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4650 See \`config.log' for more details" "$LINENO" 5; }
4654 ac_cpp
='$CPP $CPPFLAGS'
4655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4661 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4662 if ${ac_cv_path_GREP+:} false
; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -z "$GREP"; then
4666 ac_path_GREP_found
=false
4667 # Loop through the user's path and test for each of PROGNAME-LIST
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_prog
in grep ggrep
; do
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4676 as_fn_executable_p
"$ac_path_GREP" ||
continue
4677 # Check for GNU ac_path_GREP and select it if it is found.
4678 # Check for GNU $ac_path_GREP
4679 case `"$ac_path_GREP" --version 2>&1` in
4681 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4684 $as_echo_n 0123456789 >"conftest.in"
4687 cat "conftest.in" "conftest.in" >"conftest.tmp"
4688 mv "conftest.tmp" "conftest.in"
4689 cp "conftest.in" "conftest.nl"
4690 $as_echo 'GREP' >> "conftest.nl"
4691 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4692 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4693 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4694 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4695 # Best one so far, save it but keep looking for a better one
4696 ac_cv_path_GREP
="$ac_path_GREP"
4697 ac_path_GREP_max
=$ac_count
4699 # 10*(2^10) chars as input seems more than enough
4700 test $ac_count -gt 10 && break
4702 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4705 $ac_path_GREP_found && break 3
4710 if test -z "$ac_cv_path_GREP"; then
4711 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4714 ac_cv_path_GREP
=$GREP
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4719 $as_echo "$ac_cv_path_GREP" >&6; }
4720 GREP
="$ac_cv_path_GREP"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4724 $as_echo_n "checking for egrep... " >&6; }
4725 if ${ac_cv_path_EGREP+:} false
; then :
4726 $as_echo_n "(cached) " >&6
4728 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4729 then ac_cv_path_EGREP
="$GREP -E"
4731 if test -z "$EGREP"; then
4732 ac_path_EGREP_found
=false
4733 # Loop through the user's path and test for each of PROGNAME-LIST
4734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4735 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4738 test -z "$as_dir" && as_dir
=.
4739 for ac_prog
in egrep; do
4740 for ac_exec_ext
in '' $ac_executable_extensions; do
4741 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4742 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4743 # Check for GNU ac_path_EGREP and select it if it is found.
4744 # Check for GNU $ac_path_EGREP
4745 case `"$ac_path_EGREP" --version 2>&1` in
4747 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4750 $as_echo_n 0123456789 >"conftest.in"
4753 cat "conftest.in" "conftest.in" >"conftest.tmp"
4754 mv "conftest.tmp" "conftest.in"
4755 cp "conftest.in" "conftest.nl"
4756 $as_echo 'EGREP' >> "conftest.nl"
4757 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4758 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4759 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4760 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4761 # Best one so far, save it but keep looking for a better one
4762 ac_cv_path_EGREP
="$ac_path_EGREP"
4763 ac_path_EGREP_max
=$ac_count
4765 # 10*(2^10) chars as input seems more than enough
4766 test $ac_count -gt 10 && break
4768 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4771 $ac_path_EGREP_found && break 3
4776 if test -z "$ac_cv_path_EGREP"; then
4777 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4780 ac_cv_path_EGREP
=$EGREP
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4786 $as_echo "$ac_cv_path_EGREP" >&6; }
4787 EGREP
="$ac_cv_path_EGREP"
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4791 $as_echo_n "checking for ANSI C header files... " >&6; }
4792 if ${ac_cv_header_stdc+:} false
; then :
4793 $as_echo_n "(cached) " >&6
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4810 if ac_fn_c_try_compile
"$LINENO"; then :
4811 ac_cv_header_stdc
=yes
4813 ac_cv_header_stdc
=no
4815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4817 if test $ac_cv_header_stdc = yes; then
4818 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4825 $EGREP "memchr" >/dev
/null
2>&1; then :
4828 ac_cv_header_stdc
=no
4834 if test $ac_cv_header_stdc = yes; then
4835 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4842 $EGREP "free" >/dev
/null
2>&1; then :
4845 ac_cv_header_stdc
=no
4851 if test $ac_cv_header_stdc = yes; then
4852 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4853 if test "$cross_compiling" = yes; then :
4856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 #if ((' ' & 0x0FF) == 0x020)
4861 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4862 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4864 # define ISLOWER(c) \
4865 (('a' <= (c) && (c) <= 'i') \
4866 || ('j' <= (c) && (c) <= 'r') \
4867 || ('s' <= (c) && (c) <= 'z'))
4868 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4871 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4876 for (i = 0; i < 256; i++)
4877 if (XOR (islower (i), ISLOWER (i))
4878 || toupper (i) != TOUPPER (i))
4883 if ac_fn_c_try_run
"$LINENO"; then :
4886 ac_cv_header_stdc
=no
4888 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4889 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4895 $as_echo "$ac_cv_header_stdc" >&6; }
4896 if test $ac_cv_header_stdc = yes; then
4898 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4902 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4903 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4904 inttypes.h stdint.h unistd.h
4906 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4907 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4909 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4910 cat >>confdefs.h
<<_ACEOF
4911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4920 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4921 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4928 if test "$MINIX" = yes; then
4930 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4933 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4936 $as_echo "#define _MINIX 1" >>confdefs.h
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4942 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4943 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4944 $as_echo_n "(cached) " >&6
4946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4949 # define __EXTENSIONS__ 1
4950 $ac_includes_default
4959 if ac_fn_c_try_compile
"$LINENO"; then :
4960 ac_cv_safe_to_define___extensions__
=yes
4962 ac_cv_safe_to_define___extensions__
=no
4964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4967 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4968 test $ac_cv_safe_to_define___extensions__ = yes &&
4969 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4971 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4973 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4975 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4977 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_RANLIB+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$RANLIB"; then
4990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 RANLIB
=$ac_cv_prog_RANLIB
5010 if test -n "$RANLIB"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5012 $as_echo "$RANLIB" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_RANLIB"; then
5021 ac_ct_RANLIB
=$RANLIB
5022 # Extract the first word of "ranlib", so it can be a program name with args.
5023 set dummy ranlib
; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_RANLIB"; then
5030 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5050 if test -n "$ac_ct_RANLIB"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5052 $as_echo "$ac_ct_RANLIB" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_RANLIB" = x
; then
5061 case $cross_compiling:$ac_tool_warned in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned
=yes ;;
5067 RANLIB
=$ac_ct_RANLIB
5070 RANLIB
="$ac_cv_prog_RANLIB"
5074 # Extract the first word of "ar", so it can be a program name with args.
5075 set dummy
ar; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_path_AR+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5083 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 if test -n "$AR"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5107 $as_echo "$AR" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5116 if test "X$AR" = "X"; then
5118 ar program not found. Please fix your PATH to include the directory in
5119 which ar resides, or set AR in the environment with the full path to ar." "$LINENO" 5
5122 ac_config_headers
="$ac_config_headers includes/config.h"
5125 # we sometimes need to know byte order for building packets
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5127 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5128 if ${ac_cv_c_bigendian+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 ac_cv_c_bigendian
=unknown
5132 # See if we're dealing with a universal compiler.
5133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5135 #ifndef __APPLE_CC__
5136 not a universal capable compiler
5141 if ac_fn_c_try_compile
"$LINENO"; then :
5143 # Check for potential -arch flags. It is not universal unless
5144 # there are at least two -arch flags with different values.
5147 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5148 if test -n "$ac_prev"; then
5150 i?
86 | x86_64 | ppc | ppc64
)
5151 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5154 ac_cv_c_bigendian
=universal
5160 elif test "x$ac_word" = "x-arch"; then
5165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5166 if test $ac_cv_c_bigendian = unknown
; then
5167 # See if sys/param.h defines the BYTE_ORDER macro.
5168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5170 #include <sys/types.h>
5171 #include <sys/param.h>
5176 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5177 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5186 if ac_fn_c_try_compile
"$LINENO"; then :
5187 # It does; now see whether it defined to BIG_ENDIAN or not.
5188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5190 #include <sys/types.h>
5191 #include <sys/param.h>
5196 #if BYTE_ORDER != BIG_ENDIAN
5204 if ac_fn_c_try_compile
"$LINENO"; then :
5205 ac_cv_c_bigendian
=yes
5207 ac_cv_c_bigendian
=no
5209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5213 if test $ac_cv_c_bigendian = unknown
; then
5214 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5222 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5230 if ac_fn_c_try_compile
"$LINENO"; then :
5231 # It does; now see whether it defined to _BIG_ENDIAN or not.
5232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5247 if ac_fn_c_try_compile
"$LINENO"; then :
5248 ac_cv_c_bigendian
=yes
5250 ac_cv_c_bigendian
=no
5252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5256 if test $ac_cv_c_bigendian = unknown
; then
5257 # Compile a test program.
5258 if test "$cross_compiling" = yes; then :
5259 # Try to guess by grepping values from an object file.
5260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5262 short int ascii_mm[] =
5263 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5264 short int ascii_ii[] =
5265 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5266 int use_ascii (int i) {
5267 return ascii_mm[i] + ascii_ii[i];
5269 short int ebcdic_ii[] =
5270 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5271 short int ebcdic_mm[] =
5272 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5273 int use_ebcdic (int i) {
5274 return ebcdic_mm[i] + ebcdic_ii[i];
5281 return use_ascii (foo) == use_ebcdic (foo);
5286 if ac_fn_c_try_compile
"$LINENO"; then :
5287 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5288 ac_cv_c_bigendian
=yes
5290 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5291 if test "$ac_cv_c_bigendian" = unknown
; then
5292 ac_cv_c_bigendian
=no
5294 # finding both strings is unlikely to happen, but who knows?
5295 ac_cv_c_bigendian
=unknown
5299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5303 $ac_includes_default
5308 /* Are we little or big endian? From Harbison&Steele. */
5312 char c[sizeof (long int)];
5315 return u.c[sizeof (long int) - 1] == 1;
5321 if ac_fn_c_try_run
"$LINENO"; then :
5322 ac_cv_c_bigendian
=no
5324 ac_cv_c_bigendian
=yes
5326 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5327 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5333 $as_echo "$ac_cv_c_bigendian" >&6; }
5334 case $ac_cv_c_bigendian in #(
5336 byte_order
=BIG_ENDIAN
5339 byte_order
=LITTLE_ENDIAN
5343 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5347 as_fn_error $?
"unknown endianness
5348 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5352 cat >>confdefs.h
<<_ACEOF
5353 #define DHCP_BYTE_ORDER $byte_order
5357 # Optional compile-time DEBUGging.
5358 # Check whether --enable-debug was given.
5359 if test "${enable_debug+set}" = set; then :
5360 enableval
=$enable_debug; case "${enableval}" in
5361 yes) enable_debug
=yes
5363 $as_echo "#define DEBUG 1" >>confdefs.h
5365 # Just override CFLAGS totally to remove optimization.
5367 no
) enable_debug
=no
;;
5368 *) as_fn_error $?
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
5375 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
5376 # but I don't want to pollute the --help space.
5378 #/* #define DEBUG_TOKENS */
5379 #/* #define DEBUG_PACKET */
5380 #/* #define DEBUG_EXPRESSIONS */
5381 #/* #define DEBUG_FIND_LEASE */
5382 #/* #define DEBUG_EXPRESSION_PARSE */
5383 #/* #define DEBUG_CLASS_MATCHING */
5384 #/* #define DEBUG_MEMORY_LEAKAGE */
5385 #/* #define DEBUG_MALLOC_POOL */
5386 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
5387 #/* #define DEBUG_RC_HISTORY */
5388 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
5389 #/* #define RC_HISTORY_MAX 10240 */
5390 #/* #define POINTER_DEBUG */
5391 #/* #define DEBUG_FAILOVER_MESSAGES */
5392 #/* #define DEBUG_FAILOVER_TIMING */
5393 #/* #define DEBUG_DUMP_ALL_LEASES */
5395 # Failover optional compile-time feature.
5396 # Check whether --enable-failover was given.
5397 if test "${enable_failover+set}" = set; then :
5398 enableval
=$enable_failover;
5401 # Failover is on by default, so define if it is not explicitly disabled.
5402 if test "$enable_failover" != "no"; then
5403 enable_failover
="yes"
5405 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
5409 # execute() support.
5410 # Check whether --enable-execute was given.
5411 if test "${enable_execute+set}" = set; then :
5412 enableval
=$enable_execute;
5415 # execute() is on by default, so define if it is not explicitly disabled.
5416 if test "$enable_execute" != "no" ; then
5417 enable_execute
="yes"
5419 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
5423 # Server tracing support.
5424 # Check whether --enable-tracing was given.
5425 if test "${enable_tracing+set}" = set; then :
5426 enableval
=$enable_tracing;
5429 # tracing is on by default, so define if it is not explicitly disabled.
5430 if test "$enable_tracing" != "no" ; then
5432 $as_echo "#define TRACING 1" >>confdefs.h
5436 # Delayed-ack feature support (experimental).
5437 # Check whether --enable-delayed_ack was given.
5438 if test "${enable_delayed_ack+set}" = set; then :
5439 enableval
=$enable_delayed_ack;
5442 if test "$enable_delayed_ack" = "yes"; then
5444 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
5447 enable_delayed_ack
="no"
5450 # DHCPv6 optional compile-time feature.
5451 # Check whether --enable-dhcpv6 was given.
5452 if test "${enable_dhcpv6+set}" = set; then :
5453 enableval
=$enable_dhcpv6;
5456 # DHCPv6 is on by default, so define if it is not explicitly disabled.
5457 if test "$enable_dhcpv6" != "no"; then
5460 $as_echo "#define DHCPv6 1" >>confdefs.h
5464 # DHCPv4o6 optional compile-time feature.
5465 # Check whether --enable-dhcpv4o6 was given.
5466 if test "${enable_dhcpv4o6+set}" = set; then :
5467 enableval
=$enable_dhcpv4o6;
5470 # DHCPv4o6 is off by default, so define if it is explicitly enabled.
5471 if test "$enable_dhcpv4o6" = "yes"; then
5472 # DHCPv4o6 requires DHCPv6
5473 if test "$enable_dhcpv6" = "no"; then
5474 as_fn_error $?
"dhcpv4o6 requires dhcpv6" "$LINENO" 5
5476 # DHCPv4o6 is not yet compatible with delayed-ack
5477 if test "$enable_delayed_ack" = "yes"; then
5478 as_fn_error $?
"dhcpv4o6 is not compatible with delayed-ack" "$LINENO" 5
5481 $as_echo "#define DHCP4o6 1" >>confdefs.h
5485 # PARANOIA is off by default (until we can test it with all features)
5486 # Check whether --enable-paranoia was given.
5487 if test "${enable_paranoia+set}" = set; then :
5488 enableval
=$enable_paranoia;
5491 # Check whether --enable-early_chroot was given.
5492 if test "${enable_early_chroot+set}" = set; then :
5493 enableval
=$enable_early_chroot;
5496 # If someone enables early chroot, but does not enable paranoia, do so for
5498 if test "$enable_paranoia" != "yes" && \
5499 test "$enable_early_chroot" = "yes" ; then
5500 enable_paranoia
="yes"
5503 if test "$enable_paranoia" = "yes" ; then
5505 $as_echo "#define PARANOIA 1" >>confdefs.h
5508 if test "$enable_early_chroot" = "yes" ; then
5510 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
5514 # Check whether --enable-ipv4_pktinfo was given.
5515 if test "${enable_ipv4_pktinfo+set}" = set; then :
5516 enableval
=$enable_ipv4_pktinfo;
5520 if test "$enable_ipv4_pktinfo" = "yes"; then
5522 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
5526 # Check whether --enable-use_sockets was given.
5527 if test "${enable_use_sockets+set}" = set; then :
5528 enableval
=$enable_use_sockets;
5532 if test "$enable_use_sockets" = "yes"; then
5534 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
5538 # Try to hnadle incorrect byte order for secs field
5539 # This is off by default
5540 # Check whether --enable-secs_byteorder was given.
5541 if test "${enable_secs_byteorder+set}" = set; then :
5542 enableval
=$enable_secs_byteorder;
5546 if test "$enable_secs_byteorder" = "yes" ; then
5548 $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h
5552 # Include the PID in the log messages. This is useful when there may
5553 # be multiple instances of a program.
5554 # This is off by default
5555 # Check whether --enable-log_pid was given.
5556 if test "${enable_log_pid+set}" = set; then :
5557 enableval
=$enable_log_pid;
5560 if test "$enable_log_pid" = "yes" ; then
5562 $as_echo "#define USE_LOG_PID 1" >>confdefs.h
5566 # Allow for binary search when inserting v4 leases into queues
5567 # Check whether --enable-binary_leases was given.
5568 if test "${enable_binary_leases+set}" = set; then :
5569 enableval
=$enable_binary_leases;
5572 # binary_leases is off by default.
5573 if test "$enable_binary_leases" = "yes"; then
5575 $as_echo "#define BINARY_LEASES 1" >>confdefs.h
5578 enable_binary_leases
="no"
5583 DISTCHECK_ATF_CONFIGURE_FLAG
=
5586 # Check whether --with-atf was given.
5587 if test "${with_atf+set}" = set; then :
5588 withval
=$with_atf; atf_path
="$withval"
5591 if test "$atf_path" = "bind"; then
5599 if test "$atf_path" = "bind" ; then
5600 DISTCHECK_ATF_CONFIGURE_FLAG
="--with-atf=bind"
5602 atf_path
="\${top_srcdir}/bind/atf"
5603 ATF_CFLAGS
="-I$atf_path/include -DUNIT_TEST"
5604 ATF_LDFLAGS
="-L$atf_path/lib -latf-c"
5605 ATF_BIN
=`cd $srcdir; pwd`/bind
/atf
/bin
5609 BINDCONFIG
="$BINDCONFIG --with-atf"
5610 elif test "$atf_path" != "no" ; then
5611 DISTCHECK_ATF_CONFIGURE_FLAG
="--with-atf=$atf_path"
5612 # Config path for pkg-config
5614 if test "$atf_path" != "yes" ; then
5615 if test -f $atf_path/lib
/pkgconfig
/atf-c.pc
; then
5616 atf_pcp
=$atf_path/lib
/pkgconfig
5617 elif test -f $atf_path/lib64
/pkgconfig
/atf-c.pc
; then
5618 atf_pcp
=$atf_path/lib64
/pkgconfig
5621 # Not specified, try some common paths
5622 atf_dirs
="/usr /usr/local /usr/pkg /opt /opt/local"
5625 if test -f $d/lib
/pkgconfig
/atf-c.pc
; then
5626 atf_pcp
=$d/lib
/pkgconfig
5628 elif test -f $d/lib64
/pkgconfig
/atf-c.pc
; then
5629 atf_pcp
=$d/lib64
/pkgconfig
5635 if test "$atf_pcp" = "" ; then
5636 as_fn_error $?
"Unable to find atf files in location specified" "$LINENO" 5
5638 # Extract the first word of "pkg-config", so it can be a program name with args.
5639 set dummy pkg-config
; ac_word
=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_pkgcfg_found+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$pkgcfg_found"; then
5646 ac_cv_prog_pkgcfg_found
="$pkgcfg_found" # Let the user override the test.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_pkgcfg_found
="pkg-config"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 pkgcfg_found
=$ac_cv_prog_pkgcfg_found
5666 if test -n "$pkgcfg_found"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgcfg_found" >&5
5668 $as_echo "$pkgcfg_found" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 if test "$pkgcfg_found" = ""; then
5676 as_fn_error $?
"Could not locate ATF, pkg-config not installed" "$LINENO" 5
5678 ATF_CFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
5679 ATF_LDFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
5680 if test -f $atf_pcp/atf-sh.pc
; then
5681 ATF_BIN
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --variable=exec_prefix atf-sh`/bin"
5683 # older versions don't have atf-sh, try usual place
5684 ATF_BIN
=$atf_path/bin
5687 if test ! -x $ATF_BIN/atf-run
-o ! -x $ATF_BIN/atf-report
; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run/atf-report not found, assuming they are in your path" >&5
5689 $as_echo "$as_me: WARNING: atf-run/atf-report not found, assuming they are in your path" >&2;}
5698 if test "$atf_pcp" != ""; then
5706 if test -z "$HAVE_ATF_TRUE"; then :
5708 $as_echo "#define HAVE_ATF 1" >>confdefs.h
5714 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
5715 ### need to look there and potentially overwrite by default (but not if
5716 ### the user configures an alternate value). LOCALSTATEDIR is totally
5717 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
5718 ### they would be insane for suggesting it. We need to look in /var/for
5719 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
5722 if test "x$prefix" = xNONE
; then
5723 $as_echo_n "checking for prefix by " >&6
5724 # Extract the first word of "dhcpd", so it can be a program name with args.
5725 set dummy dhcpd
; ac_word
=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if ${ac_cv_path_ac_prefix_program+:} false
; then :
5729 $as_echo_n "(cached) " >&6
5731 case $ac_prefix_program in
5733 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
5736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir
=.
5741 for ac_exec_ext
in '' $ac_executable_extensions; do
5742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 ac_prefix_program
=$ac_cv_path_ac_prefix_program
5755 if test -n "$ac_prefix_program"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
5757 $as_echo "$ac_prefix_program" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 if test -n "$ac_prefix_program"; then
5765 prefix
=`$as_dirname -- "$ac_prefix_program" ||
5766 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5767 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5768 X"$ac_prefix_program" : 'X\(//\)$' \| \
5769 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
5770 $as_echo X"$ac_prefix_program" |
5771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5788 prefix
=`$as_dirname -- "$prefix" ||
5789 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5790 X"$prefix" : 'X\(//\)[^/]' \| \
5791 X"$prefix" : 'X\(//\)$' \| \
5792 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
5793 $as_echo X"$prefix" |
5794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5815 # XXX - isn't there SOME WAY to default autoconf to /var instead of
5816 # /usr/local/var/no/one/has/this/please/stop/trying?
5817 case "$localstatedir" in
5823 # Allow specification of alternate state files
5825 # Check whether --with-srv-lease-file was given.
5826 if test "${with_srv_lease_file+set}" = set; then :
5827 withval
=$with_srv_lease_file;
5828 cat >>confdefs.h
<<_ACEOF
5829 #define _PATH_DHCPD_DB "$withval"
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd.leases location" >&5
5836 $as_echo_n "checking for dhcpd.leases location... " >&6; }
5837 if [ "x$with_srv_lease_file" = "x" ] ; then
5838 if [ -d "${localstatedir}/db" ] ; then
5839 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
5840 elif [ -d "${localstatedir}/state" ] ; then
5841 if [ -d "${localstatedir}/state/dhcp" ] ; then
5842 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
5844 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
5846 elif [ -d "${localstatedir}/lib" ] ; then
5847 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5848 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
5850 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
5852 elif [ -d "${localstatedir}/etc" ] ; then
5853 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
5855 with_srv_lease_file
="/etc/dhcpd.leases"
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv_lease_file" >&5
5859 $as_echo "$with_srv_lease_file" >&6; }
5862 # Check whether --with-srv6-lease-file was given.
5863 if test "${with_srv6_lease_file+set}" = set; then :
5864 withval
=$with_srv6_lease_file;
5865 cat >>confdefs.h
<<_ACEOF
5866 #define _PATH_DHCPD6_DB "$withval"
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd6.leases location" >&5
5873 $as_echo_n "checking for dhcpd6.leases location... " >&6; }
5874 if [ "x$with_srv6_lease_file" = "x" ] ; then
5875 if [ -d "${localstatedir}/db" ] ; then
5876 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
5877 elif [ -d "${localstatedir}/state" ] ; then
5878 if [ -d "${localstatedir}/state/dhcp" ] ; then
5879 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
5881 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
5883 elif [ -d "${localstatedir}/lib" ] ; then
5884 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5885 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
5887 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
5889 elif [ -d "${localstatedir}/etc" ] ; then
5890 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
5892 with_srv6_lease_file
="/etc/dhcpd6.leases"
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv6_lease_file" >&5
5896 $as_echo "$with_srv6_lease_file" >&6; }
5899 # Check whether --with-cli-lease-file was given.
5900 if test "${with_cli_lease_file+set}" = set; then :
5901 withval
=$with_cli_lease_file;
5902 cat >>confdefs.h
<<_ACEOF
5903 #define _PATH_DHCLIENT_DB "$withval"
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient.leases location" >&5
5910 $as_echo_n "checking for dhclient.leases location... " >&6; }
5911 if [ "x$with_cli_lease_file" = "x" ] ; then
5912 if [ -d "${localstatedir}/db" ] ; then
5913 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
5914 elif [ -d "${localstatedir}/state" ] ; then
5915 if [ -d "${localstatedir}/state/dhcp" ] ; then
5916 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
5918 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
5920 elif [ -d "${localstatedir}/lib" ] ; then
5921 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5922 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
5924 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
5926 elif [ -d "${localstatedir}/etc" ] ; then
5927 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
5929 with_cli_lease_file
="/etc/dhclient.leases"
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli_lease_file" >&5
5933 $as_echo "$with_cli_lease_file" >&6; }
5936 # Check whether --with-cli6-lease-file was given.
5937 if test "${with_cli6_lease_file+set}" = set; then :
5938 withval
=$with_cli6_lease_file;
5939 cat >>confdefs.h
<<_ACEOF
5940 #define _PATH_DHCLIENT6_DB "$withval"
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient6.leases location" >&5
5947 $as_echo_n "checking for dhclient6.leases location... " >&6; }
5948 if [ "x$with_cli6_lease_file" = "x" ] ; then
5949 if [ -d "${localstatedir}/db" ] ; then
5950 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
5951 elif [ -d "${localstatedir}/state" ] ; then
5952 if [ -d "${localstatedir}/state/dhcp" ] ; then
5953 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5955 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5957 elif [ -d "${localstatedir}/lib" ] ; then
5958 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5959 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5961 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5963 elif [ -d "${localstatedir}/etc" ] ; then
5964 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5966 with_cli6_lease_file
="/etc/dhclient6.leases"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli6_lease_file" >&5
5970 $as_echo "$with_cli6_lease_file" >&6; }
5973 # Check whether --with-srv-pid-file was given.
5974 if test "${with_srv_pid_file+set}" = set; then :
5975 withval
=$with_srv_pid_file;
5976 cat >>confdefs.h
<<_ACEOF
5977 #define _PATH_DHCPD_PID "$withval"
5983 # Check whether --with-srv6-pid-file was given.
5984 if test "${with_srv6_pid_file+set}" = set; then :
5985 withval
=$with_srv6_pid_file;
5986 cat >>confdefs.h
<<_ACEOF
5987 #define _PATH_DHCPD6_PID "$withval"
5993 # Check whether --with-cli-pid-file was given.
5994 if test "${with_cli_pid_file+set}" = set; then :
5995 withval
=$with_cli_pid_file;
5996 cat >>confdefs.h
<<_ACEOF
5997 #define _PATH_DHCLIENT_PID "$withval"
6003 # Check whether --with-cli6-pid-file was given.
6004 if test "${with_cli6_pid_file+set}" = set; then :
6005 withval
=$with_cli6_pid_file;
6006 cat >>confdefs.h
<<_ACEOF
6007 #define _PATH_DHCLIENT6_PID "$withval"
6013 # Check whether --with-relay-pid-file was given.
6014 if test "${with_relay_pid_file+set}" = set; then :
6015 withval
=$with_relay_pid_file;
6016 cat >>confdefs.h
<<_ACEOF
6017 #define _PATH_DHCRELAY_PID "$withval"
6023 # Check whether --with-relay6-pid-file was given.
6024 if test "${with_relay6_pid_file+set}" = set; then :
6025 withval
=$with_relay6_pid_file;
6026 cat >>confdefs.h
<<_ACEOF
6027 #define _PATH_DHCRELAY6_PID "$withval"
6033 # Check basic types.
6034 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
6035 case $ac_cv_c_int8_t in #(
6039 cat >>confdefs.h
<<_ACEOF
6040 #define int8_t $ac_cv_c_int8_t
6045 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
6046 case $ac_cv_c_int16_t in #(
6050 cat >>confdefs.h
<<_ACEOF
6051 #define int16_t $ac_cv_c_int16_t
6056 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
6057 case $ac_cv_c_int32_t in #(
6061 cat >>confdefs.h
<<_ACEOF
6062 #define int32_t $ac_cv_c_int32_t
6067 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
6068 case $ac_cv_c_int64_t in #(
6072 cat >>confdefs.h
<<_ACEOF
6073 #define int64_t $ac_cv_c_int64_t
6079 # Some systems need the u_intX_t types defined across.
6080 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
6081 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
6085 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
6086 case $ac_cv_c_uint8_t in #(
6090 $as_echo "#define _UINT8_T 1" >>confdefs.h
6093 cat >>confdefs.h
<<_ACEOF
6094 #define uint8_t $ac_cv_c_uint8_t
6100 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
6105 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
6106 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
6110 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
6111 case $ac_cv_c_uint16_t in #(
6116 cat >>confdefs.h
<<_ACEOF
6117 #define uint16_t $ac_cv_c_uint16_t
6123 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
6128 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
6129 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
6133 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
6134 case $ac_cv_c_uint32_t in #(
6138 $as_echo "#define _UINT32_T 1" >>confdefs.h
6141 cat >>confdefs.h
<<_ACEOF
6142 #define uint32_t $ac_cv_c_uint32_t
6148 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
6153 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
6154 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
6158 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
6159 case $ac_cv_c_uint64_t in #(
6163 $as_echo "#define _UINT64_T 1" >>confdefs.h
6166 cat >>confdefs.h
<<_ACEOF
6167 #define uint64_t $ac_cv_c_uint64_t
6173 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
6179 # see if ifaddrs.h is available
6180 for ac_header
in ifaddrs.h
6182 ac_fn_c_check_header_mongrel
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
6183 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6184 cat >>confdefs.h
<<_ACEOF
6185 #define HAVE_IFADDRS_H 1
6193 # figure out what IPv4 interface code to use
6194 for ac_header
in linux
/types.h
6196 ac_fn_c_check_header_mongrel
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
6197 if test "x$ac_cv_header_linux_types_h" = xyes
; then :
6198 cat >>confdefs.h
<<_ACEOF
6199 #define HAVE_LINUX_TYPES_H 1
6205 # needed for linux/filter.h on old systems
6207 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
6208 #ifdef HAVE_LINUX_TYPES_H
6209 #include <linux/types.h>
6213 if test "x$ac_cv_header_linux_filter_h" = xyes
; then :
6218 if test -n "$DO_LPF"
6221 $as_echo "#define HAVE_LPF 1" >>confdefs.h
6224 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
6225 if test "x$ac_cv_header_sys_dlpi_h" = xyes
; then :
6230 if test -n "$DO_DLPI"
6233 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
6236 ac_fn_c_check_header_mongrel
"$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
6237 if test "x$ac_cv_header_net_bpf_h" = xyes
; then :
6242 if test -n "$DO_BPF"
6245 $as_echo "#define HAVE_BPF 1" >>confdefs.h
6251 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
6252 # use the same structures. We like to use 'struct lifconf' and 'struct
6253 # lifreq', but we'll use these other structures if they're present. HPUX
6254 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
6258 $as_echo_n "checking for struct lifnum... " >&6; }
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <sys/types.h>
6262 #include <sys/socket.h>
6274 if ac_fn_c_try_compile
"$LINENO"; then :
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6276 $as_echo "yes" >&6; }
6278 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282 $as_echo "no" >&6; }
6284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
6287 $as_echo_n "checking for struct if_laddrconf... " >&6; }
6288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <sys/types.h>
6291 #include <net/if6.h>
6296 struct if_laddrconf a;
6302 if ac_fn_c_try_compile
"$LINENO"; then :
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6304 $as_echo "yes" >&6; }
6306 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
6315 $as_echo_n "checking for struct if_laddrreq... " >&6; }
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #include <sys/types.h>
6319 #include <net/if6.h>
6324 struct if_laddrreq a;
6330 if ac_fn_c_try_link
"$LINENO"; then :
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6332 $as_echo "yes" >&6; }
6334 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6340 rm -f core conftest.err conftest.
$ac_objext \
6341 conftest
$ac_exeext conftest.
$ac_ext
6344 # check for GCC noreturn attribute
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
6347 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
6348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6354 void foo() __attribute__((noreturn));
6359 if ac_fn_c_try_compile
"$LINENO"; then :
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6361 $as_echo "yes" >&6; }
6363 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6369 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
6372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6374 # Look for optional headers.
6375 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6377 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6378 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6379 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6380 cat >>confdefs.h
<<_ACEOF
6381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6389 # Solaris needs some libraries for functions
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
6391 $as_echo_n "checking for library containing socket... " >&6; }
6392 if ${ac_cv_search_socket+:} false
; then :
6393 $as_echo_n "(cached) " >&6
6395 ac_func_search_save_LIBS
=$LIBS
6396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6399 /* Override any GCC internal prototype to avoid an error.
6400 Use char because int might match the return type of a GCC
6401 builtin and then its argument prototype would still apply. */
6414 for ac_lib
in '' socket
; do
6415 if test -z "$ac_lib"; then
6416 ac_res
="none required"
6419 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6421 if ac_fn_c_try_link
"$LINENO"; then :
6422 ac_cv_search_socket
=$ac_res
6424 rm -f core conftest.err conftest.
$ac_objext \
6426 if ${ac_cv_search_socket+:} false
; then :
6430 if ${ac_cv_search_socket+:} false
; then :
6433 ac_cv_search_socket
=no
6436 LIBS
=$ac_func_search_save_LIBS
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
6439 $as_echo "$ac_cv_search_socket" >&6; }
6440 ac_res
=$ac_cv_search_socket
6441 if test "$ac_res" != no
; then :
6442 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
6447 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
6448 if ${ac_cv_search_inet_ntoa+:} false
; then :
6449 $as_echo_n "(cached) " >&6
6451 ac_func_search_save_LIBS
=$LIBS
6452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6455 /* Override any GCC internal prototype to avoid an error.
6456 Use char because int might match the return type of a GCC
6457 builtin and then its argument prototype would still apply. */
6465 return inet_ntoa ();
6470 for ac_lib
in '' nsl
; do
6471 if test -z "$ac_lib"; then
6472 ac_res
="none required"
6475 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6477 if ac_fn_c_try_link
"$LINENO"; then :
6478 ac_cv_search_inet_ntoa
=$ac_res
6480 rm -f core conftest.err conftest.
$ac_objext \
6482 if ${ac_cv_search_inet_ntoa+:} false
; then :
6486 if ${ac_cv_search_inet_ntoa+:} false
; then :
6489 ac_cv_search_inet_ntoa
=no
6492 LIBS
=$ac_func_search_save_LIBS
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
6495 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
6496 ac_res
=$ac_cv_search_inet_ntoa
6497 if test "$ac_res" != no
; then :
6498 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
6504 $as_echo_n "checking for library containing inet_aton... " >&6; }
6505 if ${ac_cv_search_inet_aton+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 ac_func_search_save_LIBS
=$LIBS
6509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6512 /* Override any GCC internal prototype to avoid an error.
6513 Use char because int might match the return type of a GCC
6514 builtin and then its argument prototype would still apply. */
6522 return inet_aton ();
6527 for ac_lib
in '' socket nsl
; do
6528 if test -z "$ac_lib"; then
6529 ac_res
="none required"
6532 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6534 if ac_fn_c_try_link
"$LINENO"; then :
6535 ac_cv_search_inet_aton
=$ac_res
6537 rm -f core conftest.err conftest.
$ac_objext \
6539 if ${ac_cv_search_inet_aton+:} false
; then :
6543 if ${ac_cv_search_inet_aton+:} false
; then :
6546 ac_cv_search_inet_aton
=no
6549 LIBS
=$ac_func_search_save_LIBS
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
6552 $as_echo "$ac_cv_search_inet_aton" >&6; }
6553 ac_res
=$ac_cv_search_inet_aton
6554 if test "$ac_res" != no
; then :
6555 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6559 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
6564 # Check for a standalone regex library.
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
6566 $as_echo_n "checking for library containing regcomp... " >&6; }
6567 if ${ac_cv_search_regcomp+:} false
; then :
6568 $as_echo_n "(cached) " >&6
6570 ac_func_search_save_LIBS
=$LIBS
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6574 /* Override any GCC internal prototype to avoid an error.
6575 Use char because int might match the return type of a GCC
6576 builtin and then its argument prototype would still apply. */
6589 for ac_lib
in '' regex
; do
6590 if test -z "$ac_lib"; then
6591 ac_res
="none required"
6594 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6596 if ac_fn_c_try_link
"$LINENO"; then :
6597 ac_cv_search_regcomp
=$ac_res
6599 rm -f core conftest.err conftest.
$ac_objext \
6601 if ${ac_cv_search_regcomp+:} false
; then :
6605 if ${ac_cv_search_regcomp+:} false
; then :
6608 ac_cv_search_regcomp
=no
6611 LIBS
=$ac_func_search_save_LIBS
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
6614 $as_echo "$ac_cv_search_regcomp" >&6; }
6615 ac_res
=$ac_cv_search_regcomp
6616 if test "$ac_res" != no
; then :
6617 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6622 for ac_func
in strlcat
6624 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
6625 if test "x$ac_cv_func_strlcat" = xyes
; then :
6626 cat >>confdefs.h
<<_ACEOF
6627 #define HAVE_STRLCAT 1
6634 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
6636 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
6637 if ${ac_cv_search_if_nametoindex+:} false
; then :
6638 $as_echo_n "(cached) " >&6
6640 ac_func_search_save_LIBS
=$LIBS
6641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6644 /* Override any GCC internal prototype to avoid an error.
6645 Use char because int might match the return type of a GCC
6646 builtin and then its argument prototype would still apply. */
6650 char if_nametoindex ();
6654 return if_nametoindex ();
6659 for ac_lib
in '' ipv6
; do
6660 if test -z "$ac_lib"; then
6661 ac_res
="none required"
6664 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6666 if ac_fn_c_try_link
"$LINENO"; then :
6667 ac_cv_search_if_nametoindex
=$ac_res
6669 rm -f core conftest.err conftest.
$ac_objext \
6671 if ${ac_cv_search_if_nametoindex+:} false
; then :
6675 if ${ac_cv_search_if_nametoindex+:} false
; then :
6678 ac_cv_search_if_nametoindex
=no
6681 LIBS
=$ac_func_search_save_LIBS
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
6684 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
6685 ac_res
=$ac_cv_search_if_nametoindex
6686 if test "$ac_res" != no
; then :
6687 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6692 # check for /dev/random (declares HAVE_DEV_RANDOM)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random device" >&5
6694 $as_echo_n "checking for random device... " >&6; }
6696 # Check whether --with-randomdev was given.
6697 if test "${with_randomdev+set}" = set; then :
6698 withval
=$with_randomdev; use_randomdev
="$withval"
6700 use_randomdev
="unspec"
6703 if test "$use_randomdev" = "unspec"; then
6704 if test "$cross_compiling" = "yes"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unspecified" >&5
6706 $as_echo "unspecified" >&6; }
6707 as_fn_error $?
" need --with-randomdev=PATH or --with-randomdev=no" "$LINENO" 5
6709 use_randomdev
="/dev/random"
6710 elif test "$use_randomdev" = "yes"; then
6711 use_randomdev
="/dev/random"
6713 if test "$use_randomdev" = "no"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
6715 $as_echo "disabled" >&6; }
6716 BINDCONFIG
="$BINDCONFIG --with-randomdev=no"
6718 if test "$cross_compiling" = "yes"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_randomdev (unchecked)" >&5
6720 $as_echo "$use_randomdev (unchecked)" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_randomdev" >&5
6723 $as_echo "$use_randomdev" >&6; }
6724 as_ac_File
=`$as_echo "ac_cv_file_$use_randomdev" | $as_tr_sh`
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $use_randomdev" >&5
6726 $as_echo_n "checking for $use_randomdev... " >&6; }
6727 if eval \
${$as_ac_File+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 test "$cross_compiling" = yes &&
6731 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6732 if test -r "$use_randomdev"; then
6733 eval "$as_ac_File=yes"
6735 eval "$as_ac_File=no"
6738 eval ac_res
=\$
$as_ac_File
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6740 $as_echo "$ac_res" >&6; }
6741 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
6743 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
6746 as_fn_error $?
"cannot find $use_randomdev" "$LINENO" 5
6750 BINDCONFIG
="$BINDCONFIG --with-randomdev=$use_randomdev"
6753 BINDIOMUX
="--disable-kqueue --disable-epoll --disable-devpoll"
6754 # check kqueue/epoll/devpoll alternative to select
6755 # Check whether --enable-kqueue was given.
6756 if test "${enable_kqueue+set}" = set; then :
6757 enableval
=$enable_kqueue; want_kqueue
="$enableval"
6762 if test "$want_kqueue" = "yes"; then
6763 BINDIOMUX
="--enable-kqueue"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-kqueue is not supported: it may lead to issues such as server looping" >&5
6765 $as_echo "$as_me: WARNING: --enable-kqueue is not supported: it may lead to issues such as server looping" >&2;}
6767 # Check whether --enable-epoll was given.
6768 if test "${enable_epoll+set}" = set; then :
6769 enableval
=$enable_epoll; want_epoll
="$enableval"
6774 if test "$want_epoll" = "yes"; then
6775 BINDIOMUX
="--enable-epoll"
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-epoll is not supported: it may lead to issues such as server looping" >&5
6777 $as_echo "$as_me: WARNING: --enable-epoll is not supported: it may lead to issues such as server looping" >&2;}
6779 # Check whether --enable-devpoll was given.
6780 if test "${enable_devpoll+set}" = set; then :
6781 enableval
=$enable_devpoll; want_devpoll
="$enableval"
6786 if test "$want_devpoll" = "yes"; then
6787 BINDIOMUX
="--enable-devpoll"
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-devpoll is not supported: it may lead to issues such as server looping" >&5
6789 $as_echo "$as_me: WARNING: --enable-devpoll is not supported: it may lead to issues such as server looping" >&2;}
6793 # general extra bind configure arguments
6795 # Check whether --with-bind-extra-config was given.
6796 if test "${with_bind_extra_config+set}" = set; then :
6797 withval
=$with_bind_extra_config; use_xbindconfig
="$withval"
6802 case "$use_xbindconfig" in
6806 BINDCONFIG
="$BINDCONFIG $use_xbindconfig"
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Most options to bind configure are not supported when used by ISC DHCP" >&5
6808 $as_echo "$as_me: WARNING: Most options to bind configure are not supported when used by ISC DHCP" >&2;}
6812 # see if there is a "sa_len" field in our interface information structure
6813 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
6815 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
6817 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
6822 # figure out pointer size
6823 SAVE_CFLAGS
="$CFLAGS"
6824 CFLAGS
="$CFLAGS -I$srcdir"
6825 # The cast to long int works around a bug in the HP C Compiler
6826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6828 # This bug is HP SR number 8606223364.
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
6830 $as_echo_n "checking size of struct iaddr *... " >&6; }
6831 if ${ac_cv_sizeof_struct_iaddr_p+:} false
; then :
6832 $as_echo_n "(cached) " >&6
6834 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p" "
6835 #include \"includes/inet.h\"
6841 if test "$ac_cv_type_struct_iaddr_p" = yes; then
6842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6844 as_fn_error
77 "cannot compute sizeof (struct iaddr *)
6845 See \`config.log' for more details" "$LINENO" 5; }
6847 ac_cv_sizeof_struct_iaddr_p
=0
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
6853 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
6857 cat >>confdefs.h
<<_ACEOF
6858 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
6862 CFLAGS
="$SAVE_CFLAGS"
6864 # Solaris does not have the msg_control or msg_controlen members
6865 # in the msghdr structure unless you define:
6867 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
6869 # See the "standards" man page for details.
6871 # We check for the msg_control member, and if it is not found, we check
6872 # again with the appropriate defines added to the CFLAGS. (In order to
6873 # do this we have to remove the check from the cache, which is what the
6875 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6876 #include <sys/types.h>
6877 #include <sys/socket.h>
6880 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6883 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
6884 CFLAGS
="$CFLAGS -D__EXTENSIONS__"
6885 unset ac_cv_member_struct_msghdr_msg_control
6886 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6887 #include <sys/types.h>
6888 #include <sys/socket.h>
6891 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6894 as_fn_error $?
"Missing msg_control member in
6895 msg_control structure." "$LINENO" 5
6902 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>
6904 if test "x$ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" = xyes
; then :
6906 $as_echo "#define VLAN_TCI_PRESENT 1" >>confdefs.h
6912 # bind/Makefile.in is not from automake so we need 2 variables for bind dir
6921 # Check whether --with-libbind was given.
6922 if test "${with_libbind+set}" = set; then :
6923 withval
=$with_libbind; use_libbind
="$withval"
6928 case "$use_libbind" in
6930 as_fn_error $?
"PATH is required in --with-libbind=PATH" "$LINENO" 5
6933 BINDSUBDIR
="\${top_srcdir}/bind"
6934 my_abs_srcdir
=`cd $srcdir && pwd`
6935 BINDDIR
="${my_abs_srcdir}/bind"
6936 if test ! -d "$srcdir/bind"; then
6937 as_fn_error $?
"Where to find or build bind includes and libraries must be specified" "$LINENO" 5
6939 if test -d "$srcdir/bind/bind9"; then
6940 BINDSRCDIR
="${my_abs_srcdir}/bind/bind9"
6942 if test ! -f "$srcdir/bind/version.tmp"; then
6943 as_fn_error $?
"Cannot find $srcdir/bind/version.tmp" "$LINENO" 5
6945 .
"$srcdir/bind/version.tmp"
6946 bindversion
=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}
6947 BINDSRCDIR
="${my_abs_srcdir}/bind/bind-$bindversion"
6949 ac_config_files
="$ac_config_files $srcdir/bind/Makefile"
6952 BINDLIBIRSDIR
="$BINDSRCDIR/lib/export/irs"
6953 BINDLIBDNSDIR
="$BINDSRCDIR/lib/export/dns"
6954 BINDLIBISCCFGDIR
="$BINDSRCDIR/lib/export/isccfg"
6955 BINDLIBISCDIR
="$BINDSRCDIR/lib/export/isc"
6958 if test ! -d "$use_libbind"; then
6959 as_fn_error $?
"Cannot find bind directory at $use_libbind" "$LINENO" 5
6961 if test ! -d "$use_libbind/include"; then
6962 as_fn_error $?
"Cannot find bind includes at $use_libbind/include" "$LINENO" 5
6964 if test ! -d "$use_libbind/lib"; then
6965 as_fn_error $?
"Cannot find bind libraries at $use_libbind/lib" "$LINENO" 5
6967 BINDDIR
="$use_libbind"
6968 BINDLIBIRSDIR
="$BINDDIR/lib"
6969 BINDLIBDNSDIR
="$BINDDIR/lib"
6970 BINDLIBISCCFGDIR
="$BINDDIR/lib"
6971 BINDLIBISCDIR
="$BINDDIR/lib"
6984 # Check whether --with-ldap was given.
6985 if test "${with_ldap+set}" = set; then :
6986 withval
=$with_ldap; ldap
=$withval
6992 # OpenLDAP with SSL support.
6994 # Check whether --with-ldapcrypto was given.
6995 if test "${with_ldapcrypto+set}" = set; then :
6996 withval
=$with_ldapcrypto; ldapcrypto
=$withval
7002 # Gssapi to allow LDAP to authenticate with a keytab
7004 # Check whether --with-ldap-gssapi was given.
7005 if test "${with_ldap_gssapi+set}" = set; then :
7006 withval
=$with_ldap_gssapi; ldap_gssapi
=$withval
7013 # LDAP CASA auth support.
7015 # Check whether --with-ldapcasa was given.
7016 if test "${with_ldapcasa+set}" = set; then :
7017 withval
=$with_ldapcasa; ldapcasa
=$withval
7023 # OpenLDAP support is disabled by default, if enabled then SSL support is an
7024 # extra optional that is also disabled by default. Enabling LDAP SSL support
7025 # implies enabling LDAP support. Similarly, KRB5 support implies LDAP support,
7026 # but doesn't include SSL. The two are not dependant.
7027 if test x
$ldap = xyes ||
test x
$ldapcrypto = xyes ||
test x
$ldap_gssapi = xyes
; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
7031 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
7032 if ${ac_cv_search_ldap_initialize+:} false
; then :
7033 $as_echo_n "(cached) " >&6
7035 ac_func_search_save_LIBS
=$LIBS
7036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7039 /* Override any GCC internal prototype to avoid an error.
7040 Use char because int might match the return type of a GCC
7041 builtin and then its argument prototype would still apply. */
7045 char ldap_initialize ();
7049 return ldap_initialize ();
7054 for ac_lib
in '' ldap
; do
7055 if test -z "$ac_lib"; then
7056 ac_res
="none required"
7059 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7061 if ac_fn_c_try_link
"$LINENO"; then :
7062 ac_cv_search_ldap_initialize
=$ac_res
7064 rm -f core conftest.err conftest.
$ac_objext \
7066 if ${ac_cv_search_ldap_initialize+:} false
; then :
7070 if ${ac_cv_search_ldap_initialize+:} false
; then :
7073 ac_cv_search_ldap_initialize
=no
7076 LIBS
=$ac_func_search_save_LIBS
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
7079 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
7080 ac_res
=$ac_cv_search_ldap_initialize
7081 if test "$ac_res" != no
; then :
7082 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7087 as_fn_error $?
"*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
7088 See \`config.log' for more details" "$LINENO" 5; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
7092 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
7093 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
7094 $as_echo_n "(cached) " >&6
7096 ac_func_search_save_LIBS
=$LIBS
7097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7100 /* Override any GCC internal prototype to avoid an error.
7101 Use char because int might match the return type of a GCC
7102 builtin and then its argument prototype would still apply. */
7106 char ber_pvt_opt_on ();
7110 return ber_pvt_opt_on ();
7115 for ac_lib
in '' lber
; do
7116 if test -z "$ac_lib"; then
7117 ac_res
="none required"
7120 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7122 if ac_fn_c_try_link
"$LINENO"; then :
7123 ac_cv_search_ber_pvt_opt_on
=$ac_res
7125 rm -f core conftest.err conftest.
$ac_objext \
7127 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
7131 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
7134 ac_cv_search_ber_pvt_opt_on
=no
7137 LIBS
=$ac_func_search_save_LIBS
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
7140 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
7141 ac_res
=$ac_cv_search_ber_pvt_opt_on
7142 if test "$ac_res" != no
; then :
7143 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7148 as_fn_error $?
"*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
7149 See \`config.log' for more details" "$LINENO" 5; }
7152 if test x
$ldap_gssapi = xyes
; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing krb5_init_context" >&5
7154 $as_echo_n "checking for library containing krb5_init_context... " >&6; }
7155 if ${ac_cv_search_krb5_init_context+:} false
; then :
7156 $as_echo_n "(cached) " >&6
7158 ac_func_search_save_LIBS
=$LIBS
7159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7162 /* Override any GCC internal prototype to avoid an error.
7163 Use char because int might match the return type of a GCC
7164 builtin and then its argument prototype would still apply. */
7168 char krb5_init_context ();
7172 return krb5_init_context ();
7177 for ac_lib
in '' krb5
; do
7178 if test -z "$ac_lib"; then
7179 ac_res
="none required"
7182 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7184 if ac_fn_c_try_link
"$LINENO"; then :
7185 ac_cv_search_krb5_init_context
=$ac_res
7187 rm -f core conftest.err conftest.
$ac_objext \
7189 if ${ac_cv_search_krb5_init_context+:} false
; then :
7193 if ${ac_cv_search_krb5_init_context+:} false
; then :
7196 ac_cv_search_krb5_init_context
=no
7199 LIBS
=$ac_func_search_save_LIBS
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_krb5_init_context" >&5
7202 $as_echo "$ac_cv_search_krb5_init_context" >&6; }
7203 ac_res
=$ac_cv_search_krb5_init_context
7204 if test "$ac_res" != no
; then :
7205 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7210 as_fn_error $?
"*** Cannot find krb5_init_context with -lkrb5 - do you need to install a Kerberos Devel package?
7211 See \`config.log' for more details" "$LINENO" 5; }
7216 # Create LDAP_LIBS which we specify them explicitly rather than lumping them in with LIBS
7222 for ac_header
in ldap.h
7224 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
7225 if test "x$ac_cv_header_ldap_h" = xyes
; then :
7226 cat >>confdefs.h
<<_ACEOF
7227 #define HAVE_LDAP_H 1
7234 for ac_func
in inet_pton inet_ntop
7236 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7237 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7238 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7239 cat >>confdefs.h
<<_ACEOF
7240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7248 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
7250 if test x
$ldapcasa = xyes
; then
7251 for ac_header
in micasa_mgmd.h
7253 ac_fn_c_check_header_mongrel
"$LINENO" "micasa_mgmd.h" "ac_cv_header_micasa_mgmd_h" "$ac_includes_default"
7254 if test "x$ac_cv_header_micasa_mgmd_h" = xyes
; then :
7255 cat >>confdefs.h
<<_ACEOF
7256 #define HAVE_MICASA_MGMD_H 1
7259 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_CASA_AUTH"
7262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7264 as_fn_error $?
"*** Cannot find micasa_mgmd.h for ldap casa auth support
7265 See \`config.log' for more details" "$LINENO" 5; }
7272 if test x
$ldapcrypto = xyes
; then
7273 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_USE_SSL"
7276 if test x
$ldap_gssapi = xyes
; then
7277 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_USE_GSSAPI"
7280 LDAP_CFLAGS
=$LDAP_CFLAGS
7284 # Append selected warning levels to CFLAGS before substitution (but after
7285 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
7286 CFLAGS
="$CFLAGS $STD_CWARNINGS"
7288 # Try to add the bind and dhcp include directories
7289 CFLAGS
="$CFLAGS -I\$(top_srcdir)/includes -I$BINDDIR/include"
7293 CFLAGS
="$CFLAGS -D__APPLE_USE_RFC_3542";;
7295 # As of Solaris 11, ethernet dev files are in /dev/net
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/net" >&5
7297 $as_echo_n "checking for /dev/net... " >&6; }
7298 if ${ac_cv_file__dev_net+:} false
; then :
7299 $as_echo_n "(cached) " >&6
7301 test "$cross_compiling" = yes &&
7302 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
7303 if test -r "/dev/net"; then
7304 ac_cv_file__dev_net
=yes
7306 ac_cv_file__dev_net
=no
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_net" >&5
7310 $as_echo "$ac_cv_file__dev_net" >&6; }
7311 if test "x$ac_cv_file__dev_net" = xyes
; then :
7313 $as_echo "#define USE_DEV_NET 1" >>confdefs.h
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
7322 $as_echo_n "checking for flexible array members... " >&6; }
7323 if ${ac_cv_c_flexmember+:} false
; then :
7324 $as_echo_n "(cached) " >&6
7326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7331 struct s { int n; double d[]; };
7336 struct s *p = malloc (offsetof (struct s, d)
7337 + m * sizeof (double));
7339 return p->d != (double *) NULL;
7344 if ac_fn_c_try_compile
"$LINENO"; then :
7345 ac_cv_c_flexmember
=yes
7347 ac_cv_c_flexmember
=no
7349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
7352 $as_echo "$ac_cv_c_flexmember" >&6; }
7353 if test $ac_cv_c_flexmember = yes; then
7355 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
7358 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
7363 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"
7365 cat >confcache
<<\_ACEOF
7366 # This file is a shell script that caches the results of configure
7367 # tests run on this system so they can be shared between configure
7368 # scripts and configure runs, see configure's option --config-cache.
7369 # It is not useful on other systems. If it contains results you don't
7370 # want to keep, you may remove or edit it.
7372 # config.status only pays attention to the cache file if you give it
7373 # the --recheck option to rerun configure.
7375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7381 # The following way of writing the cache mishandles newlines in values,
7382 # but we know of no workaround that is simple, portable, and efficient.
7383 # So, we kill variables containing newlines.
7384 # Ultrix sh set writes to stderr and can't be redirected directly,
7385 # and sets the high bit in the cache file unless we assign to the vars.
7387 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7388 eval ac_val
=\$
$ac_var
7392 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7393 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7396 _ | IFS | as_nl
) ;; #(
7397 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7398 *) { eval $ac_var=; unset $ac_var;} ;;
7404 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7405 *${as_nl}ac_space
=\
*)
7406 # `set' does not quote correctly, so add quotes: double-quote
7407 # substitution turns \\\\ into \\, and sed turns \\ into \.
7410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7413 # `set' quotes correctly as required by POSIX, so do not add quotes.
7414 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7425 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7427 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7428 if test -w "$cache_file"; then
7429 if test "x$cache_file" != "x/dev/null"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7431 $as_echo "$as_me: updating cache $cache_file" >&6;}
7432 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7433 cat confcache
>"$cache_file"
7435 case $cache_file in #(
7437 mv -f confcache
"$cache_file"$$
&&
7438 mv -f "$cache_file"$$
"$cache_file" ;; #(
7440 mv -f confcache
"$cache_file" ;;
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7446 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7451 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7452 # Let make expand exec_prefix.
7453 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7455 DEFS
=-DHAVE_CONFIG_H
7460 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7461 # 1. Remove the extension, and $U if already installed.
7462 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7463 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7465 # will be set to the directory where LIBOBJS objects are built.
7466 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7467 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7471 LTLIBOBJS
=$ac_ltlibobjs
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7475 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7476 if test -n "$am_sleep_pid"; then
7477 # Hide warnings about reused PIDs.
7478 wait $am_sleep_pid 2>/dev
/null
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7481 $as_echo "done" >&6; }
7482 if test -n "$EXEEXT"; then
7484 am__EXEEXT_FALSE
='#'
7490 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7491 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
7492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7494 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7495 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7498 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7499 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7502 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
7503 as_fn_error $?
"conditional \"CROSS_COMPILING\" was never defined.
7504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7507 if test -z "${BIND_ATF_TRUE}" && test -z "${BIND_ATF_FALSE}"; then
7508 as_fn_error $?
"conditional \"BIND_ATF\" was never defined.
7509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7511 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
7512 as_fn_error $?
"conditional \"HAVE_ATF\" was never defined.
7513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7516 : "${CONFIG_STATUS=./config.status}"
7518 ac_clean_files_save
=$ac_clean_files
7519 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7521 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7523 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7525 # Generated by $as_me.
7526 # Run this file to recreate the current configuration.
7527 # Compiler output produced by configure, useful for debugging
7528 # configure, is in config.log if it exists.
7534 SHELL=\${CONFIG_SHELL-$SHELL}
7537 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7538 ## -------------------- ##
7539 ## M4sh Initialization. ##
7540 ## -------------------- ##
7542 # Be more Bourne compatible
7543 DUALCASE
=1; export DUALCASE
# for MKS sh
7544 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7547 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7548 # is contrary to our usage. Disable this feature.
7549 alias -g '${1+"$@"}'='"$@"'
7550 setopt NO_GLOB_SUBST
7552 case `(set -o) 2>/dev/null` in #(
7564 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7565 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7568 # Prefer a ksh shell builtin over an external printf program on Solaris,
7569 # but without wasting forks for bash or zsh.
7570 if test -z "$BASH_VERSION$ZSH_VERSION" \
7571 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7572 as_echo='print
-r --'
7573 as_echo_n='print
-rn --'
7574 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7575 as_echo='printf %s
\n'
7576 as_echo_n='printf %s
'
7578 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7579 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7580 as_echo_n='/usr
/ucb
/echo -n'
7582 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7583 as_echo_n_body='eval
7587 expr "X$arg" : "X\\(.*\\)$as_nl";
7588 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7590 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7592 export as_echo_n_body
7593 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7596 as_echo='sh
-c $as_echo_body as_echo
'
7599 # The user is always right.
7600 if test "${PATH_SEPARATOR+set}" != set; then
7602 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7603 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7610 # We need space, tab and new line, in precisely that order. Quoting is
7611 # there to prevent editors from complaining about space-tab.
7612 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7613 # splitting by setting IFS to empty value.)
7616 # Find who we are. Look in the path if we contain no directory separator.
7619 *[\\/]* ) as_myself=$0 ;;
7620 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir=.
7625 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7631 # We did not find ourselves, most probably we were run as `sh COMMAND'
7632 # in which case we are not to be found in the path.
7633 if test "x$as_myself" = x
; then
7636 if test ! -f "$as_myself"; then
7637 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7641 # Unset variables that we do not need and which cause bugs (e.g. in
7642 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7643 # suppresses any "Segmentation fault" message there. '((' could
7644 # trigger a bug in pdksh 5.2.14.
7645 for as_var
in BASH_ENV ENV MAIL MAILPATH
7646 do eval test x\
${$as_var+set} = xset \
7647 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7660 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7663 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7664 # ----------------------------------------
7665 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7666 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7667 # script with STATUS, using 1 if that was 0.
7670 as_status
=$1; test $as_status -eq 0 && as_status
=1
7672 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7673 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7675 $as_echo "$as_me: error: $2" >&2
7676 as_fn_exit
$as_status
7680 # as_fn_set_status STATUS
7681 # -----------------------
7682 # Set $? to STATUS, without forking.
7686 } # as_fn_set_status
7690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7700 # Portably unset VAR.
7703 { eval $1=; unset $1;}
7705 as_unset
=as_fn_unset
7706 # as_fn_append VAR VALUE
7707 # ----------------------
7708 # Append the text in VALUE to the end of the definition contained in VAR. Take
7709 # advantage of any shell optimizations that allow amortized linear growth over
7710 # repeated appends, instead of the typical quadratic growth present in naive
7712 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7713 eval 'as_fn_append ()
7724 # as_fn_arith ARG...
7725 # ------------------
7726 # Perform arithmetic evaluation on the ARGs, and store the result in the
7727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7728 # must be portable across $(()) and expr.
7729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7730 eval 'as_fn_arith ()
7737 as_val
=`expr "$@" || test $? -eq 1`
7742 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7743 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7749 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7750 as_basename
=basename
7755 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7761 as_me
=`$as_basename -- "$0" ||
7762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7763 X"$0" : 'X\(//\)$' \| \
7764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7766 sed '/^.*\/\([^/][^/]*\)\/*$/{
7780 # Avoid depending upon Character Ranges.
7781 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7782 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7783 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7784 as_cr_digits
='0123456789'
7785 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7787 ECHO_C
= ECHO_N
= ECHO_T
=
7788 case `echo -n x` in #(((((
7790 case `echo 'xy\c'` in
7791 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7793 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7800 rm -f conf$$ conf$$.exe conf$$.
file
7801 if test -d conf$$.dir
; then
7802 rm -f conf$$.dir
/conf$$.
file
7805 mkdir conf$$.dir
2>/dev
/null
7807 if (echo >conf$$.
file) 2>/dev
/null
; then
7808 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7810 # ... but there are two gotchas:
7811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7813 # In both cases, we have to default to `cp -pR'.
7814 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7816 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7824 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7825 rmdir conf$$.dir
2>/dev
/null
7830 # Create "$as_dir" as a directory, including parents if necessary.
7835 -*) as_dir
=.
/$as_dir;;
7837 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7841 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7842 *) as_qdir
=$as_dir;;
7844 as_dirs
="'$as_qdir' $as_dirs"
7845 as_dir
=`$as_dirname -- "$as_dir" ||
7846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7847 X"$as_dir" : 'X\(//\)[^/]' \| \
7848 X"$as_dir" : 'X\(//\)$' \| \
7849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7850 $as_echo X"$as_dir" |
7851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7868 test -d "$as_dir" && break
7870 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7871 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7875 if mkdir
-p .
2>/dev
/null
; then
7876 as_mkdir_p
='mkdir -p "$as_dir"'
7878 test -d .
/-p && rmdir .
/-p
7883 # as_fn_executable_p FILE
7884 # -----------------------
7885 # Test if FILE is an executable regular file.
7886 as_fn_executable_p
()
7888 test -f "$1" && test -x "$1"
7889 } # as_fn_executable_p
7891 as_executable_p
=as_fn_executable_p
7893 # Sed expression to map a string onto a valid CPP name.
7894 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7896 # Sed expression to map a string onto a valid variable name.
7897 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7901 ## ----------------------------------- ##
7902 ## Main body of $CONFIG_STATUS script. ##
7903 ## ----------------------------------- ##
7905 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7908 # Save the log message, to keep $0 and so on meaningful, and to
7909 # report actual input values of CONFIG_FILES etc. instead of their
7910 # values after options handling.
7912 This file was extended by DHCP $as_me 4.3.4, which was
7913 generated by GNU Autoconf 2.69. Invocation command line was
7915 CONFIG_FILES = $CONFIG_FILES
7916 CONFIG_HEADERS = $CONFIG_HEADERS
7917 CONFIG_LINKS = $CONFIG_LINKS
7918 CONFIG_COMMANDS = $CONFIG_COMMANDS
7921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7926 case $ac_config_files in *"
7927 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7930 case $ac_config_headers in *"
7931 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7936 # Files that config.status was made for.
7937 config_files="$ac_config_files"
7938 config_headers="$ac_config_headers"
7939 config_commands="$ac_config_commands"
7943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7945 \`$as_me' instantiates files and other configuration actions
7946 from templates according to the current configuration. Unless the files
7947 and actions are specified as TAGs, all are instantiated by default.
7949 Usage: $0 [OPTION]... [TAG]...
7951 -h, --help print this help, then exit
7952 -V, --version print version number and configuration settings, then exit
7953 --config print configuration, then exit
7954 -q, --quiet, --silent
7955 do not print progress messages
7956 -d, --debug don't remove temporary files
7957 --recheck update $as_me by reconfiguring in the same conditions
7958 --file=FILE[:TEMPLATE]
7959 instantiate the configuration file FILE
7960 --header=FILE[:TEMPLATE]
7961 instantiate the configuration header FILE
7963 Configuration files:
7966 Configuration headers:
7969 Configuration commands:
7972 Report bugs to <dhcp-users@isc.org>."
7975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7976 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7978 DHCP config.status 4.3.4
7979 configured by $0, generated by GNU Autoconf 2.69,
7980 with options \\"\$ac_cs_config\\"
7982 Copyright (C) 2012 Free Software Foundation, Inc.
7983 This config.status script is free software; the Free Software Foundation
7984 gives unlimited permission to copy, distribute and modify it."
7991 test -n "\$AWK" || AWK=awk
7994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7995 # The default lists apply if the user does not specify any file.
8001 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8002 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8006 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8018 # Handling of the options.
8019 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8021 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8022 $as_echo "$ac_cs_version"; exit ;;
8023 --config |
--confi |
--conf |
--con |
--co |
--c )
8024 $as_echo "$ac_cs_config"; exit ;;
8025 --debug |
--debu |
--deb |
--de |
--d |
-d )
8027 --file |
--fil |
--fi |
--f )
8030 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8031 '') as_fn_error $?
"missing file argument" ;;
8033 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8034 ac_need_defaults
=false
;;
8035 --header |
--heade |
--head |
--hea )
8038 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8040 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8041 ac_need_defaults
=false
;;
8043 # Conflict between --help and --header
8044 as_fn_error $?
"ambiguous option: \`$1'
8045 Try \`$0 --help' for more information.";;
8046 --help |
--hel |
-h )
8047 $as_echo "$ac_cs_usage"; exit ;;
8048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8049 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8053 -*) as_fn_error $?
"unrecognized option: \`$1'
8054 Try \`$0 --help' for more information." ;;
8056 *) as_fn_append ac_config_targets
" $1"
8057 ac_need_defaults
=false
;;
8063 ac_configure_extra_args
=
8065 if $ac_cs_silent; then
8067 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8072 if \$ac_cs_recheck; then
8073 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8075 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8076 CONFIG_SHELL='$SHELL'
8082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8087 ## Running $as_me. ##
8093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8097 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8103 # Handling of arguments.
8104 for ac_config_target
in $ac_config_targets
8106 case $ac_config_target in
8107 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8108 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
8109 "$srcdir/bind/Makefile") CONFIG_FILES
="$CONFIG_FILES $srcdir/bind/Makefile" ;;
8110 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8111 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
8112 "client/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES client/tests/Makefile" ;;
8113 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
8114 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
8115 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
8116 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
8117 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
8118 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
8119 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
8120 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
8121 "tests/unittest.sh") CONFIG_FILES
="$CONFIG_FILES tests/unittest.sh" ;;
8122 "server/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES server/tests/Makefile" ;;
8123 "doc/devel/doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/devel/doxyfile" ;;
8125 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8130 # If the user did not use the arguments to specify the items to instantiate,
8131 # then the envvar interface is used. Set only those that are not.
8132 # We use the long form for the default assignment because of an extremely
8133 # bizarre bug on SunOS 4.1.3.
8134 if $ac_need_defaults; then
8135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8136 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8137 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8140 # Have a temporary directory for convenience. Make it in the build tree
8141 # simply because there is no reason against having it here, and in addition,
8142 # creating and moving files from /tmp can sometimes cause problems.
8143 # Hook for its removal unless debugging.
8144 # Note that there is a small window in which the directory will not be cleaned:
8145 # after its creation but before its name has been assigned to `$tmp'.
8149 trap 'exit_status=$?
8151 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8153 trap 'as_fn_exit 1' 1 2 13 15
8155 # Create a (secure) tmp directory for tmp files.
8158 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8162 tmp
=.
/conf$$
-$RANDOM
8163 (umask 077 && mkdir
"$tmp")
8164 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8167 # Set up the scripts for CONFIG_FILES section.
8168 # No need to generate them if there are no CONFIG_FILES.
8169 # This happens for instance with `./config.status config.h'.
8170 if test -n "$CONFIG_FILES"; then
8173 ac_cr
=`echo X | tr X '\015'`
8174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8175 # But we know of no other shell where ac_cr would be empty at this
8176 # point, so we can use a bashism as a fallback.
8177 if test "x$ac_cr" = x
; then
8178 eval ac_cr
=\$
\'\\r
\'
8180 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8187 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8192 echo "cat >conf$$subs.awk <<_ACEOF" &&
8193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8196 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8199 for ac_last_try in false false false false false :; do
8200 . ./conf$$subs.sh ||
8201 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8203 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8204 if test $ac_delim_n = $ac_delim_num; then
8206 elif $ac_last_try; then
8207 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8209 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8215 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8219 s/^/S["/; s
/!.
*/"]=/
8229 s/\(.\{148\}\)..*/\1/
8231 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8236 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8243 s/\(.\{148\}\)..*/\1/
8245 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8249 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8254 ' <conf$$subs.awk | sed '
8259 ' >>$CONFIG_STATUS || ac_write_fail=1
8260 rm -f conf$$subs.awk
8261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8263 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8264 for (key in S) S_is_set[key] = 1
8270 nfields = split(line, field, "@
")
8272 len = length(field[1])
8273 for (i = 2; i < nfields; i++) {
8275 keylen = length(key)
8276 if (S_is_set[key]) {
8278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8279 len += length(value) + length(field[++i])
8290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8291 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8292 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8295 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8296 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8299 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8300 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8301 # trailing colons and then remove the whole line if VPATH becomes empty
8302 # (actually we leave an empty line to preserve line numbers).
8303 if test "x
$srcdir" = x.; then
8304 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8323 fi # test -n "$CONFIG_FILES"
8325 # Set up the scripts for CONFIG_HEADERS section.
8326 # No need to generate them if there are no CONFIG_HEADERS.
8327 # This happens for instance with `./config.status Makefile'.
8328 if test -n "$CONFIG_HEADERS"; then
8329 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8333 # Transform confdefs.h into an awk script `defines.awk', embedded as
8334 # here-document in config.status, that substitutes the proper values into
8335 # config.h.in to produce config.h.
8337 # Create a delimiter string that does not exist in confdefs.h, to ease
8338 # handling of long lines.
8340 for ac_last_try in false false :; do
8341 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8342 if test -z "$ac_tt"; then
8344 elif $ac_last_try; then
8345 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8347 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8351 # For the awk script, D is an array of macro values keyed by name,
8352 # likewise P contains macro parameters if any. Preserve backslash
8353 # newline sequences.
8355 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8357 s/.\{148\}/&'"$ac_delim"'/g
8360 s/^[ ]*#[ ]*define[ ][ ]*/ /
8367 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8369 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8373 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8374 D["\
1"]=" \
3\\\\\\n
"\\/p
8376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8381 s/.\{148\}/&'"$ac_delim"'/g
8386 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8389 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8391 ' <confdefs.h | sed '
8392 s/'"$ac_delim"'/"\\\
8393 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8396 for (key in D) D_is_set[key] = 1
8399 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8401 split(line, arg, " ")
8402 if (arg[1] == "#") {
8406 defundef
= substr
(arg
[1], 2)
8409 split(mac1
, mac2
, "(") #)
8411 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8412 if (D_is_set
[macro
]) {
8413 # Preserve the white space surrounding the "#".
8414 print prefix
"define", macro P
[macro
] D
[macro
]
8417 # Replace #undef with comments. This is necessary, for example,
8418 # in the case of _POSIX_SOURCE, which is predefined and required
8419 # on some systems where configure will not decide to define it.
8420 if (defundef
== "undef") {
8421 print
"/*", prefix defundef
, macro
, "*/"
8429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8430 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8431 fi # test -n "$CONFIG_HEADERS"
8434 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8439 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8441 case $ac_mode$ac_tag in
8443 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8444 :[FH
]-) ac_tag
=-:-;;
8445 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8462 -) ac_f
="$ac_tmp/stdin";;
8463 *) # Look for the file first in the build tree, then in the source tree
8464 # (if the path is not absolute). The absolute path cannot be DOS-style,
8465 # because $ac_f cannot contain `:'.
8469 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8471 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8473 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8474 as_fn_append ac_file_inputs
" '$ac_f'"
8477 # Let's still pretend it is `configure' which instantiates (i.e., don't
8478 # use $as_me), people would be surprised to read:
8479 # /* config.h. Generated by config.status. */
8480 configure_input
='Generated from '`
8481 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8483 if test x
"$ac_file" != x-
; then
8484 configure_input
="$ac_file. $configure_input"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8486 $as_echo "$as_me: creating $ac_file" >&6;}
8488 # Neutralize special characters interpreted by sed in replacement strings.
8489 case $configure_input in #(
8490 *\
&* |
*\|
* |
*\\* )
8491 ac_sed_conf_input
=`$as_echo "$configure_input" |
8492 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8493 *) ac_sed_conf_input
=$configure_input;;
8497 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8498 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8503 ac_dir
=`$as_dirname -- "$ac_file" ||
8504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8505 X"$ac_file" : 'X\(//\)[^/]' \| \
8506 X"$ac_file" : 'X\(//\)$' \| \
8507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8508 $as_echo X"$ac_file" |
8509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8526 as_dir
="$ac_dir"; as_fn_mkdir_p
8530 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8532 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8533 # A ".." for each directory in $ac_dir_suffix.
8534 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8535 case $ac_top_builddir_sub in
8536 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8537 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8540 ac_abs_top_builddir
=$ac_pwd
8541 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8542 # for backward compatibility:
8543 ac_top_builddir
=$ac_top_build_prefix
8546 .
) # We are building in place.
8548 ac_top_srcdir
=$ac_top_builddir_sub
8549 ac_abs_top_srcdir
=$ac_pwd ;;
8550 [\\/]* | ?
:[\\/]* ) # Absolute name.
8551 ac_srcdir
=$srcdir$ac_dir_suffix;
8552 ac_top_srcdir
=$srcdir
8553 ac_abs_top_srcdir
=$srcdir ;;
8555 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8556 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8557 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8559 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8569 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8570 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8574 [\\/$
]* | ?
:[\\/]* ) ;;
8575 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8580 # Neutralize VPATH when `$srcdir' = `.'.
8581 # Shell code in configure.ac might set extrasub.
8582 # FIXME: do we really want to maintain this feature?
8583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8584 ac_sed_extra="$ac_vpsub
8587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8589 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8590 s|@configure_input@|
$ac_sed_conf_input|
;t t
8591 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8592 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8593 s
&@srcdir@
&$ac_srcdir&;t t
8594 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8595 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8596 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8597 s
&@builddir@
&$ac_builddir&;t t
8598 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8599 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8600 s
&@INSTALL@
&$ac_INSTALL&;t t
8601 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8603 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8604 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8607 rm -f "$ac_tmp/stdin
"
8609 -) cat "$ac_tmp/out
" && rm -f "$ac_tmp/out
";;
8610 *) rm -f "$ac_file" && mv "$ac_tmp/out
" "$ac_file";;
8612 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8618 if test x"$ac_file" != x-; then
8620 $as_echo "/* $configure_input */" \
8621 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs"
8622 } >"$ac_tmp/config.h
" \
8623 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8624 if diff "$ac_file" "$ac_tmp/config.h
" >/dev/null 2>&1; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged
" >&5
8626 $as_echo "$as_me: $ac_file is unchanged
" >&6;}
8629 mv "$ac_tmp/config.h
" "$ac_file" \
8630 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8633 $as_echo "/* $configure_input */" \
8634 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs" \
8635 || as_fn_error $? "could not create
-" "$LINENO" 5
8637 # Compute "$ac_file"'s index in $config_headers.
8640 for _am_header in $config_headers :; do
8642 $_am_arg | $_am_arg:* )
8645 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8648 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8649 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8650 X"$_am_arg" : 'X\(//\)[^/]' \| \
8651 X"$_am_arg" : 'X\(//\)$' \| \
8652 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8653 $as_echo X"$_am_arg" |
8654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8670 s/.*/./; q'`/stamp-h$_am_stamp_count
8673 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing
$ac_file commands
" >&5
8674 $as_echo "$as_me: executing
$ac_file commands
" >&6;}
8679 case $ac_file$ac_mode in
8680 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || {
8681 # Older Autoconf quotes --file arguments for eval, but not when files
8682 # are listed without --file. Let's play safe and only enable the eval
8683 # if we detect the quoting.
8684 case $CONFIG_FILES in
8685 *\'*) eval set x "$CONFIG_FILES" ;;
8686 *) set x $CONFIG_FILES ;;
8691 # Strip MF so we end up with the name of the file.
8692 mf=`echo "$mf" | sed -e 's/:.*$//'`
8693 # Check whether this is an Automake generated Makefile or not.
8694 # We used to match only the files named 'Makefile.in', but
8695 # some people rename them; so instead we look at the file content.
8696 # Grep'ing the first line is not enough: some people post-process
8697 # each Makefile.in and add a new line on top of each file to say so.
8698 # Grep'ing the whole file is not good either: AIX grep has a line
8699 # limit of 2048, but all sed's we know have understand at least 4000.
8700 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8701 dirpart=`$as_dirname -- "$mf" ||
8702 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8703 X"$mf" : 'X\(//\)[^/]' \| \
8704 X"$mf" : 'X\(//\)$' \| \
8705 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8727 # Extract the definition of DEPDIR, am__include, and am__quote
8728 # from the Makefile without running 'make'.
8729 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8730 test -z "$DEPDIR" && continue
8731 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8732 test -z "$am__include" && continue
8733 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8734 # Find all dependency output files, they are included files with
8735 # $(DEPDIR) in their names. We invoke sed twice because it is the
8736 # simplest approach to changing $(DEPDIR) to its actual value in the
8738 for file in `sed -n "
8739 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8740 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8741 # Make sure the directory exists.
8742 test -f "$dirpart/$file" && continue
8743 fdir=`$as_dirname -- "$file" ||
8744 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8745 X"$file" : 'X\(//\)[^/]' \| \
8746 X"$file" : 'X\(//\)$' \| \
8747 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8766 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8767 # echo "creating
$dirpart/$file"
8768 echo '# dummy' > "$dirpart/$file"
8780 ac_clean_files=$ac_clean_files_save
8782 test $ac_write_fail = 0 ||
8783 as_fn_error $? "write failure creating
$CONFIG_STATUS" "$LINENO" 5
8786 # configure is writing to config.log, and then calls config.status.
8787 # config.status does its own redirection, appending to config.log.
8788 # Unfortunately, on DOS this fails, as config.log is still kept open
8789 # by configure, so config.status won't be able to write to it; its
8790 # output is simply discarded. So we exec the FD to /dev/null,
8791 # effectively closing config.log, so it can be properly (re)opened and
8792 # appended to by config.status. When coming back to configure, we
8793 # need to make the FD available again.
8794 if test "$no_create" != yes; then
8796 ac_config_status_args=
8797 test "$silent" = yes &&
8798 ac_config_status_args="$ac_config_status_args --quiet"
8800 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8803 # would make configure fail if this is the last instruction.
8804 $ac_cs_success || as_fn_exit 1
8806 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&5
8808 $as_echo "$as_me: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&2;}
8812 if test "$enable_dhcpv4o6" = "yes"; then
8813 DHCP_VERSIONS="DHCPv4
, DHCPv6 and DHCPv4-over-DHCPv6
"
8814 elif test "$enable_dhcpv6" != "no
"; then
8815 DHCP_VERSIONS="DHCPv4 and DHCPv6
"
8817 DHCP_VERSIONS="DHCPv4
"
8820 cat > config.report << END
8822 ISC DHCP source configure results:
8823 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8827 Version: $PACKAGE_VERSION
8835 DHCP versions: $DHCP_VERSIONS
8838 debug: $enable_debug
8839 failover: $enable_failover
8840 execute: $enable_execute
8841 binary-leases: $enable_binary_leases
8842 dhcpv6: $enable_dhcpv6
8843 delayed-ack: $enable_delayed_ack
8846 ATF unittests : $atf_path
8849 # TODO: Add Perl system tests
8851 if test "$atf_path" != "no
"
8853 echo "ATF_CFLAGS
: $ATF_CFLAGS" >> config.report
8854 echo "ATF_LDFLAGS
: $ATF_LDFLAGS" >> config.report
8855 echo "ATF_BIN
: $ATF_BIN" >> config.report
8862 echo Now you can type "make" to build ISC DHCP