2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for DHCP 4.3.3.
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.3'
584 PACKAGE_STRING
='DHCP 4.3.3'
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
646 CROSS_COMPILING_FALSE
675 MAINTAINER_MODE_FALSE
689 INSTALL_STRIP_PROGRAM
731 program_transform_name
744 enable_option_checking
746 enable_maintainer_mode
747 enable_dependency_tracking
758 enable_secs_byteorder
778 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error $?
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=no
;;
908 -docdir |
--docdir |
--docdi |
--doc |
--do)
910 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
913 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
915 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
918 -enable-* |
--enable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error $?
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=\
$ac_optarg ;;
934 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
935 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
936 |
--exec |
--exe |
--ex)
937 ac_prev
=exec_prefix
;;
938 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
939 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
940 |
--exec=* |
--exe=* |
--ex=*)
941 exec_prefix
=$ac_optarg ;;
943 -gas |
--gas |
--ga |
--g)
944 # Obsolete; use --with-gas.
947 -help |
--help |
--hel |
--he |
-h)
949 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
950 ac_init_help
=recursive
;;
951 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
952 ac_init_help
=short
;;
954 -host |
--host |
--hos |
--ho)
955 ac_prev
=host_alias
;;
956 -host=* |
--host=* |
--hos=* |
--ho=*)
957 host_alias
=$ac_optarg ;;
959 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
961 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
963 htmldir
=$ac_optarg ;;
965 -includedir |
--includedir |
--includedi |
--included |
--include \
966 |
--includ |
--inclu |
--incl |
--inc)
967 ac_prev
=includedir
;;
968 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
969 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
970 includedir
=$ac_optarg ;;
972 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
974 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
975 infodir
=$ac_optarg ;;
977 -libdir |
--libdir |
--libdi |
--libd)
979 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
982 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
983 |
--libexe |
--libex |
--libe)
984 ac_prev
=libexecdir
;;
985 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
986 |
--libexe=* |
--libex=* |
--libe=*)
987 libexecdir
=$ac_optarg ;;
989 -localedir |
--localedir |
--localedi |
--localed |
--locale)
991 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
992 localedir
=$ac_optarg ;;
994 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
995 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
996 ac_prev
=localstatedir
;;
997 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
998 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
999 localstatedir
=$ac_optarg ;;
1001 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1003 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1004 mandir
=$ac_optarg ;;
1006 -nfp |
--nfp |
--nf)
1007 # Obsolete; use --without-fp.
1010 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1011 |
--no-cr |
--no-c |
-n)
1014 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1015 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1018 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1019 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1020 |
--oldin |
--oldi |
--old |
--ol |
--o)
1021 ac_prev
=oldincludedir
;;
1022 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1023 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1024 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1025 oldincludedir
=$ac_optarg ;;
1027 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1029 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1030 prefix
=$ac_optarg ;;
1032 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1033 |
--program-pre |
--program-pr |
--program-p)
1034 ac_prev
=program_prefix
;;
1035 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1036 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1037 program_prefix
=$ac_optarg ;;
1039 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1040 |
--program-suf |
--program-su |
--program-s)
1041 ac_prev
=program_suffix
;;
1042 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1043 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1044 program_suffix
=$ac_optarg ;;
1046 -program-transform-name |
--program-transform-name \
1047 |
--program-transform-nam |
--program-transform-na \
1048 |
--program-transform-n |
--program-transform- \
1049 |
--program-transform |
--program-transfor \
1050 |
--program-transfo |
--program-transf \
1051 |
--program-trans |
--program-tran \
1052 |
--progr-tra |
--program-tr |
--program-t)
1053 ac_prev
=program_transform_name
;;
1054 -program-transform-name=* |
--program-transform-name=* \
1055 |
--program-transform-nam=* |
--program-transform-na=* \
1056 |
--program-transform-n=* |
--program-transform-=* \
1057 |
--program-transform=* |
--program-transfor=* \
1058 |
--program-transfo=* |
--program-transf=* \
1059 |
--program-trans=* |
--program-tran=* \
1060 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1061 program_transform_name
=$ac_optarg ;;
1063 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1065 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1066 pdfdir
=$ac_optarg ;;
1068 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1070 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1074 |
-silent |
--silent |
--silen |
--sile |
--sil)
1077 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1079 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1081 sbindir
=$ac_optarg ;;
1083 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1084 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1085 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1087 ac_prev
=sharedstatedir
;;
1088 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1089 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1090 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1092 sharedstatedir
=$ac_optarg ;;
1094 -site |
--site |
--sit)
1096 -site=* |
--site=* |
--sit=*)
1099 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1101 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1102 srcdir
=$ac_optarg ;;
1104 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1105 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1106 ac_prev
=sysconfdir
;;
1107 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1108 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1109 sysconfdir
=$ac_optarg ;;
1111 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1112 ac_prev
=target_alias
;;
1113 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1114 target_alias
=$ac_optarg ;;
1116 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1119 -version |
--version |
--versio |
--versi |
--vers |
-V)
1120 ac_init_version
=: ;;
1123 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=\
$ac_optarg ;;
1138 -without-* |
--without-*)
1139 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error $?
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=no
;;
1155 # Obsolete; use --with-x.
1158 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1159 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1160 ac_prev
=x_includes
;;
1161 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1162 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1163 x_includes
=$ac_optarg ;;
1165 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1166 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1167 ac_prev
=x_libraries
;;
1168 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1169 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1170 x_libraries
=$ac_optarg ;;
1172 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information"
1177 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1181 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1183 eval $ac_envvar=\
$ac_optarg
1184 export $ac_envvar ;;
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197 if test -n "$ac_prev"; then
1198 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error $?
"missing argument to $ac_option"
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1205 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 # Check all directory arguments for consistency.
1211 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1216 eval ac_val
=\$
$ac_var
1217 # Remove trailing slashes.
1220 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\
$ac_val;;
1223 # Be sure to have absolute directory names.
1225 [\\/$
]* | ?
:[\\/]* ) continue;;
1226 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1228 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error $?
"working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error $?
"pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted
=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir
=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1293 ac_srcdir_defaulted
=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1297 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1311 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 for ac_var
in $ac_precious_vars; do
1314 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1316 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1327 \`configure' configures DHCP 4.3.3 to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking ...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1390 --build=BUILD configure
for building on BUILD
[guessed
]
1391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of DHCP 4.3.3:";;
1402 --disable-option-checking ignore unrecognized
--enable/--with options
1403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1405 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1406 --disable-silent-rules verbose build output
(undo
: "make V=0")
1407 --enable-maintainer-mode
1408 enable make rules and dependencies not useful
(and
1409 sometimes confusing
) to the casual installer
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1414 --enable-debug create a debug-only version of the software
(default
1416 --enable-failover enable support
for failover
(default is
yes)
1417 --enable-execute enable support
for execute
() in config
(default is
1419 --enable-tracing enable support
for server activity tracing
(default
1421 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1422 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1423 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1424 --enable-early-chroot enable chrooting prior to configuration
(default is
1426 --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets
(default is
1428 --enable-use-sockets use the standard BSD socket API
(default is no
)
1429 --enable-secs-byteorder Correct bad byteorders
in the secs field
(default is
1431 --enable-log-pid Include PIDs
in syslog messages
(default is no
).
1432 --enable-binary-leases enable support
for binary insertion of leases
1436 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1437 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1438 --with-atf=PATH specify location where atf was installed
(or
"bind")
1439 --with-srv-lease-file=PATH
1440 File
for dhcpd leases
(default is
1441 LOCALSTATEDIR
/db
/dhcpd.leases
)
1442 --with-srv6-lease-file=PATH
1443 File
for dhcpd6 leases
(default is
1444 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1445 --with-cli-lease-file=PATH
1446 File
for dhclient leases
(default is
1447 LOCALSTATEDIR
/db
/dhclient.leases
)
1448 --with-cli6-lease-file=PATH
1449 File
for dhclient6 leases
(default is
1450 LOCALSTATEDIR
/db
/dhclient6.leases
)
1451 --with-srv-pid-file=PATH
1452 File
for dhcpd process information
(default is
1453 LOCALSTATEDIR
/run
/dhcpd.pid
)
1454 --with-srv6-pid-file=PATH
1455 File
for dhcpd6 process information
(default is
1456 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1457 --with-cli-pid-file=PATH
1458 File
for dhclient process information
(default is
1459 LOCALSTATEDIR
/run
/dhclient.pid
)
1460 --with-cli6-pid-file=PATH
1461 File
for dhclient6 process information
(default is
1462 LOCALSTATEDIR
/run
/dhclient6.pid
)
1463 --with-relay-pid-file=PATH
1464 File
for dhcrelay process information
(default is
1465 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1466 --with-relay6-pid-file=PATH
1467 File
for dhcrelay6 process information
(default is
1468 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1469 --with-libbind=PATH
bind includes and libraries are
in PATH
(default is
1471 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1472 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1474 --with-ldap-gssapi enable krb
5/gssapi authentication
for OpenLDAP
in
1475 dhcpd
(default is no
)
1476 --with-ldapcasa enable LDAP CASA auth support
in dhcpd
(default is
1479 Some influential environment variables
:
1480 CC C compiler
command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1483 nonstandard directory
<lib dir
>
1484 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1485 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1486 you have headers
in a nonstandard directory
<include dir
>
1489 Use these variables to override the choices made by
`configure' or to help
1490 it to find libraries and programs with nonstandard names/locations.
1492 Report bugs to <dhcp-users@isc.org>.
1497 if test "$ac_init_help" = "recursive"; then
1498 # If there are subdirs, report their specific --help.
1499 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1500 test -d "$ac_dir" ||
1501 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1509 # A ".." for each directory in $ac_dir_suffix.
1510 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1511 case $ac_top_builddir_sub in
1512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1516 ac_abs_top_builddir=$ac_pwd
1517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1518 # for backward compatibility:
1519 ac_top_builddir=$ac_top_build_prefix
1522 .) # We are building in place.
1524 ac_top_srcdir=$ac_top_builddir_sub
1525 ac_abs_top_srcdir=$ac_pwd ;;
1526 [\\/]* | ?:[\\/]* ) # Absolute name.
1527 ac_srcdir=$srcdir$ac_dir_suffix;
1528 ac_top_srcdir=$srcdir
1529 ac_abs_top_srcdir=$srcdir ;;
1531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1532 ac_top_srcdir=$ac_top_build_prefix$srcdir
1533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1537 cd "$ac_dir" || { ac_status=$?; continue; }
1538 # Check for guested configure.
1539 if test -f "$ac_srcdir/configure.gnu"; then
1541 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1542 elif test -f "$ac_srcdir/configure"; then
1544 $SHELL "$ac_srcdir/configure" --help=recursive
1546 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1548 cd "$ac_pwd" || { ac_status=$?; break; }
1552 test -n "$ac_init_help" && exit $ac_status
1553 if $ac_init_version; then
1555 DHCP configure 4.3.3
1556 generated by GNU Autoconf 2.69
1558 Copyright (C) 2012 Free Software Foundation, Inc.
1559 This configure script is free software; the Free Software Foundation
1560 gives unlimited permission to copy, distribute and modify it.
1565 ## ------------------------ ##
1566 ## Autoconf initialization. ##
1567 ## ------------------------ ##
1569 # ac_fn_c_try_compile LINENO
1570 # --------------------------
1571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1572 ac_fn_c_try_compile ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 rm -f conftest.$ac_objext
1576 if { { ac_try="$ac_compile"
1578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1579 *) ac_try_echo
=$ac_try;;
1581 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_compile") 2>conftest.err
1585 if test -s conftest.err
; then
1586 grep -v '^ *+' conftest.err
>conftest.er1
1587 cat conftest.er1
>&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } && {
1592 test -z "$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1594 } && test -s conftest.
$ac_objext; then :
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.
$ac_ext >&5
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status
$ac_retval
1605 } # ac_fn_c_try_compile
1607 # ac_fn_c_try_cpp LINENO
1608 # ----------------------
1609 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1612 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1613 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1616 *) ac_try_echo=$ac_try;;
1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1622 if test -s conftest.err; then
1623 grep -v '^ *+' conftest.err >conftest.er1
1624 cat conftest.er1 >&5
1625 mv -f conftest.er1 conftest.err
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } > conftest.i && {
1629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1630 test ! -s conftest.err
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.$ac_ext >&5
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status $ac_retval
1644 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1645 # -------------------------------------------------------
1646 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1647 # the include files in INCLUDES and setting the cache variable VAR
1649 ac_fn_c_check_header_mongrel ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 if eval \${$3+:} false; then :
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1654 $as_echo_n "checking for $2... " >&6; }
1655 if eval \${$3+:} false; then :
1656 $as_echo_n "(cached) " >&6
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1662 # Is the header compilable?
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1664 $as_echo_n "checking $2 usability... " >&6; }
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1670 if ac_fn_c_try_compile "$LINENO"; then :
1671 ac_header_compiler=yes
1673 ac_header_compiler=no
1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1677 $as_echo "$ac_header_compiler" >&6; }
1679 # Is the header present?
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1681 $as_echo_n "checking $2 presence... " >&6; }
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1686 if ac_fn_c_try_cpp "$LINENO"; then :
1687 ac_header_preproc=yes
1689 ac_header_preproc=no
1691 rm -f conftest.err conftest.i conftest.$ac_ext
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1693 $as_echo "$ac_header_preproc" >&6; }
1695 # So? What about this header?
1696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1699 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1701 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1705 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1707 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1709 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1711 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1714 ( $as_echo "## --------------------------------- ##
1715 ## Report this to dhcp-users@isc.org ##
1716 ## --------------------------------- ##"
1717 ) | sed "s/^/$as_me: WARNING: /" >&2
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if eval \${$3+:} false; then :
1723 $as_echo_n "(cached) " >&6
1725 eval "$3=\$ac_header_compiler"
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 } # ac_fn_c_check_header_mongrel
1735 # ac_fn_c_try_run LINENO
1736 # ----------------------
1737 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1738 # that executables *can* be run.
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 if { { ac_try="$ac_link"
1744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1745 *) ac_try_echo
=$ac_try;;
1747 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_link") 2>&5
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1753 { { case "(($ac_try" in
1754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_try") 2>&5
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; }; }; then :
1765 $as_echo "$as_me: program exited with status $ac_status" >&5
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.$ac_ext >&5
1769 ac_retval=$ac_status
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status $ac_retval
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile ()
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile "$LINENO"; then :
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_find_intX_t LINENO BITS VAR
1809 # -----------------------------------
1810 # Finds a signed integer type with width BITS, setting cache variable VAR
1812 ac_fn_c_find_intX_t ()
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1816 $as_echo_n "checking for int$2_t... " >&6; }
1817 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6
1821 # Order is important - never check a type that is potentially smaller
1822 # than half of the expected target width.
1823 for ac_type in int$2_t 'int' 'long int' \
1824 'long long int' 'short int' 'signed char'; do
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1827 $ac_includes_default
1828 enum { N = $2 / 2 - 1 };
1832 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1834 return test_array [0];
1840 if ac_fn_c_try_compile "$LINENO"; then :
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 $ac_includes_default
1844 enum { N = $2 / 2 - 1 };
1848 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1849 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1851 return test_array [0];
1857 if ac_fn_c_try_compile "$LINENO"; then :
1864 eval "$3=\$ac_type" ;;
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870 if eval test \"x\$"$3"\" = x"no"; then :
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_find_intX_t
1884 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1885 # -------------------------------------------
1886 # Tests whether TYPE exists after having included INCLUDES, setting cache
1887 # variable VAR accordingly.
1888 ac_fn_c_check_type ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1909 if ac_fn_c_try_compile "$LINENO"; then :
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1922 if ac_fn_c_try_compile "$LINENO"; then :
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_type
1938 # ac_fn_c_find_uintX_t LINENO BITS VAR
1939 # ------------------------------------
1940 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1942 ac_fn_c_find_uintX_t ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1946 $as_echo_n "checking for uint$2_t... " >&6; }
1947 if eval \${$3+:} false; then :
1948 $as_echo_n "(cached) " >&6
1951 # Order is important - never check a type that is potentially smaller
1952 # than half of the expected target width.
1953 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1954 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1957 $ac_includes_default
1961 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1963 return test_array [0];
1969 if ac_fn_c_try_compile "$LINENO"; then :
1974 eval "$3=\$ac_type" ;;
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 if eval test \"x\$"$3"\" = x"no"; then :
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990 } # ac_fn_c_find_uintX_t
1992 # ac_fn_c_try_link LINENO
1993 # -----------------------
1994 # Try to link conftest.$ac_ext, and return whether this succeeded.
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 rm -f conftest.$ac_objext conftest$ac_exeext
1999 if { { ac_try="$ac_link"
2001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2002 *) ac_try_echo
=$ac_try;;
2004 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_link") 2>conftest.err
2008 if test -s conftest.err
; then
2009 grep -v '^ *+' conftest.err
>conftest.er1
2010 cat conftest.er1
>&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } && {
2015 test -z "$ac_c_werror_flag" ||
2016 test ! -s conftest.err
2017 } && test -s conftest
$ac_exeext && {
2018 test "$cross_compiling" = yes ||
2019 test -x conftest
$ac_exeext
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.
$ac_ext >&5
2028 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2029 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2030 # interfere with the next link command; also delete a directory that is
2031 # left behind by Apple's compiler. We do this before executing the actions.
2032 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034 as_fn_set_status
$ac_retval
2036 } # ac_fn_c_try_link
2038 # ac_fn_c_check_func LINENO FUNC VAR
2039 # ----------------------------------
2040 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2041 ac_fn_c_check_func
()
2043 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval \
${$3+:} false
; then :
2047 $as_echo_n "(cached) " >&6
2049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2051 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2053 #define $2 innocuous_$2
2055 /* System header to define __stub macros and hopefully few prototypes,
2056 which can conflict with char $2 (); below.
2057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2058 <limits.h> exists even on freestanding compilers. */
2061 # include <limits.h>
2063 # include <assert.h>
2068 /* Override any GCC internal prototype to avoid an error.
2069 Use char because int might match the return type of a GCC
2070 builtin and then its argument prototype would still apply. */
2075 /* The GNU C library defines this for functions which it implements
2076 to always fail with ENOSYS. Some functions are actually named
2077 something starting with __ and the normal name is an alias. */
2078 #if defined __stub_$2 || defined __stub___$2
2090 if ac_fn_c_try_link
"$LINENO"; then :
2095 rm -f core conftest.err conftest.
$ac_objext \
2096 conftest
$ac_exeext conftest.
$ac_ext
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 } # ac_fn_c_check_func
2105 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2106 # ----------------------------------------------------
2107 # Tries to find if the field MEMBER exists in type AGGR, after including
2108 # INCLUDES, setting cache variable VAR accordingly.
2109 ac_fn_c_check_member
()
2111 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2113 $as_echo_n "checking for $2.$3... " >&6; }
2114 if eval \
${$4+:} false
; then :
2115 $as_echo_n "(cached) " >&6
2117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2130 if ac_fn_c_try_compile
"$LINENO"; then :
2133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2140 if (sizeof ac_aggr.$3)
2146 if ac_fn_c_try_compile
"$LINENO"; then :
2151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2160 } # ac_fn_c_check_member
2162 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2163 # --------------------------------------------
2164 # Tries to find the compile-time value of EXPR in a program that includes
2165 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2167 ac_fn_c_compute_int
()
2169 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2170 if test "$cross_compiling" = yes; then
2171 # Depending upon the size, compute the lo and hi bounds.
2172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2178 static int test_array [1 - 2 * !(($2) >= 0)];
2180 return test_array [0];
2186 if ac_fn_c_try_compile
"$LINENO"; then :
2189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2195 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2197 return test_array [0];
2203 if ac_fn_c_try_compile
"$LINENO"; then :
2204 ac_hi
=$ac_mid; break
2206 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2207 if test $ac_lo -le $ac_mid; then
2211 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2222 static int test_array [1 - 2 * !(($2) < 0)];
2224 return test_array [0];
2230 if ac_fn_c_try_compile
"$LINENO"; then :
2233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2234 /* end confdefs.h. */
2239 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2241 return test_array [0];
2247 if ac_fn_c_try_compile
"$LINENO"; then :
2248 ac_lo
=$ac_mid; break
2250 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2251 if test $ac_mid -le $ac_hi; then
2255 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2265 # Binary search between lo and hi bounds.
2266 while test "x$ac_lo" != "x$ac_hi"; do
2267 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2274 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 return test_array [0];
2282 if ac_fn_c_try_compile
"$LINENO"; then :
2285 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2290 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2297 static long int longval () { return $2; }
2298 static unsigned long int ulongval () { return $2; }
2305 FILE *f = fopen ("conftest.val", "w");
2310 long int i = longval ();
2313 fprintf (f, "%ld", i);
2317 unsigned long int i = ulongval ();
2320 fprintf (f, "%lu", i);
2322 /* Do not output a trailing newline, as this causes \r\n confusion
2323 on some platforms. */
2324 return ferror (f) || fclose (f) != 0;
2330 if ac_fn_c_try_run
"$LINENO"; then :
2331 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2335 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2336 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341 as_fn_set_status
$ac_retval
2343 } # ac_fn_c_compute_int
2344 cat >config.log
<<_ACEOF
2345 This file contains any messages produced by compilers while
2346 running configure, to aid debugging if configure makes a mistake.
2348 It was created by DHCP $as_me 4.3.3, which was
2349 generated by GNU Autoconf 2.69. Invocation command line was
2361 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2362 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2363 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2364 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2365 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2367 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2368 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2370 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2371 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2372 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2373 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2374 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2375 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2376 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir
=.
2385 $as_echo "PATH: $as_dir"
2401 # Keep a trace of the command line.
2402 # Strip out --no-create and --no-recursion so they do not pile up.
2403 # Strip out --silent because we don't want to record it for future runs.
2404 # Also quote any args containing shell meta-characters.
2405 # Make two passes to allow for proper duplicate-argument suppression.
2409 ac_must_keep_next
=false
2415 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2416 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2417 |
-silent |
--silent |
--silen |
--sile |
--sil)
2420 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2423 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2425 as_fn_append ac_configure_args1
" '$ac_arg'"
2426 if test $ac_must_keep_next = true
; then
2427 ac_must_keep_next
=false
# Got value, back to normal.
2430 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2431 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2432 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2433 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2434 case "$ac_configure_args0 " in
2435 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2438 -* ) ac_must_keep_next
=true
;;
2441 as_fn_append ac_configure_args
" '$ac_arg'"
2446 { ac_configure_args0
=; unset ac_configure_args0
;}
2447 { ac_configure_args1
=; unset ac_configure_args1
;}
2449 # When interrupted or exit'd, cleanup temporary files, and complete
2450 # config.log. We remove comments because anyway the quotes in there
2451 # would cause problems or look ugly.
2452 # WARNING: Use '\'' to represent an apostrophe within the trap.
2453 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2454 trap 'exit_status=$?
2455 # Save into config.log some information that might help in debugging.
2459 $as_echo "## ---------------- ##
2460 ## Cache variables. ##
2461 ## ---------------- ##"
2463 # The following way of writing the cache mishandles newlines in values,
2465 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2466 eval ac_val=\$$ac_var
2470 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2471 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2474 _ | IFS | as_nl) ;; #(
2475 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2476 *) { eval $ac_var=; unset $ac_var;} ;;
2481 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2482 *${as_nl}ac_space=\ *)
2484 "s/'\''/'\''\\\\'\'''\''/g;
2485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2495 $as_echo "## ----------------- ##
2496 ## Output variables. ##
2497 ## ----------------- ##"
2499 for ac_var in $ac_subst_vars
2501 eval ac_val=\$$ac_var
2503 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2505 $as_echo "$ac_var='\''$ac_val'\''"
2509 if test -n "$ac_subst_files"; then
2510 $as_echo "## ------------------- ##
2511 ## File substitutions. ##
2512 ## ------------------- ##"
2514 for ac_var
in $ac_subst_files
2516 eval ac_val
=\$
$ac_var
2518 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2520 $as_echo "$ac_var='\''$ac_val'\''"
2525 if test -s confdefs.h; then
2526 $as_echo "## ----------- ##
2533 test "$ac_signal" != 0 &&
2534 $as_echo "$as_me: caught signal $ac_signal"
2535 $as_echo "$as_me: exit $exit_status"
2537 rm -f core *.core core.conftest.* &&
2538 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2541 for ac_signal
in 1 2 13 15; do
2542 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2546 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2547 rm -f -r conftest
* confdefs.h
2549 $as_echo "/* confdefs.h */" > confdefs.h
2551 # Predefined preprocessor variables.
2553 cat >>confdefs.h
<<_ACEOF
2554 #define PACKAGE_NAME "$PACKAGE_NAME"
2557 cat >>confdefs.h
<<_ACEOF
2558 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2561 cat >>confdefs.h
<<_ACEOF
2562 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2565 cat >>confdefs.h
<<_ACEOF
2566 #define PACKAGE_STRING "$PACKAGE_STRING"
2569 cat >>confdefs.h
<<_ACEOF
2570 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2573 cat >>confdefs.h
<<_ACEOF
2574 #define PACKAGE_URL "$PACKAGE_URL"
2578 # Let the site file select an alternate cache file if it wants to.
2579 # Prefer an explicitly selected file to automatically selected ones.
2582 if test -n "$CONFIG_SITE"; then
2583 # We do not want a PATH search for config.site.
2584 case $CONFIG_SITE in #((
2585 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2586 */*) ac_site_file1
=$CONFIG_SITE;;
2587 *) ac_site_file1
=.
/$CONFIG_SITE;;
2589 elif test "x$prefix" != xNONE
; then
2590 ac_site_file1
=$prefix/share
/config.site
2591 ac_site_file2
=$prefix/etc
/config.site
2593 ac_site_file1
=$ac_default_prefix/share
/config.site
2594 ac_site_file2
=$ac_default_prefix/etc
/config.site
2596 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2598 test "x$ac_site_file" = xNONE
&& continue
2599 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2601 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2602 sed 's/^/| /' "$ac_site_file" >&5
2604 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2606 as_fn_error $?
"failed to load site script $ac_site_file
2607 See \`config.log' for more details" "$LINENO" 5; }
2611 if test -r "$cache_file"; then
2612 # Some versions of bash will fail to source /dev/null (special files
2613 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2614 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2616 $as_echo "$as_me: loading cache $cache_file" >&6;}
2618 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2619 *) .
"./$cache_file";;
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2624 $as_echo "$as_me: creating cache $cache_file" >&6;}
2628 # Check that the precious variables saved in the cache have kept the same
2630 ac_cache_corrupted
=false
2631 for ac_var
in $ac_precious_vars; do
2632 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2633 eval ac_new_set
=\
$ac_env_${ac_var}_set
2634 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2635 eval ac_new_val
=\
$ac_env_${ac_var}_value
2636 case $ac_old_set,$ac_new_set in
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2639 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2640 ac_cache_corrupted
=: ;;
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2643 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2644 ac_cache_corrupted
=: ;;
2647 if test "x$ac_old_val" != "x$ac_new_val"; then
2648 # differences in whitespace do not lead to failure.
2649 ac_old_val_w
=`echo x $ac_old_val`
2650 ac_new_val_w
=`echo x $ac_new_val`
2651 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2653 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2654 ac_cache_corrupted
=:
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2657 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2658 eval $ac_var=\
$ac_old_val
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2661 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2663 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2666 # Pass precious variables to config.status.
2667 if test "$ac_new_set" = set; then
2669 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2670 *) ac_arg
=$ac_var=$ac_new_val ;;
2672 case " $ac_configure_args " in
2673 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2674 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2678 if $ac_cache_corrupted; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2682 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2683 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2685 ## -------------------- ##
2686 ## Main body of script. ##
2687 ## -------------------- ##
2690 ac_cpp
='$CPP $CPPFLAGS'
2691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2697 # we specify "foreign" to avoid having to have the GNU mandated files,
2698 # like AUTHORS, COPYING, and such
2699 am__api_version
='1.15'
2702 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2703 if test -f "$ac_dir/install-sh"; then
2705 ac_install_sh
="$ac_aux_dir/install-sh -c"
2707 elif test -f "$ac_dir/install.sh"; then
2709 ac_install_sh
="$ac_aux_dir/install.sh -c"
2711 elif test -f "$ac_dir/shtool"; then
2713 ac_install_sh
="$ac_aux_dir/shtool install -c"
2717 if test -z "$ac_aux_dir"; then
2718 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2721 # These three variables are undocumented and unsupported,
2722 # and are intended to be withdrawn in a future Autoconf release.
2723 # They can cause serious problems if a builder's source tree is in a directory
2724 # whose full name contains unusual characters.
2725 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2726 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2727 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2730 # Find a good install program. We prefer a C program (faster),
2731 # so one script is as good as another. But avoid the broken or
2732 # incompatible versions:
2733 # SysV /etc/install, /usr/sbin/install
2734 # SunOS /usr/etc/install
2735 # IRIX /sbin/install
2737 # AmigaOS /C/install, which installs bootblocks on floppy discs
2738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2741 # OS/2's system install, which has a completely different semantic
2742 # ./install, which can be erroneously created by make from ./install.sh.
2743 # Reject install programs that cannot install multiple files.
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2745 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2746 if test -z "$INSTALL"; then
2747 if ${ac_cv_path_install+:} false
; then :
2748 $as_echo_n "(cached) " >&6
2750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir
=.
2755 # Account for people who put trailing slashes in PATH elements.
2756 case $as_dir/ in #((
2757 .
/ | .
// |
/[cC
]/* | \
2758 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2759 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2762 # OSF1 and SCO ODT 3.0 have their own names for install.
2763 # Don't use installbsd from OSF since it installs stuff as root
2765 for ac_prog
in ginstall scoinst
install; do
2766 for ac_exec_ext
in '' $ac_executable_extensions; do
2767 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2768 if test $ac_prog = install &&
2769 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2770 # AIX install. It has an incompatible calling convention.
2772 elif test $ac_prog = install &&
2773 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2774 # program-specific install script used by HP pwplus--don't use.
2777 rm -rf conftest.one conftest.two conftest.dir
2778 echo one
> conftest.one
2779 echo two
> conftest.two
2781 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2782 test -s conftest.one
&& test -s conftest.two
&&
2783 test -s conftest.dir
/conftest.one
&&
2784 test -s conftest.dir
/conftest.two
2786 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2799 rm -rf conftest.one conftest.two conftest.dir
2802 if test "${ac_cv_path_install+set}" = set; then
2803 INSTALL
=$ac_cv_path_install
2805 # As a last resort, use the slow shell script. Don't cache a
2806 # value for INSTALL within a source directory, because that will
2807 # break other packages using the cache if that directory is
2808 # removed, or if the value is a relative name.
2809 INSTALL
=$ac_install_sh
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2813 $as_echo "$INSTALL" >&6; }
2815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2816 # It thinks the first close brace ends the variable substitution.
2817 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2819 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2821 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2824 $as_echo_n "checking whether build environment is sane... " >&6; }
2825 # Reject unsafe characters in $srcdir or the absolute working directory
2826 # name. Accept space and tab only in the latter.
2830 *[\\\"\
#\$\&\'\`$am_lf]*)
2831 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2834 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2835 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2838 # Do 'set' in a subshell so we don't clobber the current shell's
2839 # arguments. Must try -L first in case configure is actually a
2840 # symlink; some systems play weird games with the mod time of symlinks
2841 # (eg FreeBSD returns the mod time of the symlink's containing
2845 for am_try
in 1 2; do
2846 echo "timestamp, slept: $am_has_slept" > conftest.
file
2847 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2848 if test "$*" = "X"; then
2850 set X
`ls -t "$srcdir/configure" conftest.file`
2852 if test "$*" != "X $srcdir/configure conftest.file" \
2853 && test "$*" != "X conftest.file $srcdir/configure"; then
2855 # If neither matched, then we have a broken ls. This can happen
2856 # if, for instance, CONFIG_SHELL is bash and it inherits a
2857 # broken ls alias from the environment. This has actually
2858 # happened. Such a system could not be considered "sane".
2859 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2860 alias in your environment" "$LINENO" 5
2862 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2869 test "$2" = conftest.
file
2875 as_fn_error $?
"newly created file is older than distributed files!
2876 Check your system clock" "$LINENO" 5
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2880 # If we didn't sleep, we still need to ensure time stamps of config.status and
2881 # generated files are strictly newer.
2883 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2890 test "$program_prefix" != NONE
&&
2891 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2892 # Use a double $ so make ignores it.
2893 test "$program_suffix" != NONE
&&
2894 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2895 # Double any \ or $.
2896 # By default was `s,x,x', remove it if useless.
2897 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2898 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2900 # Expand $ac_aux_dir to an absolute path.
2901 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2903 if test x
"${MISSING+set}" != xset
; then
2906 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2908 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2911 # Use eval to expand $SHELL
2912 if eval "$MISSING --is-lightweight"; then
2913 am_missing_run
="$MISSING "
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2917 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2920 if test x
"${install_sh+set}" != xset
; then
2923 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2925 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2929 # Installed binaries are usually stripped using 'strip' when the user
2930 # run "make install-strip". However 'strip' might not be the right
2931 # tool to use in cross-compilation environments, therefore Automake
2932 # will honor the 'STRIP' environment variable to overrule this program.
2933 if test "$cross_compiling" != no
; then
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2936 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_STRIP+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$STRIP"; then
2943 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 STRIP
=$ac_cv_prog_STRIP
2963 if test -n "$STRIP"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2965 $as_echo "$STRIP" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2973 if test -z "$ac_cv_prog_STRIP"; then
2975 # Extract the first word of "strip", so it can be a program name with args.
2976 set dummy strip
; ac_word
=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_STRIP"; then
2983 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_ac_ct_STRIP
="strip"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3003 if test -n "$ac_ct_STRIP"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3005 $as_echo "$ac_ct_STRIP" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3011 if test "x$ac_ct_STRIP" = x
; then
3014 case $cross_compiling:$ac_tool_warned in
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3018 ac_tool_warned
=yes ;;
3023 STRIP
="$ac_cv_prog_STRIP"
3027 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3030 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3031 if test -z "$MKDIR_P"; then
3032 if ${ac_cv_path_mkdir+:} false
; then :
3033 $as_echo_n "(cached) " >&6
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3036 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_prog
in mkdir gmkdir
; do
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3043 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3044 'mkdir (GNU coreutils) '* | \
3045 'mkdir (coreutils) '* | \
3046 'mkdir (fileutils) '4.1*)
3047 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3057 test -d .
/--version && rmdir .
/--version
3058 if test "${ac_cv_path_mkdir+set}" = set; then
3059 MKDIR_P
="$ac_cv_path_mkdir -p"
3061 # As a last resort, use the slow shell script. Don't cache a
3062 # value for MKDIR_P within a source directory, because that will
3063 # break other packages using the cache if that directory is
3064 # removed, or if the value is a relative name.
3065 MKDIR_P
="$ac_install_sh -d"
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3069 $as_echo "$MKDIR_P" >&6; }
3071 for ac_prog
in gawk mawk nawk
awk
3073 # Extract the first word of "$ac_prog", so it can be a program name with args.
3074 set dummy
$ac_prog; ac_word
=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_AWK+:} false
; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$AWK"; then
3081 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir
=.
3088 for ac_exec_ext
in '' $ac_executable_extensions; do
3089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3090 ac_cv_prog_AWK
="$ac_prog"
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test -n "$AWK"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3103 $as_echo "$AWK" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3110 test -n "$AWK" && break
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3114 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3116 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3117 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3118 $as_echo_n "(cached) " >&6
3120 cat >conftest.
make <<\_ACEOF
3123 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3125 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3126 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3128 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3130 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3134 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3136 $as_echo "yes" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3141 SET_MAKE
="MAKE=${MAKE-make}"
3144 rm -rf .tst
2>/dev
/null
3145 mkdir .tst
2>/dev
/null
3146 if test -d .tst
; then
3151 rmdir .tst
2>/dev
/null
3153 # Check whether --enable-silent-rules was given.
3154 if test "${enable_silent_rules+set}" = set; then :
3155 enableval
=$enable_silent_rules;
3158 case $enable_silent_rules in # (((
3159 yes) AM_DEFAULT_VERBOSITY
=0;;
3160 no
) AM_DEFAULT_VERBOSITY
=1;;
3161 *) AM_DEFAULT_VERBOSITY
=1;;
3163 am_make
=${MAKE-make}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3165 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3166 if ${am_cv_make_support_nested_variables+:} false
; then :
3167 $as_echo_n "(cached) " >&6
3169 if $as_echo 'TRUE=$(BAR$(V))
3175 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3176 am_cv_make_support_nested_variables
=yes
3178 am_cv_make_support_nested_variables
=no
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3182 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3183 if test $am_cv_make_support_nested_variables = yes; then
3185 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3187 AM_V
=$AM_DEFAULT_VERBOSITY
3188 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3192 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3193 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3194 # is not polluted with repeated "-I."
3195 am__isrc
=' -I$(srcdir)'
3196 # test to see if srcdir already configured
3197 if test -f $srcdir/config.status
; then
3198 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3202 # test whether we have cygpath
3203 if test -z "$CYGPATH_W"; then
3204 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3205 CYGPATH_W
='cygpath -w'
3212 # Define the identity of the package.
3217 cat >>confdefs.h
<<_ACEOF
3218 #define PACKAGE "$PACKAGE"
3222 cat >>confdefs.h
<<_ACEOF
3223 #define VERSION "$VERSION"
3226 # Some tools Automake needs.
3228 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3231 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3234 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3237 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3240 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3242 # For better backward compatibility. To be removed once Automake 1.9.x
3243 # dies out for good. For more background, see:
3244 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3245 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3246 mkdir_p
='$(MKDIR_P)'
3248 # We need awk for the "check" target (and possibly the TAP driver). The
3249 # system "awk" is bad on some platforms.
3250 # Always define AMTAR for backward compatibility. Yes, it's still used
3251 # in the wild :-( We should find a proper way to deprecate it ...
3255 # We'll loop over all known methods to create a tar archive until one works.
3256 _am_tools
='gnutar pax cpio none'
3258 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3265 # POSIX will say in a future version that running "rm -f" with no argument
3266 # is OK; and we want to be able to make that assumption in our Makefile
3267 # recipes. So use an aggressive probe to check that the usage we want is
3268 # actually supported "in the wild" to an acceptable degree.
3269 # See automake bug#10828.
3270 # To make any issue more visible, cause the running configure to be aborted
3271 # by default if the 'rm' program in use doesn't match our expectations; the
3272 # user can still override this though.
3273 if rm -f && rm -fr && rm -rf; then : OK
; else
3277 Your 'rm' program seems unable to run without file operands specified
3278 on the command line, even when the '-f' option is present. This is contrary
3279 to the behaviour of most rm programs out there, and not conforming with
3280 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3282 Please tell bug-automake@gnu.org about your system, including the value
3283 of your $PATH and any error possibly output before this message. This
3284 can help us improve future automake versions.
3287 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3288 echo 'Configuration will proceed anyway, since you have set the' >&2
3289 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3293 Aborting the configuration process, to ensure you take notice of the issue.
3295 You can download and install GNU coreutils to get an 'rm' implementation
3296 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3298 If you want to complete the configuration process using your problematic
3299 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3300 to "yes", and re-run configure.
3303 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3308 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
3309 # the configure and makefiles. Without it users doing things that
3310 # change the timestamps on the code, like checking it into a cvs
3311 # tree, could trigger a rebuild of the infrastructure files which
3312 # might fail if they don't have the correct tools.
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3315 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3316 # Check whether --enable-maintainer-mode was given.
3317 if test "${enable_maintainer_mode+set}" = set; then :
3318 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3320 USE_MAINTAINER_MODE
=no
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3324 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3325 if test $USE_MAINTAINER_MODE = yes; then
3326 MAINTAINER_MODE_TRUE
=
3327 MAINTAINER_MODE_FALSE
='#'
3329 MAINTAINER_MODE_TRUE
='#'
3330 MAINTAINER_MODE_FALSE
=
3333 MAINT
=$MAINTAINER_MODE_TRUE
3337 # Make sure we can run config.sub.
3338 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3339 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3342 $as_echo_n "checking build system type... " >&6; }
3343 if ${ac_cv_build+:} false
; then :
3344 $as_echo_n "(cached) " >&6
3346 ac_build_alias
=$build_alias
3347 test "x$ac_build_alias" = x
&&
3348 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3349 test "x$ac_build_alias" = x
&&
3350 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3351 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3352 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3356 $as_echo "$ac_cv_build" >&6; }
3357 case $ac_cv_build in
3359 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3362 ac_save_IFS
=$IFS; IFS
='-'
3368 # Remember, the first character of IFS is used to create $*,
3369 # except with old shells:
3372 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3376 $as_echo_n "checking host system type... " >&6; }
3377 if ${ac_cv_host+:} false
; then :
3378 $as_echo_n "(cached) " >&6
3380 if test "x$host_alias" = x
; then
3381 ac_cv_host
=$ac_cv_build
3383 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3384 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3389 $as_echo "$ac_cv_host" >&6; }
3392 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3395 ac_save_IFS
=$IFS; IFS
='-'
3401 # Remember, the first character of IFS is used to create $*,
3402 # except with old shells:
3405 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3409 # We want to turn on warnings if we are using gcc and the user did
3410 # not specify CFLAGS. The autoconf check for the C compiler sets the
3411 # CFLAGS if gcc is used, so we will save it before we run that check.
3412 SAVE_CFLAGS
="$CFLAGS"
3414 # Now find our C compiler.
3416 ac_cpp
='$CPP $CPPFLAGS'
3417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3420 if test -n "$ac_tool_prefix"; then
3421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3422 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if ${ac_cv_prog_CC+:} false
; then :
3426 $as_echo_n "(cached) " >&6
3428 if test -n "$CC"; then
3429 ac_cv_prog_CC
="$CC" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3438 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 if test -n "$CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3459 if test -z "$ac_cv_prog_CC"; then
3461 # Extract the first word of "gcc", so it can be a program name with args.
3462 set dummy gcc
; ac_word
=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -n "$ac_ct_CC"; then
3469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir
=.
3476 for ac_exec_ext
in '' $ac_executable_extensions; do
3477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3478 ac_cv_prog_ac_ct_CC
="gcc"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3489 if test -n "$ac_ct_CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3491 $as_echo "$ac_ct_CC" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3497 if test "x$ac_ct_CC" = x
; then
3500 case $cross_compiling:$ac_tool_warned in
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned
=yes ;;
3512 if test -z "$CC"; then
3513 if test -n "$ac_tool_prefix"; then
3514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3515 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_CC+:} false
; then :
3519 $as_echo_n "(cached) " >&6
3521 if test -n "$CC"; then
3522 ac_cv_prog_CC
="$CC" # Let the user override the test.
3524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3528 test -z "$as_dir" && as_dir
=.
3529 for ac_exec_ext
in '' $ac_executable_extensions; do
3530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3531 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3553 if test -z "$CC"; then
3554 # Extract the first word of "cc", so it can be a program name with args.
3555 set dummy cc
; ac_word
=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_CC+:} false
; then :
3559 $as_echo_n "(cached) " >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC
="$CC" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3572 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3573 ac_prog_rejected
=yes
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test $ac_prog_rejected = yes; then
3585 # We found a bogon in the path, so make sure we never use it.
3586 set dummy
$ac_cv_prog_CC
3588 if test $# != 0; then
3589 # We chose a different compiler from the bogus one.
3590 # However, it has the same basename, so the bogon will be chosen
3591 # first if we set CC to just the basename; use the full file name.
3593 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3599 if test -n "$CC"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3609 if test -z "$CC"; then
3610 if test -n "$ac_tool_prefix"; then
3611 for ac_prog
in cl.exe
3613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3614 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if ${ac_cv_prog_CC+:} false
; then :
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$CC"; then
3621 ac_cv_prog_CC
="$CC" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3630 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 if test -n "$CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3650 test -n "$CC" && break
3653 if test -z "$CC"; then
3655 for ac_prog
in cl.exe
3657 # Extract the first word of "$ac_prog", so it can be a program name with args.
3658 set dummy
$ac_prog; ac_word
=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$ac_ct_CC"; then
3665 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_ac_ct_CC
="$ac_prog"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3694 test -n "$ac_ct_CC" && break
3697 if test "x$ac_ct_CC" = x
; then
3700 case $cross_compiling:$ac_tool_warned in
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3704 ac_tool_warned
=yes ;;
3713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $?
"no acceptable C compiler found in \$PATH
3716 See \`config.log' for more details" "$LINENO" 5; }
3718 # Provide some information about the compiler.
3719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3722 for ac_option
in --version -v -V -qversion; do
3723 { { ac_try
="$ac_compiler $ac_option >&5"
3725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
3730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3732 if test -s conftest.err; then
3734 ... rest of stderr output deleted ...
3735 10q' conftest.err >conftest.er1
3736 cat conftest.er1 >&5
3738 rm -f conftest.er1 conftest.err
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3754 ac_clean_files_save=$ac_clean_files
3755 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3756 # Try to create an executable without -o first, disregard a.out.
3757 # It will help us diagnose broken compilers, and finding out an intuition
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3760 $as_echo_n "checking whether the C compiler works... " >&6; }
3761 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3763 # The possible output files:
3764 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3767 for ac_file in $ac_files
3770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3771 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3776 if { { ac_try="$ac_link_default"
3778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3779 *) ac_try_echo
=$ac_try;;
3781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783 (eval "$ac_link_default") 2>&5
3785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786 test $ac_status = 0; }; then :
3787 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3788 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3789 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3790 # so that the user can short-circuit this test for compilers unknown to
3792 for ac_file
in $ac_files ''
3794 test -f "$ac_file" ||
continue
3796 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3799 # We found the default executable, but exeext='' is most
3803 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3805 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3807 # We set ac_cv_exeext here because the later test for it is not
3808 # safe: cross compilers may not add the suffix if given an `-o'
3809 # argument, so we may need to know it at that point already.
3810 # Even if this section looks crufty: it has the advantage of
3817 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3822 if test -z "$ac_file"; then :
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 $as_echo "$as_me: failed program was:" >&5
3826 sed 's/^/| /' conftest.
$ac_ext >&5
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error
77 "C compiler cannot create executables
3831 See \`config.log' for more details" "$LINENO" 5; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3834 $as_echo "yes" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3837 $as_echo_n "checking for C compiler default output file name... " >&6; }
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3839 $as_echo "$ac_file" >&6; }
3840 ac_exeext
=$ac_cv_exeext
3842 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3843 ac_clean_files
=$ac_clean_files_save
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3845 $as_echo_n "checking for suffix of executables... " >&6; }
3846 if { { ac_try
="$ac_link"
3848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_link") 2>&5
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }; then :
3857 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3858 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3859 # work properly (i.e., refer to `conftest.exe'), while it won't with
3861 for ac_file
in conftest.exe conftest conftest.
*; do
3862 test -f "$ac_file" ||
continue
3864 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3865 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3874 See \`config.log' for more details" "$LINENO" 5; }
3876 rm -f conftest conftest
$ac_cv_exeext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3878 $as_echo "$ac_cv_exeext" >&6; }
3880 rm -f conftest.
$ac_ext
3881 EXEEXT
=$ac_cv_exeext
3883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3889 FILE *f = fopen ("conftest.out", "w");
3890 return ferror (f) || fclose (f) != 0;
3896 ac_clean_files
="$ac_clean_files conftest.out"
3897 # Check that the compiler produces executables we can run. If not, either
3898 # the compiler is broken, or we cross compile.
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3900 $as_echo_n "checking whether we are cross compiling... " >&6; }
3901 if test "$cross_compiling" != yes; then
3902 { { ac_try
="$ac_link"
3904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
3907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909 (eval "$ac_link") 2>&5
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912 test $ac_status = 0; }
3913 if { ac_try='./conftest$ac_cv_exeext'
3914 { { case "(($ac_try" in
3915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3916 *) ac_try_echo
=$ac_try;;
3918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_try") 2>&5
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; }; then
3926 if test "$cross_compiling" = maybe
; then
3929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $?
"cannot run C compiled programs.
3932 If you meant to cross compile, use \`--host'.
3933 See \`config.log' for more details" "$LINENO" 5; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3938 $as_echo "$cross_compiling" >&6; }
3940 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3941 ac_clean_files
=$ac_clean_files_save
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3943 $as_echo_n "checking for suffix of object files... " >&6; }
3944 if ${ac_cv_objext+:} false
; then :
3945 $as_echo_n "(cached) " >&6
3947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h. */
3958 rm -f conftest.o conftest.obj
3959 if { { ac_try
="$ac_compile"
3961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_compile") 2>&5
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 for ac_file in conftest.o conftest.obj conftest.*; do
3971 test -f "$ac_file" || continue;
3973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3974 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3979 $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3985 See \
`config.log' for more details" "$LINENO" 5; }
3987 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3990 $as_echo "$ac_cv_objext" >&6; }
3991 OBJEXT=$ac_cv_objext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3994 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3995 if ${ac_cv_c_compiler_gnu+:} false; then :
3996 $as_echo_n "(cached) " >&6
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4012 if ac_fn_c_try_compile "$LINENO"; then :
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4023 if test $ac_compiler_gnu = yes; then
4028 ac_test_CFLAGS=${CFLAGS+set}
4029 ac_save_CFLAGS=$CFLAGS
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4032 if ${ac_cv_prog_cc_g+:} false; then :
4033 $as_echo_n "(cached) " >&6
4035 ac_save_c_werror_flag=$ac_c_werror_flag
4036 ac_c_werror_flag=yes
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4050 if ac_fn_c_try_compile "$LINENO"; then :
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4065 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_c_werror_flag=$ac_save_c_werror_flag
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_compile "$LINENO"; then :
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 ac_c_werror_flag=$ac_save_c_werror_flag
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4092 $as_echo "$ac_cv_prog_cc_g" >&6; }
4093 if test "$ac_test_CFLAGS" = set; then
4094 CFLAGS=$ac_save_CFLAGS
4095 elif test $ac_cv_prog_cc_g = yes; then
4096 if test "$GCC" = yes; then
4102 if test "$GCC" = yes; then
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4110 if ${ac_cv_prog_cc_c89+:} false; then :
4111 $as_echo_n "(cached) " >&6
4113 ac_cv_prog_cc_c89=no
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4121 struct buf { int x; };
4122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4123 static char *e (p, i)
4129 static char *f (char * (*g) (char **, int), char **p, ...)
4134 s = g (p, va_arg (v,int));
4139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4140 function prototypes and stuff, but not '\xHH' hex character constants.
4141 These don't provoke an error unfortunately, instead are silently treated
4142 as 'x'. The following induces an error, until -std is added to get
4143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4144 array size at least. It's necessary to write '\x00'==0 to get something
4145 that's true only with -std. */
4146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4149 inside strings and character constants. */
4151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4153 int test (int i, double x);
4154 struct s1 {int (*f) (int a);};
4155 struct s2 {int (*f) (double a);};
4156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4170 CC="$ac_save_CC $ac_arg"
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_cv_prog_cc_c89=$ac_arg
4174 rm -f core conftest.err conftest.$ac_objext
4175 test "x$ac_cv_prog_cc_c89" != "xno" && break
4177 rm -f conftest.$ac_ext
4182 case "x$ac_cv_prog_cc_c89" in
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4185 $as_echo "none needed" >&6; } ;;
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4188 $as_echo "unsupported" >&6; } ;;
4190 CC="$CC $ac_cv_prog_cc_c89"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4194 if test "x$ac_cv_prog_cc_c89" != xno; then :
4199 ac_cpp='$CPP $CPPFLAGS'
4200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4210 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4211 if ${am_cv_prog_cc_c_o+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4225 # Make sure it works both with $CC and with simple cc.
4226 # Following AC_PROG_CC_C_O, we do the test twice because some
4227 # compilers refuse to overwrite an existing .o file with -o,
4228 # though they will create one.
4229 am_cv_prog_cc_c_o=yes
4231 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4232 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } \
4236 && test -f conftest2.$ac_objext; then
4239 am_cv_prog_cc_c_o=no
4243 rm -f core conftest*
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4247 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4248 if test "$am_cv_prog_cc_c_o" != yes; then
4249 # Losing compiler, so override with the script.
4250 # FIXME: It is wrong to rewrite CC.
4251 # But if we don't then we get into trouble of one sort or another.
4252 # A longer-term fix would be to have automake use am__CC in this case,
4253 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4254 CC="$am_aux_dir/compile $CC"
4257 ac_cpp='$CPP $CPPFLAGS'
4258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262 DEPDIR="${am__leading_dot}deps"
4264 ac_config_commands="$ac_config_commands depfiles"
4267 am_make=${MAKE-make}
4268 cat > confinc << 'END'
4270 @echo this is the am__doit target
4273 # If we don't find an include directive, just comment out the code.
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4275 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4279 # First try GNU make style include.
4280 echo "include confinc" > confmf
4281 # Ignore all kinds of additional output from 'make'.
4282 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4283 *the\ am__doit\ target*)
4289 # Now try BSD make style include.
4290 if test "$am__include" = "#"; then
4291 echo '.include "confinc"' > confmf
4292 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4293 *the\ am__doit\ target*)
4294 am__include=.include
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4303 $as_echo "$_am_result" >&6; }
4304 rm -f confinc confmf
4306 # Check whether --enable-dependency-tracking was given.
4307 if test "${enable_dependency_tracking+set}" = set; then :
4308 enableval=$enable_dependency_tracking;
4311 if test "x$enable_dependency_tracking" != xno; then
4312 am_depcomp="$ac_aux_dir/depcomp"
4316 if test "x$enable_dependency_tracking" != xno; then
4326 depcc="$CC" am_compiler_list=
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4329 $as_echo_n "checking dependency style of $depcc... " >&6; }
4330 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4334 # We make a subdir and do the tests there. Otherwise we can end up
4335 # making bogus files that we don't know about and never remove. For
4336 # instance it was reported that on HP-UX the gcc test will end up
4337 # making a dummy file named 'D' -- because '-MD' means "put the output
4341 # Copy depcomp to subdir because otherwise we won't find it if we're
4342 # using a relative directory.
4343 cp "$am_depcomp" conftest.dir
4345 # We will build objects and dependencies in a subdirectory because
4346 # it helps to detect inapplicable dependency modes. For instance
4347 # both Tru64's cc and ICC support -MD to output dependencies as a
4348 # side effect of compilation, but ICC will put the dependencies in
4349 # the current directory while Tru64 will put them in the object
4353 am_cv_CC_dependencies_compiler_type=none
4354 if test "$am_compiler_list" = ""; then
4355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4358 case " $depcc " in #(
4359 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4362 for depmode in $am_compiler_list; do
4363 # Setup a source with many dependencies, because some compilers
4364 # like to wrap large dependency lists on column 80 (with \), and
4365 # we should not choose a depcomp mode which is confused by this.
4367 # We need to recreate these files for each test, as the compiler may
4368 # overwrite some of them when testing with obscure command lines.
4369 # This happens at least with the AIX C compiler.
4371 for i in 1 2 3 4 5 6; do
4372 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4373 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4374 # Solaris 10 /bin/sh.
4375 echo '/* dummy */' > sub/conftst$i.h
4377 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4379 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4380 # mode. It turns out that the SunPro C++ compiler does not properly
4381 # handle '-M -o', and we need to detect this. Also, some Intel
4382 # versions had trouble with output in subdirs.
4383 am__obj=sub/conftest.${OBJEXT-o}
4384 am__minus_obj="-o $am__obj"
4387 # This depmode causes a compiler race in universal mode.
4388 test "$am__universal" = false || continue
4391 # After this tag, mechanisms are not by side-effect, so they'll
4392 # only be used when explicitly requested.
4393 if test "x$enable_dependency_tracking" = xyes; then
4399 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4400 # This compiler won't grok '-c -o', but also, the minuso test has
4401 # not run yet. These depmodes are late enough in the game, and
4402 # so weak that their functioning should not be impacted.
4403 am__obj=conftest.${OBJEXT-o}
4408 if depmode=$depmode \
4409 source=sub/conftest.c object=$am__obj \
4410 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4411 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4412 >/dev/null 2>conftest.err &&
4413 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4414 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4415 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4416 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4417 # icc doesn't choke on unknown options, it will just issue warnings
4418 # or remarks (even with -Werror). So we grep stderr for any message
4419 # that says an option was ignored or not supported.
4420 # When given -MP, icc 7.0 and 7.1 complain thusly:
4421 # icc: Command line warning: ignoring option '-M'; no argument required
4422 # The diagnosis changed in icc 8.0:
4423 # icc: Command line remark: option '-MP' not supported
4424 if (grep 'ignoring option' conftest.err ||
4425 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4426 am_cv_CC_dependencies_compiler_type=$depmode
4435 am_cv_CC_dependencies_compiler_type=none
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4440 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4441 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4444 test "x$enable_dependency_tracking" != xno \
4445 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4447 am__fastdepCC_FALSE='#'
4449 am__fastdepCC_TRUE='#'
4450 am__fastdepCC_FALSE=
4455 # Suppress warnings about --datarootdir
4458 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
4459 # user did not specify any flags. Add warnings in this case.
4460 if test "$GCC" = "yes"; then
4461 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
4462 STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
4466 # We can have some flags to pass to bind configure
4468 if test "$cross_compiling" = "yes"; then
4469 BINDCONFIG="--host=$host"
4472 if test "$cross_compiling" = "yes"; then
4473 CROSS_COMPILING_TRUE=
4474 CROSS_COMPILING_FALSE='#'
4476 CROSS_COMPILING_TRUE='#'
4477 CROSS_COMPILING_FALSE=
4481 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
4482 # parts of the IPv6 Advanced Socket API as a result. This is stupid
4483 # as it breaks how the two halves (Basic and Advanced) of the IPv6
4484 # Socket API were designed to be used but we have to live with it.
4485 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4493 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4494 # On Suns, sometimes $CPP names a directory.
4495 if test -n "$CPP" && test -d "$CPP"; then
4498 if test -z "$CPP"; then
4499 if ${ac_cv_prog_CPP+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 # Double quotes because CPP needs to be expanded
4503 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4506 for ac_c_preproc_warn_flag in '' yes
4508 # Use a header file that comes with gcc, so configuring glibc
4509 # with a fresh cross-compiler works.
4510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4511 # <limits.h> exists even on freestanding compilers.
4512 # On the NeXT, cc -E runs the code through the compiler's parser,
4513 # not just through cpp. "Syntax error" is here to catch this case.
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4517 # include <limits.h>
4519 # include <assert.h>
4523 if ac_fn_c_try_cpp "$LINENO"; then :
4526 # Broken: fails on valid input.
4529 rm -f conftest.err conftest.i conftest.$ac_ext
4531 # OK, works on sane cases. Now check whether nonexistent headers
4532 # can be detected and how.
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4535 #include <ac_nonexistent.h>
4537 if ac_fn_c_try_cpp "$LINENO"; then :
4538 # Broken: success on invalid input.
4541 # Passes both tests.
4545 rm -f conftest.err conftest.i conftest.$ac_ext
4548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4549 rm -f conftest.i conftest.err conftest.
$ac_ext
4550 if $ac_preproc_ok; then :
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4563 $as_echo "$CPP" >&6; }
4565 for ac_c_preproc_warn_flag
in '' yes
4567 # Use a header file that comes with gcc, so configuring glibc
4568 # with a fresh cross-compiler works.
4569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4570 # <limits.h> exists even on freestanding compilers.
4571 # On the NeXT, cc -E runs the code through the compiler's parser,
4572 # not just through cpp. "Syntax error" is here to catch this case.
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4576 # include <limits.h>
4578 # include <assert.h>
4582 if ac_fn_c_try_cpp
"$LINENO"; then :
4585 # Broken: fails on valid input.
4588 rm -f conftest.err conftest.i conftest.
$ac_ext
4590 # OK, works on sane cases. Now check whether nonexistent headers
4591 # can be detected and how.
4592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4594 #include <ac_nonexistent.h>
4596 if ac_fn_c_try_cpp
"$LINENO"; then :
4597 # Broken: success on invalid input.
4600 # Passes both tests.
4604 rm -f conftest.err conftest.i conftest.
$ac_ext
4607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4608 rm -f conftest.i conftest.err conftest.
$ac_ext
4609 if $ac_preproc_ok; then :
4612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4614 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4615 See \`config.log' for more details" "$LINENO" 5; }
4619 ac_cpp
='$CPP $CPPFLAGS'
4620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4626 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4627 if ${ac_cv_path_GREP+:} false
; then :
4628 $as_echo_n "(cached) " >&6
4630 if test -z "$GREP"; then
4631 ac_path_GREP_found
=false
4632 # Loop through the user's path and test for each of PROGNAME-LIST
4633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4637 test -z "$as_dir" && as_dir
=.
4638 for ac_prog
in grep ggrep
; do
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4641 as_fn_executable_p
"$ac_path_GREP" ||
continue
4642 # Check for GNU ac_path_GREP and select it if it is found.
4643 # Check for GNU $ac_path_GREP
4644 case `"$ac_path_GREP" --version 2>&1` in
4646 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4649 $as_echo_n 0123456789 >"conftest.in"
4652 cat "conftest.in" "conftest.in" >"conftest.tmp"
4653 mv "conftest.tmp" "conftest.in"
4654 cp "conftest.in" "conftest.nl"
4655 $as_echo 'GREP' >> "conftest.nl"
4656 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4657 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4658 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4659 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4660 # Best one so far, save it but keep looking for a better one
4661 ac_cv_path_GREP
="$ac_path_GREP"
4662 ac_path_GREP_max
=$ac_count
4664 # 10*(2^10) chars as input seems more than enough
4665 test $ac_count -gt 10 && break
4667 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4670 $ac_path_GREP_found && break 3
4675 if test -z "$ac_cv_path_GREP"; then
4676 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4679 ac_cv_path_GREP
=$GREP
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4684 $as_echo "$ac_cv_path_GREP" >&6; }
4685 GREP
="$ac_cv_path_GREP"
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4689 $as_echo_n "checking for egrep... " >&6; }
4690 if ${ac_cv_path_EGREP+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4694 then ac_cv_path_EGREP
="$GREP -E"
4696 if test -z "$EGREP"; then
4697 ac_path_EGREP_found
=false
4698 # Loop through the user's path and test for each of PROGNAME-LIST
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_prog
in egrep; do
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4707 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4708 # Check for GNU ac_path_EGREP and select it if it is found.
4709 # Check for GNU $ac_path_EGREP
4710 case `"$ac_path_EGREP" --version 2>&1` in
4712 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4715 $as_echo_n 0123456789 >"conftest.in"
4718 cat "conftest.in" "conftest.in" >"conftest.tmp"
4719 mv "conftest.tmp" "conftest.in"
4720 cp "conftest.in" "conftest.nl"
4721 $as_echo 'EGREP' >> "conftest.nl"
4722 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4723 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4724 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4725 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4726 # Best one so far, save it but keep looking for a better one
4727 ac_cv_path_EGREP
="$ac_path_EGREP"
4728 ac_path_EGREP_max
=$ac_count
4730 # 10*(2^10) chars as input seems more than enough
4731 test $ac_count -gt 10 && break
4733 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4736 $ac_path_EGREP_found && break 3
4741 if test -z "$ac_cv_path_EGREP"; then
4742 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4745 ac_cv_path_EGREP
=$EGREP
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4751 $as_echo "$ac_cv_path_EGREP" >&6; }
4752 EGREP
="$ac_cv_path_EGREP"
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4756 $as_echo_n "checking for ANSI C header files... " >&6; }
4757 if ${ac_cv_header_stdc+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4775 if ac_fn_c_try_compile
"$LINENO"; then :
4776 ac_cv_header_stdc
=yes
4778 ac_cv_header_stdc
=no
4780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4782 if test $ac_cv_header_stdc = yes; then
4783 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4790 $EGREP "memchr" >/dev
/null
2>&1; then :
4793 ac_cv_header_stdc
=no
4799 if test $ac_cv_header_stdc = yes; then
4800 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4807 $EGREP "free" >/dev
/null
2>&1; then :
4810 ac_cv_header_stdc
=no
4816 if test $ac_cv_header_stdc = yes; then
4817 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4818 if test "$cross_compiling" = yes; then :
4821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 #if ((' ' & 0x0FF) == 0x020)
4826 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4827 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4829 # define ISLOWER(c) \
4830 (('a' <= (c) && (c) <= 'i') \
4831 || ('j' <= (c) && (c) <= 'r') \
4832 || ('s' <= (c) && (c) <= 'z'))
4833 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4836 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4841 for (i = 0; i < 256; i++)
4842 if (XOR (islower (i), ISLOWER (i))
4843 || toupper (i) != TOUPPER (i))
4848 if ac_fn_c_try_run
"$LINENO"; then :
4851 ac_cv_header_stdc
=no
4853 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4854 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4860 $as_echo "$ac_cv_header_stdc" >&6; }
4861 if test $ac_cv_header_stdc = yes; then
4863 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4867 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4868 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4869 inttypes.h stdint.h unistd.h
4871 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4872 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4874 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4875 cat >>confdefs.h
<<_ACEOF
4876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4885 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4886 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4893 if test "$MINIX" = yes; then
4895 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4898 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4901 $as_echo "#define _MINIX 1" >>confdefs.h
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4907 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4908 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4909 $as_echo_n "(cached) " >&6
4911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4914 # define __EXTENSIONS__ 1
4915 $ac_includes_default
4924 if ac_fn_c_try_compile
"$LINENO"; then :
4925 ac_cv_safe_to_define___extensions__
=yes
4927 ac_cv_safe_to_define___extensions__
=no
4929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4932 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4933 test $ac_cv_safe_to_define___extensions__ = yes &&
4934 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4936 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4938 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4940 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4942 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4946 if test -n "$ac_tool_prefix"; then
4947 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4948 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_RANLIB+:} false
; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$RANLIB"; then
4955 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 RANLIB
=$ac_cv_prog_RANLIB
4975 if test -n "$RANLIB"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4977 $as_echo "$RANLIB" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4985 if test -z "$ac_cv_prog_RANLIB"; then
4986 ac_ct_RANLIB
=$RANLIB
4987 # Extract the first word of "ranlib", so it can be a program name with args.
4988 set dummy ranlib
; ac_word
=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4992 $as_echo_n "(cached) " >&6
4994 if test -n "$ac_ct_RANLIB"; then
4995 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5015 if test -n "$ac_ct_RANLIB"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5017 $as_echo "$ac_ct_RANLIB" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5023 if test "x$ac_ct_RANLIB" = x
; then
5026 case $cross_compiling:$ac_tool_warned in
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned
=yes ;;
5032 RANLIB
=$ac_ct_RANLIB
5035 RANLIB
="$ac_cv_prog_RANLIB"
5039 # Extract the first word of "ar", so it can be a program name with args.
5040 set dummy
ar; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_path_AR+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5048 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 if test -n "$AR"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5072 $as_echo "$AR" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5081 ac_config_headers
="$ac_config_headers includes/config.h"
5084 # we sometimes need to know byte order for building packets
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5086 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5087 if ${ac_cv_c_bigendian+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 ac_cv_c_bigendian
=unknown
5091 # See if we're dealing with a universal compiler.
5092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5094 #ifndef __APPLE_CC__
5095 not a universal capable compiler
5100 if ac_fn_c_try_compile
"$LINENO"; then :
5102 # Check for potential -arch flags. It is not universal unless
5103 # there are at least two -arch flags with different values.
5106 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5107 if test -n "$ac_prev"; then
5109 i?
86 | x86_64 | ppc | ppc64
)
5110 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5113 ac_cv_c_bigendian
=universal
5119 elif test "x$ac_word" = "x-arch"; then
5124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5125 if test $ac_cv_c_bigendian = unknown
; then
5126 # See if sys/param.h defines the BYTE_ORDER macro.
5127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5129 #include <sys/types.h>
5130 #include <sys/param.h>
5135 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5136 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5145 if ac_fn_c_try_compile
"$LINENO"; then :
5146 # It does; now see whether it defined to BIG_ENDIAN or not.
5147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5149 #include <sys/types.h>
5150 #include <sys/param.h>
5155 #if BYTE_ORDER != BIG_ENDIAN
5163 if ac_fn_c_try_compile
"$LINENO"; then :
5164 ac_cv_c_bigendian
=yes
5166 ac_cv_c_bigendian
=no
5168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5172 if test $ac_cv_c_bigendian = unknown
; then
5173 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5181 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5189 if ac_fn_c_try_compile
"$LINENO"; then :
5190 # It does; now see whether it defined to _BIG_ENDIAN or not.
5191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5206 if ac_fn_c_try_compile
"$LINENO"; then :
5207 ac_cv_c_bigendian
=yes
5209 ac_cv_c_bigendian
=no
5211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5215 if test $ac_cv_c_bigendian = unknown
; then
5216 # Compile a test program.
5217 if test "$cross_compiling" = yes; then :
5218 # Try to guess by grepping values from an object file.
5219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5221 short int ascii_mm[] =
5222 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5223 short int ascii_ii[] =
5224 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5225 int use_ascii (int i) {
5226 return ascii_mm[i] + ascii_ii[i];
5228 short int ebcdic_ii[] =
5229 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5230 short int ebcdic_mm[] =
5231 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5232 int use_ebcdic (int i) {
5233 return ebcdic_mm[i] + ebcdic_ii[i];
5240 return use_ascii (foo) == use_ebcdic (foo);
5245 if ac_fn_c_try_compile
"$LINENO"; then :
5246 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5247 ac_cv_c_bigendian
=yes
5249 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5250 if test "$ac_cv_c_bigendian" = unknown
; then
5251 ac_cv_c_bigendian
=no
5253 # finding both strings is unlikely to happen, but who knows?
5254 ac_cv_c_bigendian
=unknown
5258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5262 $ac_includes_default
5267 /* Are we little or big endian? From Harbison&Steele. */
5271 char c[sizeof (long int)];
5274 return u.c[sizeof (long int) - 1] == 1;
5280 if ac_fn_c_try_run
"$LINENO"; then :
5281 ac_cv_c_bigendian
=no
5283 ac_cv_c_bigendian
=yes
5285 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5286 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5292 $as_echo "$ac_cv_c_bigendian" >&6; }
5293 case $ac_cv_c_bigendian in #(
5295 byte_order
=BIG_ENDIAN
5298 byte_order
=LITTLE_ENDIAN
5302 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5306 as_fn_error $?
"unknown endianness
5307 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5311 cat >>confdefs.h
<<_ACEOF
5312 #define DHCP_BYTE_ORDER $byte_order
5316 # Optional compile-time DEBUGging.
5317 # Check whether --enable-debug was given.
5318 if test "${enable_debug+set}" = set; then :
5319 enableval
=$enable_debug; case "${enableval}" in
5320 yes) enable_debug
=yes
5322 $as_echo "#define DEBUG 1" >>confdefs.h
5324 # Just override CFLAGS totally to remove optimization.
5326 no
) enable_debug
=no
;;
5327 *) as_fn_error $?
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
5334 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
5335 # but I don't want to pollute the --help space.
5337 #/* #define DEBUG_TOKENS */
5338 #/* #define DEBUG_PACKET */
5339 #/* #define DEBUG_EXPRESSIONS */
5340 #/* #define DEBUG_FIND_LEASE */
5341 #/* #define DEBUG_EXPRESSION_PARSE */
5342 #/* #define DEBUG_CLASS_MATCHING */
5343 #/* #define DEBUG_MEMORY_LEAKAGE */
5344 #/* #define DEBUG_MALLOC_POOL */
5345 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
5346 #/* #define DEBUG_RC_HISTORY */
5347 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
5348 #/* #define RC_HISTORY_MAX 10240 */
5349 #/* #define POINTER_DEBUG */
5350 #/* #define DEBUG_FAILOVER_MESSAGES */
5351 #/* #define DEBUG_FAILOVER_TIMING */
5352 #/* #define DEBUG_DUMP_ALL_LEASES */
5354 # Failover optional compile-time feature.
5355 # Check whether --enable-failover was given.
5356 if test "${enable_failover+set}" = set; then :
5357 enableval
=$enable_failover;
5360 # Failover is on by default, so define if it is not explicitly disabled.
5361 if test "$enable_failover" != "no"; then
5362 enable_failover
="yes"
5364 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
5368 # execute() support.
5369 # Check whether --enable-execute was given.
5370 if test "${enable_execute+set}" = set; then :
5371 enableval
=$enable_execute;
5374 # execute() is on by default, so define if it is not explicitly disabled.
5375 if test "$enable_execute" != "no" ; then
5376 enable_execute
="yes"
5378 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
5382 # Server tracing support.
5383 # Check whether --enable-tracing was given.
5384 if test "${enable_tracing+set}" = set; then :
5385 enableval
=$enable_tracing;
5388 # tracing is on by default, so define if it is not explicitly disabled.
5389 if test "$enable_tracing" != "no" ; then
5391 $as_echo "#define TRACING 1" >>confdefs.h
5395 # Delayed-ack feature support (experimental).
5396 # Check whether --enable-delayed_ack was given.
5397 if test "${enable_delayed_ack+set}" = set; then :
5398 enableval
=$enable_delayed_ack;
5401 if test "$enable_delayed_ack" = "yes"; then
5403 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
5406 enable_delayed_ack
="no"
5409 # DHCPv6 optional compile-time feature.
5410 # Check whether --enable-dhcpv6 was given.
5411 if test "${enable_dhcpv6+set}" = set; then :
5412 enableval
=$enable_dhcpv6;
5415 # DHCPv6 is on by default, so define if it is not explicitly disabled.
5416 if test "$enable_dhcpv6" != "no"; then
5419 $as_echo "#define DHCPv6 1" >>confdefs.h
5423 # PARANOIA is off by default (until we can test it with all features)
5424 # Check whether --enable-paranoia was given.
5425 if test "${enable_paranoia+set}" = set; then :
5426 enableval
=$enable_paranoia;
5429 # Check whether --enable-early_chroot was given.
5430 if test "${enable_early_chroot+set}" = set; then :
5431 enableval
=$enable_early_chroot;
5434 # If someone enables early chroot, but does not enable paranoia, do so for
5436 if test "$enable_paranoia" != "yes" && \
5437 test "$enable_early_chroot" = "yes" ; then
5438 enable_paranoia
="yes"
5441 if test "$enable_paranoia" = "yes" ; then
5443 $as_echo "#define PARANOIA 1" >>confdefs.h
5446 if test "$enable_early_chroot" = "yes" ; then
5448 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
5452 # Check whether --enable-ipv4_pktinfo was given.
5453 if test "${enable_ipv4_pktinfo+set}" = set; then :
5454 enableval
=$enable_ipv4_pktinfo;
5458 if test "$enable_ipv4_pktinfo" = "yes"; then
5460 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
5464 # Check whether --enable-use_sockets was given.
5465 if test "${enable_use_sockets+set}" = set; then :
5466 enableval
=$enable_use_sockets;
5470 if test "$enable_use_sockets" = "yes"; then
5472 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
5476 # Try to hnadle incorrect byte order for secs field
5477 # This is off by default
5478 # Check whether --enable-secs_byteorder was given.
5479 if test "${enable_secs_byteorder+set}" = set; then :
5480 enableval
=$enable_secs_byteorder;
5484 if test "$enable_secs_byteorder" = "yes" ; then
5486 $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h
5490 # Include the PID in the log messages. This is useful when there may
5491 # be multiple instances of a program.
5492 # This is off by default
5493 # Check whether --enable-log_pid was given.
5494 if test "${enable_log_pid+set}" = set; then :
5495 enableval
=$enable_log_pid;
5498 if test "$enable_log_pid" = "yes" ; then
5500 $as_echo "#define USE_LOG_PID 1" >>confdefs.h
5504 # Allow for binary search when inserting v4 leases into queues
5505 # Check whether --enable-binary_leases was given.
5506 if test "${enable_binary_leases+set}" = set; then :
5507 enableval
=$enable_binary_leases;
5510 # binary_leases is off by default.
5511 if test "$enable_binary_leases" = "yes"; then
5513 $as_echo "#define BINARY_LEASES 1" >>confdefs.h
5516 enable_binary_leases
="no"
5523 # Check whether --with-atf was given.
5524 if test "${with_atf+set}" = set; then :
5525 withval
=$with_atf; atf_path
="$withval"
5528 if test "$atf_path" = "bind"; then
5536 if test "$atf_path" = "bind" ; then
5538 atf_path
="\${top_srcdir}/bind/atf"
5539 ATF_CFLAGS
="-I$atf_path/include -DUNIT_TEST"
5540 ATF_LDFLAGS
="-L$atf_path/lib -latf-c"
5541 ATF_BIN
=`pwd`/bind
/atf
/bin
5545 BINDCONFIG
="$BINDCONFIG --with-atf"
5546 elif test "$atf_path" != "no" ; then
5547 # Config path for pkg-config
5549 if test "$atf_path" != "yes" ; then
5550 if test -f $atf_path/lib
/pkgconfig
/atf-c.pc
; then
5551 atf_pcp
=$atf_path/lib
/pkgconfig
5552 elif test -f $atf_path/lib64
/pkgconfig
/atf-c.pc
; then
5553 atf_pcp
=$atf_path/lib64
/pkgconfig
5556 # Not specified, try some common paths
5557 atf_dirs
="/usr /usr/local /usr/pkg /opt /opt/local"
5560 if test -f $d/lib
/pkgconfig
/atf-c.pc
; then
5561 atf_pcp
=$d/lib
/pkgconfig
5563 elif test -f $d/lib64
/pkgconfig
/atf-c.pc
; then
5564 atf_pcp
=$d/lib64
/pkgconfig
5570 if test "$atf_pcp" = "" ; then
5571 as_fn_error $?
"Unable to find atf files in location specified" "$LINENO" 5
5573 # Extract the first word of "pkg-config", so it can be a program name with args.
5574 set dummy pkg-config
; ac_word
=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_pkgcfg_found+:} false
; then :
5578 $as_echo_n "(cached) " >&6
5580 if test -n "$pkgcfg_found"; then
5581 ac_cv_prog_pkgcfg_found
="$pkgcfg_found" # Let the user override the test.
5583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5587 test -z "$as_dir" && as_dir
=.
5588 for ac_exec_ext
in '' $ac_executable_extensions; do
5589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_pkgcfg_found
="pkg-config"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 pkgcfg_found
=$ac_cv_prog_pkgcfg_found
5601 if test -n "$pkgcfg_found"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgcfg_found" >&5
5603 $as_echo "$pkgcfg_found" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5610 if test "$pkgcfg_found" = ""; then
5611 as_fn_error $?
"Could not locate ATF, pkg-config not installed" "$LINENO" 5
5613 ATF_CFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
5614 ATF_LDFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
5615 if test -f $atf_pcp/atf-sh.pc
; then
5616 ATF_BIN
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --variable=exec_prefix atf-sh`/bin"
5618 # older versions don't have atf-sh, try usual place
5619 ATF_BIN
=$atf_path/bin
5622 if test ! -x $ATF_BIN/atf-run
-o ! -x $ATF_BIN/atf-report
; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run,atf-report not found, assuming they are in your path" >&5
5624 $as_echo "$as_me: WARNING: atf-run,atf-report not found, assuming they are in your path" >&2;}
5633 if test "$atf_pcp" != ""; then
5641 if test -z "$HAVE_ATF_TRUE"; then :
5643 $as_echo "#define HAVE_ATF 1" >>confdefs.h
5648 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
5649 ### need to look there and potentially overwrite by default (but not if
5650 ### the user configures an alternate value). LOCALSTATEDIR is totally
5651 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
5652 ### they would be insane for suggesting it. We need to look in /var/for
5653 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
5656 if test "x$prefix" = xNONE
; then
5657 $as_echo_n "checking for prefix by " >&6
5658 # Extract the first word of "dhcpd", so it can be a program name with args.
5659 set dummy dhcpd
; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_path_ac_prefix_program+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 case $ac_prefix_program in
5667 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 ac_prefix_program
=$ac_cv_path_ac_prefix_program
5689 if test -n "$ac_prefix_program"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
5691 $as_echo "$ac_prefix_program" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 if test -n "$ac_prefix_program"; then
5699 prefix
=`$as_dirname -- "$ac_prefix_program" ||
5700 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5701 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5702 X"$ac_prefix_program" : 'X\(//\)$' \| \
5703 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
5704 $as_echo X"$ac_prefix_program" |
5705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5722 prefix
=`$as_dirname -- "$prefix" ||
5723 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5724 X"$prefix" : 'X\(//\)[^/]' \| \
5725 X"$prefix" : 'X\(//\)$' \| \
5726 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
5727 $as_echo X"$prefix" |
5728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5749 # XXX - isn't there SOME WAY to default autoconf to /var instead of
5750 # /usr/local/var/no/one/has/this/please/stop/trying?
5751 case "$localstatedir" in
5757 # Allow specification of alternate state files
5759 # Check whether --with-srv-lease-file was given.
5760 if test "${with_srv_lease_file+set}" = set; then :
5761 withval
=$with_srv_lease_file;
5762 cat >>confdefs.h
<<_ACEOF
5763 #define _PATH_DHCPD_DB "$withval"
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd.leases location" >&5
5770 $as_echo_n "checking for dhcpd.leases location... " >&6; }
5771 if [ "x$with_srv_lease_file" = "x" ] ; then
5772 if [ -d "${localstatedir}/db" ] ; then
5773 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
5774 elif [ -d "${localstatedir}/state" ] ; then
5775 if [ -d "${localstatedir}/state/dhcp" ] ; then
5776 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
5778 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
5780 elif [ -d "${localstatedir}/lib" ] ; then
5781 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5782 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
5784 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
5786 elif [ -d "${localstatedir}/etc" ] ; then
5787 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
5789 with_srv_lease_file
="/etc/dhcpd.leases"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv_lease_file" >&5
5793 $as_echo "$with_srv_lease_file" >&6; }
5796 # Check whether --with-srv6-lease-file was given.
5797 if test "${with_srv6_lease_file+set}" = set; then :
5798 withval
=$with_srv6_lease_file;
5799 cat >>confdefs.h
<<_ACEOF
5800 #define _PATH_DHCPD6_DB "$withval"
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd6.leases location" >&5
5807 $as_echo_n "checking for dhcpd6.leases location... " >&6; }
5808 if [ "x$with_srv6_lease_file" = "x" ] ; then
5809 if [ -d "${localstatedir}/db" ] ; then
5810 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
5811 elif [ -d "${localstatedir}/state" ] ; then
5812 if [ -d "${localstatedir}/state/dhcp" ] ; then
5813 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
5815 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
5817 elif [ -d "${localstatedir}/lib" ] ; then
5818 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5819 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
5821 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
5823 elif [ -d "${localstatedir}/etc" ] ; then
5824 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
5826 with_srv6_lease_file
="/etc/dhcpd6.leases"
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv6_lease_file" >&5
5830 $as_echo "$with_srv6_lease_file" >&6; }
5833 # Check whether --with-cli-lease-file was given.
5834 if test "${with_cli_lease_file+set}" = set; then :
5835 withval
=$with_cli_lease_file;
5836 cat >>confdefs.h
<<_ACEOF
5837 #define _PATH_DHCLIENT_DB "$withval"
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient.leases location" >&5
5844 $as_echo_n "checking for dhclient.leases location... " >&6; }
5845 if [ "x$with_cli_lease_file" = "x" ] ; then
5846 if [ -d "${localstatedir}/db" ] ; then
5847 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
5848 elif [ -d "${localstatedir}/state" ] ; then
5849 if [ -d "${localstatedir}/state/dhcp" ] ; then
5850 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
5852 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
5854 elif [ -d "${localstatedir}/lib" ] ; then
5855 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5856 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
5858 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
5860 elif [ -d "${localstatedir}/etc" ] ; then
5861 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
5863 with_cli_lease_file
="/etc/dhclient.leases"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli_lease_file" >&5
5867 $as_echo "$with_cli_lease_file" >&6; }
5870 # Check whether --with-cli6-lease-file was given.
5871 if test "${with_cli6_lease_file+set}" = set; then :
5872 withval
=$with_cli6_lease_file;
5873 cat >>confdefs.h
<<_ACEOF
5874 #define _PATH_DHCLIENT6_DB "$withval"
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient6.leases location" >&5
5881 $as_echo_n "checking for dhclient6.leases location... " >&6; }
5882 if [ "x$with_cli6_lease_file" = "x" ] ; then
5883 if [ -d "${localstatedir}/db" ] ; then
5884 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
5885 elif [ -d "${localstatedir}/state" ] ; then
5886 if [ -d "${localstatedir}/state/dhcp" ] ; then
5887 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5889 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5891 elif [ -d "${localstatedir}/lib" ] ; then
5892 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5893 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5895 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5897 elif [ -d "${localstatedir}/etc" ] ; then
5898 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5900 with_cli6_lease_file
="/etc/dhclient6.leases"
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli6_lease_file" >&5
5904 $as_echo "$with_cli6_lease_file" >&6; }
5907 # Check whether --with-srv-pid-file was given.
5908 if test "${with_srv_pid_file+set}" = set; then :
5909 withval
=$with_srv_pid_file;
5910 cat >>confdefs.h
<<_ACEOF
5911 #define _PATH_DHCPD_PID "$withval"
5917 # Check whether --with-srv6-pid-file was given.
5918 if test "${with_srv6_pid_file+set}" = set; then :
5919 withval
=$with_srv6_pid_file;
5920 cat >>confdefs.h
<<_ACEOF
5921 #define _PATH_DHCPD6_PID "$withval"
5927 # Check whether --with-cli-pid-file was given.
5928 if test "${with_cli_pid_file+set}" = set; then :
5929 withval
=$with_cli_pid_file;
5930 cat >>confdefs.h
<<_ACEOF
5931 #define _PATH_DHCLIENT_PID "$withval"
5937 # Check whether --with-cli6-pid-file was given.
5938 if test "${with_cli6_pid_file+set}" = set; then :
5939 withval
=$with_cli6_pid_file;
5940 cat >>confdefs.h
<<_ACEOF
5941 #define _PATH_DHCLIENT6_PID "$withval"
5947 # Check whether --with-relay-pid-file was given.
5948 if test "${with_relay_pid_file+set}" = set; then :
5949 withval
=$with_relay_pid_file;
5950 cat >>confdefs.h
<<_ACEOF
5951 #define _PATH_DHCRELAY_PID "$withval"
5957 # Check whether --with-relay6-pid-file was given.
5958 if test "${with_relay6_pid_file+set}" = set; then :
5959 withval
=$with_relay6_pid_file;
5960 cat >>confdefs.h
<<_ACEOF
5961 #define _PATH_DHCRELAY6_PID "$withval"
5967 # Check basic types.
5968 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
5969 case $ac_cv_c_int8_t in #(
5973 cat >>confdefs.h
<<_ACEOF
5974 #define int8_t $ac_cv_c_int8_t
5979 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
5980 case $ac_cv_c_int16_t in #(
5984 cat >>confdefs.h
<<_ACEOF
5985 #define int16_t $ac_cv_c_int16_t
5990 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
5991 case $ac_cv_c_int32_t in #(
5995 cat >>confdefs.h
<<_ACEOF
5996 #define int32_t $ac_cv_c_int32_t
6001 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
6002 case $ac_cv_c_int64_t in #(
6006 cat >>confdefs.h
<<_ACEOF
6007 #define int64_t $ac_cv_c_int64_t
6013 # Some systems need the u_intX_t types defined across.
6014 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
6015 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
6019 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
6020 case $ac_cv_c_uint8_t in #(
6024 $as_echo "#define _UINT8_T 1" >>confdefs.h
6027 cat >>confdefs.h
<<_ACEOF
6028 #define uint8_t $ac_cv_c_uint8_t
6034 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
6039 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
6040 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
6044 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
6045 case $ac_cv_c_uint16_t in #(
6050 cat >>confdefs.h
<<_ACEOF
6051 #define uint16_t $ac_cv_c_uint16_t
6057 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
6062 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
6063 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
6067 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
6068 case $ac_cv_c_uint32_t in #(
6072 $as_echo "#define _UINT32_T 1" >>confdefs.h
6075 cat >>confdefs.h
<<_ACEOF
6076 #define uint32_t $ac_cv_c_uint32_t
6082 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
6087 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
6088 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
6092 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
6093 case $ac_cv_c_uint64_t in #(
6097 $as_echo "#define _UINT64_T 1" >>confdefs.h
6100 cat >>confdefs.h
<<_ACEOF
6101 #define uint64_t $ac_cv_c_uint64_t
6107 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
6113 # see if ifaddrs.h is available
6114 for ac_header
in ifaddrs.h
6116 ac_fn_c_check_header_mongrel
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
6117 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6118 cat >>confdefs.h
<<_ACEOF
6119 #define HAVE_IFADDRS_H 1
6127 # figure out what IPv4 interface code to use
6128 for ac_header
in linux
/types.h
6130 ac_fn_c_check_header_mongrel
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
6131 if test "x$ac_cv_header_linux_types_h" = xyes
; then :
6132 cat >>confdefs.h
<<_ACEOF
6133 #define HAVE_LINUX_TYPES_H 1
6139 # needed for linux/filter.h on old systems
6141 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
6142 #ifdef HAVE_LINUX_TYPES_H
6143 #include <linux/types.h>
6147 if test "x$ac_cv_header_linux_filter_h" = xyes
; then :
6152 if test -n "$DO_LPF"
6155 $as_echo "#define HAVE_LPF 1" >>confdefs.h
6158 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
6159 if test "x$ac_cv_header_sys_dlpi_h" = xyes
; then :
6164 if test -n "$DO_DLPI"
6167 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
6170 ac_fn_c_check_header_mongrel
"$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
6171 if test "x$ac_cv_header_net_bpf_h" = xyes
; then :
6176 if test -n "$DO_BPF"
6179 $as_echo "#define HAVE_BPF 1" >>confdefs.h
6185 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
6186 # use the same structures. We like to use 'struct lifconf' and 'struct
6187 # lifreq', but we'll use these other structures if they're present. HPUX
6188 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
6192 $as_echo_n "checking for struct lifnum... " >&6; }
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6195 #include <sys/types.h>
6196 #include <sys/socket.h>
6208 if ac_fn_c_try_compile
"$LINENO"; then :
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6210 $as_echo "yes" >&6; }
6212 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
6221 $as_echo_n "checking for struct if_laddrconf... " >&6; }
6222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6224 #include <sys/types.h>
6225 #include <net/if6.h>
6230 struct if_laddrconf a;
6236 if ac_fn_c_try_compile
"$LINENO"; then :
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6238 $as_echo "yes" >&6; }
6240 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
6249 $as_echo_n "checking for struct if_laddrreq... " >&6; }
6250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6252 #include <sys/types.h>
6253 #include <net/if6.h>
6258 struct if_laddrreq a;
6264 if ac_fn_c_try_link
"$LINENO"; then :
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6266 $as_echo "yes" >&6; }
6268 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 $as_echo "no" >&6; }
6274 rm -f core conftest.err conftest.
$ac_objext \
6275 conftest
$ac_exeext conftest.
$ac_ext
6278 # check for GCC noreturn attribute
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
6281 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6288 void foo() __attribute__((noreturn));
6293 if ac_fn_c_try_compile
"$LINENO"; then :
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6295 $as_echo "yes" >&6; }
6297 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301 $as_echo "no" >&6; }
6303 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
6306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6308 # Look for optional headers.
6309 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6311 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6312 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6313 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6314 cat >>confdefs.h
<<_ACEOF
6315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6323 # Solaris needs some libraries for functions
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
6325 $as_echo_n "checking for library containing socket... " >&6; }
6326 if ${ac_cv_search_socket+:} false
; then :
6327 $as_echo_n "(cached) " >&6
6329 ac_func_search_save_LIBS
=$LIBS
6330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6348 for ac_lib
in '' socket
; do
6349 if test -z "$ac_lib"; then
6350 ac_res
="none required"
6353 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6355 if ac_fn_c_try_link
"$LINENO"; then :
6356 ac_cv_search_socket
=$ac_res
6358 rm -f core conftest.err conftest.
$ac_objext \
6360 if ${ac_cv_search_socket+:} false
; then :
6364 if ${ac_cv_search_socket+:} false
; then :
6367 ac_cv_search_socket
=no
6370 LIBS
=$ac_func_search_save_LIBS
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
6373 $as_echo "$ac_cv_search_socket" >&6; }
6374 ac_res
=$ac_cv_search_socket
6375 if test "$ac_res" != no
; then :
6376 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
6381 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
6382 if ${ac_cv_search_inet_ntoa+:} false
; then :
6383 $as_echo_n "(cached) " >&6
6385 ac_func_search_save_LIBS
=$LIBS
6386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6389 /* Override any GCC internal prototype to avoid an error.
6390 Use char because int might match the return type of a GCC
6391 builtin and then its argument prototype would still apply. */
6399 return inet_ntoa ();
6404 for ac_lib
in '' nsl
; do
6405 if test -z "$ac_lib"; then
6406 ac_res
="none required"
6409 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6411 if ac_fn_c_try_link
"$LINENO"; then :
6412 ac_cv_search_inet_ntoa
=$ac_res
6414 rm -f core conftest.err conftest.
$ac_objext \
6416 if ${ac_cv_search_inet_ntoa+:} false
; then :
6420 if ${ac_cv_search_inet_ntoa+:} false
; then :
6423 ac_cv_search_inet_ntoa
=no
6426 LIBS
=$ac_func_search_save_LIBS
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
6429 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
6430 ac_res
=$ac_cv_search_inet_ntoa
6431 if test "$ac_res" != no
; then :
6432 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
6438 $as_echo_n "checking for library containing inet_aton... " >&6; }
6439 if ${ac_cv_search_inet_aton+:} false
; then :
6440 $as_echo_n "(cached) " >&6
6442 ac_func_search_save_LIBS
=$LIBS
6443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6446 /* Override any GCC internal prototype to avoid an error.
6447 Use char because int might match the return type of a GCC
6448 builtin and then its argument prototype would still apply. */
6456 return inet_aton ();
6461 for ac_lib
in '' socket nsl
; do
6462 if test -z "$ac_lib"; then
6463 ac_res
="none required"
6466 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6468 if ac_fn_c_try_link
"$LINENO"; then :
6469 ac_cv_search_inet_aton
=$ac_res
6471 rm -f core conftest.err conftest.
$ac_objext \
6473 if ${ac_cv_search_inet_aton+:} false
; then :
6477 if ${ac_cv_search_inet_aton+:} false
; then :
6480 ac_cv_search_inet_aton
=no
6483 LIBS
=$ac_func_search_save_LIBS
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
6486 $as_echo "$ac_cv_search_inet_aton" >&6; }
6487 ac_res
=$ac_cv_search_inet_aton
6488 if test "$ac_res" != no
; then :
6489 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6493 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
6498 # Check for a standalone regex library.
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
6500 $as_echo_n "checking for library containing regcomp... " >&6; }
6501 if ${ac_cv_search_regcomp+:} false
; then :
6502 $as_echo_n "(cached) " >&6
6504 ac_func_search_save_LIBS
=$LIBS
6505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6508 /* Override any GCC internal prototype to avoid an error.
6509 Use char because int might match the return type of a GCC
6510 builtin and then its argument prototype would still apply. */
6523 for ac_lib
in '' regex
; do
6524 if test -z "$ac_lib"; then
6525 ac_res
="none required"
6528 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6530 if ac_fn_c_try_link
"$LINENO"; then :
6531 ac_cv_search_regcomp
=$ac_res
6533 rm -f core conftest.err conftest.
$ac_objext \
6535 if ${ac_cv_search_regcomp+:} false
; then :
6539 if ${ac_cv_search_regcomp+:} false
; then :
6542 ac_cv_search_regcomp
=no
6545 LIBS
=$ac_func_search_save_LIBS
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
6548 $as_echo "$ac_cv_search_regcomp" >&6; }
6549 ac_res
=$ac_cv_search_regcomp
6550 if test "$ac_res" != no
; then :
6551 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6556 for ac_func
in strlcat
6558 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
6559 if test "x$ac_cv_func_strlcat" = xyes
; then :
6560 cat >>confdefs.h
<<_ACEOF
6561 #define HAVE_STRLCAT 1
6568 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
6570 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
6571 if ${ac_cv_search_if_nametoindex+:} false
; then :
6572 $as_echo_n "(cached) " >&6
6574 ac_func_search_save_LIBS
=$LIBS
6575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6578 /* Override any GCC internal prototype to avoid an error.
6579 Use char because int might match the return type of a GCC
6580 builtin and then its argument prototype would still apply. */
6584 char if_nametoindex ();
6588 return if_nametoindex ();
6593 for ac_lib
in '' ipv6
; do
6594 if test -z "$ac_lib"; then
6595 ac_res
="none required"
6598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6600 if ac_fn_c_try_link
"$LINENO"; then :
6601 ac_cv_search_if_nametoindex
=$ac_res
6603 rm -f core conftest.err conftest.
$ac_objext \
6605 if ${ac_cv_search_if_nametoindex+:} false
; then :
6609 if ${ac_cv_search_if_nametoindex+:} false
; then :
6612 ac_cv_search_if_nametoindex
=no
6615 LIBS
=$ac_func_search_save_LIBS
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
6618 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
6619 ac_res
=$ac_cv_search_if_nametoindex
6620 if test "$ac_res" != no
; then :
6621 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6626 # check for /dev/random (declares HAVE_DEV_RANDOM)
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/random" >&5
6628 $as_echo_n "checking for /dev/random... " >&6; }
6629 if ${ac_cv_file__dev_random+:} false
; then :
6630 $as_echo_n "(cached) " >&6
6632 test "$cross_compiling" = yes &&
6633 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6634 if test -r "/dev/random"; then
6635 ac_cv_file__dev_random
=yes
6637 ac_cv_file__dev_random
=no
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_random" >&5
6641 $as_echo "$ac_cv_file__dev_random" >&6; }
6642 if test "x$ac_cv_file__dev_random" = xyes
; then :
6644 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
6649 # see if there is a "sa_len" field in our interface information structure
6650 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
6652 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
6654 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
6659 # figure out pointer size
6660 # The cast to long int works around a bug in the HP C Compiler
6661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6663 # This bug is HP SR number 8606223364.
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
6665 $as_echo_n "checking size of struct iaddr *... " >&6; }
6666 if ${ac_cv_sizeof_struct_iaddr_p+:} false
; then :
6667 $as_echo_n "(cached) " >&6
6669 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p" "
6670 #include \"includes/inet.h\"
6676 if test "$ac_cv_type_struct_iaddr_p" = yes; then
6677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6679 as_fn_error
77 "cannot compute sizeof (struct iaddr *)
6680 See \`config.log' for more details" "$LINENO" 5; }
6682 ac_cv_sizeof_struct_iaddr_p
=0
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
6688 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
6692 cat >>confdefs.h
<<_ACEOF
6693 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
6698 # Solaris does not have the msg_control or msg_controlen members
6699 # in the msghdr structure unless you define:
6701 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
6703 # See the "standards" man page for details.
6705 # We check for the msg_control member, and if it is not found, we check
6706 # again with the appropriate defines added to the CFLAGS. (In order to
6707 # do this we have to remove the check from the cache, which is what the
6709 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6710 #include <sys/types.h>
6711 #include <sys/socket.h>
6714 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6717 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
6718 CFLAGS
="$CFLAGS -D__EXTENSIONS__"
6719 unset ac_cv_member_struct_msghdr_msg_control
6720 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6721 #include <sys/types.h>
6722 #include <sys/socket.h>
6725 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6728 as_fn_error $?
"Missing msg_control member in
6729 msg_control structure." "$LINENO" 5
6736 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>
6738 if test "x$ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" = xyes
; then :
6740 $as_echo "#define VLAN_TCI_PRESENT 1" >>confdefs.h
6748 # Check whether --with-libbind was given.
6749 if test "${with_libbind+set}" = set; then :
6750 withval
=$with_libbind; use_libbind
="$withval"
6755 case "$use_libbind" in
6757 BINDDIR
="\${top_srcdir}/bind"
6760 BINDDIR
="\${top_srcdir}/bind"
6763 BINDDIR
="$use_libbind"
6764 if test ! -d "bind"; then
6765 # no bind directory, create it with a fake Makefile.in
6766 # (AC_CONFIG_FILES and top Makefile refer to it so
6769 cat > bind
/Makefile.
in << EOF
6771 all check clean distclean distdir install uninstall:
6781 # Check whether --with-ldap was given.
6782 if test "${with_ldap+set}" = set; then :
6783 withval
=$with_ldap; ldap
=$withval
6789 # OpenLDAP with SSL support.
6791 # Check whether --with-ldapcrypto was given.
6792 if test "${with_ldapcrypto+set}" = set; then :
6793 withval
=$with_ldapcrypto; ldapcrypto
=$withval
6799 # Gssapi to allow LDAP to authenticate with a keytab
6801 # Check whether --with-ldap-gssapi was given.
6802 if test "${with_ldap_gssapi+set}" = set; then :
6803 withval
=$with_ldap_gssapi; ldap_gssapi
=$withval
6810 # LDAP CASA auth support.
6812 # Check whether --with-ldapcasa was given.
6813 if test "${with_ldapcasa+set}" = set; then :
6814 withval
=$with_ldapcasa; ldapcasa
=$withval
6820 # OpenLDAP support is disabled by default, if enabled then SSL support is an
6821 # extra optional that is also disabled by default. Enabling LDAP SSL support
6822 # implies enabling LDAP support. Similarly, KRB5 support implies LDAP support,
6823 # but doesn't include SSL. The two are not dependant.
6824 if test x
$ldap = xyes ||
test x
$ldapcrypto = xyes ||
test x
$ldap_gssapi = xyes
; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
6828 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
6829 if ${ac_cv_search_ldap_initialize+:} false
; then :
6830 $as_echo_n "(cached) " >&6
6832 ac_func_search_save_LIBS
=$LIBS
6833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6836 /* Override any GCC internal prototype to avoid an error.
6837 Use char because int might match the return type of a GCC
6838 builtin and then its argument prototype would still apply. */
6842 char ldap_initialize ();
6846 return ldap_initialize ();
6851 for ac_lib
in '' ldap
; do
6852 if test -z "$ac_lib"; then
6853 ac_res
="none required"
6856 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6858 if ac_fn_c_try_link
"$LINENO"; then :
6859 ac_cv_search_ldap_initialize
=$ac_res
6861 rm -f core conftest.err conftest.
$ac_objext \
6863 if ${ac_cv_search_ldap_initialize+:} false
; then :
6867 if ${ac_cv_search_ldap_initialize+:} false
; then :
6870 ac_cv_search_ldap_initialize
=no
6873 LIBS
=$ac_func_search_save_LIBS
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
6876 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
6877 ac_res
=$ac_cv_search_ldap_initialize
6878 if test "$ac_res" != no
; then :
6879 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6884 as_fn_error $?
"*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
6885 See \`config.log' for more details" "$LINENO" 5; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
6889 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
6890 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6891 $as_echo_n "(cached) " >&6
6893 ac_func_search_save_LIBS
=$LIBS
6894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6897 /* Override any GCC internal prototype to avoid an error.
6898 Use char because int might match the return type of a GCC
6899 builtin and then its argument prototype would still apply. */
6903 char ber_pvt_opt_on ();
6907 return ber_pvt_opt_on ();
6912 for ac_lib
in '' lber
; do
6913 if test -z "$ac_lib"; then
6914 ac_res
="none required"
6917 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6919 if ac_fn_c_try_link
"$LINENO"; then :
6920 ac_cv_search_ber_pvt_opt_on
=$ac_res
6922 rm -f core conftest.err conftest.
$ac_objext \
6924 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6928 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6931 ac_cv_search_ber_pvt_opt_on
=no
6934 LIBS
=$ac_func_search_save_LIBS
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
6937 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
6938 ac_res
=$ac_cv_search_ber_pvt_opt_on
6939 if test "$ac_res" != no
; then :
6940 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6945 as_fn_error $?
"*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
6946 See \`config.log' for more details" "$LINENO" 5; }
6949 if test x
$ldap_gssapi = xyes
; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing krb5_init_context" >&5
6951 $as_echo_n "checking for library containing krb5_init_context... " >&6; }
6952 if ${ac_cv_search_krb5_init_context+:} false
; then :
6953 $as_echo_n "(cached) " >&6
6955 ac_func_search_save_LIBS
=$LIBS
6956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6959 /* Override any GCC internal prototype to avoid an error.
6960 Use char because int might match the return type of a GCC
6961 builtin and then its argument prototype would still apply. */
6965 char krb5_init_context ();
6969 return krb5_init_context ();
6974 for ac_lib
in '' krb5
; do
6975 if test -z "$ac_lib"; then
6976 ac_res
="none required"
6979 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6981 if ac_fn_c_try_link
"$LINENO"; then :
6982 ac_cv_search_krb5_init_context
=$ac_res
6984 rm -f core conftest.err conftest.
$ac_objext \
6986 if ${ac_cv_search_krb5_init_context+:} false
; then :
6990 if ${ac_cv_search_krb5_init_context+:} false
; then :
6993 ac_cv_search_krb5_init_context
=no
6996 LIBS
=$ac_func_search_save_LIBS
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_krb5_init_context" >&5
6999 $as_echo "$ac_cv_search_krb5_init_context" >&6; }
7000 ac_res
=$ac_cv_search_krb5_init_context
7001 if test "$ac_res" != no
; then :
7002 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7007 as_fn_error $?
"*** Cannot find krb5_init_context with -lkrb5 - do you need to install a Kerberos Devel package?
7008 See \`config.log' for more details" "$LINENO" 5; }
7013 # Create LDAP_LIBS which we specify them explicitly rather than lumping them in with LIBS
7019 for ac_header
in ldap.h
7021 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
7022 if test "x$ac_cv_header_ldap_h" = xyes
; then :
7023 cat >>confdefs.h
<<_ACEOF
7024 #define HAVE_LDAP_H 1
7031 for ac_func
in inet_pton inet_ntop
7033 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7034 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7035 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7036 cat >>confdefs.h
<<_ACEOF
7037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7045 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
7047 if test x
$ldapcasa = xyes
; then
7048 for ac_header
in micasa_mgmd.h
7050 ac_fn_c_check_header_mongrel
"$LINENO" "micasa_mgmd.h" "ac_cv_header_micasa_mgmd_h" "$ac_includes_default"
7051 if test "x$ac_cv_header_micasa_mgmd_h" = xyes
; then :
7052 cat >>confdefs.h
<<_ACEOF
7053 #define HAVE_MICASA_MGMD_H 1
7056 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_CASA_AUTH"
7059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7061 as_fn_error $?
"*** Cannot find micasa_mgmd.h for ldap casa auth support
7062 See \`config.log' for more details" "$LINENO" 5; }
7069 if test x
$ldapcrypto = xyes
; then
7070 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_USE_SSL"
7073 if test x
$ldap_gssapi = xyes
; then
7074 LDAP_CFLAGS
="$LDAP_CFLAGS -DLDAP_USE_GSSAPI"
7077 LDAP_CFLAGS
=$LDAP_CFLAGS
7081 # Append selected warning levels to CFLAGS before substitution (but after
7082 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
7083 CFLAGS
="$CFLAGS $STD_CWARNINGS"
7085 # Try to add the bind include directory
7086 CFLAGS
="$CFLAGS -I$BINDDIR/include"
7090 CFLAGS
="$CFLAGS -D__APPLE_USE_RFC_3542" ;;
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
7095 $as_echo_n "checking for flexible array members... " >&6; }
7096 if ${ac_cv_c_flexmember+:} false
; then :
7097 $as_echo_n "(cached) " >&6
7099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7104 struct s { int n; double d[]; };
7109 struct s *p = malloc (offsetof (struct s, d)
7110 + m * sizeof (double));
7112 return p->d != (double *) NULL;
7117 if ac_fn_c_try_compile
"$LINENO"; then :
7118 ac_cv_c_flexmember
=yes
7120 ac_cv_c_flexmember
=no
7122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
7125 $as_echo "$ac_cv_c_flexmember" >&6; }
7126 if test $ac_cv_c_flexmember = yes; then
7128 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
7131 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
7136 ac_config_files
="$ac_config_files Makefile bind/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"
7138 cat >confcache
<<\_ACEOF
7139 # This file is a shell script that caches the results of configure
7140 # tests run on this system so they can be shared between configure
7141 # scripts and configure runs, see configure's option --config-cache.
7142 # It is not useful on other systems. If it contains results you don't
7143 # want to keep, you may remove or edit it.
7145 # config.status only pays attention to the cache file if you give it
7146 # the --recheck option to rerun configure.
7148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7154 # The following way of writing the cache mishandles newlines in values,
7155 # but we know of no workaround that is simple, portable, and efficient.
7156 # So, we kill variables containing newlines.
7157 # Ultrix sh set writes to stderr and can't be redirected directly,
7158 # and sets the high bit in the cache file unless we assign to the vars.
7160 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7161 eval ac_val
=\$
$ac_var
7165 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7169 _ | IFS | as_nl
) ;; #(
7170 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7171 *) { eval $ac_var=; unset $ac_var;} ;;
7177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7178 *${as_nl}ac_space
=\
*)
7179 # `set' does not quote correctly, so add quotes: double-quote
7180 # substitution turns \\\\ into \\, and sed turns \\ into \.
7183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7186 # `set' quotes correctly as required by POSIX, so do not add quotes.
7187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7200 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7201 if test -w "$cache_file"; then
7202 if test "x$cache_file" != "x/dev/null"; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7204 $as_echo "$as_me: updating cache $cache_file" >&6;}
7205 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7206 cat confcache
>"$cache_file"
7208 case $cache_file in #(
7210 mv -f confcache
"$cache_file"$$
&&
7211 mv -f "$cache_file"$$
"$cache_file" ;; #(
7213 mv -f confcache
"$cache_file" ;;
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7219 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7224 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7225 # Let make expand exec_prefix.
7226 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7228 DEFS
=-DHAVE_CONFIG_H
7233 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7234 # 1. Remove the extension, and $U if already installed.
7235 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7236 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7238 # will be set to the directory where LIBOBJS objects are built.
7239 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7240 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7244 LTLIBOBJS
=$ac_ltlibobjs
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7248 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7249 if test -n "$am_sleep_pid"; then
7250 # Hide warnings about reused PIDs.
7251 wait $am_sleep_pid 2>/dev
/null
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7254 $as_echo "done" >&6; }
7255 if test -n "$EXEEXT"; then
7257 am__EXEEXT_FALSE
='#'
7263 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7264 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
7265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7267 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7268 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7271 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7272 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7275 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
7276 as_fn_error $?
"conditional \"CROSS_COMPILING\" was never defined.
7277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7280 if test -z "${BIND_ATF_TRUE}" && test -z "${BIND_ATF_FALSE}"; then
7281 as_fn_error $?
"conditional \"BIND_ATF\" was never defined.
7282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7284 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
7285 as_fn_error $?
"conditional \"HAVE_ATF\" was never defined.
7286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7289 : "${CONFIG_STATUS=./config.status}"
7291 ac_clean_files_save
=$ac_clean_files
7292 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7294 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7296 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7298 # Generated by $as_me.
7299 # Run this file to recreate the current configuration.
7300 # Compiler output produced by configure, useful for debugging
7301 # configure, is in config.log if it exists.
7307 SHELL=\${CONFIG_SHELL-$SHELL}
7310 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7311 ## -------------------- ##
7312 ## M4sh Initialization. ##
7313 ## -------------------- ##
7315 # Be more Bourne compatible
7316 DUALCASE
=1; export DUALCASE
# for MKS sh
7317 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7320 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7321 # is contrary to our usage. Disable this feature.
7322 alias -g '${1+"$@"}'='"$@"'
7323 setopt NO_GLOB_SUBST
7325 case `(set -o) 2>/dev/null` in #(
7337 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7338 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7339 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7340 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7341 # Prefer a ksh shell builtin over an external printf program on Solaris,
7342 # but without wasting forks for bash or zsh.
7343 if test -z "$BASH_VERSION$ZSH_VERSION" \
7344 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7345 as_echo='print
-r --'
7346 as_echo_n='print
-rn --'
7347 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7348 as_echo='printf %s
\n'
7349 as_echo_n='printf %s
'
7351 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7352 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7353 as_echo_n='/usr
/ucb
/echo -n'
7355 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7356 as_echo_n_body='eval
7360 expr "X$arg" : "X\\(.*\\)$as_nl";
7361 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7363 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7365 export as_echo_n_body
7366 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7369 as_echo='sh
-c $as_echo_body as_echo
'
7372 # The user is always right.
7373 if test "${PATH_SEPARATOR+set}" != set; then
7375 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7376 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7383 # We need space, tab and new line, in precisely that order. Quoting is
7384 # there to prevent editors from complaining about space-tab.
7385 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7386 # splitting by setting IFS to empty value.)
7389 # Find who we are. Look in the path if we contain no directory separator.
7392 *[\\/]* ) as_myself=$0 ;;
7393 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir=.
7398 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7404 # We did not find ourselves, most probably we were run as `sh COMMAND'
7405 # in which case we are not to be found in the path.
7406 if test "x$as_myself" = x
; then
7409 if test ! -f "$as_myself"; then
7410 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7414 # Unset variables that we do not need and which cause bugs (e.g. in
7415 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7416 # suppresses any "Segmentation fault" message there. '((' could
7417 # trigger a bug in pdksh 5.2.14.
7418 for as_var
in BASH_ENV ENV MAIL MAILPATH
7419 do eval test x\
${$as_var+set} = xset \
7420 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7433 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7436 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7437 # ----------------------------------------
7438 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7439 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7440 # script with STATUS, using 1 if that was 0.
7443 as_status
=$1; test $as_status -eq 0 && as_status
=1
7445 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7446 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7448 $as_echo "$as_me: error: $2" >&2
7449 as_fn_exit
$as_status
7453 # as_fn_set_status STATUS
7454 # -----------------------
7455 # Set $? to STATUS, without forking.
7459 } # as_fn_set_status
7463 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7473 # Portably unset VAR.
7476 { eval $1=; unset $1;}
7478 as_unset
=as_fn_unset
7479 # as_fn_append VAR VALUE
7480 # ----------------------
7481 # Append the text in VALUE to the end of the definition contained in VAR. Take
7482 # advantage of any shell optimizations that allow amortized linear growth over
7483 # repeated appends, instead of the typical quadratic growth present in naive
7485 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7486 eval 'as_fn_append ()
7497 # as_fn_arith ARG...
7498 # ------------------
7499 # Perform arithmetic evaluation on the ARGs, and store the result in the
7500 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7501 # must be portable across $(()) and expr.
7502 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7503 eval 'as_fn_arith ()
7510 as_val
=`expr "$@" || test $? -eq 1`
7515 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7516 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7522 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7523 as_basename
=basename
7528 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7534 as_me
=`$as_basename -- "$0" ||
7535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7536 X"$0" : 'X\(//\)$' \| \
7537 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7539 sed '/^.*\/\([^/][^/]*\)\/*$/{
7553 # Avoid depending upon Character Ranges.
7554 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7555 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7556 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7557 as_cr_digits
='0123456789'
7558 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7560 ECHO_C
= ECHO_N
= ECHO_T
=
7561 case `echo -n x` in #(((((
7563 case `echo 'xy\c'` in
7564 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7566 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7573 rm -f conf$$ conf$$.exe conf$$.
file
7574 if test -d conf$$.dir
; then
7575 rm -f conf$$.dir
/conf$$.
file
7578 mkdir conf$$.dir
2>/dev
/null
7580 if (echo >conf$$.
file) 2>/dev
/null
; then
7581 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7583 # ... but there are two gotchas:
7584 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7585 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7586 # In both cases, we have to default to `cp -pR'.
7587 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7589 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7597 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7598 rmdir conf$$.dir
2>/dev
/null
7603 # Create "$as_dir" as a directory, including parents if necessary.
7608 -*) as_dir
=.
/$as_dir;;
7610 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7614 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7615 *) as_qdir
=$as_dir;;
7617 as_dirs
="'$as_qdir' $as_dirs"
7618 as_dir
=`$as_dirname -- "$as_dir" ||
7619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7620 X"$as_dir" : 'X\(//\)[^/]' \| \
7621 X"$as_dir" : 'X\(//\)$' \| \
7622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7623 $as_echo X"$as_dir" |
7624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7641 test -d "$as_dir" && break
7643 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7644 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7648 if mkdir
-p .
2>/dev
/null
; then
7649 as_mkdir_p
='mkdir -p "$as_dir"'
7651 test -d .
/-p && rmdir .
/-p
7656 # as_fn_executable_p FILE
7657 # -----------------------
7658 # Test if FILE is an executable regular file.
7659 as_fn_executable_p
()
7661 test -f "$1" && test -x "$1"
7662 } # as_fn_executable_p
7664 as_executable_p
=as_fn_executable_p
7666 # Sed expression to map a string onto a valid CPP name.
7667 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7669 # Sed expression to map a string onto a valid variable name.
7670 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7674 ## ----------------------------------- ##
7675 ## Main body of $CONFIG_STATUS script. ##
7676 ## ----------------------------------- ##
7678 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7681 # Save the log message, to keep $0 and so on meaningful, and to
7682 # report actual input values of CONFIG_FILES etc. instead of their
7683 # values after options handling.
7685 This file was extended by DHCP $as_me 4.3.3, which was
7686 generated by GNU Autoconf 2.69. Invocation command line was
7688 CONFIG_FILES = $CONFIG_FILES
7689 CONFIG_HEADERS = $CONFIG_HEADERS
7690 CONFIG_LINKS = $CONFIG_LINKS
7691 CONFIG_COMMANDS = $CONFIG_COMMANDS
7694 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7699 case $ac_config_files in *"
7700 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7703 case $ac_config_headers in *"
7704 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7709 # Files that config.status was made for.
7710 config_files="$ac_config_files"
7711 config_headers="$ac_config_headers"
7712 config_commands="$ac_config_commands"
7716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7718 \`$as_me' instantiates files and other configuration actions
7719 from templates according to the current configuration. Unless the files
7720 and actions are specified as TAGs, all are instantiated by default.
7722 Usage: $0 [OPTION]... [TAG]...
7724 -h, --help print this help, then exit
7725 -V, --version print version number and configuration settings, then exit
7726 --config print configuration, then exit
7727 -q, --quiet, --silent
7728 do not print progress messages
7729 -d, --debug don't remove temporary files
7730 --recheck update $as_me by reconfiguring in the same conditions
7731 --file=FILE[:TEMPLATE]
7732 instantiate the configuration file FILE
7733 --header=FILE[:TEMPLATE]
7734 instantiate the configuration header FILE
7736 Configuration files:
7739 Configuration headers:
7742 Configuration commands:
7745 Report bugs to <dhcp-users@isc.org>."
7748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7749 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7751 DHCP config.status 4.3.3
7752 configured by $0, generated by GNU Autoconf 2.69,
7753 with options \\"\$ac_cs_config\\"
7755 Copyright (C) 2012 Free Software Foundation, Inc.
7756 This config.status script is free software; the Free Software Foundation
7757 gives unlimited permission to copy, distribute and modify it."
7764 test -n "\$AWK" || AWK=awk
7767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7768 # The default lists apply if the user does not specify any file.
7774 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7775 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7779 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7791 # Handling of the options.
7792 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7794 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7795 $as_echo "$ac_cs_version"; exit ;;
7796 --config |
--confi |
--conf |
--con |
--co |
--c )
7797 $as_echo "$ac_cs_config"; exit ;;
7798 --debug |
--debu |
--deb |
--de |
--d |
-d )
7800 --file |
--fil |
--fi |
--f )
7803 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7804 '') as_fn_error $?
"missing file argument" ;;
7806 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7807 ac_need_defaults
=false
;;
7808 --header |
--heade |
--head |
--hea )
7811 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7813 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7814 ac_need_defaults
=false
;;
7816 # Conflict between --help and --header
7817 as_fn_error $?
"ambiguous option: \`$1'
7818 Try \`$0 --help' for more information.";;
7819 --help |
--hel |
-h )
7820 $as_echo "$ac_cs_usage"; exit ;;
7821 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7822 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7826 -*) as_fn_error $?
"unrecognized option: \`$1'
7827 Try \`$0 --help' for more information." ;;
7829 *) as_fn_append ac_config_targets
" $1"
7830 ac_need_defaults
=false
;;
7836 ac_configure_extra_args
=
7838 if $ac_cs_silent; then
7840 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7845 if \$ac_cs_recheck; then
7846 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7848 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7849 CONFIG_SHELL='$SHELL'
7855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7859 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7860 ## Running $as_me. ##
7866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7870 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7876 # Handling of arguments.
7877 for ac_config_target
in $ac_config_targets
7879 case $ac_config_target in
7880 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7881 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
7882 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7883 "bind/Makefile") CONFIG_FILES
="$CONFIG_FILES bind/Makefile" ;;
7884 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
7885 "client/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES client/tests/Makefile" ;;
7886 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
7887 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
7888 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
7889 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
7890 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
7891 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
7892 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
7893 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7894 "tests/unittest.sh") CONFIG_FILES
="$CONFIG_FILES tests/unittest.sh" ;;
7895 "server/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES server/tests/Makefile" ;;
7896 "doc/devel/doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/devel/doxyfile" ;;
7898 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7903 # If the user did not use the arguments to specify the items to instantiate,
7904 # then the envvar interface is used. Set only those that are not.
7905 # We use the long form for the default assignment because of an extremely
7906 # bizarre bug on SunOS 4.1.3.
7907 if $ac_need_defaults; then
7908 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7909 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7913 # Have a temporary directory for convenience. Make it in the build tree
7914 # simply because there is no reason against having it here, and in addition,
7915 # creating and moving files from /tmp can sometimes cause problems.
7916 # Hook for its removal unless debugging.
7917 # Note that there is a small window in which the directory will not be cleaned:
7918 # after its creation but before its name has been assigned to `$tmp'.
7922 trap 'exit_status=$?
7924 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7926 trap 'as_fn_exit 1' 1 2 13 15
7928 # Create a (secure) tmp directory for tmp files.
7931 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7935 tmp
=.
/conf$$
-$RANDOM
7936 (umask 077 && mkdir
"$tmp")
7937 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7940 # Set up the scripts for CONFIG_FILES section.
7941 # No need to generate them if there are no CONFIG_FILES.
7942 # This happens for instance with `./config.status config.h'.
7943 if test -n "$CONFIG_FILES"; then
7946 ac_cr
=`echo X | tr X '\015'`
7947 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7948 # But we know of no other shell where ac_cr would be empty at this
7949 # point, so we can use a bashism as a fallback.
7950 if test "x$ac_cr" = x
; then
7951 eval ac_cr
=\$
\'\\r
\'
7953 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7954 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7960 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7965 echo "cat >conf$$subs.awk <<_ACEOF" &&
7966 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7969 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7970 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7972 for ac_last_try in false false false false false :; do
7973 . ./conf$$subs.sh ||
7974 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7976 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7977 if test $ac_delim_n = $ac_delim_num; then
7979 elif $ac_last_try; then
7980 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7982 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7988 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7992 s/^/S["/; s
/!.
*/"]=/
8002 s/\(.\{148\}\)..*/\1/
8004 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8009 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8016 s/\(.\{148\}\)..*/\1/
8018 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8022 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8027 ' <conf$$subs.awk | sed '
8032 ' >>$CONFIG_STATUS || ac_write_fail=1
8033 rm -f conf$$subs.awk
8034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8036 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8037 for (key in S) S_is_set[key] = 1
8043 nfields = split(line, field, "@
")
8045 len = length(field[1])
8046 for (i = 2; i < nfields; i++) {
8048 keylen = length(key)
8049 if (S_is_set[key]) {
8051 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8052 len += length(value) + length(field[++i])
8063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8064 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8065 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8068 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8069 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8072 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8073 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8074 # trailing colons and then remove the whole line if VPATH becomes empty
8075 # (actually we leave an empty line to preserve line numbers).
8076 if test "x
$srcdir" = x.; then
8077 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8096 fi # test -n "$CONFIG_FILES"
8098 # Set up the scripts for CONFIG_HEADERS section.
8099 # No need to generate them if there are no CONFIG_HEADERS.
8100 # This happens for instance with `./config.status Makefile'.
8101 if test -n "$CONFIG_HEADERS"; then
8102 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8106 # Transform confdefs.h into an awk script `defines.awk', embedded as
8107 # here-document in config.status, that substitutes the proper values into
8108 # config.h.in to produce config.h.
8110 # Create a delimiter string that does not exist in confdefs.h, to ease
8111 # handling of long lines.
8113 for ac_last_try in false false :; do
8114 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8115 if test -z "$ac_tt"; then
8117 elif $ac_last_try; then
8118 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8120 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8124 # For the awk script, D is an array of macro values keyed by name,
8125 # likewise P contains macro parameters if any. Preserve backslash
8126 # newline sequences.
8128 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8130 s/.\{148\}/&'"$ac_delim"'/g
8133 s/^[ ]*#[ ]*define[ ][ ]*/ /
8140 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8142 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8146 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8147 D["\
1"]=" \
3\\\\\\n
"\\/p
8149 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8154 s/.\{148\}/&'"$ac_delim"'/g
8159 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8162 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8164 ' <confdefs.h | sed '
8165 s/'"$ac_delim"'/"\\\
8166 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8169 for (key in D) D_is_set[key] = 1
8172 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8174 split(line, arg, " ")
8175 if (arg[1] == "#") {
8179 defundef
= substr
(arg
[1], 2)
8182 split(mac1
, mac2
, "(") #)
8184 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8185 if (D_is_set
[macro
]) {
8186 # Preserve the white space surrounding the "#".
8187 print prefix
"define", macro P
[macro
] D
[macro
]
8190 # Replace #undef with comments. This is necessary, for example,
8191 # in the case of _POSIX_SOURCE, which is predefined and required
8192 # on some systems where configure will not decide to define it.
8193 if (defundef
== "undef") {
8194 print
"/*", prefix defundef
, macro
, "*/"
8202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8203 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8204 fi # test -n "$CONFIG_HEADERS"
8207 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8212 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8214 case $ac_mode$ac_tag in
8216 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8217 :[FH
]-) ac_tag
=-:-;;
8218 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8235 -) ac_f
="$ac_tmp/stdin";;
8236 *) # Look for the file first in the build tree, then in the source tree
8237 # (if the path is not absolute). The absolute path cannot be DOS-style,
8238 # because $ac_f cannot contain `:'.
8242 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8244 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8246 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8247 as_fn_append ac_file_inputs
" '$ac_f'"
8250 # Let's still pretend it is `configure' which instantiates (i.e., don't
8251 # use $as_me), people would be surprised to read:
8252 # /* config.h. Generated by config.status. */
8253 configure_input
='Generated from '`
8254 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8256 if test x
"$ac_file" != x-
; then
8257 configure_input
="$ac_file. $configure_input"
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8259 $as_echo "$as_me: creating $ac_file" >&6;}
8261 # Neutralize special characters interpreted by sed in replacement strings.
8262 case $configure_input in #(
8263 *\
&* |
*\|
* |
*\\* )
8264 ac_sed_conf_input
=`$as_echo "$configure_input" |
8265 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8266 *) ac_sed_conf_input
=$configure_input;;
8270 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8271 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8276 ac_dir
=`$as_dirname -- "$ac_file" ||
8277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8278 X"$ac_file" : 'X\(//\)[^/]' \| \
8279 X"$ac_file" : 'X\(//\)$' \| \
8280 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8281 $as_echo X"$ac_file" |
8282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8299 as_dir
="$ac_dir"; as_fn_mkdir_p
8303 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8305 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8306 # A ".." for each directory in $ac_dir_suffix.
8307 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8308 case $ac_top_builddir_sub in
8309 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8310 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8313 ac_abs_top_builddir
=$ac_pwd
8314 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8315 # for backward compatibility:
8316 ac_top_builddir
=$ac_top_build_prefix
8319 .
) # We are building in place.
8321 ac_top_srcdir
=$ac_top_builddir_sub
8322 ac_abs_top_srcdir
=$ac_pwd ;;
8323 [\\/]* | ?
:[\\/]* ) # Absolute name.
8324 ac_srcdir
=$srcdir$ac_dir_suffix;
8325 ac_top_srcdir
=$srcdir
8326 ac_abs_top_srcdir
=$srcdir ;;
8328 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8329 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8330 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8332 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8342 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8343 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8347 [\\/$
]* | ?
:[\\/]* ) ;;
8348 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8353 # Neutralize VPATH when `$srcdir' = `.'.
8354 # Shell code in configure.ac might set extrasub.
8355 # FIXME: do we really want to maintain this feature?
8356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8357 ac_sed_extra="$ac_vpsub
8360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8362 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8363 s|@configure_input@|
$ac_sed_conf_input|
;t t
8364 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8365 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8366 s
&@srcdir@
&$ac_srcdir&;t t
8367 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8368 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8369 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8370 s
&@builddir@
&$ac_builddir&;t t
8371 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8372 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8373 s
&@INSTALL@
&$ac_INSTALL&;t t
8374 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8376 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8377 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8380 rm -f "$ac_tmp/stdin
"
8382 -) cat "$ac_tmp/out
" && rm -f "$ac_tmp/out
";;
8383 *) rm -f "$ac_file" && mv "$ac_tmp/out
" "$ac_file";;
8385 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8391 if test x"$ac_file" != x-; then
8393 $as_echo "/* $configure_input */" \
8394 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs"
8395 } >"$ac_tmp/config.h
" \
8396 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8397 if diff "$ac_file" "$ac_tmp/config.h
" >/dev/null 2>&1; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged
" >&5
8399 $as_echo "$as_me: $ac_file is unchanged
" >&6;}
8402 mv "$ac_tmp/config.h
" "$ac_file" \
8403 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8406 $as_echo "/* $configure_input */" \
8407 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs" \
8408 || as_fn_error $? "could not create
-" "$LINENO" 5
8410 # Compute "$ac_file"'s index in $config_headers.
8413 for _am_header in $config_headers :; do
8415 $_am_arg | $_am_arg:* )
8418 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8421 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8422 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8423 X"$_am_arg" : 'X\(//\)[^/]' \| \
8424 X"$_am_arg" : 'X\(//\)$' \| \
8425 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8426 $as_echo X"$_am_arg" |
8427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8443 s/.*/./; q'`/stamp-h$_am_stamp_count
8446 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing
$ac_file commands
" >&5
8447 $as_echo "$as_me: executing
$ac_file commands
" >&6;}
8452 case $ac_file$ac_mode in
8453 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || {
8454 # Older Autoconf quotes --file arguments for eval, but not when files
8455 # are listed without --file. Let's play safe and only enable the eval
8456 # if we detect the quoting.
8457 case $CONFIG_FILES in
8458 *\'*) eval set x "$CONFIG_FILES" ;;
8459 *) set x $CONFIG_FILES ;;
8464 # Strip MF so we end up with the name of the file.
8465 mf=`echo "$mf" | sed -e 's/:.*$//'`
8466 # Check whether this is an Automake generated Makefile or not.
8467 # We used to match only the files named 'Makefile.in', but
8468 # some people rename them; so instead we look at the file content.
8469 # Grep'ing the first line is not enough: some people post-process
8470 # each Makefile.in and add a new line on top of each file to say so.
8471 # Grep'ing the whole file is not good either: AIX grep has a line
8472 # limit of 2048, but all sed's we know have understand at least 4000.
8473 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8474 dirpart=`$as_dirname -- "$mf" ||
8475 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8476 X"$mf" : 'X\(//\)[^/]' \| \
8477 X"$mf" : 'X\(//\)$' \| \
8478 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8500 # Extract the definition of DEPDIR, am__include, and am__quote
8501 # from the Makefile without running 'make'.
8502 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8503 test -z "$DEPDIR" && continue
8504 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8505 test -z "$am__include" && continue
8506 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8507 # Find all dependency output files, they are included files with
8508 # $(DEPDIR) in their names. We invoke sed twice because it is the
8509 # simplest approach to changing $(DEPDIR) to its actual value in the
8511 for file in `sed -n "
8512 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8513 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8514 # Make sure the directory exists.
8515 test -f "$dirpart/$file" && continue
8516 fdir=`$as_dirname -- "$file" ||
8517 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8518 X"$file" : 'X\(//\)[^/]' \| \
8519 X"$file" : 'X\(//\)$' \| \
8520 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8539 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8540 # echo "creating
$dirpart/$file"
8541 echo '# dummy' > "$dirpart/$file"
8553 ac_clean_files=$ac_clean_files_save
8555 test $ac_write_fail = 0 ||
8556 as_fn_error $? "write failure creating
$CONFIG_STATUS" "$LINENO" 5
8559 # configure is writing to config.log, and then calls config.status.
8560 # config.status does its own redirection, appending to config.log.
8561 # Unfortunately, on DOS this fails, as config.log is still kept open
8562 # by configure, so config.status won't be able to write to it; its
8563 # output is simply discarded. So we exec the FD to /dev/null,
8564 # effectively closing config.log, so it can be properly (re)opened and
8565 # appended to by config.status. When coming back to configure, we
8566 # need to make the FD available again.
8567 if test "$no_create" != yes; then
8569 ac_config_status_args=
8570 test "$silent" = yes &&
8571 ac_config_status_args="$ac_config_status_args --quiet"
8573 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8575 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8576 # would make configure fail if this is the last instruction.
8577 $ac_cs_success || as_fn_exit 1
8579 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&5
8581 $as_echo "$as_me: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&2;}
8586 if test $? -ne 0; then
8587 as_fn_error $? "*** util
/bindvar.sh failed
" "$LINENO" 5
8590 cat > config.report << END
8592 ISC DHCP source configure results:
8593 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8597 Version: $PACKAGE_VERSION
8606 debug: $enable_debug
8607 failover: $enable_failover
8608 execute: $enable_execute
8609 binary-leases: $enable_binary_leases
8610 dhcpv6: $enable_dhcpv6
8611 delayed-ack: $enable_delayed_ack
8614 ATF unittests : $atf_path
8617 # TODO: Add Perl system tests
8619 if test "$atf_path" != "no
"
8621 echo "ATF_CFLAGS
: $ATF_CFLAGS" >> config.report
8622 echo "ATF_LDFLAGS
: $ATF_LDFLAGS" >> config.report
8623 echo "ATF_BIN
: $ATF_BIN" >> config.report
8630 echo Now you can type "make" to build ISC DHCP