2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for DHCP 4.3.0.
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.0'
584 PACKAGE_STRING
='DHCP 4.3.0'
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
665 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
721 program_transform_name
734 enable_option_checking
736 enable_maintainer_mode
737 enable_dependency_tracking
748 enable_secs_byteorder
765 ac_precious_vars
='build_alias
776 # Initialize some variables set by options.
778 ac_init_version
=false
779 ac_unrecognized_opts
=
781 # The variables have the same names as the options, with
782 # dashes changed to underlines.
790 program_transform_name
=s
,x
,x
,
798 # Installation directory options.
799 # These are left unexpanded so users can "make install exec_prefix=/foo"
800 # and all the variables that are supposed to be based on exec_prefix
801 # by default will actually change.
802 # Use braces instead of parens because sh, perl, etc. also accept them.
803 # (The list follows the same order as the GNU Coding Standards.)
804 bindir
='${exec_prefix}/bin'
805 sbindir
='${exec_prefix}/sbin'
806 libexecdir
='${exec_prefix}/libexec'
807 datarootdir
='${prefix}/share'
808 datadir
='${datarootdir}'
809 sysconfdir
='${prefix}/etc'
810 sharedstatedir
='${prefix}/com'
811 localstatedir
='${prefix}/var'
812 includedir
='${prefix}/include'
813 oldincludedir
='/usr/include'
814 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
815 infodir
='${datarootdir}/info'
820 libdir
='${exec_prefix}/lib'
821 localedir
='${datarootdir}/locale'
822 mandir
='${datarootdir}/man'
828 # If the previous option needs an argument, assign it.
829 if test -n "$ac_prev"; then
830 eval $ac_prev=\
$ac_option
836 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841 # Accept the important Cygnus configure options, so we can diagnose typos.
843 case $ac_dashdash$ac_option in
847 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
849 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
852 -build |
--build |
--buil |
--bui |
--bu)
853 ac_prev
=build_alias
;;
854 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
855 build_alias
=$ac_optarg ;;
857 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
858 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
859 ac_prev
=cache_file
;;
860 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
861 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
862 cache_file
=$ac_optarg ;;
865 cache_file
=config.cache
;;
867 -datadir |
--datadir |
--datadi |
--datad)
869 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
870 datadir
=$ac_optarg ;;
872 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
873 |
--dataroo |
--dataro |
--datar)
874 ac_prev
=datarootdir
;;
875 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
876 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
877 datarootdir
=$ac_optarg ;;
879 -disable-* |
--disable-*)
880 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
883 as_fn_error $?
"invalid feature name: $ac_useropt"
884 ac_useropt_orig
=$ac_useropt
885 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886 case $ac_user_opts in
890 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
891 ac_unrecognized_sep
=', ';;
893 eval enable_
$ac_useropt=no
;;
895 -docdir |
--docdir |
--docdi |
--doc |
--do)
897 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
900 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
902 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
905 -enable-* |
--enable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 as_fn_error $?
"invalid package name: $ac_useropt"
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval with_
$ac_useropt=\
$ac_optarg ;;
1125 -without-* |
--without-*)
1126 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error $?
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=no
;;
1142 # Obsolete; use --with-x.
1145 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1146 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1147 ac_prev
=x_includes
;;
1148 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1149 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1150 x_includes
=$ac_optarg ;;
1152 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1153 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1154 ac_prev
=x_libraries
;;
1155 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1156 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1157 x_libraries
=$ac_optarg ;;
1159 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1160 Try \`$0 --help' for more information"
1164 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1165 # Reject names that are not valid shell variable names.
1166 case $ac_envvar in #(
1167 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1168 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1170 eval $ac_envvar=\
$ac_optarg
1171 export $ac_envvar ;;
1174 # FIXME: should be removed in autoconf 3.0.
1175 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1176 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1177 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1184 if test -n "$ac_prev"; then
1185 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1186 as_fn_error $?
"missing argument to $ac_option"
1189 if test -n "$ac_unrecognized_opts"; then
1190 case $enable_option_checking in
1192 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1193 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197 # Check all directory arguments for consistency.
1198 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1199 datadir sysconfdir sharedstatedir localstatedir includedir \
1200 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1201 libdir localedir mandir
1203 eval ac_val
=\$
$ac_var
1204 # Remove trailing slashes.
1207 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1208 eval $ac_var=\
$ac_val;;
1210 # Be sure to have absolute directory names.
1212 [\\/$
]* | ?
:[\\/]* ) continue;;
1213 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1215 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1218 # There might be people who depend on the old broken behavior: `$host'
1219 # used to hold the argument of --host etc.
1220 # FIXME: To remove some day.
1223 target
=$target_alias
1225 # FIXME: To remove some day.
1226 if test "x$host_alias" != x
; then
1227 if test "x$build_alias" = x
; then
1228 cross_compiling
=maybe
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1237 test "$silent" = yes && exec 6>/dev
/null
1240 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di
=`ls -di .` &&
1242 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1243 as_fn_error $?
"working directory cannot be determined"
1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1245 as_fn_error $?
"pwd does not report name of working directory"
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250 ac_srcdir_defaulted
=yes
1251 # Try the directory containing this script, then the parent directory.
1252 ac_confdir
=`$as_dirname -- "$as_myself" ||
1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254 X"$as_myself" : 'X\(//\)[^/]' \| \
1255 X"$as_myself" : 'X\(//\)$' \| \
1256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1257 $as_echo X"$as_myself" |
1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1280 ac_srcdir_defaulted
=no
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1284 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1286 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290 # When building in place, set srcdir=.
1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294 # Remove unnecessary trailing slashes from srcdir.
1295 # Double slashes in file names in object file debugging info
1296 # mess up M-x gdb in Emacs.
1298 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 for ac_var
in $ac_precious_vars; do
1301 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1302 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1303 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1304 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1308 # Report the --help message.
1310 if test "$ac_init_help" = "long"; then
1311 # Omit some internal or obsolete options to make the list less imposing.
1312 # This message is too long to be a string in the A/UX 3.1 sh.
1314 \`configure' configures DHCP 4.3.0 to adapt to many kinds of systems.
1316 Usage: $0 [OPTION]... [VAR=VALUE]...
1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1319 VAR=VALUE. See below for descriptions of some of the useful variables.
1321 Defaults for the options are specified in brackets.
1324 -h, --help display this help and exit
1325 --help=short display options specific to this package
1326 --help=recursive display the short help of all the included packages
1327 -V, --version display version information and exit
1328 -q, --quiet, --silent do not print \`checking ...' messages
1329 --cache-file=FILE cache test results in FILE [disabled]
1330 -C, --config-cache alias for \`--cache-file=config.cache'
1331 -n, --no-create do not create output files
1332 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1334 Installation directories:
1335 --prefix=PREFIX install architecture-independent files in PREFIX
1336 [$ac_default_prefix]
1337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 By default, \`make install' will install all the files in
1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1343 for instance \`--prefix=\$HOME'.
1345 For better control, use the options below.
1347 Fine tuning of the installation directories:
1348 --bindir=DIR user executables [EPREFIX/bin]
1349 --sbindir=DIR system admin executables [EPREFIX/sbin]
1350 --libexecdir=DIR program executables [EPREFIX/libexec]
1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1354 --libdir=DIR object code libraries [EPREFIX/lib]
1355 --includedir=DIR C header files [PREFIX/include]
1356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1359 --infodir=DIR info documentation [DATAROOTDIR/info]
1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1361 --mandir=DIR man documentation [DATAROOTDIR/man]
1362 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
1372 --program-prefix=PREFIX prepend PREFIX to installed program names
1373 --program-suffix=SUFFIX append SUFFIX to installed program names
1374 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1377 --build=BUILD configure
for building on BUILD
[guessed
]
1378 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1382 if test -n "$ac_init_help"; then
1383 case $ac_init_help in
1384 short | recursive
) echo "Configuration of DHCP 4.3.0:";;
1389 --disable-option-checking ignore unrecognized
--enable/--with options
1390 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1391 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1392 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1393 --disable-silent-rules verbose build output
(undo
: "make V=0")
1394 --enable-maintainer-mode
1395 enable make rules and dependencies not useful
(and
1396 sometimes confusing
) to the casual installer
1397 --enable-dependency-tracking
1398 do not reject slow dependency extractors
1399 --disable-dependency-tracking
1400 speeds up one-time build
1401 --enable-debug create a debug-only version of the software
(default
1403 --enable-failover enable support
for failover
(default is
yes)
1404 --enable-execute enable support
for execute
() in config
(default is
1406 --enable-tracing enable support
for server activity tracing
(default
1408 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1409 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1410 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1411 --enable-early-chroot enable chrooting prior to configuration
(default is
1413 --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets
(default is
1415 --enable-use-sockets use the standard BSD socket API
(default is no
)
1416 --enable-secs-byteorder Correct bad byteorders
in the secs field
(default is
1418 --enable-log-pid Include PIDs
in syslog messages
(default is no
).
1421 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1422 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1423 --with-atf=PATH specify location where atf was installed
1424 --with-srv-lease-file=PATH
1425 File
for dhcpd leases
(default is
1426 LOCALSTATEDIR
/db
/dhcpd.leases
)
1427 --with-srv6-lease-file=PATH
1428 File
for dhcpd6 leases
(default is
1429 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1430 --with-cli-lease-file=PATH
1431 File
for dhclient leases
(default is
1432 LOCALSTATEDIR
/db
/dhclient.leases
)
1433 --with-cli6-lease-file=PATH
1434 File
for dhclient6 leases
(default is
1435 LOCALSTATEDIR
/db
/dhclient6.leases
)
1436 --with-srv-pid-file=PATH
1437 File
for dhcpd process information
(default is
1438 LOCALSTATEDIR
/run
/dhcpd.pid
)
1439 --with-srv6-pid-file=PATH
1440 File
for dhcpd6 process information
(default is
1441 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1442 --with-cli-pid-file=PATH
1443 File
for dhclient process information
(default is
1444 LOCALSTATEDIR
/run
/dhclient.pid
)
1445 --with-cli6-pid-file=PATH
1446 File
for dhclient6 process information
(default is
1447 LOCALSTATEDIR
/run
/dhclient6.pid
)
1448 --with-relay-pid-file=PATH
1449 File
for dhcrelay process information
(default is
1450 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1451 --with-relay6-pid-file=PATH
1452 File
for dhcrelay6 process information
(default is
1453 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1454 --with-libbind=PATH
bind includes and libraries are
in PATH
(default is
1456 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1457 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1460 Some influential environment variables
:
1461 CC C compiler
command
1462 CFLAGS C compiler flags
1463 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1464 nonstandard directory
<lib dir
>
1465 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1466 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1467 you have headers
in a nonstandard directory
<include dir
>
1470 Use these variables to override the choices made by
`configure' or to help
1471 it to find libraries and programs with nonstandard names/locations.
1473 Report bugs to <dhcp-users@isc.org>.
1478 if test "$ac_init_help" = "recursive"; then
1479 # If there are subdirs, report their specific --help.
1480 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1481 test -d "$ac_dir" ||
1482 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1490 # A ".." for each directory in $ac_dir_suffix.
1491 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1492 case $ac_top_builddir_sub in
1493 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1497 ac_abs_top_builddir=$ac_pwd
1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1499 # for backward compatibility:
1500 ac_top_builddir=$ac_top_build_prefix
1503 .) # We are building in place.
1505 ac_top_srcdir=$ac_top_builddir_sub
1506 ac_abs_top_srcdir=$ac_pwd ;;
1507 [\\/]* | ?:[\\/]* ) # Absolute name.
1508 ac_srcdir=$srcdir$ac_dir_suffix;
1509 ac_top_srcdir=$srcdir
1510 ac_abs_top_srcdir=$srcdir ;;
1512 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1513 ac_top_srcdir=$ac_top_build_prefix$srcdir
1514 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1518 cd "$ac_dir" || { ac_status=$?; continue; }
1519 # Check for guested configure.
1520 if test -f "$ac_srcdir/configure.gnu"; then
1522 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1523 elif test -f "$ac_srcdir/configure"; then
1525 $SHELL "$ac_srcdir/configure" --help=recursive
1527 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1529 cd "$ac_pwd" || { ac_status=$?; break; }
1533 test -n "$ac_init_help" && exit $ac_status
1534 if $ac_init_version; then
1536 DHCP configure 4.3.0
1537 generated by GNU Autoconf 2.69
1539 Copyright (C) 2012 Free Software Foundation, Inc.
1540 This configure script is free software; the Free Software Foundation
1541 gives unlimited permission to copy, distribute and modify it.
1546 ## ------------------------ ##
1547 ## Autoconf initialization. ##
1548 ## ------------------------ ##
1550 # ac_fn_c_try_compile LINENO
1551 # --------------------------
1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_compile ()
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 rm -f conftest.$ac_objext
1557 if { { ac_try="$ac_compile"
1559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1560 *) ac_try_echo
=$ac_try;;
1562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_compile") 2>conftest.err
1566 if test -s conftest.err
; then
1567 grep -v '^ *+' conftest.err
>conftest.er1
1568 cat conftest.er1
>&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } && {
1573 test -z "$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 } && test -s conftest.
$ac_objext; then :
1578 $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.
$ac_ext >&5
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584 as_fn_set_status
$ac_retval
1586 } # ac_fn_c_try_compile
1588 # ac_fn_c_try_cpp LINENO
1589 # ----------------------
1590 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1594 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } > conftest.i && {
1610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1625 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1626 # -------------------------------------------------------
1627 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1628 # the include files in INCLUDES and setting the cache variable VAR
1630 ac_fn_c_check_header_mongrel ()
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 if eval \${$3+:} false; then :
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1635 $as_echo_n "checking for $2... " >&6; }
1636 if eval \${$3+:} false; then :
1637 $as_echo_n "(cached) " >&6
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1641 $as_echo "$ac_res" >&6; }
1643 # Is the header compilable?
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1645 $as_echo_n "checking $2 usability... " >&6; }
1646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1647 /* end confdefs.h. */
1651 if ac_fn_c_try_compile "$LINENO"; then :
1652 ac_header_compiler=yes
1654 ac_header_compiler=no
1656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1658 $as_echo "$ac_header_compiler" >&6; }
1660 # Is the header present?
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1662 $as_echo_n "checking $2 presence... " >&6; }
1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 /* end confdefs.h. */
1667 if ac_fn_c_try_cpp "$LINENO"; then :
1668 ac_header_preproc=yes
1670 ac_header_preproc=no
1672 rm -f conftest.err conftest.i conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1674 $as_echo "$ac_header_preproc" >&6; }
1676 # So? What about this header?
1677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1680 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1682 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1686 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1688 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1690 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1692 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1694 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1695 ( $as_echo "## --------------------------------- ##
1696 ## Report this to dhcp-users@isc.org ##
1697 ## --------------------------------- ##"
1698 ) | sed "s/^/$as_me: WARNING: /" >&2
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704 $as_echo_n "(cached) " >&6
1706 eval "$3=\$ac_header_compiler"
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714 } # ac_fn_c_check_header_mongrel
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1726 *) ac_try_echo
=$ac_try;;
1728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1734 { { case "(($ac_try" in
1735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_try") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; }; }; then :
1746 $as_echo "$as_me: program exited with status $ac_status" >&5
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=$ac_status
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1758 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759 # -------------------------------------------------------
1760 # Tests whether HEADER exists and can be compiled using the include files in
1761 # INCLUDES, setting the cache variable VAR accordingly.
1762 ac_fn_c_check_header_compile ()
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768 $as_echo_n "(cached) " >&6
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1775 if ac_fn_c_try_compile "$LINENO"; then :
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 } # ac_fn_c_check_header_compile
1789 # ac_fn_c_find_intX_t LINENO BITS VAR
1790 # -----------------------------------
1791 # Finds a signed integer type with width BITS, setting cache variable VAR
1793 ac_fn_c_find_intX_t ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1797 $as_echo_n "checking for int$2_t... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1802 # Order is important - never check a type that is potentially smaller
1803 # than half of the expected target width.
1804 for ac_type in int$2_t 'int' 'long int' \
1805 'long long int' 'short int' 'signed char'; do
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1808 $ac_includes_default
1809 enum { N = $2 / 2 - 1 };
1813 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1815 return test_array [0];
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1824 $ac_includes_default
1825 enum { N = $2 / 2 - 1 };
1829 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1830 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1832 return test_array [0];
1838 if ac_fn_c_try_compile "$LINENO"; then :
1845 eval "$3=\$ac_type" ;;
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 if eval test \"x\$"$3"\" = x"no"; then :
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_find_intX_t
1865 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1866 # -------------------------------------------
1867 # Tests whether TYPE exists after having included INCLUDES, setting cache
1868 # variable VAR accordingly.
1869 ac_fn_c_check_type ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if eval \${$3+:} false; then :
1875 $as_echo_n "(cached) " >&6
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1903 if ac_fn_c_try_compile "$LINENO"; then :
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 } # ac_fn_c_check_type
1919 # ac_fn_c_find_uintX_t LINENO BITS VAR
1920 # ------------------------------------
1921 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1923 ac_fn_c_find_uintX_t ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1927 $as_echo_n "checking for uint$2_t... " >&6; }
1928 if eval \${$3+:} false; then :
1929 $as_echo_n "(cached) " >&6
1932 # Order is important - never check a type that is potentially smaller
1933 # than half of the expected target width.
1934 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1935 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1938 $ac_includes_default
1942 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1944 return test_array [0];
1950 if ac_fn_c_try_compile "$LINENO"; then :
1955 eval "$3=\$ac_type" ;;
1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1959 if eval test \"x\$"$3"\" = x"no"; then :
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 } # ac_fn_c_find_uintX_t
1973 # ac_fn_c_try_link LINENO
1974 # -----------------------
1975 # Try to link conftest.$ac_ext, and return whether this succeeded.
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 rm -f conftest.$ac_objext conftest$ac_exeext
1980 if { { ac_try="$ac_link"
1982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1983 *) ac_try_echo
=$ac_try;;
1985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_link") 2>conftest.err
1989 if test -s conftest.err
; then
1990 grep -v '^ *+' conftest.err
>conftest.er1
1991 cat conftest.er1
>&5
1992 mv -f conftest.er1 conftest.err
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } && {
1996 test -z "$ac_c_werror_flag" ||
1997 test ! -s conftest.err
1998 } && test -s conftest
$ac_exeext && {
1999 test "$cross_compiling" = yes ||
2000 test -x conftest
$ac_exeext
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.
$ac_ext >&5
2009 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2010 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2011 # interfere with the next link command; also delete a directory that is
2012 # left behind by Apple's compiler. We do this before executing the actions.
2013 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 as_fn_set_status
$ac_retval
2017 } # ac_fn_c_try_link
2019 # ac_fn_c_check_func LINENO FUNC VAR
2020 # ----------------------------------
2021 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2022 ac_fn_c_check_func
()
2024 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if eval \
${$3+:} false
; then :
2028 $as_echo_n "(cached) " >&6
2030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h. */
2032 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2034 #define $2 innocuous_$2
2036 /* System header to define __stub macros and hopefully few prototypes,
2037 which can conflict with char $2 (); below.
2038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2039 <limits.h> exists even on freestanding compilers. */
2042 # include <limits.h>
2044 # include <assert.h>
2049 /* Override any GCC internal prototype to avoid an error.
2050 Use char because int might match the return type of a GCC
2051 builtin and then its argument prototype would still apply. */
2056 /* The GNU C library defines this for functions which it implements
2057 to always fail with ENOSYS. Some functions are actually named
2058 something starting with __ and the normal name is an alias. */
2059 #if defined __stub_$2 || defined __stub___$2
2071 if ac_fn_c_try_link
"$LINENO"; then :
2076 rm -f core conftest.err conftest.
$ac_objext \
2077 conftest
$ac_exeext conftest.
$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2081 $as_echo "$ac_res" >&6; }
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084 } # ac_fn_c_check_func
2086 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2087 # ----------------------------------------------------
2088 # Tries to find if the field MEMBER exists in type AGGR, after including
2089 # INCLUDES, setting cache variable VAR accordingly.
2090 ac_fn_c_check_member
()
2092 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2094 $as_echo_n "checking for $2.$3... " >&6; }
2095 if eval \
${$4+:} false
; then :
2096 $as_echo_n "(cached) " >&6
2098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2111 if ac_fn_c_try_compile
"$LINENO"; then :
2114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2121 if (sizeof ac_aggr.$3)
2127 if ac_fn_c_try_compile
"$LINENO"; then :
2132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2138 $as_echo "$ac_res" >&6; }
2139 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2141 } # ac_fn_c_check_member
2143 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2144 # --------------------------------------------
2145 # Tries to find the compile-time value of EXPR in a program that includes
2146 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2148 ac_fn_c_compute_int
()
2150 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2151 if test "$cross_compiling" = yes; then
2152 # Depending upon the size, compute the lo and hi bounds.
2153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2159 static int test_array [1 - 2 * !(($2) >= 0)];
2161 return test_array [0];
2167 if ac_fn_c_try_compile
"$LINENO"; then :
2170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2176 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2178 return test_array [0];
2184 if ac_fn_c_try_compile
"$LINENO"; then :
2185 ac_hi
=$ac_mid; break
2187 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2188 if test $ac_lo -le $ac_mid; then
2192 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2203 static int test_array [1 - 2 * !(($2) < 0)];
2205 return test_array [0];
2211 if ac_fn_c_try_compile
"$LINENO"; then :
2214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2220 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2222 return test_array [0];
2228 if ac_fn_c_try_compile
"$LINENO"; then :
2229 ac_lo
=$ac_mid; break
2231 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2232 if test $ac_mid -le $ac_hi; then
2236 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 # Binary search between lo and hi bounds.
2247 while test "x$ac_lo" != "x$ac_hi"; do
2248 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2255 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2257 return test_array [0];
2263 if ac_fn_c_try_compile
"$LINENO"; then :
2266 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2271 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2278 static long int longval () { return $2; }
2279 static unsigned long int ulongval () { return $2; }
2286 FILE *f = fopen ("conftest.val", "w");
2291 long int i = longval ();
2294 fprintf (f, "%ld", i);
2298 unsigned long int i = ulongval ();
2301 fprintf (f, "%lu", i);
2303 /* Do not output a trailing newline, as this causes \r\n confusion
2304 on some platforms. */
2305 return ferror (f) || fclose (f) != 0;
2311 if ac_fn_c_try_run
"$LINENO"; then :
2312 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2316 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2317 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 as_fn_set_status
$ac_retval
2324 } # ac_fn_c_compute_int
2325 cat >config.log
<<_ACEOF
2326 This file contains any messages produced by compilers while
2327 running configure, to aid debugging if configure makes a mistake.
2329 It was created by DHCP $as_me 4.3.0, which was
2330 generated by GNU Autoconf 2.69. Invocation command line was
2342 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2343 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2344 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2345 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2346 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2348 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2349 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2351 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2352 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2353 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2354 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2355 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2356 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2357 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir
=.
2366 $as_echo "PATH: $as_dir"
2382 # Keep a trace of the command line.
2383 # Strip out --no-create and --no-recursion so they do not pile up.
2384 # Strip out --silent because we don't want to record it for future runs.
2385 # Also quote any args containing shell meta-characters.
2386 # Make two passes to allow for proper duplicate-argument suppression.
2390 ac_must_keep_next
=false
2396 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2397 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2398 |
-silent |
--silent |
--silen |
--sile |
--sil)
2401 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2404 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2406 as_fn_append ac_configure_args1
" '$ac_arg'"
2407 if test $ac_must_keep_next = true
; then
2408 ac_must_keep_next
=false
# Got value, back to normal.
2411 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2412 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2413 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2414 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2415 case "$ac_configure_args0 " in
2416 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2419 -* ) ac_must_keep_next
=true
;;
2422 as_fn_append ac_configure_args
" '$ac_arg'"
2427 { ac_configure_args0
=; unset ac_configure_args0
;}
2428 { ac_configure_args1
=; unset ac_configure_args1
;}
2430 # When interrupted or exit'd, cleanup temporary files, and complete
2431 # config.log. We remove comments because anyway the quotes in there
2432 # would cause problems or look ugly.
2433 # WARNING: Use '\'' to represent an apostrophe within the trap.
2434 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2435 trap 'exit_status=$?
2436 # Save into config.log some information that might help in debugging.
2440 $as_echo "## ---------------- ##
2441 ## Cache variables. ##
2442 ## ---------------- ##"
2444 # The following way of writing the cache mishandles newlines in values,
2446 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2447 eval ac_val=\$$ac_var
2451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2455 _ | IFS | as_nl) ;; #(
2456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2457 *) { eval $ac_var=; unset $ac_var;} ;;
2462 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2463 *${as_nl}ac_space=\ *)
2465 "s/'\''/'\''\\\\'\'''\''/g;
2466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2476 $as_echo "## ----------------- ##
2477 ## Output variables. ##
2478 ## ----------------- ##"
2480 for ac_var in $ac_subst_vars
2482 eval ac_val=\$$ac_var
2484 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2486 $as_echo "$ac_var='\''$ac_val'\''"
2490 if test -n "$ac_subst_files"; then
2491 $as_echo "## ------------------- ##
2492 ## File substitutions. ##
2493 ## ------------------- ##"
2495 for ac_var
in $ac_subst_files
2497 eval ac_val
=\$
$ac_var
2499 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2501 $as_echo "$ac_var='\''$ac_val'\''"
2506 if test -s confdefs.h; then
2507 $as_echo "## ----------- ##
2514 test "$ac_signal" != 0 &&
2515 $as_echo "$as_me: caught signal $ac_signal"
2516 $as_echo "$as_me: exit $exit_status"
2518 rm -f core *.core core.conftest.* &&
2519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2522 for ac_signal
in 1 2 13 15; do
2523 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2528 rm -f -r conftest
* confdefs.h
2530 $as_echo "/* confdefs.h */" > confdefs.h
2532 # Predefined preprocessor variables.
2534 cat >>confdefs.h
<<_ACEOF
2535 #define PACKAGE_NAME "$PACKAGE_NAME"
2538 cat >>confdefs.h
<<_ACEOF
2539 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2542 cat >>confdefs.h
<<_ACEOF
2543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2546 cat >>confdefs.h
<<_ACEOF
2547 #define PACKAGE_STRING "$PACKAGE_STRING"
2550 cat >>confdefs.h
<<_ACEOF
2551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2554 cat >>confdefs.h
<<_ACEOF
2555 #define PACKAGE_URL "$PACKAGE_URL"
2559 # Let the site file select an alternate cache file if it wants to.
2560 # Prefer an explicitly selected file to automatically selected ones.
2563 if test -n "$CONFIG_SITE"; then
2564 # We do not want a PATH search for config.site.
2565 case $CONFIG_SITE in #((
2566 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2567 */*) ac_site_file1
=$CONFIG_SITE;;
2568 *) ac_site_file1
=.
/$CONFIG_SITE;;
2570 elif test "x$prefix" != xNONE
; then
2571 ac_site_file1
=$prefix/share
/config.site
2572 ac_site_file2
=$prefix/etc
/config.site
2574 ac_site_file1
=$ac_default_prefix/share
/config.site
2575 ac_site_file2
=$ac_default_prefix/etc
/config.site
2577 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2579 test "x$ac_site_file" = xNONE
&& continue
2580 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2583 sed 's/^/| /' "$ac_site_file" >&5
2585 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587 as_fn_error $?
"failed to load site script $ac_site_file
2588 See \`config.log' for more details" "$LINENO" 5; }
2592 if test -r "$cache_file"; then
2593 # Some versions of bash will fail to source /dev/null (special files
2594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2595 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2597 $as_echo "$as_me: loading cache $cache_file" >&6;}
2599 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2600 *) .
"./$cache_file";;
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2605 $as_echo "$as_me: creating cache $cache_file" >&6;}
2609 # Check that the precious variables saved in the cache have kept the same
2611 ac_cache_corrupted
=false
2612 for ac_var
in $ac_precious_vars; do
2613 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2614 eval ac_new_set
=\
$ac_env_${ac_var}_set
2615 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2616 eval ac_new_val
=\
$ac_env_${ac_var}_value
2617 case $ac_old_set,$ac_new_set in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2621 ac_cache_corrupted
=: ;;
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2625 ac_cache_corrupted
=: ;;
2628 if test "x$ac_old_val" != "x$ac_new_val"; then
2629 # differences in whitespace do not lead to failure.
2630 ac_old_val_w
=`echo x $ac_old_val`
2631 ac_new_val_w
=`echo x $ac_new_val`
2632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2635 ac_cache_corrupted
=:
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2639 eval $ac_var=\
$ac_old_val
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2647 # Pass precious variables to config.status.
2648 if test "$ac_new_set" = set; then
2650 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2651 *) ac_arg
=$ac_var=$ac_new_val ;;
2653 case " $ac_configure_args " in
2654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2655 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2659 if $ac_cache_corrupted; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2664 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2666 ## -------------------- ##
2667 ## Main body of script. ##
2668 ## -------------------- ##
2671 ac_cpp
='$CPP $CPPFLAGS'
2672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2678 # we specify "foreign" to avoid having to have the GNU mandated files,
2679 # like AUTHORS, COPYING, and such
2680 am__api_version
='1.14'
2683 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2684 if test -f "$ac_dir/install-sh"; then
2686 ac_install_sh
="$ac_aux_dir/install-sh -c"
2688 elif test -f "$ac_dir/install.sh"; then
2690 ac_install_sh
="$ac_aux_dir/install.sh -c"
2692 elif test -f "$ac_dir/shtool"; then
2694 ac_install_sh
="$ac_aux_dir/shtool install -c"
2698 if test -z "$ac_aux_dir"; then
2699 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2702 # These three variables are undocumented and unsupported,
2703 # and are intended to be withdrawn in a future Autoconf release.
2704 # They can cause serious problems if a builder's source tree is in a directory
2705 # whose full name contains unusual characters.
2706 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2707 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2708 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2711 # Find a good install program. We prefer a C program (faster),
2712 # so one script is as good as another. But avoid the broken or
2713 # incompatible versions:
2714 # SysV /etc/install, /usr/sbin/install
2715 # SunOS /usr/etc/install
2716 # IRIX /sbin/install
2718 # AmigaOS /C/install, which installs bootblocks on floppy discs
2719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2722 # OS/2's system install, which has a completely different semantic
2723 # ./install, which can be erroneously created by make from ./install.sh.
2724 # Reject install programs that cannot install multiple files.
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2726 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2727 if test -z "$INSTALL"; then
2728 if ${ac_cv_path_install+:} false
; then :
2729 $as_echo_n "(cached) " >&6
2731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir
=.
2736 # Account for people who put trailing slashes in PATH elements.
2737 case $as_dir/ in #((
2738 .
/ | .
// |
/[cC
]/* | \
2739 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2740 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2743 # OSF1 and SCO ODT 3.0 have their own names for install.
2744 # Don't use installbsd from OSF since it installs stuff as root
2746 for ac_prog
in ginstall scoinst
install; do
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2749 if test $ac_prog = install &&
2750 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2751 # AIX install. It has an incompatible calling convention.
2753 elif test $ac_prog = install &&
2754 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2755 # program-specific install script used by HP pwplus--don't use.
2758 rm -rf conftest.one conftest.two conftest.dir
2759 echo one
> conftest.one
2760 echo two
> conftest.two
2762 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2763 test -s conftest.one
&& test -s conftest.two
&&
2764 test -s conftest.dir
/conftest.one
&&
2765 test -s conftest.dir
/conftest.two
2767 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2780 rm -rf conftest.one conftest.two conftest.dir
2783 if test "${ac_cv_path_install+set}" = set; then
2784 INSTALL
=$ac_cv_path_install
2786 # As a last resort, use the slow shell script. Don't cache a
2787 # value for INSTALL within a source directory, because that will
2788 # break other packages using the cache if that directory is
2789 # removed, or if the value is a relative name.
2790 INSTALL
=$ac_install_sh
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2794 $as_echo "$INSTALL" >&6; }
2796 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2797 # It thinks the first close brace ends the variable substitution.
2798 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2800 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2802 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2805 $as_echo_n "checking whether build environment is sane... " >&6; }
2806 # Reject unsafe characters in $srcdir or the absolute working directory
2807 # name. Accept space and tab only in the latter.
2811 *[\\\"\
#\$\&\'\`$am_lf]*)
2812 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2815 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2816 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2819 # Do 'set' in a subshell so we don't clobber the current shell's
2820 # arguments. Must try -L first in case configure is actually a
2821 # symlink; some systems play weird games with the mod time of symlinks
2822 # (eg FreeBSD returns the mod time of the symlink's containing
2826 for am_try
in 1 2; do
2827 echo "timestamp, slept: $am_has_slept" > conftest.
file
2828 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2829 if test "$*" = "X"; then
2831 set X
`ls -t "$srcdir/configure" conftest.file`
2833 if test "$*" != "X $srcdir/configure conftest.file" \
2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2836 # If neither matched, then we have a broken ls. This can happen
2837 # if, for instance, CONFIG_SHELL is bash and it inherits a
2838 # broken ls alias from the environment. This has actually
2839 # happened. Such a system could not be considered "sane".
2840 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2841 alias in your environment" "$LINENO" 5
2843 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2850 test "$2" = conftest.
file
2856 as_fn_error $?
"newly created file is older than distributed files!
2857 Check your system clock" "$LINENO" 5
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2860 $as_echo "yes" >&6; }
2861 # If we didn't sleep, we still need to ensure time stamps of config.status and
2862 # generated files are strictly newer.
2864 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2871 test "$program_prefix" != NONE
&&
2872 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2873 # Use a double $ so make ignores it.
2874 test "$program_suffix" != NONE
&&
2875 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2876 # Double any \ or $.
2877 # By default was `s,x,x', remove it if useless.
2878 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2879 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2881 # expand $ac_aux_dir to an absolute path
2882 am_aux_dir
=`cd $ac_aux_dir && pwd`
2884 if test x
"${MISSING+set}" != xset
; then
2887 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2889 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2892 # Use eval to expand $SHELL
2893 if eval "$MISSING --is-lightweight"; then
2894 am_missing_run
="$MISSING "
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2898 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2901 if test x
"${install_sh}" != xset
; then
2904 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2906 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2910 # Installed binaries are usually stripped using 'strip' when the user
2911 # run "make install-strip". However 'strip' might not be the right
2912 # tool to use in cross-compilation environments, therefore Automake
2913 # will honor the 'STRIP' environment variable to overrule this program.
2914 if test "$cross_compiling" != no
; then
2915 if test -n "$ac_tool_prefix"; then
2916 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2917 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_STRIP+:} false
; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$STRIP"; then
2924 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 STRIP
=$ac_cv_prog_STRIP
2944 if test -n "$STRIP"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2946 $as_echo "$STRIP" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2954 if test -z "$ac_cv_prog_STRIP"; then
2956 # Extract the first word of "strip", so it can be a program name with args.
2957 set dummy strip
; ac_word
=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$ac_ct_STRIP"; then
2964 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_ac_ct_STRIP
="strip"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2984 if test -n "$ac_ct_STRIP"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2986 $as_echo "$ac_ct_STRIP" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2992 if test "x$ac_ct_STRIP" = x
; then
2995 case $cross_compiling:$ac_tool_warned in
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2999 ac_tool_warned
=yes ;;
3004 STRIP
="$ac_cv_prog_STRIP"
3008 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3011 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3012 if test -z "$MKDIR_P"; then
3013 if ${ac_cv_path_mkdir+:} false
; then :
3014 $as_echo_n "(cached) " >&6
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3017 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_prog
in mkdir gmkdir
; do
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3024 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3025 'mkdir (GNU coreutils) '* | \
3026 'mkdir (coreutils) '* | \
3027 'mkdir (fileutils) '4.1*)
3028 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3038 test -d .
/--version && rmdir .
/--version
3039 if test "${ac_cv_path_mkdir+set}" = set; then
3040 MKDIR_P
="$ac_cv_path_mkdir -p"
3042 # As a last resort, use the slow shell script. Don't cache a
3043 # value for MKDIR_P within a source directory, because that will
3044 # break other packages using the cache if that directory is
3045 # removed, or if the value is a relative name.
3046 MKDIR_P
="$ac_install_sh -d"
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3050 $as_echo "$MKDIR_P" >&6; }
3052 for ac_prog
in gawk mawk nawk
awk
3054 # Extract the first word of "$ac_prog", so it can be a program name with args.
3055 set dummy
$ac_prog; ac_word
=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_AWK+:} false
; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$AWK"; then
3062 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir
=.
3069 for ac_exec_ext
in '' $ac_executable_extensions; do
3070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3071 ac_cv_prog_AWK
="$ac_prog"
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 if test -n "$AWK"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3084 $as_echo "$AWK" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3091 test -n "$AWK" && break
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3095 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3097 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3098 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 cat >conftest.
make <<\_ACEOF
3104 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3106 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3107 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3109 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3111 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3115 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3117 $as_echo "yes" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3122 SET_MAKE
="MAKE=${MAKE-make}"
3125 rm -rf .tst
2>/dev
/null
3126 mkdir .tst
2>/dev
/null
3127 if test -d .tst
; then
3132 rmdir .tst
2>/dev
/null
3134 # Check whether --enable-silent-rules was given.
3135 if test "${enable_silent_rules+set}" = set; then :
3136 enableval
=$enable_silent_rules;
3139 case $enable_silent_rules in # (((
3140 yes) AM_DEFAULT_VERBOSITY
=0;;
3141 no
) AM_DEFAULT_VERBOSITY
=1;;
3142 *) AM_DEFAULT_VERBOSITY
=1;;
3144 am_make
=${MAKE-make}
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3146 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3147 if ${am_cv_make_support_nested_variables+:} false
; then :
3148 $as_echo_n "(cached) " >&6
3150 if $as_echo 'TRUE=$(BAR$(V))
3156 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3157 am_cv_make_support_nested_variables
=yes
3159 am_cv_make_support_nested_variables
=no
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3163 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3164 if test $am_cv_make_support_nested_variables = yes; then
3166 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3168 AM_V
=$AM_DEFAULT_VERBOSITY
3169 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3173 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3174 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3175 # is not polluted with repeated "-I."
3176 am__isrc
=' -I$(srcdir)'
3177 # test to see if srcdir already configured
3178 if test -f $srcdir/config.status
; then
3179 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3183 # test whether we have cygpath
3184 if test -z "$CYGPATH_W"; then
3185 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3186 CYGPATH_W
='cygpath -w'
3193 # Define the identity of the package.
3198 cat >>confdefs.h
<<_ACEOF
3199 #define PACKAGE "$PACKAGE"
3203 cat >>confdefs.h
<<_ACEOF
3204 #define VERSION "$VERSION"
3207 # Some tools Automake needs.
3209 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3212 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3215 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3218 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3221 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3223 # For better backward compatibility. To be removed once Automake 1.9.x
3224 # dies out for good. For more background, see:
3225 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3226 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3227 mkdir_p
='$(MKDIR_P)'
3229 # We need awk for the "check" target. The system "awk" is bad on
3231 # Always define AMTAR for backward compatibility. Yes, it's still used
3232 # in the wild :-( We should find a proper way to deprecate it ...
3236 # We'll loop over all known methods to create a tar archive until one works.
3237 _am_tools
='gnutar pax cpio none'
3239 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3246 # POSIX will say in a future version that running "rm -f" with no argument
3247 # is OK; and we want to be able to make that assumption in our Makefile
3248 # recipes. So use an aggressive probe to check that the usage we want is
3249 # actually supported "in the wild" to an acceptable degree.
3250 # See automake bug#10828.
3251 # To make any issue more visible, cause the running configure to be aborted
3252 # by default if the 'rm' program in use doesn't match our expectations; the
3253 # user can still override this though.
3254 if rm -f && rm -fr && rm -rf; then : OK
; else
3258 Your 'rm' program seems unable to run without file operands specified
3259 on the command line, even when the '-f' option is present. This is contrary
3260 to the behaviour of most rm programs out there, and not conforming with
3261 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3263 Please tell bug-automake@gnu.org about your system, including the value
3264 of your $PATH and any error possibly output before this message. This
3265 can help us improve future automake versions.
3268 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3269 echo 'Configuration will proceed anyway, since you have set the' >&2
3270 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3274 Aborting the configuration process, to ensure you take notice of the issue.
3276 You can download and install GNU coreutils to get an 'rm' implementation
3277 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3279 If you want to complete the configuration process using your problematic
3280 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3281 to "yes", and re-run configure.
3284 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3288 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
3289 # the configure and makefiles. Without it users doing things that
3290 # change the timestamps on the code, like checking it into a cvs
3291 # tree, could trigger a rebuild of the infrastructure files which
3292 # might fail if they don't have the correct tools.
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3295 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3296 # Check whether --enable-maintainer-mode was given.
3297 if test "${enable_maintainer_mode+set}" = set; then :
3298 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3300 USE_MAINTAINER_MODE
=no
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3304 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3305 if test $USE_MAINTAINER_MODE = yes; then
3306 MAINTAINER_MODE_TRUE
=
3307 MAINTAINER_MODE_FALSE
='#'
3309 MAINTAINER_MODE_TRUE
='#'
3310 MAINTAINER_MODE_FALSE
=
3313 MAINT
=$MAINTAINER_MODE_TRUE
3317 # Make sure we can run config.sub.
3318 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3319 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3322 $as_echo_n "checking build system type... " >&6; }
3323 if ${ac_cv_build+:} false
; then :
3324 $as_echo_n "(cached) " >&6
3326 ac_build_alias
=$build_alias
3327 test "x$ac_build_alias" = x
&&
3328 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3329 test "x$ac_build_alias" = x
&&
3330 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3331 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3332 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3336 $as_echo "$ac_cv_build" >&6; }
3337 case $ac_cv_build in
3339 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3342 ac_save_IFS
=$IFS; IFS
='-'
3348 # Remember, the first character of IFS is used to create $*,
3349 # except with old shells:
3352 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3356 $as_echo_n "checking host system type... " >&6; }
3357 if ${ac_cv_host+:} false
; then :
3358 $as_echo_n "(cached) " >&6
3360 if test "x$host_alias" = x
; then
3361 ac_cv_host
=$ac_cv_build
3363 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3364 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3369 $as_echo "$ac_cv_host" >&6; }
3372 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3375 ac_save_IFS
=$IFS; IFS
='-'
3381 # Remember, the first character of IFS is used to create $*,
3382 # except with old shells:
3385 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3389 # We want to turn on warnings if we are using gcc and the user did
3390 # not specify CFLAGS. The autoconf check for the C compiler sets the
3391 # CFLAGS if gcc is used, so we will save it before we run that check.
3392 SAVE_CFLAGS
="$CFLAGS"
3394 # Now find our C compiler.
3396 ac_cpp
='$CPP $CPPFLAGS'
3397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3400 if test -n "$ac_tool_prefix"; then
3401 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3402 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if ${ac_cv_prog_CC+:} false
; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -n "$CC"; then
3409 ac_cv_prog_CC
="$CC" # Let the user override the test.
3411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir
=.
3416 for ac_exec_ext
in '' $ac_executable_extensions; do
3417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3418 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 if test -n "$CC"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3431 $as_echo "$CC" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3439 if test -z "$ac_cv_prog_CC"; then
3441 # Extract the first word of "gcc", so it can be a program name with args.
3442 set dummy gcc
; ac_word
=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3446 $as_echo_n "(cached) " >&6
3448 if test -n "$ac_ct_CC"; then
3449 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir
=.
3456 for ac_exec_ext
in '' $ac_executable_extensions; do
3457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3458 ac_cv_prog_ac_ct_CC
="gcc"
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3469 if test -n "$ac_ct_CC"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3471 $as_echo "$ac_ct_CC" >&6; }
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3477 if test "x$ac_ct_CC" = x
; then
3480 case $cross_compiling:$ac_tool_warned in
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3484 ac_tool_warned
=yes ;;
3492 if test -z "$CC"; then
3493 if test -n "$ac_tool_prefix"; then
3494 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3495 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497 $as_echo_n "checking for $ac_word... " >&6; }
3498 if ${ac_cv_prog_CC+:} false
; then :
3499 $as_echo_n "(cached) " >&6
3501 if test -n "$CC"; then
3502 ac_cv_prog_CC
="$CC" # Let the user override the test.
3504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir
=.
3509 for ac_exec_ext
in '' $ac_executable_extensions; do
3510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3511 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 if test -n "$CC"; then
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3524 $as_echo "$CC" >&6; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527 $as_echo "no" >&6; }
3533 if test -z "$CC"; then
3534 # Extract the first word of "cc", so it can be a program name with args.
3535 set dummy cc
; ac_word
=$2
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 $as_echo_n "checking for $ac_word... " >&6; }
3538 if ${ac_cv_prog_CC+:} false
; then :
3539 $as_echo_n "(cached) " >&6
3541 if test -n "$CC"; then
3542 ac_cv_prog_CC
="$CC" # Let the user override the test.
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_exec_ext
in '' $ac_executable_extensions; do
3551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3552 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3553 ac_prog_rejected
=yes
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test $ac_prog_rejected = yes; then
3565 # We found a bogon in the path, so make sure we never use it.
3566 set dummy
$ac_cv_prog_CC
3568 if test $# != 0; then
3569 # We chose a different compiler from the bogus one.
3570 # However, it has the same basename, so the bogon will be chosen
3571 # first if we set CC to just the basename; use the full file name.
3573 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3579 if test -n "$CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3581 $as_echo "$CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3589 if test -z "$CC"; then
3590 if test -n "$ac_tool_prefix"; then
3591 for ac_prog
in cl.exe
3593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3594 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if ${ac_cv_prog_CC+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$CC"; then
3601 ac_cv_prog_CC
="$CC" # Let the user override the test.
3603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir
=.
3608 for ac_exec_ext
in '' $ac_executable_extensions; do
3609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 if test -n "$CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3623 $as_echo "$CC" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3630 test -n "$CC" && break
3633 if test -z "$CC"; then
3635 for ac_prog
in cl.exe
3637 # Extract the first word of "$ac_prog", so it can be a program name with args.
3638 set dummy
$ac_prog; ac_word
=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$ac_ct_CC"; then
3645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_ac_ct_CC
="$ac_prog"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3665 if test -n "$ac_ct_CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3667 $as_echo "$ac_ct_CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3674 test -n "$ac_ct_CC" && break
3677 if test "x$ac_ct_CC" = x
; then
3680 case $cross_compiling:$ac_tool_warned in
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3684 ac_tool_warned
=yes ;;
3693 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3695 as_fn_error $?
"no acceptable C compiler found in \$PATH
3696 See \`config.log' for more details" "$LINENO" 5; }
3698 # Provide some information about the compiler.
3699 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3702 for ac_option
in --version -v -V -qversion; do
3703 { { ac_try
="$ac_compiler $ac_option >&5"
3705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3709 $as_echo "$ac_try_echo"; } >&5
3710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3712 if test -s conftest.err; then
3714 ... rest of stderr output deleted ...
3715 10q' conftest.err >conftest.er1
3716 cat conftest.er1 >&5
3718 rm -f conftest.er1 conftest.err
3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; }
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3734 ac_clean_files_save=$ac_clean_files
3735 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3736 # Try to create an executable without -o first, disregard a.out.
3737 # It will help us diagnose broken compilers, and finding out an intuition
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3740 $as_echo_n "checking whether the C compiler works... " >&6; }
3741 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3743 # The possible output files:
3744 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3747 for ac_file in $ac_files
3750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3751 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3756 if { { ac_try="$ac_link_default"
3758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3759 *) ac_try_echo
=$ac_try;;
3761 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3762 $as_echo "$ac_try_echo"; } >&5
3763 (eval "$ac_link_default") 2>&5
3765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3766 test $ac_status = 0; }; then :
3767 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3768 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3769 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3770 # so that the user can short-circuit this test for compilers unknown to
3772 for ac_file
in $ac_files ''
3774 test -f "$ac_file" ||
continue
3776 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3779 # We found the default executable, but exeext='' is most
3783 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3785 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3787 # We set ac_cv_exeext here because the later test for it is not
3788 # safe: cross compilers may not add the suffix if given an `-o'
3789 # argument, so we may need to know it at that point already.
3790 # Even if this section looks crufty: it has the advantage of
3797 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3802 if test -z "$ac_file"; then :
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3805 $as_echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.
$ac_ext >&5
3808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3810 as_fn_error
77 "C compiler cannot create executables
3811 See \`config.log' for more details" "$LINENO" 5; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3814 $as_echo "yes" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3817 $as_echo_n "checking for C compiler default output file name... " >&6; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3819 $as_echo "$ac_file" >&6; }
3820 ac_exeext
=$ac_cv_exeext
3822 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3823 ac_clean_files
=$ac_clean_files_save
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3825 $as_echo_n "checking for suffix of executables... " >&6; }
3826 if { { ac_try
="$ac_link"
3828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3829 *) ac_try_echo=$ac_try;;
3831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3832 $as_echo "$ac_try_echo"; } >&5
3833 (eval "$ac_link") 2>&5
3835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3836 test $ac_status = 0; }; then :
3837 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3838 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3839 # work properly (i.e., refer to `conftest.exe'), while it won't with
3841 for ac_file
in conftest.exe conftest conftest.
*; do
3842 test -f "$ac_file" ||
continue
3844 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3845 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3854 See \`config.log' for more details" "$LINENO" 5; }
3856 rm -f conftest conftest
$ac_cv_exeext
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3858 $as_echo "$ac_cv_exeext" >&6; }
3860 rm -f conftest.
$ac_ext
3861 EXEEXT
=$ac_cv_exeext
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3869 FILE *f = fopen ("conftest.out", "w");
3870 return ferror (f) || fclose (f) != 0;
3876 ac_clean_files
="$ac_clean_files conftest.out"
3877 # Check that the compiler produces executables we can run. If not, either
3878 # the compiler is broken, or we cross compile.
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3880 $as_echo_n "checking whether we are cross compiling... " >&6; }
3881 if test "$cross_compiling" != yes; then
3882 { { ac_try
="$ac_link"
3884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
3887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3888 $as_echo "$ac_try_echo"; } >&5
3889 (eval "$ac_link") 2>&5
3891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3892 test $ac_status = 0; }
3893 if { ac_try='./conftest$ac_cv_exeext'
3894 { { case "(($ac_try" in
3895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3896 *) ac_try_echo
=$ac_try;;
3898 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3899 $as_echo "$ac_try_echo"; } >&5
3900 (eval "$ac_try") 2>&5
3902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3903 test $ac_status = 0; }; }; then
3906 if test "$cross_compiling" = maybe
; then
3909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3911 as_fn_error $?
"cannot run C compiled programs.
3912 If you meant to cross compile, use \`--host'.
3913 See \`config.log' for more details" "$LINENO" 5; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3918 $as_echo "$cross_compiling" >&6; }
3920 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3921 ac_clean_files
=$ac_clean_files_save
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3923 $as_echo_n "checking for suffix of object files... " >&6; }
3924 if ${ac_cv_objext+:} false
; then :
3925 $as_echo_n "(cached) " >&6
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 rm -f conftest.o conftest.obj
3939 if { { ac_try
="$ac_compile"
3941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_compile") 2>&5
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }; then :
3950 for ac_file in conftest.o conftest.obj conftest.*; do
3951 test -f "$ac_file" || continue;
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3954 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3959 $as_echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3964 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3965 See \
`config.log' for more details" "$LINENO" 5; }
3967 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3970 $as_echo "$ac_cv_objext" >&6; }
3971 OBJEXT=$ac_cv_objext
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3974 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3975 if ${ac_cv_c_compiler_gnu+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3992 if ac_fn_c_try_compile "$LINENO"; then :
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3998 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4002 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4003 if test $ac_compiler_gnu = yes; then
4008 ac_test_CFLAGS=${CFLAGS+set}
4009 ac_save_CFLAGS=$CFLAGS
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4011 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4012 if ${ac_cv_prog_cc_g+:} false; then :
4013 $as_echo_n "(cached) " >&6
4015 ac_save_c_werror_flag=$ac_c_werror_flag
4016 ac_c_werror_flag=yes
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4030 if ac_fn_c_try_compile "$LINENO"; then :
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4045 if ac_fn_c_try_compile "$LINENO"; then :
4048 ac_c_werror_flag=$ac_save_c_werror_flag
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4061 if ac_fn_c_try_compile "$LINENO"; then :
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 ac_c_werror_flag=$ac_save_c_werror_flag
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4072 $as_echo "$ac_cv_prog_cc_g" >&6; }
4073 if test "$ac_test_CFLAGS" = set; then
4074 CFLAGS=$ac_save_CFLAGS
4075 elif test $ac_cv_prog_cc_g = yes; then
4076 if test "$GCC" = yes; then
4082 if test "$GCC" = yes; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4089 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4090 if ${ac_cv_prog_cc_c89+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 ac_cv_prog_cc_c89=no
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4100 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4101 struct buf { int x; };
4102 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4103 static char *e (p, i)
4109 static char *f (char * (*g) (char **, int), char **p, ...)
4114 s = g (p, va_arg (v,int));
4119 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4120 function prototypes and stuff, but not '\xHH' hex character constants.
4121 These don't provoke an error unfortunately, instead are silently treated
4122 as 'x'. The following induces an error, until -std is added to get
4123 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4124 array size at least. It's necessary to write '\x00'==0 to get something
4125 that's true only with -std. */
4126 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4128 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4129 inside strings and character constants. */
4131 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4133 int test (int i, double x);
4134 struct s1 {int (*f) (int a);};
4135 struct s2 {int (*f) (double a);};
4136 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4142 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4147 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4148 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4150 CC="$ac_save_CC $ac_arg"
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_cv_prog_cc_c89=$ac_arg
4154 rm -f core conftest.err conftest.$ac_objext
4155 test "x$ac_cv_prog_cc_c89" != "xno" && break
4157 rm -f conftest.$ac_ext
4162 case "x$ac_cv_prog_cc_c89" in
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4165 $as_echo "none needed" >&6; } ;;
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4168 $as_echo "unsupported" >&6; } ;;
4170 CC="$CC $ac_cv_prog_cc_c89"
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4172 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4174 if test "x$ac_cv_prog_cc_c89" != xno; then :
4179 ac_cpp='$CPP $CPPFLAGS'
4180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4185 ac_cpp='$CPP $CPPFLAGS'
4186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4190 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4191 if ${am_cv_prog_cc_c_o+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4205 # Make sure it works both with $CC and with simple cc.
4206 # Following AC_PROG_CC_C_O, we do the test twice because some
4207 # compilers refuse to overwrite an existing .o file with -o,
4208 # though they will create one.
4209 am_cv_prog_cc_c_o=yes
4211 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4212 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } \
4216 && test -f conftest2.$ac_objext; then
4219 am_cv_prog_cc_c_o=no
4223 rm -f core conftest*
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4227 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4228 if test "$am_cv_prog_cc_c_o" != yes; then
4229 # Losing compiler, so override with the script.
4230 # FIXME: It is wrong to rewrite CC.
4231 # But if we don't then we get into trouble of one sort or another.
4232 # A longer-term fix would be to have automake use am__CC in this case,
4233 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4234 CC="$am_aux_dir/compile $CC"
4237 ac_cpp='$CPP $CPPFLAGS'
4238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4242 DEPDIR="${am__leading_dot}deps"
4244 ac_config_commands="$ac_config_commands depfiles"
4247 am_make=${MAKE-make}
4248 cat > confinc << 'END'
4250 @echo this is the am__doit target
4253 # If we don't find an include directive, just comment out the code.
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4255 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4259 # First try GNU make style include.
4260 echo "include confinc" > confmf
4261 # Ignore all kinds of additional output from 'make'.
4262 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4263 *the\ am__doit\ target*)
4269 # Now try BSD make style include.
4270 if test "$am__include" = "#"; then
4271 echo '.include "confinc"' > confmf
4272 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4273 *the\ am__doit\ target*)
4274 am__include=.include
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4283 $as_echo "$_am_result" >&6; }
4284 rm -f confinc confmf
4286 # Check whether --enable-dependency-tracking was given.
4287 if test "${enable_dependency_tracking+set}" = set; then :
4288 enableval=$enable_dependency_tracking;
4291 if test "x$enable_dependency_tracking" != xno; then
4292 am_depcomp="$ac_aux_dir/depcomp"
4296 if test "x$enable_dependency_tracking" != xno; then
4306 depcc="$CC" am_compiler_list=
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4309 $as_echo_n "checking dependency style of $depcc... " >&6; }
4310 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4314 # We make a subdir and do the tests there. Otherwise we can end up
4315 # making bogus files that we don't know about and never remove. For
4316 # instance it was reported that on HP-UX the gcc test will end up
4317 # making a dummy file named 'D' -- because '-MD' means "put the output
4321 # Copy depcomp to subdir because otherwise we won't find it if we're
4322 # using a relative directory.
4323 cp "$am_depcomp" conftest.dir
4325 # We will build objects and dependencies in a subdirectory because
4326 # it helps to detect inapplicable dependency modes. For instance
4327 # both Tru64's cc and ICC support -MD to output dependencies as a
4328 # side effect of compilation, but ICC will put the dependencies in
4329 # the current directory while Tru64 will put them in the object
4333 am_cv_CC_dependencies_compiler_type=none
4334 if test "$am_compiler_list" = ""; then
4335 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4338 case " $depcc " in #(
4339 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4342 for depmode in $am_compiler_list; do
4343 # Setup a source with many dependencies, because some compilers
4344 # like to wrap large dependency lists on column 80 (with \), and
4345 # we should not choose a depcomp mode which is confused by this.
4347 # We need to recreate these files for each test, as the compiler may
4348 # overwrite some of them when testing with obscure command lines.
4349 # This happens at least with the AIX C compiler.
4351 for i in 1 2 3 4 5 6; do
4352 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4353 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4354 # Solaris 10 /bin/sh.
4355 echo '/* dummy */' > sub/conftst$i.h
4357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4359 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4360 # mode. It turns out that the SunPro C++ compiler does not properly
4361 # handle '-M -o', and we need to detect this. Also, some Intel
4362 # versions had trouble with output in subdirs.
4363 am__obj=sub/conftest.${OBJEXT-o}
4364 am__minus_obj="-o $am__obj"
4367 # This depmode causes a compiler race in universal mode.
4368 test "$am__universal" = false || continue
4371 # After this tag, mechanisms are not by side-effect, so they'll
4372 # only be used when explicitly requested.
4373 if test "x$enable_dependency_tracking" = xyes; then
4379 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4380 # This compiler won't grok '-c -o', but also, the minuso test has
4381 # not run yet. These depmodes are late enough in the game, and
4382 # so weak that their functioning should not be impacted.
4383 am__obj=conftest.${OBJEXT-o}
4388 if depmode=$depmode \
4389 source=sub/conftest.c object=$am__obj \
4390 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4391 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4392 >/dev/null 2>conftest.err &&
4393 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4394 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4395 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4396 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4397 # icc doesn't choke on unknown options, it will just issue warnings
4398 # or remarks (even with -Werror). So we grep stderr for any message
4399 # that says an option was ignored or not supported.
4400 # When given -MP, icc 7.0 and 7.1 complain thusly:
4401 # icc: Command line warning: ignoring option '-M'; no argument required
4402 # The diagnosis changed in icc 8.0:
4403 # icc: Command line remark: option '-MP' not supported
4404 if (grep 'ignoring option' conftest.err ||
4405 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4406 am_cv_CC_dependencies_compiler_type=$depmode
4415 am_cv_CC_dependencies_compiler_type=none
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4420 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4421 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4424 test "x$enable_dependency_tracking" != xno \
4425 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4427 am__fastdepCC_FALSE='#'
4429 am__fastdepCC_TRUE='#'
4430 am__fastdepCC_FALSE=
4435 # Suppress warnings about --datarootdir
4438 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
4439 # user did not specify any flags. Add warnings in this case.
4440 if test "$GCC" = "yes"; then
4441 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
4442 STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
4446 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
4447 # parts of the IPv6 Advanced Socket API as a result. This is stupid
4448 # as it breaks how the two halves (Basic and Advanced) of the IPv6
4449 # Socket API were designed to be used but we have to live with it.
4450 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
4453 ac_cpp='$CPP $CPPFLAGS'
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4458 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4459 # On Suns, sometimes $CPP names a directory.
4460 if test -n "$CPP" && test -d "$CPP"; then
4463 if test -z "$CPP"; then
4464 if ${ac_cv_prog_CPP+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 # Double quotes because CPP needs to be expanded
4468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4471 for ac_c_preproc_warn_flag in '' yes
4473 # Use a header file that comes with gcc, so configuring glibc
4474 # with a fresh cross-compiler works.
4475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4476 # <limits.h> exists even on freestanding compilers.
4477 # On the NeXT, cc -E runs the code through the compiler's parser,
4478 # not just through cpp. "Syntax error" is here to catch this case.
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4482 # include <limits.h>
4484 # include <assert.h>
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4491 # Broken: fails on valid input.
4494 rm -f conftest.err conftest.i conftest.$ac_ext
4496 # OK, works on sane cases. Now check whether nonexistent headers
4497 # can be detected and how.
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4500 #include <ac_nonexistent.h>
4502 if ac_fn_c_try_cpp "$LINENO"; then :
4503 # Broken: success on invalid input.
4506 # Passes both tests.
4510 rm -f conftest.err conftest.i conftest.$ac_ext
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.i conftest.err conftest.
$ac_ext
4515 if $ac_preproc_ok; then :
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4528 $as_echo "$CPP" >&6; }
4530 for ac_c_preproc_warn_flag
in '' yes
4532 # Use a header file that comes with gcc, so configuring glibc
4533 # with a fresh cross-compiler works.
4534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4535 # <limits.h> exists even on freestanding compilers.
4536 # On the NeXT, cc -E runs the code through the compiler's parser,
4537 # not just through cpp. "Syntax error" is here to catch this case.
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4541 # include <limits.h>
4543 # include <assert.h>
4547 if ac_fn_c_try_cpp
"$LINENO"; then :
4550 # Broken: fails on valid input.
4553 rm -f conftest.err conftest.i conftest.
$ac_ext
4555 # OK, works on sane cases. Now check whether nonexistent headers
4556 # can be detected and how.
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4559 #include <ac_nonexistent.h>
4561 if ac_fn_c_try_cpp
"$LINENO"; then :
4562 # Broken: success on invalid input.
4565 # Passes both tests.
4569 rm -f conftest.err conftest.i conftest.
$ac_ext
4572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4573 rm -f conftest.i conftest.err conftest.
$ac_ext
4574 if $ac_preproc_ok; then :
4577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4579 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4580 See \`config.log' for more details" "$LINENO" 5; }
4584 ac_cpp
='$CPP $CPPFLAGS'
4585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4592 if ${ac_cv_path_GREP+:} false
; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -z "$GREP"; then
4596 ac_path_GREP_found
=false
4597 # Loop through the user's path and test for each of PROGNAME-LIST
4598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4599 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4602 test -z "$as_dir" && as_dir
=.
4603 for ac_prog
in grep ggrep
; do
4604 for ac_exec_ext
in '' $ac_executable_extensions; do
4605 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4606 as_fn_executable_p
"$ac_path_GREP" ||
continue
4607 # Check for GNU ac_path_GREP and select it if it is found.
4608 # Check for GNU $ac_path_GREP
4609 case `"$ac_path_GREP" --version 2>&1` in
4611 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4614 $as_echo_n 0123456789 >"conftest.in"
4617 cat "conftest.in" "conftest.in" >"conftest.tmp"
4618 mv "conftest.tmp" "conftest.in"
4619 cp "conftest.in" "conftest.nl"
4620 $as_echo 'GREP' >> "conftest.nl"
4621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4622 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4623 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4625 # Best one so far, save it but keep looking for a better one
4626 ac_cv_path_GREP
="$ac_path_GREP"
4627 ac_path_GREP_max
=$ac_count
4629 # 10*(2^10) chars as input seems more than enough
4630 test $ac_count -gt 10 && break
4632 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4635 $ac_path_GREP_found && break 3
4640 if test -z "$ac_cv_path_GREP"; then
4641 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4644 ac_cv_path_GREP
=$GREP
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4649 $as_echo "$ac_cv_path_GREP" >&6; }
4650 GREP
="$ac_cv_path_GREP"
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4654 $as_echo_n "checking for egrep... " >&6; }
4655 if ${ac_cv_path_EGREP+:} false
; then :
4656 $as_echo_n "(cached) " >&6
4658 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4659 then ac_cv_path_EGREP
="$GREP -E"
4661 if test -z "$EGREP"; then
4662 ac_path_EGREP_found
=false
4663 # Loop through the user's path and test for each of PROGNAME-LIST
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_prog
in egrep; do
4670 for ac_exec_ext
in '' $ac_executable_extensions; do
4671 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4672 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4673 # Check for GNU ac_path_EGREP and select it if it is found.
4674 # Check for GNU $ac_path_EGREP
4675 case `"$ac_path_EGREP" --version 2>&1` in
4677 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4680 $as_echo_n 0123456789 >"conftest.in"
4683 cat "conftest.in" "conftest.in" >"conftest.tmp"
4684 mv "conftest.tmp" "conftest.in"
4685 cp "conftest.in" "conftest.nl"
4686 $as_echo 'EGREP' >> "conftest.nl"
4687 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4688 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4689 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4691 # Best one so far, save it but keep looking for a better one
4692 ac_cv_path_EGREP
="$ac_path_EGREP"
4693 ac_path_EGREP_max
=$ac_count
4695 # 10*(2^10) chars as input seems more than enough
4696 test $ac_count -gt 10 && break
4698 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4701 $ac_path_EGREP_found && break 3
4706 if test -z "$ac_cv_path_EGREP"; then
4707 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4710 ac_cv_path_EGREP
=$EGREP
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4716 $as_echo "$ac_cv_path_EGREP" >&6; }
4717 EGREP
="$ac_cv_path_EGREP"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4721 $as_echo_n "checking for ANSI C header files... " >&6; }
4722 if ${ac_cv_header_stdc+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4740 if ac_fn_c_try_compile
"$LINENO"; then :
4741 ac_cv_header_stdc
=yes
4743 ac_cv_header_stdc
=no
4745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 if test $ac_cv_header_stdc = yes; then
4748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755 $EGREP "memchr" >/dev
/null
2>&1; then :
4758 ac_cv_header_stdc
=no
4764 if test $ac_cv_header_stdc = yes; then
4765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4772 $EGREP "free" >/dev
/null
2>&1; then :
4775 ac_cv_header_stdc
=no
4781 if test $ac_cv_header_stdc = yes; then
4782 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4783 if test "$cross_compiling" = yes; then :
4786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4790 #if ((' ' & 0x0FF) == 0x020)
4791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4794 # define ISLOWER(c) \
4795 (('a' <= (c) && (c) <= 'i') \
4796 || ('j' <= (c) && (c) <= 'r') \
4797 || ('s' <= (c) && (c) <= 'z'))
4798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4806 for (i = 0; i < 256; i++)
4807 if (XOR (islower (i), ISLOWER (i))
4808 || toupper (i) != TOUPPER (i))
4813 if ac_fn_c_try_run
"$LINENO"; then :
4816 ac_cv_header_stdc
=no
4818 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4819 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4825 $as_echo "$ac_cv_header_stdc" >&6; }
4826 if test $ac_cv_header_stdc = yes; then
4828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4832 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4833 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4834 inttypes.h stdint.h unistd.h
4836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4837 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4839 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4840 cat >>confdefs.h
<<_ACEOF
4841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4850 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4851 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4858 if test "$MINIX" = yes; then
4860 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4863 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4866 $as_echo "#define _MINIX 1" >>confdefs.h
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4872 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4873 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4874 $as_echo_n "(cached) " >&6
4876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4879 # define __EXTENSIONS__ 1
4880 $ac_includes_default
4889 if ac_fn_c_try_compile
"$LINENO"; then :
4890 ac_cv_safe_to_define___extensions__
=yes
4892 ac_cv_safe_to_define___extensions__
=no
4894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4897 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4898 test $ac_cv_safe_to_define___extensions__ = yes &&
4899 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4901 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4903 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4905 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4907 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4911 if test -n "$ac_tool_prefix"; then
4912 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4913 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_RANLIB+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$RANLIB"; then
4920 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir
=.
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 RANLIB
=$ac_cv_prog_RANLIB
4940 if test -n "$RANLIB"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4942 $as_echo "$RANLIB" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4950 if test -z "$ac_cv_prog_RANLIB"; then
4951 ac_ct_RANLIB
=$RANLIB
4952 # Extract the first word of "ranlib", so it can be a program name with args.
4953 set dummy ranlib
; ac_word
=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$ac_ct_RANLIB"; then
4960 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir
=.
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4980 if test -n "$ac_ct_RANLIB"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4982 $as_echo "$ac_ct_RANLIB" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4988 if test "x$ac_ct_RANLIB" = x
; then
4991 case $cross_compiling:$ac_tool_warned in
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4995 ac_tool_warned
=yes ;;
4997 RANLIB
=$ac_ct_RANLIB
5000 RANLIB
="$ac_cv_prog_RANLIB"
5003 ac_config_headers
="$ac_config_headers includes/config.h"
5006 # we sometimes need to know byte order for building packets
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5008 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5009 if ${ac_cv_c_bigendian+:} false
; then :
5010 $as_echo_n "(cached) " >&6
5012 ac_cv_c_bigendian
=unknown
5013 # See if we're dealing with a universal compiler.
5014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5016 #ifndef __APPLE_CC__
5017 not a universal capable compiler
5022 if ac_fn_c_try_compile
"$LINENO"; then :
5024 # Check for potential -arch flags. It is not universal unless
5025 # there are at least two -arch flags with different values.
5028 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5029 if test -n "$ac_prev"; then
5031 i?
86 | x86_64 | ppc | ppc64
)
5032 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5035 ac_cv_c_bigendian
=universal
5041 elif test "x$ac_word" = "x-arch"; then
5046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5047 if test $ac_cv_c_bigendian = unknown
; then
5048 # See if sys/param.h defines the BYTE_ORDER macro.
5049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5051 #include <sys/types.h>
5052 #include <sys/param.h>
5057 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5058 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5067 if ac_fn_c_try_compile
"$LINENO"; then :
5068 # It does; now see whether it defined to BIG_ENDIAN or not.
5069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5071 #include <sys/types.h>
5072 #include <sys/param.h>
5077 #if BYTE_ORDER != BIG_ENDIAN
5085 if ac_fn_c_try_compile
"$LINENO"; then :
5086 ac_cv_c_bigendian
=yes
5088 ac_cv_c_bigendian
=no
5090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5094 if test $ac_cv_c_bigendian = unknown
; then
5095 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5103 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5111 if ac_fn_c_try_compile
"$LINENO"; then :
5112 # It does; now see whether it defined to _BIG_ENDIAN or not.
5113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5128 if ac_fn_c_try_compile
"$LINENO"; then :
5129 ac_cv_c_bigendian
=yes
5131 ac_cv_c_bigendian
=no
5133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5137 if test $ac_cv_c_bigendian = unknown
; then
5138 # Compile a test program.
5139 if test "$cross_compiling" = yes; then :
5140 # Try to guess by grepping values from an object file.
5141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5143 short int ascii_mm[] =
5144 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5145 short int ascii_ii[] =
5146 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5147 int use_ascii (int i) {
5148 return ascii_mm[i] + ascii_ii[i];
5150 short int ebcdic_ii[] =
5151 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5152 short int ebcdic_mm[] =
5153 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5154 int use_ebcdic (int i) {
5155 return ebcdic_mm[i] + ebcdic_ii[i];
5162 return use_ascii (foo) == use_ebcdic (foo);
5167 if ac_fn_c_try_compile
"$LINENO"; then :
5168 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5169 ac_cv_c_bigendian
=yes
5171 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5172 if test "$ac_cv_c_bigendian" = unknown
; then
5173 ac_cv_c_bigendian
=no
5175 # finding both strings is unlikely to happen, but who knows?
5176 ac_cv_c_bigendian
=unknown
5180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h. */
5184 $ac_includes_default
5189 /* Are we little or big endian? From Harbison&Steele. */
5193 char c[sizeof (long int)];
5196 return u.c[sizeof (long int) - 1] == 1;
5202 if ac_fn_c_try_run
"$LINENO"; then :
5203 ac_cv_c_bigendian
=no
5205 ac_cv_c_bigendian
=yes
5207 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5208 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5214 $as_echo "$ac_cv_c_bigendian" >&6; }
5215 case $ac_cv_c_bigendian in #(
5217 byte_order
=BIG_ENDIAN
5220 byte_order
=LITTLE_ENDIAN
5224 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5228 as_fn_error $?
"unknown endianness
5229 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5233 cat >>confdefs.h
<<_ACEOF
5234 #define DHCP_BYTE_ORDER $byte_order
5238 # Optional compile-time DEBUGging.
5239 # Check whether --enable-debug was given.
5240 if test "${enable_debug+set}" = set; then :
5241 enableval
=$enable_debug; enable_debug
=yes
5246 # This is very much off by default.
5247 if test "$enable_debug" = "yes" ; then
5249 $as_echo "#define DEBUG 1" >>confdefs.h
5251 # Just override CFLAGS to totally to remove optimization.
5254 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
5255 # but I don't want to pollute the --help space.
5257 #/* #define DEBUG_TOKENS */
5258 #/* #define DEBUG_PACKET */
5259 #/* #define DEBUG_EXPRESSIONS */
5260 #/* #define DEBUG_FIND_LEASE */
5261 #/* #define DEBUG_EXPRESSION_PARSE */
5262 #/* #define DEBUG_CLASS_MATCHING */
5263 #/* #define DEBUG_MEMORY_LEAKAGE */
5264 #/* #define DEBUG_MALLOC_POOL */
5265 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
5266 #/* #define DEBUG_RC_HISTORY */
5267 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
5268 #/* #define RC_HISTORY_MAX 10240 */
5269 #/* #define POINTER_DEBUG */
5270 #/* #define DEBUG_FAILOVER_MESSAGES */
5271 #/* #define DEBUG_FAILOVER_TIMING */
5272 #/* #define DEBUG_DUMP_ALL_LEASES */
5274 # Failover optional compile-time feature.
5275 # Check whether --enable-failover was given.
5276 if test "${enable_failover+set}" = set; then :
5277 enableval
=$enable_failover;
5280 # Failover is on by default, so define if it is not explicitly disabled.
5281 if test "$enable_failover" != "no"; then
5283 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
5287 # execute() support.
5288 # Check whether --enable-execute was given.
5289 if test "${enable_execute+set}" = set; then :
5290 enableval
=$enable_execute;
5293 # execute() is on by default, so define if it is not explicitly disabled.
5294 if test "$enable_execute" != "no" ; then
5296 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
5300 # Server tracing support.
5301 # Check whether --enable-tracing was given.
5302 if test "${enable_tracing+set}" = set; then :
5303 enableval
=$enable_tracing;
5306 # tracing is on by default, so define if it is not explicitly disabled.
5307 if test "$enable_tracing" != "no" ; then
5309 $as_echo "#define TRACING 1" >>confdefs.h
5313 # Delayed-ack feature support (experimental).
5314 # Check whether --enable-delayed_ack was given.
5315 if test "${enable_delayed_ack+set}" = set; then :
5316 enableval
=$enable_delayed_ack;
5319 if test "$enable_delayed_ack" = "yes"; then
5321 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
5325 # DHCPv6 optional compile-time feature.
5326 # Check whether --enable-dhcpv6 was given.
5327 if test "${enable_dhcpv6+set}" = set; then :
5328 enableval
=$enable_dhcpv6;
5331 # DHCPv6 is on by default, so define if it is not explicitly disabled.
5332 if test "$enable_dhcpv6" != "no"; then
5334 $as_echo "#define DHCPv6 1" >>confdefs.h
5338 # PARANOIA is off by default (until we can test it with all features)
5339 # Check whether --enable-paranoia was given.
5340 if test "${enable_paranoia+set}" = set; then :
5341 enableval
=$enable_paranoia;
5344 # Check whether --enable-early_chroot was given.
5345 if test "${enable_early_chroot+set}" = set; then :
5346 enableval
=$enable_early_chroot;
5349 # If someone enables early chroot, but does not enable paranoia, do so for
5351 if test "$enable_paranoia" != "yes" && \
5352 test "$enable_early_chroot" = "yes" ; then
5353 enable_paranoia
="yes"
5356 if test "$enable_paranoia" = "yes" ; then
5358 $as_echo "#define PARANOIA 1" >>confdefs.h
5361 if test "$enable_early_chroot" = "yes" ; then
5363 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
5367 # Check whether --enable-ipv4_pktinfo was given.
5368 if test "${enable_ipv4_pktinfo+set}" = set; then :
5369 enableval
=$enable_ipv4_pktinfo;
5373 if test "$enable_ipv4_pktinfo" = "yes"; then
5375 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
5379 # Check whether --enable-use_sockets was given.
5380 if test "${enable_use_sockets+set}" = set; then :
5381 enableval
=$enable_use_sockets;
5385 if test "$enable_use_sockets" = "yes"; then
5387 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
5391 # Try to hnadle incorrect byte order for secs field
5392 # This is off by default
5393 # Check whether --enable-secs_byteorder was given.
5394 if test "${enable_secs_byteorder+set}" = set; then :
5395 enableval
=$enable_secs_byteorder;
5399 if test "$enable_secs_byteorder" = "yes" ; then
5401 $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h
5405 # Include the PID in the log messages. This is useful when there may be multiple
5406 # instances of a program.
5407 # This is off by default
5408 # Check whether --enable-log_pid was given.
5409 if test "${enable_log_pid+set}" = set; then :
5410 enableval
=$enable_log_pid;
5413 if test "$enable_log_pid" = "yes" ; then
5415 $as_echo "#define USE_LOG_PID 1" >>confdefs.h
5423 # Check whether --with-atf was given.
5424 if test "${with_atf+set}" = set; then :
5425 withval
=$with_atf; atf_path
="$withval"
5428 if test "$atf_path" != "no" ; then
5429 # Config path for pkg-config
5431 if test "$atf_path" != "yes" ; then
5432 if test -f $atf_path/lib
/pkgconfig
/atf-c.pc
; then
5433 atf_pcp
=$atf_path/lib
/pkgconfig
5434 elif test -f $atf_path/lib64
/pkgconfig
/atf-c.pc
; then
5435 atf_pcp
=$atf_path/lib64
/pkgconfig
5438 # Not specified, try some common paths
5439 atf_dirs
="/usr /usr/local /usr/pkg /opt /opt/local"
5442 if test -f $d/lib
/pkgconfig
/atf-c.pc
; then
5443 atf_pcp
=$d/lib
/pkgconfig
5444 elif test -f $d/lib64
/pkgconfig
/atf-c.pc
; then
5445 atf_pcp
=$d/lib64
/pkgconfig
5449 if test "$atf_pcp" = "" ; then
5450 as_fn_error $?
"Unable to find atf files in location specified" "$LINENO" 5
5452 ATF_CFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
5453 ATF_LDFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
5459 if test "$atf_pcp" != ""; then
5467 ### Uncomment this once docs.lab.isc.org upgrades to automake 1.11
5468 ### AM_COND_IF([HAVE_ATF], [AC_DEFINE([HAVE_ATF], [1], [ATF framework specified?])])
5471 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
5472 ### need to look there and potentially overwrite by default (but not if
5473 ### the user configures an alternate value). LOCALSTATEDIR is totally
5474 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
5475 ### they would be insane for suggesting it. We need to look in /var/for
5476 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
5479 if test "x$prefix" = xNONE
; then
5480 $as_echo_n "checking for prefix by " >&6
5481 # Extract the first word of "dhcpd", so it can be a program name with args.
5482 set dummy dhcpd
; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_path_ac_prefix_program+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 case $ac_prefix_program in
5490 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 ac_prefix_program
=$ac_cv_path_ac_prefix_program
5512 if test -n "$ac_prefix_program"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
5514 $as_echo "$ac_prefix_program" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5521 if test -n "$ac_prefix_program"; then
5522 prefix
=`$as_dirname -- "$ac_prefix_program" ||
5523 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5524 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5525 X"$ac_prefix_program" : 'X\(//\)$' \| \
5526 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
5527 $as_echo X"$ac_prefix_program" |
5528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5545 prefix
=`$as_dirname -- "$prefix" ||
5546 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5547 X"$prefix" : 'X\(//\)[^/]' \| \
5548 X"$prefix" : 'X\(//\)$' \| \
5549 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
5550 $as_echo X"$prefix" |
5551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5572 # XXX - isn't there SOME WAY to default autoconf to /var instead of
5573 # /usr/local/var/no/one/has/this/please/stop/trying?
5574 case "$localstatedir" in
5580 # Allow specification of alternate state files
5582 # Check whether --with-srv-lease-file was given.
5583 if test "${with_srv_lease_file+set}" = set; then :
5584 withval
=$with_srv_lease_file;
5585 cat >>confdefs.h
<<_ACEOF
5586 #define _PATH_DHCPD_DB "$withval"
5592 echo -n "checking for dhcpd.leases location..."
5593 if [ "x$with_srv_lease_file" = "x" ] ; then
5594 if [ -d "${localstatedir}/db" ] ; then
5595 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
5596 elif [ -d "${localstatedir}/state" ] ; then
5597 if [ -d "${localstatedir}/state/dhcp" ] ; then
5598 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
5600 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
5602 elif [ -d "${localstatedir}/lib" ] ; then
5603 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5604 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
5606 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
5608 elif [ -d "${localstatedir}/etc" ] ; then
5609 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
5611 with_srv_lease_file
="/etc/dhcpd.leases"
5614 echo "$with_srv_lease_file"
5617 # Check whether --with-srv6-lease-file was given.
5618 if test "${with_srv6_lease_file+set}" = set; then :
5619 withval
=$with_srv6_lease_file;
5620 cat >>confdefs.h
<<_ACEOF
5621 #define _PATH_DHCPD6_DB "$withval"
5627 echo -n "checking for dhcpd6.leases location..."
5628 if [ "x$with_srv6_lease_file" = "x" ] ; then
5629 if [ -d "${localstatedir}/db" ] ; then
5630 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
5631 elif [ -d "${localstatedir}/state" ] ; then
5632 if [ -d "${localstatedir}/state/dhcp" ] ; then
5633 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
5635 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
5637 elif [ -d "${localstatedir}/lib" ] ; then
5638 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5639 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
5641 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
5643 elif [ -d "${localstatedir}/etc" ] ; then
5644 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
5646 with_srv6_lease_file
="/etc/dhcpd6.leases"
5649 echo "$with_srv6_lease_file"
5652 # Check whether --with-cli-lease-file was given.
5653 if test "${with_cli_lease_file+set}" = set; then :
5654 withval
=$with_cli_lease_file;
5655 cat >>confdefs.h
<<_ACEOF
5656 #define _PATH_DHCLIENT_DB "$withval"
5662 echo -n "checking for dhclient.leases location..."
5663 if [ "x$with_cli_lease_file" = "x" ] ; then
5664 if [ -d "${localstatedir}/db" ] ; then
5665 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
5666 elif [ -d "${localstatedir}/state" ] ; then
5667 if [ -d "${localstatedir}/state/dhcp" ] ; then
5668 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
5670 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
5672 elif [ -d "${localstatedir}/lib" ] ; then
5673 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5674 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
5676 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
5678 elif [ -d "${localstatedir}/etc" ] ; then
5679 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
5681 with_cli_lease_file
="/etc/dhclient.leases"
5684 echo "$with_cli_lease_file"
5687 # Check whether --with-cli6-lease-file was given.
5688 if test "${with_cli6_lease_file+set}" = set; then :
5689 withval
=$with_cli6_lease_file;
5690 cat >>confdefs.h
<<_ACEOF
5691 #define _PATH_DHCLIENT6_DB "$withval"
5697 echo -n "checking for dhclient6.leases location..."
5698 if [ "x$with_cli6_lease_file" = "x" ] ; then
5699 if [ -d "${localstatedir}/db" ] ; then
5700 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
5701 elif [ -d "${localstatedir}/state" ] ; then
5702 if [ -d "${localstatedir}/state/dhcp" ] ; then
5703 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5705 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5707 elif [ -d "${localstatedir}/lib" ] ; then
5708 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5709 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5711 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5713 elif [ -d "${localstatedir}/etc" ] ; then
5714 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5716 with_cli6_lease_file
="/etc/dhclient6.leases"
5719 echo "$with_cli6_lease_file"
5722 # Check whether --with-srv-pid-file was given.
5723 if test "${with_srv_pid_file+set}" = set; then :
5724 withval
=$with_srv_pid_file;
5725 cat >>confdefs.h
<<_ACEOF
5726 #define _PATH_DHCPD_PID "$withval"
5732 # Check whether --with-srv6-pid-file was given.
5733 if test "${with_srv6_pid_file+set}" = set; then :
5734 withval
=$with_srv6_pid_file;
5735 cat >>confdefs.h
<<_ACEOF
5736 #define _PATH_DHCPD6_PID "$withval"
5742 # Check whether --with-cli-pid-file was given.
5743 if test "${with_cli_pid_file+set}" = set; then :
5744 withval
=$with_cli_pid_file;
5745 cat >>confdefs.h
<<_ACEOF
5746 #define _PATH_DHCLIENT_PID "$withval"
5752 # Check whether --with-cli6-pid-file was given.
5753 if test "${with_cli6_pid_file+set}" = set; then :
5754 withval
=$with_cli6_pid_file;
5755 cat >>confdefs.h
<<_ACEOF
5756 #define _PATH_DHCLIENT6_PID "$withval"
5762 # Check whether --with-relay-pid-file was given.
5763 if test "${with_relay_pid_file+set}" = set; then :
5764 withval
=$with_relay_pid_file;
5765 cat >>confdefs.h
<<_ACEOF
5766 #define _PATH_DHCRELAY_PID "$withval"
5772 # Check whether --with-relay6-pid-file was given.
5773 if test "${with_relay6_pid_file+set}" = set; then :
5774 withval
=$with_relay6_pid_file;
5775 cat >>confdefs.h
<<_ACEOF
5776 #define _PATH_DHCRELAY6_PID "$withval"
5782 # Check basic types.
5783 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
5784 case $ac_cv_c_int8_t in #(
5788 cat >>confdefs.h
<<_ACEOF
5789 #define int8_t $ac_cv_c_int8_t
5794 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
5795 case $ac_cv_c_int16_t in #(
5799 cat >>confdefs.h
<<_ACEOF
5800 #define int16_t $ac_cv_c_int16_t
5805 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
5806 case $ac_cv_c_int32_t in #(
5810 cat >>confdefs.h
<<_ACEOF
5811 #define int32_t $ac_cv_c_int32_t
5816 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
5817 case $ac_cv_c_int64_t in #(
5821 cat >>confdefs.h
<<_ACEOF
5822 #define int64_t $ac_cv_c_int64_t
5828 # Some systems need the u_intX_t types defined across.
5829 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
5830 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
5834 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
5835 case $ac_cv_c_uint8_t in #(
5839 $as_echo "#define _UINT8_T 1" >>confdefs.h
5842 cat >>confdefs.h
<<_ACEOF
5843 #define uint8_t $ac_cv_c_uint8_t
5849 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
5854 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
5855 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
5859 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
5860 case $ac_cv_c_uint16_t in #(
5865 cat >>confdefs.h
<<_ACEOF
5866 #define uint16_t $ac_cv_c_uint16_t
5872 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
5877 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
5878 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
5882 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
5883 case $ac_cv_c_uint32_t in #(
5887 $as_echo "#define _UINT32_T 1" >>confdefs.h
5890 cat >>confdefs.h
<<_ACEOF
5891 #define uint32_t $ac_cv_c_uint32_t
5897 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
5902 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
5903 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
5907 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5908 case $ac_cv_c_uint64_t in #(
5912 $as_echo "#define _UINT64_T 1" >>confdefs.h
5915 cat >>confdefs.h
<<_ACEOF
5916 #define uint64_t $ac_cv_c_uint64_t
5922 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
5928 # see if ifaddrs.h is available
5929 for ac_header
in ifaddrs.h
5931 ac_fn_c_check_header_mongrel
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
5932 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
5933 cat >>confdefs.h
<<_ACEOF
5934 #define HAVE_IFADDRS_H 1
5942 # figure out what IPv4 interface code to use
5943 for ac_header
in linux
/types.h
5945 ac_fn_c_check_header_mongrel
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
5946 if test "x$ac_cv_header_linux_types_h" = xyes
; then :
5947 cat >>confdefs.h
<<_ACEOF
5948 #define HAVE_LINUX_TYPES_H 1
5954 # needed for linux/filter.h on old systems
5956 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
5957 #ifdef HAVE_LINUX_TYPES_H
5958 #include <linux/types.h>
5962 if test "x$ac_cv_header_linux_filter_h" = xyes
; then :
5967 if test -n "$DO_LPF"
5970 $as_echo "#define HAVE_LPF 1" >>confdefs.h
5973 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
5974 if test "x$ac_cv_header_sys_dlpi_h" = xyes
; then :
5979 if test -n "$DO_DLPI"
5982 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
5985 ac_fn_c_check_header_mongrel
"$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
5986 if test "x$ac_cv_header_net_bpf_h" = xyes
; then :
5991 if test -n "$DO_BPF"
5994 $as_echo "#define HAVE_BPF 1" >>confdefs.h
6000 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
6001 # use the same structures. We like to use 'struct lifconf' and 'struct
6002 # lifreq', but we'll use these other structures if they're present. HPUX
6003 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
6007 $as_echo_n "checking for struct lifnum... " >&6; }
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6010 #include <sys/types.h>
6011 #include <sys/socket.h>
6023 if ac_fn_c_try_compile
"$LINENO"; then :
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6025 $as_echo "yes" >&6; }
6027 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
6036 $as_echo_n "checking for struct if_laddrconf... " >&6; }
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include <sys/types.h>
6040 #include <net/if6.h>
6045 struct if_laddrconf a;
6051 if ac_fn_c_try_compile
"$LINENO"; then :
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6053 $as_echo "yes" >&6; }
6055 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
6064 $as_echo_n "checking for struct if_laddrreq... " >&6; }
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6067 #include <sys/types.h>
6068 #include <net/if6.h>
6073 struct if_laddrreq a;
6079 if ac_fn_c_try_link
"$LINENO"; then :
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6081 $as_echo "yes" >&6; }
6083 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6089 rm -f core conftest.err conftest.
$ac_objext \
6090 conftest
$ac_exeext conftest.
$ac_ext
6093 # check for GCC noreturn attribute
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
6096 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
6097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6103 void foo() __attribute__((noreturn));
6108 if ac_fn_c_try_compile
"$LINENO"; then :
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6110 $as_echo "yes" >&6; }
6112 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6118 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
6121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6123 # Look for optional headers.
6124 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6126 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6127 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6128 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6129 cat >>confdefs.h
<<_ACEOF
6130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6138 # Solaris needs some libraries for functions
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
6140 $as_echo_n "checking for library containing socket... " >&6; }
6141 if ${ac_cv_search_socket+:} false
; then :
6142 $as_echo_n "(cached) " >&6
6144 ac_func_search_save_LIBS
=$LIBS
6145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6148 /* Override any GCC internal prototype to avoid an error.
6149 Use char because int might match the return type of a GCC
6150 builtin and then its argument prototype would still apply. */
6163 for ac_lib
in '' socket
; do
6164 if test -z "$ac_lib"; then
6165 ac_res
="none required"
6168 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6170 if ac_fn_c_try_link
"$LINENO"; then :
6171 ac_cv_search_socket
=$ac_res
6173 rm -f core conftest.err conftest.
$ac_objext \
6175 if ${ac_cv_search_socket+:} false
; then :
6179 if ${ac_cv_search_socket+:} false
; then :
6182 ac_cv_search_socket
=no
6185 LIBS
=$ac_func_search_save_LIBS
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
6188 $as_echo "$ac_cv_search_socket" >&6; }
6189 ac_res
=$ac_cv_search_socket
6190 if test "$ac_res" != no
; then :
6191 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
6196 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
6197 if ${ac_cv_search_inet_ntoa+:} false
; then :
6198 $as_echo_n "(cached) " >&6
6200 ac_func_search_save_LIBS
=$LIBS
6201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6204 /* Override any GCC internal prototype to avoid an error.
6205 Use char because int might match the return type of a GCC
6206 builtin and then its argument prototype would still apply. */
6214 return inet_ntoa ();
6219 for ac_lib
in '' nsl
; do
6220 if test -z "$ac_lib"; then
6221 ac_res
="none required"
6224 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6226 if ac_fn_c_try_link
"$LINENO"; then :
6227 ac_cv_search_inet_ntoa
=$ac_res
6229 rm -f core conftest.err conftest.
$ac_objext \
6231 if ${ac_cv_search_inet_ntoa+:} false
; then :
6235 if ${ac_cv_search_inet_ntoa+:} false
; then :
6238 ac_cv_search_inet_ntoa
=no
6241 LIBS
=$ac_func_search_save_LIBS
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
6244 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
6245 ac_res
=$ac_cv_search_inet_ntoa
6246 if test "$ac_res" != no
; then :
6247 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
6253 $as_echo_n "checking for library containing inet_aton... " >&6; }
6254 if ${ac_cv_search_inet_aton+:} false
; then :
6255 $as_echo_n "(cached) " >&6
6257 ac_func_search_save_LIBS
=$LIBS
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6261 /* Override any GCC internal prototype to avoid an error.
6262 Use char because int might match the return type of a GCC
6263 builtin and then its argument prototype would still apply. */
6271 return inet_aton ();
6276 for ac_lib
in '' socket nsl
; do
6277 if test -z "$ac_lib"; then
6278 ac_res
="none required"
6281 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6283 if ac_fn_c_try_link
"$LINENO"; then :
6284 ac_cv_search_inet_aton
=$ac_res
6286 rm -f core conftest.err conftest.
$ac_objext \
6288 if ${ac_cv_search_inet_aton+:} false
; then :
6292 if ${ac_cv_search_inet_aton+:} false
; then :
6295 ac_cv_search_inet_aton
=no
6298 LIBS
=$ac_func_search_save_LIBS
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
6301 $as_echo "$ac_cv_search_inet_aton" >&6; }
6302 ac_res
=$ac_cv_search_inet_aton
6303 if test "$ac_res" != no
; then :
6304 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6308 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
6313 # Check for a standalone regex library.
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
6315 $as_echo_n "checking for library containing regcomp... " >&6; }
6316 if ${ac_cv_search_regcomp+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 ac_func_search_save_LIBS
=$LIBS
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6323 /* Override any GCC internal prototype to avoid an error.
6324 Use char because int might match the return type of a GCC
6325 builtin and then its argument prototype would still apply. */
6338 for ac_lib
in '' regex
; do
6339 if test -z "$ac_lib"; then
6340 ac_res
="none required"
6343 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6345 if ac_fn_c_try_link
"$LINENO"; then :
6346 ac_cv_search_regcomp
=$ac_res
6348 rm -f core conftest.err conftest.
$ac_objext \
6350 if ${ac_cv_search_regcomp+:} false
; then :
6354 if ${ac_cv_search_regcomp+:} false
; then :
6357 ac_cv_search_regcomp
=no
6360 LIBS
=$ac_func_search_save_LIBS
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
6363 $as_echo "$ac_cv_search_regcomp" >&6; }
6364 ac_res
=$ac_cv_search_regcomp
6365 if test "$ac_res" != no
; then :
6366 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6371 for ac_func
in strlcat
6373 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
6374 if test "x$ac_cv_func_strlcat" = xyes
; then :
6375 cat >>confdefs.h
<<_ACEOF
6376 #define HAVE_STRLCAT 1
6383 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
6385 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
6386 if ${ac_cv_search_if_nametoindex+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6389 ac_func_search_save_LIBS
=$LIBS
6390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6393 /* Override any GCC internal prototype to avoid an error.
6394 Use char because int might match the return type of a GCC
6395 builtin and then its argument prototype would still apply. */
6399 char if_nametoindex ();
6403 return if_nametoindex ();
6408 for ac_lib
in '' ipv6
; do
6409 if test -z "$ac_lib"; then
6410 ac_res
="none required"
6413 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6415 if ac_fn_c_try_link
"$LINENO"; then :
6416 ac_cv_search_if_nametoindex
=$ac_res
6418 rm -f core conftest.err conftest.
$ac_objext \
6420 if ${ac_cv_search_if_nametoindex+:} false
; then :
6424 if ${ac_cv_search_if_nametoindex+:} false
; then :
6427 ac_cv_search_if_nametoindex
=no
6430 LIBS
=$ac_func_search_save_LIBS
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
6433 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
6434 ac_res
=$ac_cv_search_if_nametoindex
6435 if test "$ac_res" != no
; then :
6436 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6441 # check for /dev/random (declares HAVE_DEV_RANDOM)
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/random" >&5
6443 $as_echo_n "checking for /dev/random... " >&6; }
6444 if ${ac_cv_file__dev_random+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6447 test "$cross_compiling" = yes &&
6448 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6449 if test -r "/dev/random"; then
6450 ac_cv_file__dev_random
=yes
6452 ac_cv_file__dev_random
=no
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_random" >&5
6456 $as_echo "$ac_cv_file__dev_random" >&6; }
6457 if test "x$ac_cv_file__dev_random" = xyes
; then :
6459 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
6464 # see if there is a "sa_len" field in our interface information structure
6465 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
6467 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
6469 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
6474 # figure out pointer size
6475 # The cast to long int works around a bug in the HP C Compiler
6476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6478 # This bug is HP SR number 8606223364.
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
6480 $as_echo_n "checking size of struct iaddr *... " >&6; }
6481 if ${ac_cv_sizeof_struct_iaddr_p+:} false
; then :
6482 $as_echo_n "(cached) " >&6
6484 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p" "
6485 #include \"includes/inet.h\"
6491 if test "$ac_cv_type_struct_iaddr_p" = yes; then
6492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6494 as_fn_error
77 "cannot compute sizeof (struct iaddr *)
6495 See \`config.log' for more details" "$LINENO" 5; }
6497 ac_cv_sizeof_struct_iaddr_p
=0
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
6503 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
6507 cat >>confdefs.h
<<_ACEOF
6508 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
6513 # Solaris does not have the msg_control or msg_controlen members
6514 # in the msghdr structure unless you define:
6516 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
6518 # See the "standards" man page for details.
6520 # We check for the msg_control member, and if it is not found, we check
6521 # again with the appropriate defines added to the CFLAGS. (In order to
6522 # do this we have to remove the check from the cache, which is what the
6524 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6525 #include <sys/types.h>
6526 #include <sys/socket.h>
6529 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6532 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
6533 CFLAGS
="$CFLAGS -D__EXTENSIONS__"
6534 unset ac_cv_member_struct_msghdr_msg_control
6535 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6536 #include <sys/types.h>
6537 #include <sys/socket.h>
6540 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6543 as_fn_error $?
"Missing msg_control member in
6544 msg_control structure." "$LINENO" 5
6553 # Check whether --with-libbind was given.
6554 if test "${with_libbind+set}" = set; then :
6555 withval
=$with_libbind; use_libbind
="$withval"
6560 case "$use_libbind" in
6562 libbind
="\${top_srcdir}/bind"
6565 libbind
="\${top_srcdir}/bind"
6568 libbind
="$use_libbind"
6574 # Check whether --with-ldap was given.
6575 if test "${with_ldap+set}" = set; then :
6576 withval
=$with_ldap; ldap
=$withval
6582 # OpenLDAP with SSL support.
6584 # Check whether --with-ldapcrypto was given.
6585 if test "${with_ldapcrypto+set}" = set; then :
6586 withval
=$with_ldapcrypto; ldapcrypto
=$withval
6592 # OpenLDAP support is disabled by default, if enabled then SSL support is an
6593 # extra optional that is also disabled by default. Enabling LDAP SSL support
6594 # implies enabling LDAP support.
6595 if test x
$ldap = xyes ||
test x
$ldapcrypto = xyes
; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
6597 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
6598 if ${ac_cv_search_ldap_initialize+:} false
; then :
6599 $as_echo_n "(cached) " >&6
6601 ac_func_search_save_LIBS
=$LIBS
6602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6611 char ldap_initialize ();
6615 return ldap_initialize ();
6620 for ac_lib
in '' ldap
; do
6621 if test -z "$ac_lib"; then
6622 ac_res
="none required"
6625 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6627 if ac_fn_c_try_link
"$LINENO"; then :
6628 ac_cv_search_ldap_initialize
=$ac_res
6630 rm -f core conftest.err conftest.
$ac_objext \
6632 if ${ac_cv_search_ldap_initialize+:} false
; then :
6636 if ${ac_cv_search_ldap_initialize+:} false
; then :
6639 ac_cv_search_ldap_initialize
=no
6642 LIBS
=$ac_func_search_save_LIBS
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
6645 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
6646 ac_res
=$ac_cv_search_ldap_initialize
6647 if test "$ac_res" != no
; then :
6648 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6653 as_fn_error $?
"*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
6654 See \`config.log' for more details" "$LINENO" 5; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
6658 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
6659 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6660 $as_echo_n "(cached) " >&6
6662 ac_func_search_save_LIBS
=$LIBS
6663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6666 /* Override any GCC internal prototype to avoid an error.
6667 Use char because int might match the return type of a GCC
6668 builtin and then its argument prototype would still apply. */
6672 char ber_pvt_opt_on ();
6676 return ber_pvt_opt_on ();
6681 for ac_lib
in '' lber
; do
6682 if test -z "$ac_lib"; then
6683 ac_res
="none required"
6686 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6688 if ac_fn_c_try_link
"$LINENO"; then :
6689 ac_cv_search_ber_pvt_opt_on
=$ac_res
6691 rm -f core conftest.err conftest.
$ac_objext \
6693 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6697 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6700 ac_cv_search_ber_pvt_opt_on
=no
6703 LIBS
=$ac_func_search_save_LIBS
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
6706 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
6707 ac_res
=$ac_cv_search_ber_pvt_opt_on
6708 if test "$ac_res" != no
; then :
6709 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6714 as_fn_error $?
"*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
6715 See \`config.log' for more details" "$LINENO" 5; }
6719 if test x
$ldapcrypto = xyes
; then
6720 LDAP_CFLAGS
="-DLDAP_CONFIGURATION -DLDAP_USE_SSL"
6723 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
6728 # Append selected warning levels to CFLAGS before substitution (but after
6729 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
6730 CFLAGS
="$CFLAGS $STD_CWARNINGS"
6732 # Try to add the bind include directory
6733 CFLAGS
="$CFLAGS -I$libbind/include"
6737 CFLAGS
="$CFLAGS -D__APPLE_USE_RFC_3542" ;;
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
6742 $as_echo_n "checking for flexible array members... " >&6; }
6743 if ${ac_cv_c_flexmember+:} false
; then :
6744 $as_echo_n "(cached) " >&6
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6751 struct s { int n; double d[]; };
6756 struct s *p = malloc (offsetof (struct s, d)
6757 + m * sizeof (double));
6759 return p->d != (double *) NULL;
6764 if ac_fn_c_try_compile
"$LINENO"; then :
6765 ac_cv_c_flexmember
=yes
6767 ac_cv_c_flexmember
=no
6769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
6772 $as_echo "$ac_cv_c_flexmember" >&6; }
6773 if test $ac_cv_c_flexmember = yes; then
6775 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
6778 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
6783 ac_config_files
="$ac_config_files Makefile client/Makefile common/Makefile common/tests/Makefile dhcpctl/Makefile dst/Makefile includes/Makefile omapip/Makefile relay/Makefile server/Makefile tests/Makefile server/tests/Makefile doc/devel/doxyfile"
6785 cat >confcache
<<\_ACEOF
6786 # This file is a shell script that caches the results of configure
6787 # tests run on this system so they can be shared between configure
6788 # scripts and configure runs, see configure's option --config-cache.
6789 # It is not useful on other systems. If it contains results you don't
6790 # want to keep, you may remove or edit it.
6792 # config.status only pays attention to the cache file if you give it
6793 # the --recheck option to rerun configure.
6795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6801 # The following way of writing the cache mishandles newlines in values,
6802 # but we know of no workaround that is simple, portable, and efficient.
6803 # So, we kill variables containing newlines.
6804 # Ultrix sh set writes to stderr and can't be redirected directly,
6805 # and sets the high bit in the cache file unless we assign to the vars.
6807 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6808 eval ac_val
=\$
$ac_var
6812 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6816 _ | IFS | as_nl
) ;; #(
6817 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6818 *) { eval $ac_var=; unset $ac_var;} ;;
6824 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6825 *${as_nl}ac_space
=\
*)
6826 # `set' does not quote correctly, so add quotes: double-quote
6827 # substitution turns \\\\ into \\, and sed turns \\ into \.
6830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6833 # `set' quotes correctly as required by POSIX, so do not add quotes.
6834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6843 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6847 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6848 if test -w "$cache_file"; then
6849 if test "x$cache_file" != "x/dev/null"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6851 $as_echo "$as_me: updating cache $cache_file" >&6;}
6852 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6853 cat confcache
>"$cache_file"
6855 case $cache_file in #(
6857 mv -f confcache
"$cache_file"$$
&&
6858 mv -f "$cache_file"$$
"$cache_file" ;; #(
6860 mv -f confcache
"$cache_file" ;;
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6866 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6871 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6872 # Let make expand exec_prefix.
6873 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6875 DEFS
=-DHAVE_CONFIG_H
6880 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6881 # 1. Remove the extension, and $U if already installed.
6882 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6883 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6884 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6885 # will be set to the directory where LIBOBJS objects are built.
6886 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6887 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6891 LTLIBOBJS
=$ac_ltlibobjs
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6895 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6896 if test -n "$am_sleep_pid"; then
6897 # Hide warnings about reused PIDs.
6898 wait $am_sleep_pid 2>/dev
/null
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6901 $as_echo "done" >&6; }
6902 if test -n "$EXEEXT"; then
6904 am__EXEEXT_FALSE
='#'
6910 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6911 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6914 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6915 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6918 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6919 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6923 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
6924 as_fn_error $?
"conditional \"HAVE_ATF\" was never defined.
6925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6928 : "${CONFIG_STATUS=./config.status}"
6930 ac_clean_files_save
=$ac_clean_files
6931 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6933 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6935 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6937 # Generated by $as_me.
6938 # Run this file to recreate the current configuration.
6939 # Compiler output produced by configure, useful for debugging
6940 # configure, is in config.log if it exists.
6946 SHELL=\${CONFIG_SHELL-$SHELL}
6949 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6950 ## -------------------- ##
6951 ## M4sh Initialization. ##
6952 ## -------------------- ##
6954 # Be more Bourne compatible
6955 DUALCASE
=1; export DUALCASE
# for MKS sh
6956 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6959 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6960 # is contrary to our usage. Disable this feature.
6961 alias -g '${1+"$@"}'='"$@"'
6962 setopt NO_GLOB_SUBST
6964 case `(set -o) 2>/dev/null` in #(
6976 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6977 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6978 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6979 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6980 # Prefer a ksh shell builtin over an external printf program on Solaris,
6981 # but without wasting forks for bash or zsh.
6982 if test -z "$BASH_VERSION$ZSH_VERSION" \
6983 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6984 as_echo='print
-r --'
6985 as_echo_n='print
-rn --'
6986 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6987 as_echo='printf %s
\n'
6988 as_echo_n='printf %s
'
6990 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6991 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6992 as_echo_n='/usr
/ucb
/echo -n'
6994 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6995 as_echo_n_body='eval
6999 expr "X$arg" : "X\\(.*\\)$as_nl";
7000 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7002 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7004 export as_echo_n_body
7005 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7008 as_echo='sh
-c $as_echo_body as_echo
'
7011 # The user is always right.
7012 if test "${PATH_SEPARATOR+set}" != set; then
7014 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7015 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7022 # We need space, tab and new line, in precisely that order. Quoting is
7023 # there to prevent editors from complaining about space-tab.
7024 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7025 # splitting by setting IFS to empty value.)
7028 # Find who we are. Look in the path if we contain no directory separator.
7031 *[\\/]* ) as_myself=$0 ;;
7032 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7043 # We did not find ourselves, most probably we were run as `sh COMMAND'
7044 # in which case we are not to be found in the path.
7045 if test "x$as_myself" = x
; then
7048 if test ! -f "$as_myself"; then
7049 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7053 # Unset variables that we do not need and which cause bugs (e.g. in
7054 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7055 # suppresses any "Segmentation fault" message there. '((' could
7056 # trigger a bug in pdksh 5.2.14.
7057 for as_var
in BASH_ENV ENV MAIL MAILPATH
7058 do eval test x\
${$as_var+set} = xset \
7059 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7072 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7075 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7076 # ----------------------------------------
7077 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7078 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7079 # script with STATUS, using 1 if that was 0.
7082 as_status
=$1; test $as_status -eq 0 && as_status
=1
7084 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7085 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7087 $as_echo "$as_me: error: $2" >&2
7088 as_fn_exit
$as_status
7092 # as_fn_set_status STATUS
7093 # -----------------------
7094 # Set $? to STATUS, without forking.
7098 } # as_fn_set_status
7102 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7112 # Portably unset VAR.
7115 { eval $1=; unset $1;}
7117 as_unset
=as_fn_unset
7118 # as_fn_append VAR VALUE
7119 # ----------------------
7120 # Append the text in VALUE to the end of the definition contained in VAR. Take
7121 # advantage of any shell optimizations that allow amortized linear growth over
7122 # repeated appends, instead of the typical quadratic growth present in naive
7124 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7125 eval 'as_fn_append ()
7136 # as_fn_arith ARG...
7137 # ------------------
7138 # Perform arithmetic evaluation on the ARGs, and store the result in the
7139 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7140 # must be portable across $(()) and expr.
7141 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7142 eval 'as_fn_arith ()
7149 as_val
=`expr "$@" || test $? -eq 1`
7154 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7155 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7161 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7162 as_basename
=basename
7167 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7173 as_me
=`$as_basename -- "$0" ||
7174 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7175 X"$0" : 'X\(//\)$' \| \
7176 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7178 sed '/^.*\/\([^/][^/]*\)\/*$/{
7192 # Avoid depending upon Character Ranges.
7193 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7194 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7195 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7196 as_cr_digits
='0123456789'
7197 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7199 ECHO_C
= ECHO_N
= ECHO_T
=
7200 case `echo -n x` in #(((((
7202 case `echo 'xy\c'` in
7203 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7205 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7212 rm -f conf$$ conf$$.exe conf$$.
file
7213 if test -d conf$$.dir
; then
7214 rm -f conf$$.dir
/conf$$.
file
7217 mkdir conf$$.dir
2>/dev
/null
7219 if (echo >conf$$.
file) 2>/dev
/null
; then
7220 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7222 # ... but there are two gotchas:
7223 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7224 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7225 # In both cases, we have to default to `cp -pR'.
7226 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7228 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7236 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7237 rmdir conf$$.dir
2>/dev
/null
7242 # Create "$as_dir" as a directory, including parents if necessary.
7247 -*) as_dir
=.
/$as_dir;;
7249 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7253 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7254 *) as_qdir
=$as_dir;;
7256 as_dirs
="'$as_qdir' $as_dirs"
7257 as_dir
=`$as_dirname -- "$as_dir" ||
7258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7259 X"$as_dir" : 'X\(//\)[^/]' \| \
7260 X"$as_dir" : 'X\(//\)$' \| \
7261 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7262 $as_echo X"$as_dir" |
7263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7280 test -d "$as_dir" && break
7282 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7283 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7287 if mkdir
-p .
2>/dev
/null
; then
7288 as_mkdir_p
='mkdir -p "$as_dir"'
7290 test -d .
/-p && rmdir .
/-p
7295 # as_fn_executable_p FILE
7296 # -----------------------
7297 # Test if FILE is an executable regular file.
7298 as_fn_executable_p
()
7300 test -f "$1" && test -x "$1"
7301 } # as_fn_executable_p
7303 as_executable_p
=as_fn_executable_p
7305 # Sed expression to map a string onto a valid CPP name.
7306 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7308 # Sed expression to map a string onto a valid variable name.
7309 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7313 ## ----------------------------------- ##
7314 ## Main body of $CONFIG_STATUS script. ##
7315 ## ----------------------------------- ##
7317 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7320 # Save the log message, to keep $0 and so on meaningful, and to
7321 # report actual input values of CONFIG_FILES etc. instead of their
7322 # values after options handling.
7324 This file was extended by DHCP $as_me 4.3.0, which was
7325 generated by GNU Autoconf 2.69. Invocation command line was
7327 CONFIG_FILES = $CONFIG_FILES
7328 CONFIG_HEADERS = $CONFIG_HEADERS
7329 CONFIG_LINKS = $CONFIG_LINKS
7330 CONFIG_COMMANDS = $CONFIG_COMMANDS
7333 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7338 case $ac_config_files in *"
7339 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7342 case $ac_config_headers in *"
7343 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7348 # Files that config.status was made for.
7349 config_files="$ac_config_files"
7350 config_headers="$ac_config_headers"
7351 config_commands="$ac_config_commands"
7355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7357 \`$as_me' instantiates files and other configuration actions
7358 from templates according to the current configuration. Unless the files
7359 and actions are specified as TAGs, all are instantiated by default.
7361 Usage: $0 [OPTION]... [TAG]...
7363 -h, --help print this help, then exit
7364 -V, --version print version number and configuration settings, then exit
7365 --config print configuration, then exit
7366 -q, --quiet, --silent
7367 do not print progress messages
7368 -d, --debug don't remove temporary files
7369 --recheck update $as_me by reconfiguring in the same conditions
7370 --file=FILE[:TEMPLATE]
7371 instantiate the configuration file FILE
7372 --header=FILE[:TEMPLATE]
7373 instantiate the configuration header FILE
7375 Configuration files:
7378 Configuration headers:
7381 Configuration commands:
7384 Report bugs to <dhcp-users@isc.org>."
7387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7388 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7390 DHCP config.status 4.3.0
7391 configured by $0, generated by GNU Autoconf 2.69,
7392 with options \\"\$ac_cs_config\\"
7394 Copyright (C) 2012 Free Software Foundation, Inc.
7395 This config.status script is free software; the Free Software Foundation
7396 gives unlimited permission to copy, distribute and modify it."
7403 test -n "\$AWK" || AWK=awk
7406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7407 # The default lists apply if the user does not specify any file.
7413 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7414 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7418 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7430 # Handling of the options.
7431 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7433 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7434 $as_echo "$ac_cs_version"; exit ;;
7435 --config |
--confi |
--conf |
--con |
--co |
--c )
7436 $as_echo "$ac_cs_config"; exit ;;
7437 --debug |
--debu |
--deb |
--de |
--d |
-d )
7439 --file |
--fil |
--fi |
--f )
7442 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7443 '') as_fn_error $?
"missing file argument" ;;
7445 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7446 ac_need_defaults
=false
;;
7447 --header |
--heade |
--head |
--hea )
7450 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7452 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7453 ac_need_defaults
=false
;;
7455 # Conflict between --help and --header
7456 as_fn_error $?
"ambiguous option: \`$1'
7457 Try \`$0 --help' for more information.";;
7458 --help |
--hel |
-h )
7459 $as_echo "$ac_cs_usage"; exit ;;
7460 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7461 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7465 -*) as_fn_error $?
"unrecognized option: \`$1'
7466 Try \`$0 --help' for more information." ;;
7468 *) as_fn_append ac_config_targets
" $1"
7469 ac_need_defaults
=false
;;
7475 ac_configure_extra_args
=
7477 if $ac_cs_silent; then
7479 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7484 if \$ac_cs_recheck; then
7485 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7487 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7488 CONFIG_SHELL='$SHELL'
7494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7498 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7499 ## Running $as_me. ##
7505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7509 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7515 # Handling of arguments.
7516 for ac_config_target
in $ac_config_targets
7518 case $ac_config_target in
7519 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7520 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
7521 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7522 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
7523 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
7524 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
7525 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
7526 "dst/Makefile") CONFIG_FILES
="$CONFIG_FILES dst/Makefile" ;;
7527 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
7528 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
7529 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
7530 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
7531 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7532 "server/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES server/tests/Makefile" ;;
7533 "doc/devel/doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/devel/doxyfile" ;;
7535 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7540 # If the user did not use the arguments to specify the items to instantiate,
7541 # then the envvar interface is used. Set only those that are not.
7542 # We use the long form for the default assignment because of an extremely
7543 # bizarre bug on SunOS 4.1.3.
7544 if $ac_need_defaults; then
7545 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7546 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7547 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7550 # Have a temporary directory for convenience. Make it in the build tree
7551 # simply because there is no reason against having it here, and in addition,
7552 # creating and moving files from /tmp can sometimes cause problems.
7553 # Hook for its removal unless debugging.
7554 # Note that there is a small window in which the directory will not be cleaned:
7555 # after its creation but before its name has been assigned to `$tmp'.
7559 trap 'exit_status=$?
7561 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7563 trap 'as_fn_exit 1' 1 2 13 15
7565 # Create a (secure) tmp directory for tmp files.
7568 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7572 tmp
=.
/conf$$
-$RANDOM
7573 (umask 077 && mkdir
"$tmp")
7574 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7577 # Set up the scripts for CONFIG_FILES section.
7578 # No need to generate them if there are no CONFIG_FILES.
7579 # This happens for instance with `./config.status config.h'.
7580 if test -n "$CONFIG_FILES"; then
7583 ac_cr
=`echo X | tr X '\015'`
7584 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7585 # But we know of no other shell where ac_cr would be empty at this
7586 # point, so we can use a bashism as a fallback.
7587 if test "x$ac_cr" = x
; then
7588 eval ac_cr
=\$
\'\\r
\'
7590 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7591 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7597 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7602 echo "cat >conf$$subs.awk <<_ACEOF" &&
7603 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7606 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7607 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7609 for ac_last_try in false false false false false :; do
7610 . ./conf$$subs.sh ||
7611 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7613 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7614 if test $ac_delim_n = $ac_delim_num; then
7616 elif $ac_last_try; then
7617 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7619 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7625 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7629 s/^/S["/; s
/!.
*/"]=/
7639 s/\(.\{148\}\)..*/\1/
7641 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7646 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7653 s/\(.\{148\}\)..*/\1/
7655 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7659 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7664 ' <conf$$subs.awk | sed '
7669 ' >>$CONFIG_STATUS || ac_write_fail=1
7670 rm -f conf$$subs.awk
7671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7673 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7674 for (key in S) S_is_set[key] = 1
7680 nfields = split(line, field, "@
")
7682 len = length(field[1])
7683 for (i = 2; i < nfields; i++) {
7685 keylen = length(key)
7686 if (S_is_set[key]) {
7688 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7689 len += length(value) + length(field[++i])
7700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7701 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7702 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7705 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7706 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7709 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7710 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7711 # trailing colons and then remove the whole line if VPATH becomes empty
7712 # (actually we leave an empty line to preserve line numbers).
7713 if test "x
$srcdir" = x.; then
7714 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7733 fi # test -n "$CONFIG_FILES"
7735 # Set up the scripts for CONFIG_HEADERS section.
7736 # No need to generate them if there are no CONFIG_HEADERS.
7737 # This happens for instance with `./config.status Makefile'.
7738 if test -n "$CONFIG_HEADERS"; then
7739 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7743 # Transform confdefs.h into an awk script `defines.awk', embedded as
7744 # here-document in config.status, that substitutes the proper values into
7745 # config.h.in to produce config.h.
7747 # Create a delimiter string that does not exist in confdefs.h, to ease
7748 # handling of long lines.
7750 for ac_last_try in false false :; do
7751 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7752 if test -z "$ac_tt"; then
7754 elif $ac_last_try; then
7755 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7757 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7761 # For the awk script, D is an array of macro values keyed by name,
7762 # likewise P contains macro parameters if any. Preserve backslash
7763 # newline sequences.
7765 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7767 s/.\{148\}/&'"$ac_delim"'/g
7770 s/^[ ]*#[ ]*define[ ][ ]*/ /
7777 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7779 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7783 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7784 D["\
1"]=" \
3\\\\\\n
"\\/p
7786 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7791 s/.\{148\}/&'"$ac_delim"'/g
7796 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7799 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7801 ' <confdefs.h | sed '
7802 s/'"$ac_delim"'/"\\\
7803 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7806 for (key in D) D_is_set[key] = 1
7809 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7811 split(line, arg, " ")
7812 if (arg[1] == "#") {
7816 defundef
= substr
(arg
[1], 2)
7819 split(mac1
, mac2
, "(") #)
7821 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7822 if (D_is_set
[macro
]) {
7823 # Preserve the white space surrounding the "#".
7824 print prefix
"define", macro P
[macro
] D
[macro
]
7827 # Replace #undef with comments. This is necessary, for example,
7828 # in the case of _POSIX_SOURCE, which is predefined and required
7829 # on some systems where configure will not decide to define it.
7830 if (defundef
== "undef") {
7831 print
"/*", prefix defundef
, macro
, "*/"
7839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7840 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7841 fi # test -n "$CONFIG_HEADERS"
7844 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7849 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7851 case $ac_mode$ac_tag in
7853 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7854 :[FH
]-) ac_tag
=-:-;;
7855 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7872 -) ac_f
="$ac_tmp/stdin";;
7873 *) # Look for the file first in the build tree, then in the source tree
7874 # (if the path is not absolute). The absolute path cannot be DOS-style,
7875 # because $ac_f cannot contain `:'.
7879 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7881 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7883 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7884 as_fn_append ac_file_inputs
" '$ac_f'"
7887 # Let's still pretend it is `configure' which instantiates (i.e., don't
7888 # use $as_me), people would be surprised to read:
7889 # /* config.h. Generated by config.status. */
7890 configure_input
='Generated from '`
7891 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7893 if test x
"$ac_file" != x-
; then
7894 configure_input
="$ac_file. $configure_input"
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7896 $as_echo "$as_me: creating $ac_file" >&6;}
7898 # Neutralize special characters interpreted by sed in replacement strings.
7899 case $configure_input in #(
7900 *\
&* |
*\|
* |
*\\* )
7901 ac_sed_conf_input
=`$as_echo "$configure_input" |
7902 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7903 *) ac_sed_conf_input
=$configure_input;;
7907 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7908 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7913 ac_dir
=`$as_dirname -- "$ac_file" ||
7914 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7915 X"$ac_file" : 'X\(//\)[^/]' \| \
7916 X"$ac_file" : 'X\(//\)$' \| \
7917 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7918 $as_echo X"$ac_file" |
7919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7936 as_dir
="$ac_dir"; as_fn_mkdir_p
7940 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7942 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7943 # A ".." for each directory in $ac_dir_suffix.
7944 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7945 case $ac_top_builddir_sub in
7946 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7947 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7950 ac_abs_top_builddir
=$ac_pwd
7951 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7952 # for backward compatibility:
7953 ac_top_builddir
=$ac_top_build_prefix
7956 .
) # We are building in place.
7958 ac_top_srcdir
=$ac_top_builddir_sub
7959 ac_abs_top_srcdir
=$ac_pwd ;;
7960 [\\/]* | ?
:[\\/]* ) # Absolute name.
7961 ac_srcdir
=$srcdir$ac_dir_suffix;
7962 ac_top_srcdir
=$srcdir
7963 ac_abs_top_srcdir
=$srcdir ;;
7965 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7966 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7967 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7969 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7979 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7980 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7984 [\\/$
]* | ?
:[\\/]* ) ;;
7985 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7990 # Neutralize VPATH when `$srcdir' = `.'.
7991 # Shell code in configure.ac might set extrasub.
7992 # FIXME: do we really want to maintain this feature?
7993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7994 ac_sed_extra="$ac_vpsub
7997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7999 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8000 s|@configure_input@|
$ac_sed_conf_input|
;t t
8001 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8002 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8003 s
&@srcdir@
&$ac_srcdir&;t t
8004 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8005 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8006 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8007 s
&@builddir@
&$ac_builddir&;t t
8008 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8009 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8010 s
&@INSTALL@
&$ac_INSTALL&;t t
8011 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8013 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8014 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8017 rm -f "$ac_tmp/stdin
"
8019 -) cat "$ac_tmp/out
" && rm -f "$ac_tmp/out
";;
8020 *) rm -f "$ac_file" && mv "$ac_tmp/out
" "$ac_file";;
8022 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8028 if test x"$ac_file" != x-; then
8030 $as_echo "/* $configure_input */" \
8031 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs"
8032 } >"$ac_tmp/config.h
" \
8033 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8034 if diff "$ac_file" "$ac_tmp/config.h
" >/dev/null 2>&1; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged
" >&5
8036 $as_echo "$as_me: $ac_file is unchanged
" >&6;}
8039 mv "$ac_tmp/config.h
" "$ac_file" \
8040 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8043 $as_echo "/* $configure_input */" \
8044 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs" \
8045 || as_fn_error $? "could not create
-" "$LINENO" 5
8047 # Compute "$ac_file"'s index in $config_headers.
8050 for _am_header in $config_headers :; do
8052 $_am_arg | $_am_arg:* )
8055 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8058 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8059 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8060 X"$_am_arg" : 'X\(//\)[^/]' \| \
8061 X"$_am_arg" : 'X\(//\)$' \| \
8062 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8063 $as_echo X"$_am_arg" |
8064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8080 s/.*/./; q'`/stamp-h$_am_stamp_count
8083 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing
$ac_file commands
" >&5
8084 $as_echo "$as_me: executing
$ac_file commands
" >&6;}
8089 case $ac_file$ac_mode in
8090 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || {
8091 # Older Autoconf quotes --file arguments for eval, but not when files
8092 # are listed without --file. Let's play safe and only enable the eval
8093 # if we detect the quoting.
8094 case $CONFIG_FILES in
8095 *\'*) eval set x "$CONFIG_FILES" ;;
8096 *) set x $CONFIG_FILES ;;
8101 # Strip MF so we end up with the name of the file.
8102 mf=`echo "$mf" | sed -e 's/:.*$//'`
8103 # Check whether this is an Automake generated Makefile or not.
8104 # We used to match only the files named 'Makefile.in', but
8105 # some people rename them; so instead we look at the file content.
8106 # Grep'ing the first line is not enough: some people post-process
8107 # each Makefile.in and add a new line on top of each file to say so.
8108 # Grep'ing the whole file is not good either: AIX grep has a line
8109 # limit of 2048, but all sed's we know have understand at least 4000.
8110 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8111 dirpart=`$as_dirname -- "$mf" ||
8112 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8113 X"$mf" : 'X\(//\)[^/]' \| \
8114 X"$mf" : 'X\(//\)$' \| \
8115 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8137 # Extract the definition of DEPDIR, am__include, and am__quote
8138 # from the Makefile without running 'make'.
8139 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8140 test -z "$DEPDIR" && continue
8141 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8142 test -z "$am__include" && continue
8143 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8144 # Find all dependency output files, they are included files with
8145 # $(DEPDIR) in their names. We invoke sed twice because it is the
8146 # simplest approach to changing $(DEPDIR) to its actual value in the
8148 for file in `sed -n "
8149 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8150 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8151 # Make sure the directory exists.
8152 test -f "$dirpart/$file" && continue
8153 fdir=`$as_dirname -- "$file" ||
8154 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8155 X"$file" : 'X\(//\)[^/]' \| \
8156 X"$file" : 'X\(//\)$' \| \
8157 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8176 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8177 # echo "creating
$dirpart/$file"
8178 echo '# dummy' > "$dirpart/$file"
8190 ac_clean_files=$ac_clean_files_save
8192 test $ac_write_fail = 0 ||
8193 as_fn_error $? "write failure creating
$CONFIG_STATUS" "$LINENO" 5
8196 # configure is writing to config.log, and then calls config.status.
8197 # config.status does its own redirection, appending to config.log.
8198 # Unfortunately, on DOS this fails, as config.log is still kept open
8199 # by configure, so config.status won't be able to write to it; its
8200 # output is simply discarded. So we exec the FD to /dev/null,
8201 # effectively closing config.log, so it can be properly (re)opened and
8202 # appended to by config.status. When coming back to configure, we
8203 # need to make the FD available again.
8204 if test "$no_create" != yes; then
8206 ac_config_status_args=
8207 test "$silent" = yes &&
8208 ac_config_status_args="$ac_config_status_args --quiet"
8210 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8212 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8213 # would make configure fail if this is the last instruction.
8214 $ac_cs_success || as_fn_exit 1
8216 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&5
8218 $as_echo "$as_me: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&2;}
8224 cat > config.report << END
8226 ISC DHCP source configure results:
8227 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8231 Version: $PACKAGE_VERSION
8240 debug: $enable_debug
8241 failover: $enable_failover
8242 execute: $enable_execute
8245 ATF unittests : $atf_path
8248 # TODO: Add Perl system tests
8250 if test "$atf_path" != "no
"
8252 echo "ATF_CFLAGS
: $ATF_CFLAGS" >> config.report
8253 echo "ATF_LDFLAGS
: $ATF_LDFLAGS" >> config.report
8260 echo Now you can type "make" to build ISC DHCP