2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for DHCP 4.3.2rc2.
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.2rc2'
584 PACKAGE_STRING
='DHCP 4.3.2rc2'
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
666 MAINTAINER_MODE_FALSE
680 INSTALL_STRIP_PROGRAM
722 program_transform_name
735 enable_option_checking
737 enable_maintainer_mode
738 enable_dependency_tracking
749 enable_secs_byteorder
766 ac_precious_vars
='build_alias
777 # Initialize some variables set by options.
779 ac_init_version
=false
780 ac_unrecognized_opts
=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $?
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1238 test "$silent" = yes && exec 6>/dev
/null
1241 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di
=`ls -di .` &&
1243 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $?
"working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $?
"pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var
in $ac_precious_vars; do
1302 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1304 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures DHCP 4.3.2rc2 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1378 --build=BUILD configure
for building on BUILD
[guessed
]
1379 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive
) echo "Configuration of DHCP 4.3.2rc2:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1394 --disable-silent-rules verbose build output
(undo
: "make V=0")
1395 --enable-maintainer-mode
1396 enable make rules and dependencies not useful
(and
1397 sometimes confusing
) to the casual installer
1398 --enable-dependency-tracking
1399 do not reject slow dependency extractors
1400 --disable-dependency-tracking
1401 speeds up one-time build
1402 --enable-debug create a debug-only version of the software
(default
1404 --enable-failover enable support
for failover
(default is
yes)
1405 --enable-execute enable support
for execute
() in config
(default is
1407 --enable-tracing enable support
for server activity tracing
(default
1409 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1410 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1411 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1412 --enable-early-chroot enable chrooting prior to configuration
(default is
1414 --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets
(default is
1416 --enable-use-sockets use the standard BSD socket API
(default is no
)
1417 --enable-secs-byteorder Correct bad byteorders
in the secs field
(default is
1419 --enable-log-pid Include PIDs
in syslog messages
(default is no
).
1422 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1423 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1424 --with-atf=PATH specify location where atf was installed
1425 --with-srv-lease-file=PATH
1426 File
for dhcpd leases
(default is
1427 LOCALSTATEDIR
/db
/dhcpd.leases
)
1428 --with-srv6-lease-file=PATH
1429 File
for dhcpd6 leases
(default is
1430 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1431 --with-cli-lease-file=PATH
1432 File
for dhclient leases
(default is
1433 LOCALSTATEDIR
/db
/dhclient.leases
)
1434 --with-cli6-lease-file=PATH
1435 File
for dhclient6 leases
(default is
1436 LOCALSTATEDIR
/db
/dhclient6.leases
)
1437 --with-srv-pid-file=PATH
1438 File
for dhcpd process information
(default is
1439 LOCALSTATEDIR
/run
/dhcpd.pid
)
1440 --with-srv6-pid-file=PATH
1441 File
for dhcpd6 process information
(default is
1442 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1443 --with-cli-pid-file=PATH
1444 File
for dhclient process information
(default is
1445 LOCALSTATEDIR
/run
/dhclient.pid
)
1446 --with-cli6-pid-file=PATH
1447 File
for dhclient6 process information
(default is
1448 LOCALSTATEDIR
/run
/dhclient6.pid
)
1449 --with-relay-pid-file=PATH
1450 File
for dhcrelay process information
(default is
1451 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1452 --with-relay6-pid-file=PATH
1453 File
for dhcrelay6 process information
(default is
1454 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1455 --with-libbind=PATH
bind includes and libraries are
in PATH
(default is
1457 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1458 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1461 Some influential environment variables
:
1462 CC C compiler
command
1463 CFLAGS C compiler flags
1464 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1465 nonstandard directory
<lib dir
>
1466 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1467 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1468 you have headers
in a nonstandard directory
<include dir
>
1471 Use these variables to override the choices made by
`configure' or to help
1472 it to find libraries and programs with nonstandard names/locations.
1474 Report bugs to <dhcp-users@isc.org>.
1479 if test "$ac_init_help" = "recursive"; then
1480 # If there are subdirs, report their specific --help.
1481 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1482 test -d "$ac_dir" ||
1483 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1491 # A ".." for each directory in $ac_dir_suffix.
1492 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1493 case $ac_top_builddir_sub in
1494 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1498 ac_abs_top_builddir=$ac_pwd
1499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1500 # for backward compatibility:
1501 ac_top_builddir=$ac_top_build_prefix
1504 .) # We are building in place.
1506 ac_top_srcdir=$ac_top_builddir_sub
1507 ac_abs_top_srcdir=$ac_pwd ;;
1508 [\\/]* | ?:[\\/]* ) # Absolute name.
1509 ac_srcdir=$srcdir$ac_dir_suffix;
1510 ac_top_srcdir=$srcdir
1511 ac_abs_top_srcdir=$srcdir ;;
1513 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1514 ac_top_srcdir=$ac_top_build_prefix$srcdir
1515 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519 cd "$ac_dir" || { ac_status=$?; continue; }
1520 # Check for guested configure.
1521 if test -f "$ac_srcdir/configure.gnu"; then
1523 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524 elif test -f "$ac_srcdir/configure"; then
1526 $SHELL "$ac_srcdir/configure" --help=recursive
1528 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530 cd "$ac_pwd" || { ac_status=$?; break; }
1534 test -n "$ac_init_help" && exit $ac_status
1535 if $ac_init_version; then
1537 DHCP configure 4.3.2rc2
1538 generated by GNU Autoconf 2.69
1540 Copyright (C) 2012 Free Software Foundation, Inc.
1541 This configure script is free software; the Free Software Foundation
1542 gives unlimited permission to copy, distribute and modify it.
1547 ## ------------------------ ##
1548 ## Autoconf initialization. ##
1549 ## ------------------------ ##
1551 # ac_fn_c_try_compile LINENO
1552 # --------------------------
1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_compile ()
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 rm -f conftest.$ac_objext
1558 if { { ac_try="$ac_compile"
1560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1561 *) ac_try_echo
=$ac_try;;
1563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_compile") 2>conftest.err
1567 if test -s conftest.err
; then
1568 grep -v '^ *+' conftest.err
>conftest.er1
1569 cat conftest.er1
>&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest.
$ac_objext; then :
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.
$ac_ext >&5
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585 as_fn_set_status
$ac_retval
1587 } # ac_fn_c_try_compile
1589 # ac_fn_c_try_cpp LINENO
1590 # ----------------------
1591 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1595 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1598 *) ac_try_echo=$ac_try;;
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1604 if test -s conftest.err; then
1605 grep -v '^ *+' conftest.err >conftest.er1
1606 cat conftest.er1 >&5
1607 mv -f conftest.er1 conftest.err
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } > conftest.i && {
1611 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1612 test ! -s conftest.err
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status $ac_retval
1626 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1627 # -------------------------------------------------------
1628 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1629 # the include files in INCLUDES and setting the cache variable VAR
1631 ac_fn_c_check_header_mongrel ()
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 if eval \${$3+:} false; then :
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \${$3+:} false; then :
1638 $as_echo_n "(cached) " >&6
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642 $as_echo "$ac_res" >&6; }
1644 # Is the header compilable?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1646 $as_echo_n "checking $2 usability... " >&6; }
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1652 if ac_fn_c_try_compile "$LINENO"; then :
1653 ac_header_compiler=yes
1655 ac_header_compiler=no
1657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1659 $as_echo "$ac_header_compiler" >&6; }
1661 # Is the header present?
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1663 $as_echo_n "checking $2 presence... " >&6; }
1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665 /* end confdefs.h. */
1668 if ac_fn_c_try_cpp "$LINENO"; then :
1669 ac_header_preproc=yes
1671 ac_header_preproc=no
1673 rm -f conftest.err conftest.i conftest.$ac_ext
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1675 $as_echo "$ac_header_preproc" >&6; }
1677 # So? What about this header?
1678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1681 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1687 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1689 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1691 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1693 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1695 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1696 ( $as_echo "## --------------------------------- ##
1697 ## Report this to dhcp-users@isc.org ##
1698 ## --------------------------------- ##"
1699 ) | sed "s/^/$as_me: WARNING: /" >&2
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1707 eval "$3=\$ac_header_compiler"
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711 $as_echo "$ac_res" >&6; }
1713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 } # ac_fn_c_check_header_mongrel
1717 # ac_fn_c_try_run LINENO
1718 # ----------------------
1719 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1720 # that executables *can* be run.
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 if { { ac_try="$ac_link"
1726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1727 *) ac_try_echo
=$ac_try;;
1729 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_link") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1735 { { case "(($ac_try" in
1736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_try") 2>&5
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; }; }; then :
1747 $as_echo "$as_me: program exited with status $ac_status" >&5
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1751 ac_retval=$ac_status
1753 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status $ac_retval
1759 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1760 # -------------------------------------------------------
1761 # Tests whether HEADER exists and can be compiled using the include files in
1762 # INCLUDES, setting the cache variable VAR accordingly.
1763 ac_fn_c_check_header_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767 $as_echo_n "checking for $2... " >&6; }
1768 if eval \${$3+:} false; then :
1769 $as_echo_n "(cached) " >&6
1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1776 if ac_fn_c_try_compile "$LINENO"; then :
1781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 } # ac_fn_c_check_header_compile
1790 # ac_fn_c_find_intX_t LINENO BITS VAR
1791 # -----------------------------------
1792 # Finds a signed integer type with width BITS, setting cache variable VAR
1794 ac_fn_c_find_intX_t ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1798 $as_echo_n "checking for int$2_t... " >&6; }
1799 if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6
1803 # Order is important - never check a type that is potentially smaller
1804 # than half of the expected target width.
1805 for ac_type in int$2_t 'int' 'long int' \
1806 'long long int' 'short int' 'signed char'; do
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1809 $ac_includes_default
1810 enum { N = $2 / 2 - 1 };
1814 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1816 return test_array [0];
1822 if ac_fn_c_try_compile "$LINENO"; then :
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 $ac_includes_default
1826 enum { N = $2 / 2 - 1 };
1830 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1831 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1833 return test_array [0];
1839 if ac_fn_c_try_compile "$LINENO"; then :
1846 eval "$3=\$ac_type" ;;
1849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1852 if eval test \"x\$"$3"\" = x"no"; then :
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 } # ac_fn_c_find_intX_t
1866 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1867 # -------------------------------------------
1868 # Tests whether TYPE exists after having included INCLUDES, setting cache
1869 # variable VAR accordingly.
1870 ac_fn_c_check_type ()
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876 $as_echo_n "(cached) " >&6
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 } # ac_fn_c_check_type
1920 # ac_fn_c_find_uintX_t LINENO BITS VAR
1921 # ------------------------------------
1922 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1924 ac_fn_c_find_uintX_t ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1928 $as_echo_n "checking for uint$2_t... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1933 # Order is important - never check a type that is potentially smaller
1934 # than half of the expected target width.
1935 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1936 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 $ac_includes_default
1943 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1945 return test_array [0];
1951 if ac_fn_c_try_compile "$LINENO"; then :
1956 eval "$3=\$ac_type" ;;
1959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960 if eval test \"x\$"$3"\" = x"no"; then :
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_find_uintX_t
1974 # ac_fn_c_try_link LINENO
1975 # -----------------------
1976 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 rm -f conftest.$ac_objext conftest$ac_exeext
1981 if { { ac_try="$ac_link"
1983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1984 *) ac_try_echo
=$ac_try;;
1986 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_link") 2>conftest.err
1990 if test -s conftest.err
; then
1991 grep -v '^ *+' conftest.err
>conftest.er1
1992 cat conftest.er1
>&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } && {
1997 test -z "$ac_c_werror_flag" ||
1998 test ! -s conftest.err
1999 } && test -s conftest
$ac_exeext && {
2000 test "$cross_compiling" = yes ||
2001 test -x conftest
$ac_exeext
2005 $as_echo "$as_me: failed program was:" >&5
2006 sed 's/^/| /' conftest.
$ac_ext >&5
2010 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2011 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2012 # interfere with the next link command; also delete a directory that is
2013 # left behind by Apple's compiler. We do this before executing the actions.
2014 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 as_fn_set_status
$ac_retval
2018 } # ac_fn_c_try_link
2020 # ac_fn_c_check_func LINENO FUNC VAR
2021 # ----------------------------------
2022 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2023 ac_fn_c_check_func
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \
${$3+:} false
; then :
2029 $as_echo_n "(cached) " >&6
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2035 #define $2 innocuous_$2
2037 /* System header to define __stub macros and hopefully few prototypes,
2038 which can conflict with char $2 (); below.
2039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040 <limits.h> exists even on freestanding compilers. */
2043 # include <limits.h>
2045 # include <assert.h>
2050 /* Override any GCC internal prototype to avoid an error.
2051 Use char because int might match the return type of a GCC
2052 builtin and then its argument prototype would still apply. */
2057 /* The GNU C library defines this for functions which it implements
2058 to always fail with ENOSYS. Some functions are actually named
2059 something starting with __ and the normal name is an alias. */
2060 #if defined __stub_$2 || defined __stub___$2
2072 if ac_fn_c_try_link
"$LINENO"; then :
2077 rm -f core conftest.err conftest.
$ac_objext \
2078 conftest
$ac_exeext conftest.
$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_func
2087 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2088 # ----------------------------------------------------
2089 # Tries to find if the field MEMBER exists in type AGGR, after including
2090 # INCLUDES, setting cache variable VAR accordingly.
2091 ac_fn_c_check_member
()
2093 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2095 $as_echo_n "checking for $2.$3... " >&6; }
2096 if eval \
${$4+:} false
; then :
2097 $as_echo_n "(cached) " >&6
2099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h. */
2112 if ac_fn_c_try_compile
"$LINENO"; then :
2115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2122 if (sizeof ac_aggr.$3)
2128 if ac_fn_c_try_compile
"$LINENO"; then :
2133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2142 } # ac_fn_c_check_member
2144 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2145 # --------------------------------------------
2146 # Tries to find the compile-time value of EXPR in a program that includes
2147 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2149 ac_fn_c_compute_int
()
2151 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2152 if test "$cross_compiling" = yes; then
2153 # Depending upon the size, compute the lo and hi bounds.
2154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2160 static int test_array [1 - 2 * !(($2) >= 0)];
2162 return test_array [0];
2168 if ac_fn_c_try_compile
"$LINENO"; then :
2171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2177 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2179 return test_array [0];
2185 if ac_fn_c_try_compile
"$LINENO"; then :
2186 ac_hi
=$ac_mid; break
2188 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2189 if test $ac_lo -le $ac_mid; then
2193 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2204 static int test_array [1 - 2 * !(($2) < 0)];
2206 return test_array [0];
2212 if ac_fn_c_try_compile
"$LINENO"; then :
2215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2221 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2223 return test_array [0];
2229 if ac_fn_c_try_compile
"$LINENO"; then :
2230 ac_lo
=$ac_mid; break
2232 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2233 if test $ac_mid -le $ac_hi; then
2237 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2247 # Binary search between lo and hi bounds.
2248 while test "x$ac_lo" != "x$ac_hi"; do
2249 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2251 /* end confdefs.h. */
2256 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2258 return test_array [0];
2264 if ac_fn_c_try_compile
"$LINENO"; then :
2267 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2272 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2279 static long int longval () { return $2; }
2280 static unsigned long int ulongval () { return $2; }
2287 FILE *f = fopen ("conftest.val", "w");
2292 long int i = longval ();
2295 fprintf (f, "%ld", i);
2299 unsigned long int i = ulongval ();
2302 fprintf (f, "%lu", i);
2304 /* Do not output a trailing newline, as this causes \r\n confusion
2305 on some platforms. */
2306 return ferror (f) || fclose (f) != 0;
2312 if ac_fn_c_try_run
"$LINENO"; then :
2313 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2317 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2318 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status
$ac_retval
2325 } # ac_fn_c_compute_int
2326 cat >config.log
<<_ACEOF
2327 This file contains any messages produced by compilers while
2328 running configure, to aid debugging if configure makes a mistake.
2330 It was created by DHCP $as_me 4.3.2rc2, which was
2331 generated by GNU Autoconf 2.69. Invocation command line was
2343 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2344 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2345 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2346 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2347 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2349 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2350 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2352 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2353 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2354 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2355 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2356 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2357 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2358 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 $as_echo "PATH: $as_dir"
2383 # Keep a trace of the command line.
2384 # Strip out --no-create and --no-recursion so they do not pile up.
2385 # Strip out --silent because we don't want to record it for future runs.
2386 # Also quote any args containing shell meta-characters.
2387 # Make two passes to allow for proper duplicate-argument suppression.
2391 ac_must_keep_next
=false
2397 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2398 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2399 |
-silent |
--silent |
--silen |
--sile |
--sil)
2402 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2405 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2407 as_fn_append ac_configure_args1
" '$ac_arg'"
2408 if test $ac_must_keep_next = true
; then
2409 ac_must_keep_next
=false
# Got value, back to normal.
2412 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2413 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2414 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2415 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2416 case "$ac_configure_args0 " in
2417 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2420 -* ) ac_must_keep_next
=true
;;
2423 as_fn_append ac_configure_args
" '$ac_arg'"
2428 { ac_configure_args0
=; unset ac_configure_args0
;}
2429 { ac_configure_args1
=; unset ac_configure_args1
;}
2431 # When interrupted or exit'd, cleanup temporary files, and complete
2432 # config.log. We remove comments because anyway the quotes in there
2433 # would cause problems or look ugly.
2434 # WARNING: Use '\'' to represent an apostrophe within the trap.
2435 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2436 trap 'exit_status=$?
2437 # Save into config.log some information that might help in debugging.
2441 $as_echo "## ---------------- ##
2442 ## Cache variables. ##
2443 ## ---------------- ##"
2445 # The following way of writing the cache mishandles newlines in values,
2447 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2448 eval ac_val=\$$ac_var
2452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2456 _ | IFS | as_nl) ;; #(
2457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2458 *) { eval $ac_var=; unset $ac_var;} ;;
2463 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2464 *${as_nl}ac_space=\ *)
2466 "s/'\''/'\''\\\\'\'''\''/g;
2467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2477 $as_echo "## ----------------- ##
2478 ## Output variables. ##
2479 ## ----------------- ##"
2481 for ac_var in $ac_subst_vars
2483 eval ac_val=\$$ac_var
2485 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2487 $as_echo "$ac_var='\''$ac_val'\''"
2491 if test -n "$ac_subst_files"; then
2492 $as_echo "## ------------------- ##
2493 ## File substitutions. ##
2494 ## ------------------- ##"
2496 for ac_var
in $ac_subst_files
2498 eval ac_val
=\$
$ac_var
2500 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2502 $as_echo "$ac_var='\''$ac_val'\''"
2507 if test -s confdefs.h; then
2508 $as_echo "## ----------- ##
2515 test "$ac_signal" != 0 &&
2516 $as_echo "$as_me: caught signal $ac_signal"
2517 $as_echo "$as_me: exit $exit_status"
2519 rm -f core *.core core.conftest.* &&
2520 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2523 for ac_signal
in 1 2 13 15; do
2524 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2528 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2529 rm -f -r conftest
* confdefs.h
2531 $as_echo "/* confdefs.h */" > confdefs.h
2533 # Predefined preprocessor variables.
2535 cat >>confdefs.h
<<_ACEOF
2536 #define PACKAGE_NAME "$PACKAGE_NAME"
2539 cat >>confdefs.h
<<_ACEOF
2540 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2543 cat >>confdefs.h
<<_ACEOF
2544 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2547 cat >>confdefs.h
<<_ACEOF
2548 #define PACKAGE_STRING "$PACKAGE_STRING"
2551 cat >>confdefs.h
<<_ACEOF
2552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2555 cat >>confdefs.h
<<_ACEOF
2556 #define PACKAGE_URL "$PACKAGE_URL"
2560 # Let the site file select an alternate cache file if it wants to.
2561 # Prefer an explicitly selected file to automatically selected ones.
2564 if test -n "$CONFIG_SITE"; then
2565 # We do not want a PATH search for config.site.
2566 case $CONFIG_SITE in #((
2567 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2568 */*) ac_site_file1
=$CONFIG_SITE;;
2569 *) ac_site_file1
=.
/$CONFIG_SITE;;
2571 elif test "x$prefix" != xNONE
; then
2572 ac_site_file1
=$prefix/share
/config.site
2573 ac_site_file2
=$prefix/etc
/config.site
2575 ac_site_file1
=$ac_default_prefix/share
/config.site
2576 ac_site_file2
=$ac_default_prefix/etc
/config.site
2578 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2580 test "x$ac_site_file" = xNONE
&& continue
2581 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2583 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2584 sed 's/^/| /' "$ac_site_file" >&5
2586 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 as_fn_error $?
"failed to load site script $ac_site_file
2589 See \`config.log' for more details" "$LINENO" 5; }
2593 if test -r "$cache_file"; then
2594 # Some versions of bash will fail to source /dev/null (special files
2595 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2596 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2598 $as_echo "$as_me: loading cache $cache_file" >&6;}
2600 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2601 *) .
"./$cache_file";;
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2606 $as_echo "$as_me: creating cache $cache_file" >&6;}
2610 # Check that the precious variables saved in the cache have kept the same
2612 ac_cache_corrupted
=false
2613 for ac_var
in $ac_precious_vars; do
2614 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2615 eval ac_new_set
=\
$ac_env_${ac_var}_set
2616 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2617 eval ac_new_val
=\
$ac_env_${ac_var}_value
2618 case $ac_old_set,$ac_new_set in
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2621 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2622 ac_cache_corrupted
=: ;;
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2625 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2626 ac_cache_corrupted
=: ;;
2629 if test "x$ac_old_val" != "x$ac_new_val"; then
2630 # differences in whitespace do not lead to failure.
2631 ac_old_val_w
=`echo x $ac_old_val`
2632 ac_new_val_w
=`echo x $ac_new_val`
2633 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2635 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2636 ac_cache_corrupted
=:
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2639 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2640 eval $ac_var=\
$ac_old_val
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2643 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2645 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2648 # Pass precious variables to config.status.
2649 if test "$ac_new_set" = set; then
2651 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2652 *) ac_arg
=$ac_var=$ac_new_val ;;
2654 case " $ac_configure_args " in
2655 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2656 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2660 if $ac_cache_corrupted; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2664 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2665 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2667 ## -------------------- ##
2668 ## Main body of script. ##
2669 ## -------------------- ##
2672 ac_cpp
='$CPP $CPPFLAGS'
2673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2679 # we specify "foreign" to avoid having to have the GNU mandated files,
2680 # like AUTHORS, COPYING, and such
2681 am__api_version
='1.14'
2684 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2685 if test -f "$ac_dir/install-sh"; then
2687 ac_install_sh
="$ac_aux_dir/install-sh -c"
2689 elif test -f "$ac_dir/install.sh"; then
2691 ac_install_sh
="$ac_aux_dir/install.sh -c"
2693 elif test -f "$ac_dir/shtool"; then
2695 ac_install_sh
="$ac_aux_dir/shtool install -c"
2699 if test -z "$ac_aux_dir"; then
2700 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2703 # These three variables are undocumented and unsupported,
2704 # and are intended to be withdrawn in a future Autoconf release.
2705 # They can cause serious problems if a builder's source tree is in a directory
2706 # whose full name contains unusual characters.
2707 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2708 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2709 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2712 # Find a good install program. We prefer a C program (faster),
2713 # so one script is as good as another. But avoid the broken or
2714 # incompatible versions:
2715 # SysV /etc/install, /usr/sbin/install
2716 # SunOS /usr/etc/install
2717 # IRIX /sbin/install
2719 # AmigaOS /C/install, which installs bootblocks on floppy discs
2720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2723 # OS/2's system install, which has a completely different semantic
2724 # ./install, which can be erroneously created by make from ./install.sh.
2725 # Reject install programs that cannot install multiple files.
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2727 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2728 if test -z "$INSTALL"; then
2729 if ${ac_cv_path_install+:} false
; then :
2730 $as_echo_n "(cached) " >&6
2732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir
=.
2737 # Account for people who put trailing slashes in PATH elements.
2738 case $as_dir/ in #((
2739 .
/ | .
// |
/[cC
]/* | \
2740 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2741 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2744 # OSF1 and SCO ODT 3.0 have their own names for install.
2745 # Don't use installbsd from OSF since it installs stuff as root
2747 for ac_prog
in ginstall scoinst
install; do
2748 for ac_exec_ext
in '' $ac_executable_extensions; do
2749 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2750 if test $ac_prog = install &&
2751 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2752 # AIX install. It has an incompatible calling convention.
2754 elif test $ac_prog = install &&
2755 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2756 # program-specific install script used by HP pwplus--don't use.
2759 rm -rf conftest.one conftest.two conftest.dir
2760 echo one
> conftest.one
2761 echo two
> conftest.two
2763 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2764 test -s conftest.one
&& test -s conftest.two
&&
2765 test -s conftest.dir
/conftest.one
&&
2766 test -s conftest.dir
/conftest.two
2768 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2781 rm -rf conftest.one conftest.two conftest.dir
2784 if test "${ac_cv_path_install+set}" = set; then
2785 INSTALL
=$ac_cv_path_install
2787 # As a last resort, use the slow shell script. Don't cache a
2788 # value for INSTALL within a source directory, because that will
2789 # break other packages using the cache if that directory is
2790 # removed, or if the value is a relative name.
2791 INSTALL
=$ac_install_sh
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2795 $as_echo "$INSTALL" >&6; }
2797 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2798 # It thinks the first close brace ends the variable substitution.
2799 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2801 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2803 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2806 $as_echo_n "checking whether build environment is sane... " >&6; }
2807 # Reject unsafe characters in $srcdir or the absolute working directory
2808 # name. Accept space and tab only in the latter.
2812 *[\\\"\
#\$\&\'\`$am_lf]*)
2813 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2816 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2817 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2820 # Do 'set' in a subshell so we don't clobber the current shell's
2821 # arguments. Must try -L first in case configure is actually a
2822 # symlink; some systems play weird games with the mod time of symlinks
2823 # (eg FreeBSD returns the mod time of the symlink's containing
2827 for am_try
in 1 2; do
2828 echo "timestamp, slept: $am_has_slept" > conftest.
file
2829 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2830 if test "$*" = "X"; then
2832 set X
`ls -t "$srcdir/configure" conftest.file`
2834 if test "$*" != "X $srcdir/configure conftest.file" \
2835 && test "$*" != "X conftest.file $srcdir/configure"; then
2837 # If neither matched, then we have a broken ls. This can happen
2838 # if, for instance, CONFIG_SHELL is bash and it inherits a
2839 # broken ls alias from the environment. This has actually
2840 # happened. Such a system could not be considered "sane".
2841 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2842 alias in your environment" "$LINENO" 5
2844 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2851 test "$2" = conftest.
file
2857 as_fn_error $?
"newly created file is older than distributed files!
2858 Check your system clock" "$LINENO" 5
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2861 $as_echo "yes" >&6; }
2862 # If we didn't sleep, we still need to ensure time stamps of config.status and
2863 # generated files are strictly newer.
2865 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2872 test "$program_prefix" != NONE
&&
2873 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2874 # Use a double $ so make ignores it.
2875 test "$program_suffix" != NONE
&&
2876 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2877 # Double any \ or $.
2878 # By default was `s,x,x', remove it if useless.
2879 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2880 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2882 # expand $ac_aux_dir to an absolute path
2883 am_aux_dir
=`cd $ac_aux_dir && pwd`
2885 if test x
"${MISSING+set}" != xset
; then
2888 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2890 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2893 # Use eval to expand $SHELL
2894 if eval "$MISSING --is-lightweight"; then
2895 am_missing_run
="$MISSING "
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2899 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2902 if test x
"${install_sh}" != xset
; then
2905 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2907 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2911 # Installed binaries are usually stripped using 'strip' when the user
2912 # run "make install-strip". However 'strip' might not be the right
2913 # tool to use in cross-compilation environments, therefore Automake
2914 # will honor the 'STRIP' environment variable to overrule this program.
2915 if test "$cross_compiling" != no
; then
2916 if test -n "$ac_tool_prefix"; then
2917 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2918 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_STRIP+:} false
; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$STRIP"; then
2925 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_exec_ext
in '' $ac_executable_extensions; do
2933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 STRIP
=$ac_cv_prog_STRIP
2945 if test -n "$STRIP"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2947 $as_echo "$STRIP" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2955 if test -z "$ac_cv_prog_STRIP"; then
2957 # Extract the first word of "strip", so it can be a program name with args.
2958 set dummy strip
; ac_word
=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_STRIP"; then
2965 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_exec_ext
in '' $ac_executable_extensions; do
2973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2974 ac_cv_prog_ac_ct_STRIP
="strip"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2985 if test -n "$ac_ct_STRIP"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2987 $as_echo "$ac_ct_STRIP" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2993 if test "x$ac_ct_STRIP" = x
; then
2996 case $cross_compiling:$ac_tool_warned in
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000 ac_tool_warned
=yes ;;
3005 STRIP
="$ac_cv_prog_STRIP"
3009 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3012 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3013 if test -z "$MKDIR_P"; then
3014 if ${ac_cv_path_mkdir+:} false
; then :
3015 $as_echo_n "(cached) " >&6
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3018 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3021 test -z "$as_dir" && as_dir
=.
3022 for ac_prog
in mkdir gmkdir
; do
3023 for ac_exec_ext
in '' $ac_executable_extensions; do
3024 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3025 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3026 'mkdir (GNU coreutils) '* | \
3027 'mkdir (coreutils) '* | \
3028 'mkdir (fileutils) '4.1*)
3029 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3039 test -d .
/--version && rmdir .
/--version
3040 if test "${ac_cv_path_mkdir+set}" = set; then
3041 MKDIR_P
="$ac_cv_path_mkdir -p"
3043 # As a last resort, use the slow shell script. Don't cache a
3044 # value for MKDIR_P within a source directory, because that will
3045 # break other packages using the cache if that directory is
3046 # removed, or if the value is a relative name.
3047 MKDIR_P
="$ac_install_sh -d"
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3051 $as_echo "$MKDIR_P" >&6; }
3053 for ac_prog
in gawk mawk nawk
awk
3055 # Extract the first word of "$ac_prog", so it can be a program name with args.
3056 set dummy
$ac_prog; ac_word
=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_AWK+:} false
; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$AWK"; then
3063 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 for ac_exec_ext
in '' $ac_executable_extensions; do
3071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_AWK
="$ac_prog"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$AWK"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3085 $as_echo "$AWK" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3092 test -n "$AWK" && break
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3096 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3098 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3099 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3100 $as_echo_n "(cached) " >&6
3102 cat >conftest.
make <<\_ACEOF
3105 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3107 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3108 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3110 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3112 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3116 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118 $as_echo "yes" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 SET_MAKE
="MAKE=${MAKE-make}"
3126 rm -rf .tst
2>/dev
/null
3127 mkdir .tst
2>/dev
/null
3128 if test -d .tst
; then
3133 rmdir .tst
2>/dev
/null
3135 # Check whether --enable-silent-rules was given.
3136 if test "${enable_silent_rules+set}" = set; then :
3137 enableval
=$enable_silent_rules;
3140 case $enable_silent_rules in # (((
3141 yes) AM_DEFAULT_VERBOSITY
=0;;
3142 no
) AM_DEFAULT_VERBOSITY
=1;;
3143 *) AM_DEFAULT_VERBOSITY
=1;;
3145 am_make
=${MAKE-make}
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3147 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3148 if ${am_cv_make_support_nested_variables+:} false
; then :
3149 $as_echo_n "(cached) " >&6
3151 if $as_echo 'TRUE=$(BAR$(V))
3157 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3158 am_cv_make_support_nested_variables
=yes
3160 am_cv_make_support_nested_variables
=no
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3164 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3165 if test $am_cv_make_support_nested_variables = yes; then
3167 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3169 AM_V
=$AM_DEFAULT_VERBOSITY
3170 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3174 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3175 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3176 # is not polluted with repeated "-I."
3177 am__isrc
=' -I$(srcdir)'
3178 # test to see if srcdir already configured
3179 if test -f $srcdir/config.status
; then
3180 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3184 # test whether we have cygpath
3185 if test -z "$CYGPATH_W"; then
3186 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3187 CYGPATH_W
='cygpath -w'
3194 # Define the identity of the package.
3199 cat >>confdefs.h
<<_ACEOF
3200 #define PACKAGE "$PACKAGE"
3204 cat >>confdefs.h
<<_ACEOF
3205 #define VERSION "$VERSION"
3208 # Some tools Automake needs.
3210 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3213 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3216 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3219 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3222 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3224 # For better backward compatibility. To be removed once Automake 1.9.x
3225 # dies out for good. For more background, see:
3226 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3227 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3228 mkdir_p
='$(MKDIR_P)'
3230 # We need awk for the "check" target. The system "awk" is bad on
3232 # Always define AMTAR for backward compatibility. Yes, it's still used
3233 # in the wild :-( We should find a proper way to deprecate it ...
3237 # We'll loop over all known methods to create a tar archive until one works.
3238 _am_tools
='gnutar pax cpio none'
3240 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3247 # POSIX will say in a future version that running "rm -f" with no argument
3248 # is OK; and we want to be able to make that assumption in our Makefile
3249 # recipes. So use an aggressive probe to check that the usage we want is
3250 # actually supported "in the wild" to an acceptable degree.
3251 # See automake bug#10828.
3252 # To make any issue more visible, cause the running configure to be aborted
3253 # by default if the 'rm' program in use doesn't match our expectations; the
3254 # user can still override this though.
3255 if rm -f && rm -fr && rm -rf; then : OK
; else
3259 Your 'rm' program seems unable to run without file operands specified
3260 on the command line, even when the '-f' option is present. This is contrary
3261 to the behaviour of most rm programs out there, and not conforming with
3262 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3264 Please tell bug-automake@gnu.org about your system, including the value
3265 of your $PATH and any error possibly output before this message. This
3266 can help us improve future automake versions.
3269 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3270 echo 'Configuration will proceed anyway, since you have set the' >&2
3271 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3275 Aborting the configuration process, to ensure you take notice of the issue.
3277 You can download and install GNU coreutils to get an 'rm' implementation
3278 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3280 If you want to complete the configuration process using your problematic
3281 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3282 to "yes", and re-run configure.
3285 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3289 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
3290 # the configure and makefiles. Without it users doing things that
3291 # change the timestamps on the code, like checking it into a cvs
3292 # tree, could trigger a rebuild of the infrastructure files which
3293 # might fail if they don't have the correct tools.
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3296 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3297 # Check whether --enable-maintainer-mode was given.
3298 if test "${enable_maintainer_mode+set}" = set; then :
3299 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3301 USE_MAINTAINER_MODE
=no
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3305 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3306 if test $USE_MAINTAINER_MODE = yes; then
3307 MAINTAINER_MODE_TRUE
=
3308 MAINTAINER_MODE_FALSE
='#'
3310 MAINTAINER_MODE_TRUE
='#'
3311 MAINTAINER_MODE_FALSE
=
3314 MAINT
=$MAINTAINER_MODE_TRUE
3318 # Make sure we can run config.sub.
3319 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3320 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3323 $as_echo_n "checking build system type... " >&6; }
3324 if ${ac_cv_build+:} false
; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_build_alias
=$build_alias
3328 test "x$ac_build_alias" = x
&&
3329 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3330 test "x$ac_build_alias" = x
&&
3331 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3332 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3333 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3337 $as_echo "$ac_cv_build" >&6; }
3338 case $ac_cv_build in
3340 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3343 ac_save_IFS
=$IFS; IFS
='-'
3349 # Remember, the first character of IFS is used to create $*,
3350 # except with old shells:
3353 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3357 $as_echo_n "checking host system type... " >&6; }
3358 if ${ac_cv_host+:} false
; then :
3359 $as_echo_n "(cached) " >&6
3361 if test "x$host_alias" = x
; then
3362 ac_cv_host
=$ac_cv_build
3364 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3365 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3370 $as_echo "$ac_cv_host" >&6; }
3373 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3376 ac_save_IFS
=$IFS; IFS
='-'
3382 # Remember, the first character of IFS is used to create $*,
3383 # except with old shells:
3386 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3390 # We want to turn on warnings if we are using gcc and the user did
3391 # not specify CFLAGS. The autoconf check for the C compiler sets the
3392 # CFLAGS if gcc is used, so we will save it before we run that check.
3393 SAVE_CFLAGS
="$CFLAGS"
3395 # Now find our C compiler.
3397 ac_cpp
='$CPP $CPPFLAGS'
3398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3401 if test -n "$ac_tool_prefix"; then
3402 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3403 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if ${ac_cv_prog_CC+:} false
; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$CC"; then
3410 ac_cv_prog_CC
="$CC" # Let the user override the test.
3412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir
=.
3417 for ac_exec_ext
in '' $ac_executable_extensions; do
3418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3419 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 if test -n "$CC"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3432 $as_echo "$CC" >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3440 if test -z "$ac_cv_prog_CC"; then
3442 # Extract the first word of "gcc", so it can be a program name with args.
3443 set dummy gcc
; ac_word
=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$ac_ct_CC"; then
3450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir
=.
3457 for ac_exec_ext
in '' $ac_executable_extensions; do
3458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_ac_ct_CC
="gcc"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3470 if test -n "$ac_ct_CC"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3472 $as_echo "$ac_ct_CC" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3478 if test "x$ac_ct_CC" = x
; then
3481 case $cross_compiling:$ac_tool_warned in
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3485 ac_tool_warned
=yes ;;
3493 if test -z "$CC"; then
3494 if test -n "$ac_tool_prefix"; then
3495 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3496 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_CC+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC
="$CC" # Let the user override the test.
3505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir
=.
3510 for ac_exec_ext
in '' $ac_executable_extensions; do
3511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3525 $as_echo "$CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3534 if test -z "$CC"; then
3535 # Extract the first word of "cc", so it can be a program name with args.
3536 set dummy cc
; ac_word
=$2
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538 $as_echo_n "checking for $ac_word... " >&6; }
3539 if ${ac_cv_prog_CC+:} false
; then :
3540 $as_echo_n "(cached) " >&6
3542 if test -n "$CC"; then
3543 ac_cv_prog_CC
="$CC" # Let the user override the test.
3546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir
=.
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3553 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3554 ac_prog_rejected
=yes
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 if test $ac_prog_rejected = yes; then
3566 # We found a bogon in the path, so make sure we never use it.
3567 set dummy
$ac_cv_prog_CC
3569 if test $# != 0; then
3570 # We chose a different compiler from the bogus one.
3571 # However, it has the same basename, so the bogon will be chosen
3572 # first if we set CC to just the basename; use the full file name.
3574 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3590 if test -z "$CC"; then
3591 if test -n "$ac_tool_prefix"; then
3592 for ac_prog
in cl.exe
3594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3595 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if ${ac_cv_prog_CC+:} false
; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -n "$CC"; then
3602 ac_cv_prog_CC
="$CC" # Let the user override the test.
3604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir
=.
3609 for ac_exec_ext
in '' $ac_executable_extensions; do
3610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3611 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 if test -n "$CC"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3624 $as_echo "$CC" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3631 test -n "$CC" && break
3634 if test -z "$CC"; then
3636 for ac_prog
in cl.exe
3638 # Extract the first word of "$ac_prog", so it can be a program name with args.
3639 set dummy
$ac_prog; ac_word
=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$ac_ct_CC"; then
3646 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_ac_ct_CC
="$ac_prog"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3666 if test -n "$ac_ct_CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3668 $as_echo "$ac_ct_CC" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3675 test -n "$ac_ct_CC" && break
3678 if test "x$ac_ct_CC" = x
; then
3681 case $cross_compiling:$ac_tool_warned in
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3685 ac_tool_warned
=yes ;;
3694 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 as_fn_error $?
"no acceptable C compiler found in \$PATH
3697 See \`config.log' for more details" "$LINENO" 5; }
3699 # Provide some information about the compiler.
3700 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3703 for ac_option
in --version -v -V -qversion; do
3704 { { ac_try
="$ac_compiler $ac_option >&5"
3706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3710 $as_echo "$ac_try_echo"; } >&5
3711 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3713 if test -s conftest.err; then
3715 ... rest of stderr output deleted ...
3716 10q' conftest.err >conftest.er1
3717 cat conftest.er1 >&5
3719 rm -f conftest.er1 conftest.err
3720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 test $ac_status = 0; }
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 ac_clean_files_save=$ac_clean_files
3736 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3737 # Try to create an executable without -o first, disregard a.out.
3738 # It will help us diagnose broken compilers, and finding out an intuition
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3741 $as_echo_n "checking whether the C compiler works... " >&6; }
3742 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3744 # The possible output files:
3745 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3748 for ac_file in $ac_files
3751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3752 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3757 if { { ac_try="$ac_link_default"
3759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3760 *) ac_try_echo
=$ac_try;;
3762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_link_default") 2>&5
3766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767 test $ac_status = 0; }; then :
3768 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3769 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3770 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3771 # so that the user can short-circuit this test for compilers unknown to
3773 for ac_file
in $ac_files ''
3775 test -f "$ac_file" ||
continue
3777 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3780 # We found the default executable, but exeext='' is most
3784 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3786 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3788 # We set ac_cv_exeext here because the later test for it is not
3789 # safe: cross compilers may not add the suffix if given an `-o'
3790 # argument, so we may need to know it at that point already.
3791 # Even if this section looks crufty: it has the advantage of
3798 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3803 if test -z "$ac_file"; then :
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3806 $as_echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.
$ac_ext >&5
3809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_error
77 "C compiler cannot create executables
3812 See \`config.log' for more details" "$LINENO" 5; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3815 $as_echo "yes" >&6; }
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3818 $as_echo_n "checking for C compiler default output file name... " >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3820 $as_echo "$ac_file" >&6; }
3821 ac_exeext
=$ac_cv_exeext
3823 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3824 ac_clean_files
=$ac_clean_files_save
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3826 $as_echo_n "checking for suffix of executables... " >&6; }
3827 if { { ac_try
="$ac_link"
3829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833 $as_echo "$ac_try_echo"; } >&5
3834 (eval "$ac_link") 2>&5
3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837 test $ac_status = 0; }; then :
3838 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3839 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3840 # work properly (i.e., refer to `conftest.exe'), while it won't with
3842 for ac_file
in conftest.exe conftest conftest.
*; do
3843 test -f "$ac_file" ||
continue
3845 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3846 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3855 See \`config.log' for more details" "$LINENO" 5; }
3857 rm -f conftest conftest
$ac_cv_exeext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3859 $as_echo "$ac_cv_exeext" >&6; }
3861 rm -f conftest.
$ac_ext
3862 EXEEXT
=$ac_cv_exeext
3864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3870 FILE *f = fopen ("conftest.out", "w");
3871 return ferror (f) || fclose (f) != 0;
3877 ac_clean_files
="$ac_clean_files conftest.out"
3878 # Check that the compiler produces executables we can run. If not, either
3879 # the compiler is broken, or we cross compile.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3881 $as_echo_n "checking whether we are cross compiling... " >&6; }
3882 if test "$cross_compiling" != yes; then
3883 { { ac_try
="$ac_link"
3885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3889 $as_echo "$ac_try_echo"; } >&5
3890 (eval "$ac_link") 2>&5
3892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; }
3894 if { ac_try='./conftest$ac_cv_exeext'
3895 { { case "(($ac_try" in
3896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3897 *) ac_try_echo
=$ac_try;;
3899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900 $as_echo "$ac_try_echo"; } >&5
3901 (eval "$ac_try") 2>&5
3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904 test $ac_status = 0; }; }; then
3907 if test "$cross_compiling" = maybe
; then
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error $?
"cannot run C compiled programs.
3913 If you meant to cross compile, use \`--host'.
3914 See \`config.log' for more details" "$LINENO" 5; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3919 $as_echo "$cross_compiling" >&6; }
3921 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3922 ac_clean_files
=$ac_clean_files_save
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3924 $as_echo_n "checking for suffix of object files... " >&6; }
3925 if ${ac_cv_objext+:} false
; then :
3926 $as_echo_n "(cached) " >&6
3928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 rm -f conftest.o conftest.obj
3940 if { { ac_try
="$ac_compile"
3942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_compile") 2>&5
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 for ac_file in conftest.o conftest.obj conftest.*; do
3952 test -f "$ac_file" || continue;
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3955 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3960 $as_echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.$ac_ext >&5
3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3966 See \
`config.log' for more details" "$LINENO" 5; }
3968 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3971 $as_echo "$ac_cv_objext" >&6; }
3972 OBJEXT=$ac_cv_objext
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3975 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3976 if ${ac_cv_c_compiler_gnu+:} false; then :
3977 $as_echo_n "(cached) " >&6
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3993 if ac_fn_c_try_compile "$LINENO"; then :
3998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4003 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4004 if test $ac_compiler_gnu = yes; then
4009 ac_test_CFLAGS=${CFLAGS+set}
4010 ac_save_CFLAGS=$CFLAGS
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4012 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4013 if ${ac_cv_prog_cc_g+:} false; then :
4014 $as_echo_n "(cached) " >&6
4016 ac_save_c_werror_flag=$ac_c_werror_flag
4017 ac_c_werror_flag=yes
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4031 if ac_fn_c_try_compile "$LINENO"; then :
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4046 if ac_fn_c_try_compile "$LINENO"; then :
4049 ac_c_werror_flag=$ac_save_c_werror_flag
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4062 if ac_fn_c_try_compile "$LINENO"; then :
4065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070 ac_c_werror_flag=$ac_save_c_werror_flag
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4073 $as_echo "$ac_cv_prog_cc_g" >&6; }
4074 if test "$ac_test_CFLAGS" = set; then
4075 CFLAGS=$ac_save_CFLAGS
4076 elif test $ac_cv_prog_cc_g = yes; then
4077 if test "$GCC" = yes; then
4083 if test "$GCC" = yes; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4090 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4091 if ${ac_cv_prog_cc_c89+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 ac_cv_prog_cc_c89=no
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4102 struct buf { int x; };
4103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4104 static char *e (p, i)
4110 static char *f (char * (*g) (char **, int), char **p, ...)
4115 s = g (p, va_arg (v,int));
4120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4121 function prototypes and stuff, but not '\xHH' hex character constants.
4122 These don't provoke an error unfortunately, instead are silently treated
4123 as 'x'. The following induces an error, until -std is added to get
4124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4125 array size at least. It's necessary to write '\x00'==0 to get something
4126 that's true only with -std. */
4127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4130 inside strings and character constants. */
4132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4134 int test (int i, double x);
4135 struct s1 {int (*f) (int a);};
4136 struct s2 {int (*f) (double a);};
4137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4151 CC="$ac_save_CC $ac_arg"
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_cv_prog_cc_c89=$ac_arg
4155 rm -f core conftest.err conftest.$ac_objext
4156 test "x$ac_cv_prog_cc_c89" != "xno" && break
4158 rm -f conftest.$ac_ext
4163 case "x$ac_cv_prog_cc_c89" in
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4166 $as_echo "none needed" >&6; } ;;
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4169 $as_echo "unsupported" >&6; } ;;
4171 CC="$CC $ac_cv_prog_cc_c89"
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4173 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4175 if test "x$ac_cv_prog_cc_c89" != xno; then :
4180 ac_cpp='$CPP $CPPFLAGS'
4181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4186 ac_cpp='$CPP $CPPFLAGS'
4187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4191 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4192 if ${am_cv_prog_cc_c_o+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 # Make sure it works both with $CC and with simple cc.
4207 # Following AC_PROG_CC_C_O, we do the test twice because some
4208 # compilers refuse to overwrite an existing .o file with -o,
4209 # though they will create one.
4210 am_cv_prog_cc_c_o=yes
4212 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4213 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } \
4217 && test -f conftest2.$ac_objext; then
4220 am_cv_prog_cc_c_o=no
4224 rm -f core conftest*
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4228 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4229 if test "$am_cv_prog_cc_c_o" != yes; then
4230 # Losing compiler, so override with the script.
4231 # FIXME: It is wrong to rewrite CC.
4232 # But if we don't then we get into trouble of one sort or another.
4233 # A longer-term fix would be to have automake use am__CC in this case,
4234 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4235 CC="$am_aux_dir/compile $CC"
4238 ac_cpp='$CPP $CPPFLAGS'
4239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4243 DEPDIR="${am__leading_dot}deps"
4245 ac_config_commands="$ac_config_commands depfiles"
4248 am_make=${MAKE-make}
4249 cat > confinc << 'END'
4251 @echo this is the am__doit target
4254 # If we don't find an include directive, just comment out the code.
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4256 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4260 # First try GNU make style include.
4261 echo "include confinc" > confmf
4262 # Ignore all kinds of additional output from 'make'.
4263 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4264 *the\ am__doit\ target*)
4270 # Now try BSD make style include.
4271 if test "$am__include" = "#"; then
4272 echo '.include "confinc"' > confmf
4273 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4274 *the\ am__doit\ target*)
4275 am__include=.include
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4284 $as_echo "$_am_result" >&6; }
4285 rm -f confinc confmf
4287 # Check whether --enable-dependency-tracking was given.
4288 if test "${enable_dependency_tracking+set}" = set; then :
4289 enableval=$enable_dependency_tracking;
4292 if test "x$enable_dependency_tracking" != xno; then
4293 am_depcomp="$ac_aux_dir/depcomp"
4297 if test "x$enable_dependency_tracking" != xno; then
4307 depcc="$CC" am_compiler_list=
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4310 $as_echo_n "checking dependency style of $depcc... " >&6; }
4311 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4315 # We make a subdir and do the tests there. Otherwise we can end up
4316 # making bogus files that we don't know about and never remove. For
4317 # instance it was reported that on HP-UX the gcc test will end up
4318 # making a dummy file named 'D' -- because '-MD' means "put the output
4322 # Copy depcomp to subdir because otherwise we won't find it if we're
4323 # using a relative directory.
4324 cp "$am_depcomp" conftest.dir
4326 # We will build objects and dependencies in a subdirectory because
4327 # it helps to detect inapplicable dependency modes. For instance
4328 # both Tru64's cc and ICC support -MD to output dependencies as a
4329 # side effect of compilation, but ICC will put the dependencies in
4330 # the current directory while Tru64 will put them in the object
4334 am_cv_CC_dependencies_compiler_type=none
4335 if test "$am_compiler_list" = ""; then
4336 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4339 case " $depcc " in #(
4340 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4343 for depmode in $am_compiler_list; do
4344 # Setup a source with many dependencies, because some compilers
4345 # like to wrap large dependency lists on column 80 (with \), and
4346 # we should not choose a depcomp mode which is confused by this.
4348 # We need to recreate these files for each test, as the compiler may
4349 # overwrite some of them when testing with obscure command lines.
4350 # This happens at least with the AIX C compiler.
4352 for i in 1 2 3 4 5 6; do
4353 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4354 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4355 # Solaris 10 /bin/sh.
4356 echo '/* dummy */' > sub/conftst$i.h
4358 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4360 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4361 # mode. It turns out that the SunPro C++ compiler does not properly
4362 # handle '-M -o', and we need to detect this. Also, some Intel
4363 # versions had trouble with output in subdirs.
4364 am__obj=sub/conftest.${OBJEXT-o}
4365 am__minus_obj="-o $am__obj"
4368 # This depmode causes a compiler race in universal mode.
4369 test "$am__universal" = false || continue
4372 # After this tag, mechanisms are not by side-effect, so they'll
4373 # only be used when explicitly requested.
4374 if test "x$enable_dependency_tracking" = xyes; then
4380 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4381 # This compiler won't grok '-c -o', but also, the minuso test has
4382 # not run yet. These depmodes are late enough in the game, and
4383 # so weak that their functioning should not be impacted.
4384 am__obj=conftest.${OBJEXT-o}
4389 if depmode=$depmode \
4390 source=sub/conftest.c object=$am__obj \
4391 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4392 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4393 >/dev/null 2>conftest.err &&
4394 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4396 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4398 # icc doesn't choke on unknown options, it will just issue warnings
4399 # or remarks (even with -Werror). So we grep stderr for any message
4400 # that says an option was ignored or not supported.
4401 # When given -MP, icc 7.0 and 7.1 complain thusly:
4402 # icc: Command line warning: ignoring option '-M'; no argument required
4403 # The diagnosis changed in icc 8.0:
4404 # icc: Command line remark: option '-MP' not supported
4405 if (grep 'ignoring option' conftest.err ||
4406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4407 am_cv_CC_dependencies_compiler_type=$depmode
4416 am_cv_CC_dependencies_compiler_type=none
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4421 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4425 test "x$enable_dependency_tracking" != xno \
4426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4428 am__fastdepCC_FALSE='#'
4430 am__fastdepCC_TRUE='#'
4431 am__fastdepCC_FALSE=
4436 # Suppress warnings about --datarootdir
4439 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
4440 # user did not specify any flags. Add warnings in this case.
4441 if test "$GCC" = "yes"; then
4442 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
4443 STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
4447 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
4448 # parts of the IPv6 Advanced Socket API as a result. This is stupid
4449 # as it breaks how the two halves (Basic and Advanced) of the IPv6
4450 # Socket API were designed to be used but we have to live with it.
4451 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
4454 ac_cpp='$CPP $CPPFLAGS'
4455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4459 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4460 # On Suns, sometimes $CPP names a directory.
4461 if test -n "$CPP" && test -d "$CPP"; then
4464 if test -z "$CPP"; then
4465 if ${ac_cv_prog_CPP+:} false; then :
4466 $as_echo_n "(cached) " >&6
4468 # Double quotes because CPP needs to be expanded
4469 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4472 for ac_c_preproc_warn_flag in '' yes
4474 # Use a header file that comes with gcc, so configuring glibc
4475 # with a fresh cross-compiler works.
4476 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4477 # <limits.h> exists even on freestanding compilers.
4478 # On the NeXT, cc -E runs the code through the compiler's parser,
4479 # not just through cpp. "Syntax error" is here to catch this case.
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4483 # include <limits.h>
4485 # include <assert.h>
4489 if ac_fn_c_try_cpp "$LINENO"; then :
4492 # Broken: fails on valid input.
4495 rm -f conftest.err conftest.i conftest.$ac_ext
4497 # OK, works on sane cases. Now check whether nonexistent headers
4498 # can be detected and how.
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4501 #include <ac_nonexistent.h>
4503 if ac_fn_c_try_cpp "$LINENO"; then :
4504 # Broken: success on invalid input.
4507 # Passes both tests.
4511 rm -f conftest.err conftest.i conftest.$ac_ext
4514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4515 rm -f conftest.i conftest.err conftest.
$ac_ext
4516 if $ac_preproc_ok; then :
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4529 $as_echo "$CPP" >&6; }
4531 for ac_c_preproc_warn_flag
in '' yes
4533 # Use a header file that comes with gcc, so configuring glibc
4534 # with a fresh cross-compiler works.
4535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4536 # <limits.h> exists even on freestanding compilers.
4537 # On the NeXT, cc -E runs the code through the compiler's parser,
4538 # not just through cpp. "Syntax error" is here to catch this case.
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4542 # include <limits.h>
4544 # include <assert.h>
4548 if ac_fn_c_try_cpp
"$LINENO"; then :
4551 # Broken: fails on valid input.
4554 rm -f conftest.err conftest.i conftest.
$ac_ext
4556 # OK, works on sane cases. Now check whether nonexistent headers
4557 # can be detected and how.
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560 #include <ac_nonexistent.h>
4562 if ac_fn_c_try_cpp
"$LINENO"; then :
4563 # Broken: success on invalid input.
4566 # Passes both tests.
4570 rm -f conftest.err conftest.i conftest.
$ac_ext
4573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4574 rm -f conftest.i conftest.err conftest.
$ac_ext
4575 if $ac_preproc_ok; then :
4578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4581 See \`config.log' for more details" "$LINENO" 5; }
4585 ac_cpp
='$CPP $CPPFLAGS'
4586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4592 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4593 if ${ac_cv_path_GREP+:} false
; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -z "$GREP"; then
4597 ac_path_GREP_found
=false
4598 # Loop through the user's path and test for each of PROGNAME-LIST
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4600 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_prog
in grep ggrep
; do
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4607 as_fn_executable_p
"$ac_path_GREP" ||
continue
4608 # Check for GNU ac_path_GREP and select it if it is found.
4609 # Check for GNU $ac_path_GREP
4610 case `"$ac_path_GREP" --version 2>&1` in
4612 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4615 $as_echo_n 0123456789 >"conftest.in"
4618 cat "conftest.in" "conftest.in" >"conftest.tmp"
4619 mv "conftest.tmp" "conftest.in"
4620 cp "conftest.in" "conftest.nl"
4621 $as_echo 'GREP' >> "conftest.nl"
4622 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4623 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4624 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4625 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4626 # Best one so far, save it but keep looking for a better one
4627 ac_cv_path_GREP
="$ac_path_GREP"
4628 ac_path_GREP_max
=$ac_count
4630 # 10*(2^10) chars as input seems more than enough
4631 test $ac_count -gt 10 && break
4633 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4636 $ac_path_GREP_found && break 3
4641 if test -z "$ac_cv_path_GREP"; then
4642 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4645 ac_cv_path_GREP
=$GREP
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4650 $as_echo "$ac_cv_path_GREP" >&6; }
4651 GREP
="$ac_cv_path_GREP"
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4655 $as_echo_n "checking for egrep... " >&6; }
4656 if ${ac_cv_path_EGREP+:} false
; then :
4657 $as_echo_n "(cached) " >&6
4659 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4660 then ac_cv_path_EGREP
="$GREP -E"
4662 if test -z "$EGREP"; then
4663 ac_path_EGREP_found
=false
4664 # Loop through the user's path and test for each of PROGNAME-LIST
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_prog
in egrep; do
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4673 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4674 # Check for GNU ac_path_EGREP and select it if it is found.
4675 # Check for GNU $ac_path_EGREP
4676 case `"$ac_path_EGREP" --version 2>&1` in
4678 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4681 $as_echo_n 0123456789 >"conftest.in"
4684 cat "conftest.in" "conftest.in" >"conftest.tmp"
4685 mv "conftest.tmp" "conftest.in"
4686 cp "conftest.in" "conftest.nl"
4687 $as_echo 'EGREP' >> "conftest.nl"
4688 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4690 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4691 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4692 # Best one so far, save it but keep looking for a better one
4693 ac_cv_path_EGREP
="$ac_path_EGREP"
4694 ac_path_EGREP_max
=$ac_count
4696 # 10*(2^10) chars as input seems more than enough
4697 test $ac_count -gt 10 && break
4699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4702 $ac_path_EGREP_found && break 3
4707 if test -z "$ac_cv_path_EGREP"; then
4708 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4711 ac_cv_path_EGREP
=$EGREP
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4717 $as_echo "$ac_cv_path_EGREP" >&6; }
4718 EGREP
="$ac_cv_path_EGREP"
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4722 $as_echo_n "checking for ANSI C header files... " >&6; }
4723 if ${ac_cv_header_stdc+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4741 if ac_fn_c_try_compile
"$LINENO"; then :
4742 ac_cv_header_stdc
=yes
4744 ac_cv_header_stdc
=no
4746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4748 if test $ac_cv_header_stdc = yes; then
4749 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4756 $EGREP "memchr" >/dev
/null
2>&1; then :
4759 ac_cv_header_stdc
=no
4765 if test $ac_cv_header_stdc = yes; then
4766 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4773 $EGREP "free" >/dev
/null
2>&1; then :
4776 ac_cv_header_stdc
=no
4782 if test $ac_cv_header_stdc = yes; then
4783 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4784 if test "$cross_compiling" = yes; then :
4787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4791 #if ((' ' & 0x0FF) == 0x020)
4792 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4793 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4795 # define ISLOWER(c) \
4796 (('a' <= (c) && (c) <= 'i') \
4797 || ('j' <= (c) && (c) <= 'r') \
4798 || ('s' <= (c) && (c) <= 'z'))
4799 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4802 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4807 for (i = 0; i < 256; i++)
4808 if (XOR (islower (i), ISLOWER (i))
4809 || toupper (i) != TOUPPER (i))
4814 if ac_fn_c_try_run
"$LINENO"; then :
4817 ac_cv_header_stdc
=no
4819 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4820 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4826 $as_echo "$ac_cv_header_stdc" >&6; }
4827 if test $ac_cv_header_stdc = yes; then
4829 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4833 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4834 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4835 inttypes.h stdint.h unistd.h
4837 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4838 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4840 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4841 cat >>confdefs.h
<<_ACEOF
4842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4851 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4852 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4859 if test "$MINIX" = yes; then
4861 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4864 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4867 $as_echo "#define _MINIX 1" >>confdefs.h
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4873 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4874 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4880 # define __EXTENSIONS__ 1
4881 $ac_includes_default
4890 if ac_fn_c_try_compile
"$LINENO"; then :
4891 ac_cv_safe_to_define___extensions__
=yes
4893 ac_cv_safe_to_define___extensions__
=no
4895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4898 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4899 test $ac_cv_safe_to_define___extensions__ = yes &&
4900 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4902 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4904 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4906 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4908 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4912 if test -n "$ac_tool_prefix"; then
4913 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4914 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_RANLIB+:} false
; then :
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$RANLIB"; then
4921 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_exec_ext
in '' $ac_executable_extensions; do
4929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 RANLIB
=$ac_cv_prog_RANLIB
4941 if test -n "$RANLIB"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4943 $as_echo "$RANLIB" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4951 if test -z "$ac_cv_prog_RANLIB"; then
4952 ac_ct_RANLIB
=$RANLIB
4953 # Extract the first word of "ranlib", so it can be a program name with args.
4954 set dummy ranlib
; ac_word
=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4958 $as_echo_n "(cached) " >&6
4960 if test -n "$ac_ct_RANLIB"; then
4961 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir
=.
4968 for ac_exec_ext
in '' $ac_executable_extensions; do
4969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4981 if test -n "$ac_ct_RANLIB"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4983 $as_echo "$ac_ct_RANLIB" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4989 if test "x$ac_ct_RANLIB" = x
; then
4992 case $cross_compiling:$ac_tool_warned in
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996 ac_tool_warned
=yes ;;
4998 RANLIB
=$ac_ct_RANLIB
5001 RANLIB
="$ac_cv_prog_RANLIB"
5004 ac_config_headers
="$ac_config_headers includes/config.h"
5007 # we sometimes need to know byte order for building packets
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5009 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5010 if ${ac_cv_c_bigendian+:} false
; then :
5011 $as_echo_n "(cached) " >&6
5013 ac_cv_c_bigendian
=unknown
5014 # See if we're dealing with a universal compiler.
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5017 #ifndef __APPLE_CC__
5018 not a universal capable compiler
5023 if ac_fn_c_try_compile
"$LINENO"; then :
5025 # Check for potential -arch flags. It is not universal unless
5026 # there are at least two -arch flags with different values.
5029 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5030 if test -n "$ac_prev"; then
5032 i?
86 | x86_64 | ppc | ppc64
)
5033 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5036 ac_cv_c_bigendian
=universal
5042 elif test "x$ac_word" = "x-arch"; then
5047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5048 if test $ac_cv_c_bigendian = unknown
; then
5049 # See if sys/param.h defines the BYTE_ORDER macro.
5050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5052 #include <sys/types.h>
5053 #include <sys/param.h>
5058 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5059 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5068 if ac_fn_c_try_compile
"$LINENO"; then :
5069 # It does; now see whether it defined to BIG_ENDIAN or not.
5070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h. */
5072 #include <sys/types.h>
5073 #include <sys/param.h>
5078 #if BYTE_ORDER != BIG_ENDIAN
5086 if ac_fn_c_try_compile
"$LINENO"; then :
5087 ac_cv_c_bigendian
=yes
5089 ac_cv_c_bigendian
=no
5091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5095 if test $ac_cv_c_bigendian = unknown
; then
5096 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5104 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5112 if ac_fn_c_try_compile
"$LINENO"; then :
5113 # It does; now see whether it defined to _BIG_ENDIAN or not.
5114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5129 if ac_fn_c_try_compile
"$LINENO"; then :
5130 ac_cv_c_bigendian
=yes
5132 ac_cv_c_bigendian
=no
5134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 if test $ac_cv_c_bigendian = unknown
; then
5139 # Compile a test program.
5140 if test "$cross_compiling" = yes; then :
5141 # Try to guess by grepping values from an object file.
5142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 short int ascii_mm[] =
5145 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5146 short int ascii_ii[] =
5147 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5148 int use_ascii (int i) {
5149 return ascii_mm[i] + ascii_ii[i];
5151 short int ebcdic_ii[] =
5152 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5153 short int ebcdic_mm[] =
5154 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5155 int use_ebcdic (int i) {
5156 return ebcdic_mm[i] + ebcdic_ii[i];
5163 return use_ascii (foo) == use_ebcdic (foo);
5168 if ac_fn_c_try_compile
"$LINENO"; then :
5169 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5170 ac_cv_c_bigendian
=yes
5172 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5173 if test "$ac_cv_c_bigendian" = unknown
; then
5174 ac_cv_c_bigendian
=no
5176 # finding both strings is unlikely to happen, but who knows?
5177 ac_cv_c_bigendian
=unknown
5181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 $ac_includes_default
5190 /* Are we little or big endian? From Harbison&Steele. */
5194 char c[sizeof (long int)];
5197 return u.c[sizeof (long int) - 1] == 1;
5203 if ac_fn_c_try_run
"$LINENO"; then :
5204 ac_cv_c_bigendian
=no
5206 ac_cv_c_bigendian
=yes
5208 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5209 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5215 $as_echo "$ac_cv_c_bigendian" >&6; }
5216 case $ac_cv_c_bigendian in #(
5218 byte_order
=BIG_ENDIAN
5221 byte_order
=LITTLE_ENDIAN
5225 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5229 as_fn_error $?
"unknown endianness
5230 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5234 cat >>confdefs.h
<<_ACEOF
5235 #define DHCP_BYTE_ORDER $byte_order
5239 # Optional compile-time DEBUGging.
5240 # Check whether --enable-debug was given.
5241 if test "${enable_debug+set}" = set; then :
5242 enableval
=$enable_debug; case "${enableval}" in
5243 yes) enable_debug
=yes
5245 $as_echo "#define DEBUG 1" >>confdefs.h
5247 # Just override CFLAGS totally to remove optimization.
5249 no
) enable_debug
=no
;;
5250 *) as_fn_error $?
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
5257 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
5258 # but I don't want to pollute the --help space.
5260 #/* #define DEBUG_TOKENS */
5261 #/* #define DEBUG_PACKET */
5262 #/* #define DEBUG_EXPRESSIONS */
5263 #/* #define DEBUG_FIND_LEASE */
5264 #/* #define DEBUG_EXPRESSION_PARSE */
5265 #/* #define DEBUG_CLASS_MATCHING */
5266 #/* #define DEBUG_MEMORY_LEAKAGE */
5267 #/* #define DEBUG_MALLOC_POOL */
5268 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
5269 #/* #define DEBUG_RC_HISTORY */
5270 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
5271 #/* #define RC_HISTORY_MAX 10240 */
5272 #/* #define POINTER_DEBUG */
5273 #/* #define DEBUG_FAILOVER_MESSAGES */
5274 #/* #define DEBUG_FAILOVER_TIMING */
5275 #/* #define DEBUG_DUMP_ALL_LEASES */
5277 # Failover optional compile-time feature.
5278 # Check whether --enable-failover was given.
5279 if test "${enable_failover+set}" = set; then :
5280 enableval
=$enable_failover;
5283 # Failover is on by default, so define if it is not explicitly disabled.
5284 if test "$enable_failover" != "no"; then
5286 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
5290 # execute() support.
5291 # Check whether --enable-execute was given.
5292 if test "${enable_execute+set}" = set; then :
5293 enableval
=$enable_execute;
5296 # execute() is on by default, so define if it is not explicitly disabled.
5297 if test "$enable_execute" != "no" ; then
5299 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
5303 # Server tracing support.
5304 # Check whether --enable-tracing was given.
5305 if test "${enable_tracing+set}" = set; then :
5306 enableval
=$enable_tracing;
5309 # tracing is on by default, so define if it is not explicitly disabled.
5310 if test "$enable_tracing" != "no" ; then
5312 $as_echo "#define TRACING 1" >>confdefs.h
5316 # Delayed-ack feature support (experimental).
5317 # Check whether --enable-delayed_ack was given.
5318 if test "${enable_delayed_ack+set}" = set; then :
5319 enableval
=$enable_delayed_ack;
5322 if test "$enable_delayed_ack" = "yes"; then
5324 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
5328 # DHCPv6 optional compile-time feature.
5329 # Check whether --enable-dhcpv6 was given.
5330 if test "${enable_dhcpv6+set}" = set; then :
5331 enableval
=$enable_dhcpv6;
5334 # DHCPv6 is on by default, so define if it is not explicitly disabled.
5335 if test "$enable_dhcpv6" != "no"; then
5337 $as_echo "#define DHCPv6 1" >>confdefs.h
5341 # PARANOIA is off by default (until we can test it with all features)
5342 # Check whether --enable-paranoia was given.
5343 if test "${enable_paranoia+set}" = set; then :
5344 enableval
=$enable_paranoia;
5347 # Check whether --enable-early_chroot was given.
5348 if test "${enable_early_chroot+set}" = set; then :
5349 enableval
=$enable_early_chroot;
5352 # If someone enables early chroot, but does not enable paranoia, do so for
5354 if test "$enable_paranoia" != "yes" && \
5355 test "$enable_early_chroot" = "yes" ; then
5356 enable_paranoia
="yes"
5359 if test "$enable_paranoia" = "yes" ; then
5361 $as_echo "#define PARANOIA 1" >>confdefs.h
5364 if test "$enable_early_chroot" = "yes" ; then
5366 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
5370 # Check whether --enable-ipv4_pktinfo was given.
5371 if test "${enable_ipv4_pktinfo+set}" = set; then :
5372 enableval
=$enable_ipv4_pktinfo;
5376 if test "$enable_ipv4_pktinfo" = "yes"; then
5378 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
5382 # Check whether --enable-use_sockets was given.
5383 if test "${enable_use_sockets+set}" = set; then :
5384 enableval
=$enable_use_sockets;
5388 if test "$enable_use_sockets" = "yes"; then
5390 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
5394 # Try to hnadle incorrect byte order for secs field
5395 # This is off by default
5396 # Check whether --enable-secs_byteorder was given.
5397 if test "${enable_secs_byteorder+set}" = set; then :
5398 enableval
=$enable_secs_byteorder;
5402 if test "$enable_secs_byteorder" = "yes" ; then
5404 $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h
5408 # Include the PID in the log messages. This is useful when there may
5409 # be multiple instances of a program.
5410 # This is off by default
5411 # Check whether --enable-log_pid was given.
5412 if test "${enable_log_pid+set}" = set; then :
5413 enableval
=$enable_log_pid;
5416 if test "$enable_log_pid" = "yes" ; then
5418 $as_echo "#define USE_LOG_PID 1" >>confdefs.h
5426 # Check whether --with-atf was given.
5427 if test "${with_atf+set}" = set; then :
5428 withval
=$with_atf; atf_path
="$withval"
5431 if test "$atf_path" != "no" ; then
5432 # Config path for pkg-config
5434 if test "$atf_path" != "yes" ; then
5435 if test -f $atf_path/lib
/pkgconfig
/atf-c.pc
; then
5436 atf_pcp
=$atf_path/lib
/pkgconfig
5437 elif test -f $atf_path/lib64
/pkgconfig
/atf-c.pc
; then
5438 atf_pcp
=$atf_path/lib64
/pkgconfig
5441 # Not specified, try some common paths
5442 atf_dirs
="/usr /usr/local /usr/pkg /opt /opt/local"
5445 if test -f $d/lib
/pkgconfig
/atf-c.pc
; then
5446 atf_pcp
=$d/lib
/pkgconfig
5448 elif test -f $d/lib64
/pkgconfig
/atf-c.pc
; then
5449 atf_pcp
=$d/lib64
/pkgconfig
5455 if test "$atf_pcp" = "" ; then
5456 as_fn_error $?
"Unable to find atf files in location specified" "$LINENO" 5
5458 ATF_CFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
5459 ATF_LDFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
5460 if test -f $atf_pcp/atf-sh.pc
; then
5461 ATF_BIN
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --variable=exec_prefix atf-sh`/bin"
5463 # older versions don't have atf-sh, try usual place
5464 ATF_BIN
=$atf_path/bin
5467 if test ! -x $ATF_BIN/atf-run
-o ! -x $ATF_BIN/atf-report
; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run,atf-report not found, assuming they are in your path" >&5
5469 $as_echo "$as_me: WARNING: atf-run,atf-report not found, assuming they are in your path" >&2;}
5478 if test "$atf_pcp" != ""; then
5486 if test -z "$HAVE_ATF_TRUE"; then :
5488 $as_echo "#define HAVE_ATF 1" >>confdefs.h
5493 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
5494 ### need to look there and potentially overwrite by default (but not if
5495 ### the user configures an alternate value). LOCALSTATEDIR is totally
5496 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
5497 ### they would be insane for suggesting it. We need to look in /var/for
5498 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
5501 if test "x$prefix" = xNONE
; then
5502 $as_echo_n "checking for prefix by " >&6
5503 # Extract the first word of "dhcpd", so it can be a program name with args.
5504 set dummy dhcpd
; ac_word
=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_path_ac_prefix_program+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5510 case $ac_prefix_program in
5512 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
5515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir
=.
5520 for ac_exec_ext
in '' $ac_executable_extensions; do
5521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5522 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 ac_prefix_program
=$ac_cv_path_ac_prefix_program
5534 if test -n "$ac_prefix_program"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
5536 $as_echo "$ac_prefix_program" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5543 if test -n "$ac_prefix_program"; then
5544 prefix
=`$as_dirname -- "$ac_prefix_program" ||
5545 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5546 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5547 X"$ac_prefix_program" : 'X\(//\)$' \| \
5548 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
5549 $as_echo X"$ac_prefix_program" |
5550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5567 prefix
=`$as_dirname -- "$prefix" ||
5568 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5569 X"$prefix" : 'X\(//\)[^/]' \| \
5570 X"$prefix" : 'X\(//\)$' \| \
5571 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
5572 $as_echo X"$prefix" |
5573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5594 # XXX - isn't there SOME WAY to default autoconf to /var instead of
5595 # /usr/local/var/no/one/has/this/please/stop/trying?
5596 case "$localstatedir" in
5602 # Allow specification of alternate state files
5604 # Check whether --with-srv-lease-file was given.
5605 if test "${with_srv_lease_file+set}" = set; then :
5606 withval
=$with_srv_lease_file;
5607 cat >>confdefs.h
<<_ACEOF
5608 #define _PATH_DHCPD_DB "$withval"
5614 echo -n "checking for dhcpd.leases location..."
5615 if [ "x$with_srv_lease_file" = "x" ] ; then
5616 if [ -d "${localstatedir}/db" ] ; then
5617 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
5618 elif [ -d "${localstatedir}/state" ] ; then
5619 if [ -d "${localstatedir}/state/dhcp" ] ; then
5620 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
5622 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
5624 elif [ -d "${localstatedir}/lib" ] ; then
5625 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5626 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
5628 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
5630 elif [ -d "${localstatedir}/etc" ] ; then
5631 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
5633 with_srv_lease_file
="/etc/dhcpd.leases"
5636 echo "$with_srv_lease_file"
5639 # Check whether --with-srv6-lease-file was given.
5640 if test "${with_srv6_lease_file+set}" = set; then :
5641 withval
=$with_srv6_lease_file;
5642 cat >>confdefs.h
<<_ACEOF
5643 #define _PATH_DHCPD6_DB "$withval"
5649 echo -n "checking for dhcpd6.leases location..."
5650 if [ "x$with_srv6_lease_file" = "x" ] ; then
5651 if [ -d "${localstatedir}/db" ] ; then
5652 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
5653 elif [ -d "${localstatedir}/state" ] ; then
5654 if [ -d "${localstatedir}/state/dhcp" ] ; then
5655 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
5657 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
5659 elif [ -d "${localstatedir}/lib" ] ; then
5660 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5661 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
5663 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
5665 elif [ -d "${localstatedir}/etc" ] ; then
5666 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
5668 with_srv6_lease_file
="/etc/dhcpd6.leases"
5671 echo "$with_srv6_lease_file"
5674 # Check whether --with-cli-lease-file was given.
5675 if test "${with_cli_lease_file+set}" = set; then :
5676 withval
=$with_cli_lease_file;
5677 cat >>confdefs.h
<<_ACEOF
5678 #define _PATH_DHCLIENT_DB "$withval"
5684 echo -n "checking for dhclient.leases location..."
5685 if [ "x$with_cli_lease_file" = "x" ] ; then
5686 if [ -d "${localstatedir}/db" ] ; then
5687 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
5688 elif [ -d "${localstatedir}/state" ] ; then
5689 if [ -d "${localstatedir}/state/dhcp" ] ; then
5690 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
5692 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
5694 elif [ -d "${localstatedir}/lib" ] ; then
5695 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5696 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
5698 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
5700 elif [ -d "${localstatedir}/etc" ] ; then
5701 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
5703 with_cli_lease_file
="/etc/dhclient.leases"
5706 echo "$with_cli_lease_file"
5709 # Check whether --with-cli6-lease-file was given.
5710 if test "${with_cli6_lease_file+set}" = set; then :
5711 withval
=$with_cli6_lease_file;
5712 cat >>confdefs.h
<<_ACEOF
5713 #define _PATH_DHCLIENT6_DB "$withval"
5719 echo -n "checking for dhclient6.leases location..."
5720 if [ "x$with_cli6_lease_file" = "x" ] ; then
5721 if [ -d "${localstatedir}/db" ] ; then
5722 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
5723 elif [ -d "${localstatedir}/state" ] ; then
5724 if [ -d "${localstatedir}/state/dhcp" ] ; then
5725 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5727 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5729 elif [ -d "${localstatedir}/lib" ] ; then
5730 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5731 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5733 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5735 elif [ -d "${localstatedir}/etc" ] ; then
5736 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5738 with_cli6_lease_file
="/etc/dhclient6.leases"
5741 echo "$with_cli6_lease_file"
5744 # Check whether --with-srv-pid-file was given.
5745 if test "${with_srv_pid_file+set}" = set; then :
5746 withval
=$with_srv_pid_file;
5747 cat >>confdefs.h
<<_ACEOF
5748 #define _PATH_DHCPD_PID "$withval"
5754 # Check whether --with-srv6-pid-file was given.
5755 if test "${with_srv6_pid_file+set}" = set; then :
5756 withval
=$with_srv6_pid_file;
5757 cat >>confdefs.h
<<_ACEOF
5758 #define _PATH_DHCPD6_PID "$withval"
5764 # Check whether --with-cli-pid-file was given.
5765 if test "${with_cli_pid_file+set}" = set; then :
5766 withval
=$with_cli_pid_file;
5767 cat >>confdefs.h
<<_ACEOF
5768 #define _PATH_DHCLIENT_PID "$withval"
5774 # Check whether --with-cli6-pid-file was given.
5775 if test "${with_cli6_pid_file+set}" = set; then :
5776 withval
=$with_cli6_pid_file;
5777 cat >>confdefs.h
<<_ACEOF
5778 #define _PATH_DHCLIENT6_PID "$withval"
5784 # Check whether --with-relay-pid-file was given.
5785 if test "${with_relay_pid_file+set}" = set; then :
5786 withval
=$with_relay_pid_file;
5787 cat >>confdefs.h
<<_ACEOF
5788 #define _PATH_DHCRELAY_PID "$withval"
5794 # Check whether --with-relay6-pid-file was given.
5795 if test "${with_relay6_pid_file+set}" = set; then :
5796 withval
=$with_relay6_pid_file;
5797 cat >>confdefs.h
<<_ACEOF
5798 #define _PATH_DHCRELAY6_PID "$withval"
5804 # Check basic types.
5805 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
5806 case $ac_cv_c_int8_t in #(
5810 cat >>confdefs.h
<<_ACEOF
5811 #define int8_t $ac_cv_c_int8_t
5816 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
5817 case $ac_cv_c_int16_t in #(
5821 cat >>confdefs.h
<<_ACEOF
5822 #define int16_t $ac_cv_c_int16_t
5827 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
5828 case $ac_cv_c_int32_t in #(
5832 cat >>confdefs.h
<<_ACEOF
5833 #define int32_t $ac_cv_c_int32_t
5838 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
5839 case $ac_cv_c_int64_t in #(
5843 cat >>confdefs.h
<<_ACEOF
5844 #define int64_t $ac_cv_c_int64_t
5850 # Some systems need the u_intX_t types defined across.
5851 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
5852 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
5856 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
5857 case $ac_cv_c_uint8_t in #(
5861 $as_echo "#define _UINT8_T 1" >>confdefs.h
5864 cat >>confdefs.h
<<_ACEOF
5865 #define uint8_t $ac_cv_c_uint8_t
5871 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
5876 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
5877 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
5881 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
5882 case $ac_cv_c_uint16_t in #(
5887 cat >>confdefs.h
<<_ACEOF
5888 #define uint16_t $ac_cv_c_uint16_t
5894 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
5899 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
5900 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
5904 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
5905 case $ac_cv_c_uint32_t in #(
5909 $as_echo "#define _UINT32_T 1" >>confdefs.h
5912 cat >>confdefs.h
<<_ACEOF
5913 #define uint32_t $ac_cv_c_uint32_t
5919 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
5924 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
5925 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
5929 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5930 case $ac_cv_c_uint64_t in #(
5934 $as_echo "#define _UINT64_T 1" >>confdefs.h
5937 cat >>confdefs.h
<<_ACEOF
5938 #define uint64_t $ac_cv_c_uint64_t
5944 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
5950 # see if ifaddrs.h is available
5951 for ac_header
in ifaddrs.h
5953 ac_fn_c_check_header_mongrel
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
5954 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
5955 cat >>confdefs.h
<<_ACEOF
5956 #define HAVE_IFADDRS_H 1
5964 # figure out what IPv4 interface code to use
5965 for ac_header
in linux
/types.h
5967 ac_fn_c_check_header_mongrel
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
5968 if test "x$ac_cv_header_linux_types_h" = xyes
; then :
5969 cat >>confdefs.h
<<_ACEOF
5970 #define HAVE_LINUX_TYPES_H 1
5976 # needed for linux/filter.h on old systems
5978 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
5979 #ifdef HAVE_LINUX_TYPES_H
5980 #include <linux/types.h>
5984 if test "x$ac_cv_header_linux_filter_h" = xyes
; then :
5989 if test -n "$DO_LPF"
5992 $as_echo "#define HAVE_LPF 1" >>confdefs.h
5995 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
5996 if test "x$ac_cv_header_sys_dlpi_h" = xyes
; then :
6001 if test -n "$DO_DLPI"
6004 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
6007 ac_fn_c_check_header_mongrel
"$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
6008 if test "x$ac_cv_header_net_bpf_h" = xyes
; then :
6013 if test -n "$DO_BPF"
6016 $as_echo "#define HAVE_BPF 1" >>confdefs.h
6022 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
6023 # use the same structures. We like to use 'struct lifconf' and 'struct
6024 # lifreq', but we'll use these other structures if they're present. HPUX
6025 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
6029 $as_echo_n "checking for struct lifnum... " >&6; }
6030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6031 /* end confdefs.h. */
6032 #include <sys/types.h>
6033 #include <sys/socket.h>
6045 if ac_fn_c_try_compile
"$LINENO"; then :
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6047 $as_echo "yes" >&6; }
6049 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
6058 $as_echo_n "checking for struct if_laddrconf... " >&6; }
6059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #include <sys/types.h>
6062 #include <net/if6.h>
6067 struct if_laddrconf a;
6073 if ac_fn_c_try_compile
"$LINENO"; then :
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6075 $as_echo "yes" >&6; }
6077 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
6086 $as_echo_n "checking for struct if_laddrreq... " >&6; }
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6090 #include <net/if6.h>
6095 struct if_laddrreq a;
6101 if ac_fn_c_try_link
"$LINENO"; then :
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6103 $as_echo "yes" >&6; }
6105 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6109 $as_echo "no" >&6; }
6111 rm -f core conftest.err conftest.
$ac_objext \
6112 conftest
$ac_exeext conftest.
$ac_ext
6115 # check for GCC noreturn attribute
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
6118 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
6119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6120 /* end confdefs.h. */
6125 void foo() __attribute__((noreturn));
6130 if ac_fn_c_try_compile
"$LINENO"; then :
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6132 $as_echo "yes" >&6; }
6134 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6140 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
6143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6145 # Look for optional headers.
6146 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6148 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6149 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6150 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6151 cat >>confdefs.h
<<_ACEOF
6152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6160 # Solaris needs some libraries for functions
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
6162 $as_echo_n "checking for library containing socket... " >&6; }
6163 if ${ac_cv_search_socket+:} false
; then :
6164 $as_echo_n "(cached) " >&6
6166 ac_func_search_save_LIBS
=$LIBS
6167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6170 /* Override any GCC internal prototype to avoid an error.
6171 Use char because int might match the return type of a GCC
6172 builtin and then its argument prototype would still apply. */
6185 for ac_lib
in '' socket
; do
6186 if test -z "$ac_lib"; then
6187 ac_res
="none required"
6190 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6192 if ac_fn_c_try_link
"$LINENO"; then :
6193 ac_cv_search_socket
=$ac_res
6195 rm -f core conftest.err conftest.
$ac_objext \
6197 if ${ac_cv_search_socket+:} false
; then :
6201 if ${ac_cv_search_socket+:} false
; then :
6204 ac_cv_search_socket
=no
6207 LIBS
=$ac_func_search_save_LIBS
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
6210 $as_echo "$ac_cv_search_socket" >&6; }
6211 ac_res
=$ac_cv_search_socket
6212 if test "$ac_res" != no
; then :
6213 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
6218 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
6219 if ${ac_cv_search_inet_ntoa+:} false
; then :
6220 $as_echo_n "(cached) " >&6
6222 ac_func_search_save_LIBS
=$LIBS
6223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6226 /* Override any GCC internal prototype to avoid an error.
6227 Use char because int might match the return type of a GCC
6228 builtin and then its argument prototype would still apply. */
6236 return inet_ntoa ();
6241 for ac_lib
in '' nsl
; do
6242 if test -z "$ac_lib"; then
6243 ac_res
="none required"
6246 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6248 if ac_fn_c_try_link
"$LINENO"; then :
6249 ac_cv_search_inet_ntoa
=$ac_res
6251 rm -f core conftest.err conftest.
$ac_objext \
6253 if ${ac_cv_search_inet_ntoa+:} false
; then :
6257 if ${ac_cv_search_inet_ntoa+:} false
; then :
6260 ac_cv_search_inet_ntoa
=no
6263 LIBS
=$ac_func_search_save_LIBS
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
6266 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
6267 ac_res
=$ac_cv_search_inet_ntoa
6268 if test "$ac_res" != no
; then :
6269 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
6275 $as_echo_n "checking for library containing inet_aton... " >&6; }
6276 if ${ac_cv_search_inet_aton+:} false
; then :
6277 $as_echo_n "(cached) " >&6
6279 ac_func_search_save_LIBS
=$LIBS
6280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6293 return inet_aton ();
6298 for ac_lib
in '' socket nsl
; do
6299 if test -z "$ac_lib"; then
6300 ac_res
="none required"
6303 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6305 if ac_fn_c_try_link
"$LINENO"; then :
6306 ac_cv_search_inet_aton
=$ac_res
6308 rm -f core conftest.err conftest.
$ac_objext \
6310 if ${ac_cv_search_inet_aton+:} false
; then :
6314 if ${ac_cv_search_inet_aton+:} false
; then :
6317 ac_cv_search_inet_aton
=no
6320 LIBS
=$ac_func_search_save_LIBS
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
6323 $as_echo "$ac_cv_search_inet_aton" >&6; }
6324 ac_res
=$ac_cv_search_inet_aton
6325 if test "$ac_res" != no
; then :
6326 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6330 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
6335 # Check for a standalone regex library.
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
6337 $as_echo_n "checking for library containing regcomp... " >&6; }
6338 if ${ac_cv_search_regcomp+:} false
; then :
6339 $as_echo_n "(cached) " >&6
6341 ac_func_search_save_LIBS
=$LIBS
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6345 /* Override any GCC internal prototype to avoid an error.
6346 Use char because int might match the return type of a GCC
6347 builtin and then its argument prototype would still apply. */
6360 for ac_lib
in '' regex
; do
6361 if test -z "$ac_lib"; then
6362 ac_res
="none required"
6365 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6367 if ac_fn_c_try_link
"$LINENO"; then :
6368 ac_cv_search_regcomp
=$ac_res
6370 rm -f core conftest.err conftest.
$ac_objext \
6372 if ${ac_cv_search_regcomp+:} false
; then :
6376 if ${ac_cv_search_regcomp+:} false
; then :
6379 ac_cv_search_regcomp
=no
6382 LIBS
=$ac_func_search_save_LIBS
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
6385 $as_echo "$ac_cv_search_regcomp" >&6; }
6386 ac_res
=$ac_cv_search_regcomp
6387 if test "$ac_res" != no
; then :
6388 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6393 for ac_func
in strlcat
6395 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
6396 if test "x$ac_cv_func_strlcat" = xyes
; then :
6397 cat >>confdefs.h
<<_ACEOF
6398 #define HAVE_STRLCAT 1
6405 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
6407 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
6408 if ${ac_cv_search_if_nametoindex+:} false
; then :
6409 $as_echo_n "(cached) " >&6
6411 ac_func_search_save_LIBS
=$LIBS
6412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6415 /* Override any GCC internal prototype to avoid an error.
6416 Use char because int might match the return type of a GCC
6417 builtin and then its argument prototype would still apply. */
6421 char if_nametoindex ();
6425 return if_nametoindex ();
6430 for ac_lib
in '' ipv6
; do
6431 if test -z "$ac_lib"; then
6432 ac_res
="none required"
6435 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6437 if ac_fn_c_try_link
"$LINENO"; then :
6438 ac_cv_search_if_nametoindex
=$ac_res
6440 rm -f core conftest.err conftest.
$ac_objext \
6442 if ${ac_cv_search_if_nametoindex+:} false
; then :
6446 if ${ac_cv_search_if_nametoindex+:} false
; then :
6449 ac_cv_search_if_nametoindex
=no
6452 LIBS
=$ac_func_search_save_LIBS
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
6455 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
6456 ac_res
=$ac_cv_search_if_nametoindex
6457 if test "$ac_res" != no
; then :
6458 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6463 # check for /dev/random (declares HAVE_DEV_RANDOM)
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/random" >&5
6465 $as_echo_n "checking for /dev/random... " >&6; }
6466 if ${ac_cv_file__dev_random+:} false
; then :
6467 $as_echo_n "(cached) " >&6
6469 test "$cross_compiling" = yes &&
6470 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6471 if test -r "/dev/random"; then
6472 ac_cv_file__dev_random
=yes
6474 ac_cv_file__dev_random
=no
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_random" >&5
6478 $as_echo "$ac_cv_file__dev_random" >&6; }
6479 if test "x$ac_cv_file__dev_random" = xyes
; then :
6481 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
6486 # see if there is a "sa_len" field in our interface information structure
6487 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
6489 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
6491 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
6496 # figure out pointer size
6497 # The cast to long int works around a bug in the HP C Compiler
6498 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6499 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6500 # This bug is HP SR number 8606223364.
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
6502 $as_echo_n "checking size of struct iaddr *... " >&6; }
6503 if ${ac_cv_sizeof_struct_iaddr_p+:} false
; then :
6504 $as_echo_n "(cached) " >&6
6506 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p" "
6507 #include \"includes/inet.h\"
6513 if test "$ac_cv_type_struct_iaddr_p" = yes; then
6514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6516 as_fn_error
77 "cannot compute sizeof (struct iaddr *)
6517 See \`config.log' for more details" "$LINENO" 5; }
6519 ac_cv_sizeof_struct_iaddr_p
=0
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
6525 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
6529 cat >>confdefs.h
<<_ACEOF
6530 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
6535 # Solaris does not have the msg_control or msg_controlen members
6536 # in the msghdr structure unless you define:
6538 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
6540 # See the "standards" man page for details.
6542 # We check for the msg_control member, and if it is not found, we check
6543 # again with the appropriate defines added to the CFLAGS. (In order to
6544 # do this we have to remove the check from the cache, which is what the
6546 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6547 #include <sys/types.h>
6548 #include <sys/socket.h>
6551 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6554 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
6555 CFLAGS
="$CFLAGS -D__EXTENSIONS__"
6556 unset ac_cv_member_struct_msghdr_msg_control
6557 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6558 #include <sys/types.h>
6559 #include <sys/socket.h>
6562 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6565 as_fn_error $?
"Missing msg_control member in
6566 msg_control structure." "$LINENO" 5
6573 ac_fn_c_check_member
"$LINENO" "struct tpacket_auxdata" "tp_vlan_tci" "ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" "#include <linux/if_packet.h>
6575 if test "x$ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" = xyes
; then :
6577 $as_echo "#define VLAN_TCI_PRESENT 1" >>confdefs.h
6585 # Check whether --with-libbind was given.
6586 if test "${with_libbind+set}" = set; then :
6587 withval
=$with_libbind; use_libbind
="$withval"
6592 case "$use_libbind" in
6594 libbind
="\${top_srcdir}/bind"
6597 libbind
="\${top_srcdir}/bind"
6600 libbind
="$use_libbind"
6606 # Check whether --with-ldap was given.
6607 if test "${with_ldap+set}" = set; then :
6608 withval
=$with_ldap; ldap
=$withval
6614 # OpenLDAP with SSL support.
6616 # Check whether --with-ldapcrypto was given.
6617 if test "${with_ldapcrypto+set}" = set; then :
6618 withval
=$with_ldapcrypto; ldapcrypto
=$withval
6624 # OpenLDAP support is disabled by default, if enabled then SSL support is an
6625 # extra optional that is also disabled by default. Enabling LDAP SSL support
6626 # implies enabling LDAP support.
6627 if test x
$ldap = xyes ||
test x
$ldapcrypto = xyes
; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
6629 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
6630 if ${ac_cv_search_ldap_initialize+:} false
; then :
6631 $as_echo_n "(cached) " >&6
6633 ac_func_search_save_LIBS
=$LIBS
6634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6637 /* Override any GCC internal prototype to avoid an error.
6638 Use char because int might match the return type of a GCC
6639 builtin and then its argument prototype would still apply. */
6643 char ldap_initialize ();
6647 return ldap_initialize ();
6652 for ac_lib
in '' ldap
; do
6653 if test -z "$ac_lib"; then
6654 ac_res
="none required"
6657 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6659 if ac_fn_c_try_link
"$LINENO"; then :
6660 ac_cv_search_ldap_initialize
=$ac_res
6662 rm -f core conftest.err conftest.
$ac_objext \
6664 if ${ac_cv_search_ldap_initialize+:} false
; then :
6668 if ${ac_cv_search_ldap_initialize+:} false
; then :
6671 ac_cv_search_ldap_initialize
=no
6674 LIBS
=$ac_func_search_save_LIBS
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
6677 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
6678 ac_res
=$ac_cv_search_ldap_initialize
6679 if test "$ac_res" != no
; then :
6680 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6685 as_fn_error $?
"*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
6686 See \`config.log' for more details" "$LINENO" 5; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
6690 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
6691 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6692 $as_echo_n "(cached) " >&6
6694 ac_func_search_save_LIBS
=$LIBS
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6698 /* Override any GCC internal prototype to avoid an error.
6699 Use char because int might match the return type of a GCC
6700 builtin and then its argument prototype would still apply. */
6704 char ber_pvt_opt_on ();
6708 return ber_pvt_opt_on ();
6713 for ac_lib
in '' lber
; do
6714 if test -z "$ac_lib"; then
6715 ac_res
="none required"
6718 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6720 if ac_fn_c_try_link
"$LINENO"; then :
6721 ac_cv_search_ber_pvt_opt_on
=$ac_res
6723 rm -f core conftest.err conftest.
$ac_objext \
6725 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6729 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6732 ac_cv_search_ber_pvt_opt_on
=no
6735 LIBS
=$ac_func_search_save_LIBS
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
6738 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
6739 ac_res
=$ac_cv_search_ber_pvt_opt_on
6740 if test "$ac_res" != no
; then :
6741 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6746 as_fn_error $?
"*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
6747 See \`config.log' for more details" "$LINENO" 5; }
6751 if test x
$ldapcrypto = xyes
; then
6752 LDAP_CFLAGS
="-DLDAP_CONFIGURATION -DLDAP_USE_SSL"
6755 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
6760 # Append selected warning levels to CFLAGS before substitution (but after
6761 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
6762 CFLAGS
="$CFLAGS $STD_CWARNINGS"
6764 # Try to add the bind include directory
6765 CFLAGS
="$CFLAGS -I$libbind/include"
6769 CFLAGS
="$CFLAGS -D__APPLE_USE_RFC_3542" ;;
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
6774 $as_echo_n "checking for flexible array members... " >&6; }
6775 if ${ac_cv_c_flexmember+:} false
; then :
6776 $as_echo_n "(cached) " >&6
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6783 struct s { int n; double d[]; };
6788 struct s *p = malloc (offsetof (struct s, d)
6789 + m * sizeof (double));
6791 return p->d != (double *) NULL;
6796 if ac_fn_c_try_compile
"$LINENO"; then :
6797 ac_cv_c_flexmember
=yes
6799 ac_cv_c_flexmember
=no
6801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
6804 $as_echo "$ac_cv_c_flexmember" >&6; }
6805 if test $ac_cv_c_flexmember = yes; then
6807 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
6810 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
6815 ac_config_files
="$ac_config_files Makefile client/Makefile client/tests/Makefile common/Makefile common/tests/Makefile dhcpctl/Makefile dst/Makefile includes/Makefile omapip/Makefile relay/Makefile server/Makefile tests/Makefile tests/unittest.sh server/tests/Makefile doc/devel/doxyfile"
6817 cat >confcache
<<\_ACEOF
6818 # This file is a shell script that caches the results of configure
6819 # tests run on this system so they can be shared between configure
6820 # scripts and configure runs, see configure's option --config-cache.
6821 # It is not useful on other systems. If it contains results you don't
6822 # want to keep, you may remove or edit it.
6824 # config.status only pays attention to the cache file if you give it
6825 # the --recheck option to rerun configure.
6827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6833 # The following way of writing the cache mishandles newlines in values,
6834 # but we know of no workaround that is simple, portable, and efficient.
6835 # So, we kill variables containing newlines.
6836 # Ultrix sh set writes to stderr and can't be redirected directly,
6837 # and sets the high bit in the cache file unless we assign to the vars.
6839 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6840 eval ac_val
=\$
$ac_var
6844 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6848 _ | IFS | as_nl
) ;; #(
6849 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6850 *) { eval $ac_var=; unset $ac_var;} ;;
6856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6857 *${as_nl}ac_space
=\
*)
6858 # `set' does not quote correctly, so add quotes: double-quote
6859 # substitution turns \\\\ into \\, and sed turns \\ into \.
6862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6865 # `set' quotes correctly as required by POSIX, so do not add quotes.
6866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6879 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6880 if test -w "$cache_file"; then
6881 if test "x$cache_file" != "x/dev/null"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6883 $as_echo "$as_me: updating cache $cache_file" >&6;}
6884 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6885 cat confcache
>"$cache_file"
6887 case $cache_file in #(
6889 mv -f confcache
"$cache_file"$$
&&
6890 mv -f "$cache_file"$$
"$cache_file" ;; #(
6892 mv -f confcache
"$cache_file" ;;
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6898 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6903 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6904 # Let make expand exec_prefix.
6905 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6907 DEFS
=-DHAVE_CONFIG_H
6912 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6913 # 1. Remove the extension, and $U if already installed.
6914 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6915 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6916 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6917 # will be set to the directory where LIBOBJS objects are built.
6918 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6919 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6923 LTLIBOBJS
=$ac_ltlibobjs
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6927 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6928 if test -n "$am_sleep_pid"; then
6929 # Hide warnings about reused PIDs.
6930 wait $am_sleep_pid 2>/dev
/null
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6933 $as_echo "done" >&6; }
6934 if test -n "$EXEEXT"; then
6936 am__EXEEXT_FALSE
='#'
6942 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6943 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6946 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6947 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6950 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6951 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6955 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
6956 as_fn_error $?
"conditional \"HAVE_ATF\" was never defined.
6957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6960 : "${CONFIG_STATUS=./config.status}"
6962 ac_clean_files_save
=$ac_clean_files
6963 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6965 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6967 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6969 # Generated by $as_me.
6970 # Run this file to recreate the current configuration.
6971 # Compiler output produced by configure, useful for debugging
6972 # configure, is in config.log if it exists.
6978 SHELL=\${CONFIG_SHELL-$SHELL}
6981 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6982 ## -------------------- ##
6983 ## M4sh Initialization. ##
6984 ## -------------------- ##
6986 # Be more Bourne compatible
6987 DUALCASE
=1; export DUALCASE
# for MKS sh
6988 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6992 # is contrary to our usage. Disable this feature.
6993 alias -g '${1+"$@"}'='"$@"'
6994 setopt NO_GLOB_SUBST
6996 case `(set -o) 2>/dev/null` in #(
7008 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7009 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7012 # Prefer a ksh shell builtin over an external printf program on Solaris,
7013 # but without wasting forks for bash or zsh.
7014 if test -z "$BASH_VERSION$ZSH_VERSION" \
7015 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7016 as_echo='print
-r --'
7017 as_echo_n='print
-rn --'
7018 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7019 as_echo='printf %s
\n'
7020 as_echo_n='printf %s
'
7022 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7023 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7024 as_echo_n='/usr
/ucb
/echo -n'
7026 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7027 as_echo_n_body='eval
7031 expr "X$arg" : "X\\(.*\\)$as_nl";
7032 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7034 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7036 export as_echo_n_body
7037 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7040 as_echo='sh
-c $as_echo_body as_echo
'
7043 # The user is always right.
7044 if test "${PATH_SEPARATOR+set}" != set; then
7046 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7047 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7054 # We need space, tab and new line, in precisely that order. Quoting is
7055 # there to prevent editors from complaining about space-tab.
7056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7057 # splitting by setting IFS to empty value.)
7060 # Find who we are. Look in the path if we contain no directory separator.
7063 *[\\/]* ) as_myself=$0 ;;
7064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 test -z "$as_dir" && as_dir=.
7069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7075 # We did not find ourselves, most probably we were run as `sh COMMAND'
7076 # in which case we are not to be found in the path.
7077 if test "x$as_myself" = x
; then
7080 if test ! -f "$as_myself"; then
7081 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7085 # Unset variables that we do not need and which cause bugs (e.g. in
7086 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7087 # suppresses any "Segmentation fault" message there. '((' could
7088 # trigger a bug in pdksh 5.2.14.
7089 for as_var
in BASH_ENV ENV MAIL MAILPATH
7090 do eval test x\
${$as_var+set} = xset \
7091 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7104 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7107 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7108 # ----------------------------------------
7109 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7110 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7111 # script with STATUS, using 1 if that was 0.
7114 as_status
=$1; test $as_status -eq 0 && as_status
=1
7116 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7117 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7119 $as_echo "$as_me: error: $2" >&2
7120 as_fn_exit
$as_status
7124 # as_fn_set_status STATUS
7125 # -----------------------
7126 # Set $? to STATUS, without forking.
7130 } # as_fn_set_status
7134 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7144 # Portably unset VAR.
7147 { eval $1=; unset $1;}
7149 as_unset
=as_fn_unset
7150 # as_fn_append VAR VALUE
7151 # ----------------------
7152 # Append the text in VALUE to the end of the definition contained in VAR. Take
7153 # advantage of any shell optimizations that allow amortized linear growth over
7154 # repeated appends, instead of the typical quadratic growth present in naive
7156 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7157 eval 'as_fn_append ()
7168 # as_fn_arith ARG...
7169 # ------------------
7170 # Perform arithmetic evaluation on the ARGs, and store the result in the
7171 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7172 # must be portable across $(()) and expr.
7173 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7174 eval 'as_fn_arith ()
7181 as_val
=`expr "$@" || test $? -eq 1`
7186 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7187 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7193 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7194 as_basename
=basename
7199 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7205 as_me
=`$as_basename -- "$0" ||
7206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7207 X"$0" : 'X\(//\)$' \| \
7208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7210 sed '/^.*\/\([^/][^/]*\)\/*$/{
7224 # Avoid depending upon Character Ranges.
7225 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7226 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7227 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7228 as_cr_digits
='0123456789'
7229 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7231 ECHO_C
= ECHO_N
= ECHO_T
=
7232 case `echo -n x` in #(((((
7234 case `echo 'xy\c'` in
7235 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7237 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7244 rm -f conf$$ conf$$.exe conf$$.
file
7245 if test -d conf$$.dir
; then
7246 rm -f conf$$.dir
/conf$$.
file
7249 mkdir conf$$.dir
2>/dev
/null
7251 if (echo >conf$$.
file) 2>/dev
/null
; then
7252 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7254 # ... but there are two gotchas:
7255 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7256 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7257 # In both cases, we have to default to `cp -pR'.
7258 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7260 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7268 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7269 rmdir conf$$.dir
2>/dev
/null
7274 # Create "$as_dir" as a directory, including parents if necessary.
7279 -*) as_dir
=.
/$as_dir;;
7281 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7285 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7286 *) as_qdir
=$as_dir;;
7288 as_dirs
="'$as_qdir' $as_dirs"
7289 as_dir
=`$as_dirname -- "$as_dir" ||
7290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7291 X"$as_dir" : 'X\(//\)[^/]' \| \
7292 X"$as_dir" : 'X\(//\)$' \| \
7293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7294 $as_echo X"$as_dir" |
7295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7312 test -d "$as_dir" && break
7314 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7315 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7319 if mkdir
-p .
2>/dev
/null
; then
7320 as_mkdir_p
='mkdir -p "$as_dir"'
7322 test -d .
/-p && rmdir .
/-p
7327 # as_fn_executable_p FILE
7328 # -----------------------
7329 # Test if FILE is an executable regular file.
7330 as_fn_executable_p
()
7332 test -f "$1" && test -x "$1"
7333 } # as_fn_executable_p
7335 as_executable_p
=as_fn_executable_p
7337 # Sed expression to map a string onto a valid CPP name.
7338 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7340 # Sed expression to map a string onto a valid variable name.
7341 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7345 ## ----------------------------------- ##
7346 ## Main body of $CONFIG_STATUS script. ##
7347 ## ----------------------------------- ##
7349 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7352 # Save the log message, to keep $0 and so on meaningful, and to
7353 # report actual input values of CONFIG_FILES etc. instead of their
7354 # values after options handling.
7356 This file was extended by DHCP $as_me 4.3.2rc2, which was
7357 generated by GNU Autoconf 2.69. Invocation command line was
7359 CONFIG_FILES = $CONFIG_FILES
7360 CONFIG_HEADERS = $CONFIG_HEADERS
7361 CONFIG_LINKS = $CONFIG_LINKS
7362 CONFIG_COMMANDS = $CONFIG_COMMANDS
7365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7370 case $ac_config_files in *"
7371 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7374 case $ac_config_headers in *"
7375 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7380 # Files that config.status was made for.
7381 config_files="$ac_config_files"
7382 config_headers="$ac_config_headers"
7383 config_commands="$ac_config_commands"
7387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7389 \`$as_me' instantiates files and other configuration actions
7390 from templates according to the current configuration. Unless the files
7391 and actions are specified as TAGs, all are instantiated by default.
7393 Usage: $0 [OPTION]... [TAG]...
7395 -h, --help print this help, then exit
7396 -V, --version print version number and configuration settings, then exit
7397 --config print configuration, then exit
7398 -q, --quiet, --silent
7399 do not print progress messages
7400 -d, --debug don't remove temporary files
7401 --recheck update $as_me by reconfiguring in the same conditions
7402 --file=FILE[:TEMPLATE]
7403 instantiate the configuration file FILE
7404 --header=FILE[:TEMPLATE]
7405 instantiate the configuration header FILE
7407 Configuration files:
7410 Configuration headers:
7413 Configuration commands:
7416 Report bugs to <dhcp-users@isc.org>."
7419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7420 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7422 DHCP config.status 4.3.2rc2
7423 configured by $0, generated by GNU Autoconf 2.69,
7424 with options \\"\$ac_cs_config\\"
7426 Copyright (C) 2012 Free Software Foundation, Inc.
7427 This config.status script is free software; the Free Software Foundation
7428 gives unlimited permission to copy, distribute and modify it."
7435 test -n "\$AWK" || AWK=awk
7438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7439 # The default lists apply if the user does not specify any file.
7445 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7446 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7450 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7462 # Handling of the options.
7463 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7465 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7466 $as_echo "$ac_cs_version"; exit ;;
7467 --config |
--confi |
--conf |
--con |
--co |
--c )
7468 $as_echo "$ac_cs_config"; exit ;;
7469 --debug |
--debu |
--deb |
--de |
--d |
-d )
7471 --file |
--fil |
--fi |
--f )
7474 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7475 '') as_fn_error $?
"missing file argument" ;;
7477 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7478 ac_need_defaults
=false
;;
7479 --header |
--heade |
--head |
--hea )
7482 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7484 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7485 ac_need_defaults
=false
;;
7487 # Conflict between --help and --header
7488 as_fn_error $?
"ambiguous option: \`$1'
7489 Try \`$0 --help' for more information.";;
7490 --help |
--hel |
-h )
7491 $as_echo "$ac_cs_usage"; exit ;;
7492 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7493 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7497 -*) as_fn_error $?
"unrecognized option: \`$1'
7498 Try \`$0 --help' for more information." ;;
7500 *) as_fn_append ac_config_targets
" $1"
7501 ac_need_defaults
=false
;;
7507 ac_configure_extra_args
=
7509 if $ac_cs_silent; then
7511 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7516 if \$ac_cs_recheck; then
7517 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7519 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7520 CONFIG_SHELL='$SHELL'
7526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7531 ## Running $as_me. ##
7537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7541 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7547 # Handling of arguments.
7548 for ac_config_target
in $ac_config_targets
7550 case $ac_config_target in
7551 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7552 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
7553 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7554 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
7555 "client/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES client/tests/Makefile" ;;
7556 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
7557 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
7558 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
7559 "dst/Makefile") CONFIG_FILES
="$CONFIG_FILES dst/Makefile" ;;
7560 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
7561 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
7562 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
7563 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
7564 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7565 "tests/unittest.sh") CONFIG_FILES
="$CONFIG_FILES tests/unittest.sh" ;;
7566 "server/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES server/tests/Makefile" ;;
7567 "doc/devel/doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/devel/doxyfile" ;;
7569 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7574 # If the user did not use the arguments to specify the items to instantiate,
7575 # then the envvar interface is used. Set only those that are not.
7576 # We use the long form for the default assignment because of an extremely
7577 # bizarre bug on SunOS 4.1.3.
7578 if $ac_need_defaults; then
7579 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7580 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7581 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7584 # Have a temporary directory for convenience. Make it in the build tree
7585 # simply because there is no reason against having it here, and in addition,
7586 # creating and moving files from /tmp can sometimes cause problems.
7587 # Hook for its removal unless debugging.
7588 # Note that there is a small window in which the directory will not be cleaned:
7589 # after its creation but before its name has been assigned to `$tmp'.
7593 trap 'exit_status=$?
7595 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7597 trap 'as_fn_exit 1' 1 2 13 15
7599 # Create a (secure) tmp directory for tmp files.
7602 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7606 tmp
=.
/conf$$
-$RANDOM
7607 (umask 077 && mkdir
"$tmp")
7608 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7611 # Set up the scripts for CONFIG_FILES section.
7612 # No need to generate them if there are no CONFIG_FILES.
7613 # This happens for instance with `./config.status config.h'.
7614 if test -n "$CONFIG_FILES"; then
7617 ac_cr
=`echo X | tr X '\015'`
7618 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7619 # But we know of no other shell where ac_cr would be empty at this
7620 # point, so we can use a bashism as a fallback.
7621 if test "x$ac_cr" = x
; then
7622 eval ac_cr
=\$
\'\\r
\'
7624 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7625 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7631 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7636 echo "cat >conf$$subs.awk <<_ACEOF" &&
7637 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7640 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7641 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7643 for ac_last_try in false false false false false :; do
7644 . ./conf$$subs.sh ||
7645 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7647 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7648 if test $ac_delim_n = $ac_delim_num; then
7650 elif $ac_last_try; then
7651 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7659 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7663 s/^/S["/; s
/!.
*/"]=/
7673 s/\(.\{148\}\)..*/\1/
7675 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7680 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7687 s/\(.\{148\}\)..*/\1/
7689 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7693 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7698 ' <conf$$subs.awk | sed '
7703 ' >>$CONFIG_STATUS || ac_write_fail=1
7704 rm -f conf$$subs.awk
7705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7707 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7708 for (key in S) S_is_set[key] = 1
7714 nfields = split(line, field, "@
")
7716 len = length(field[1])
7717 for (i = 2; i < nfields; i++) {
7719 keylen = length(key)
7720 if (S_is_set[key]) {
7722 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7723 len += length(value) + length(field[++i])
7734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7735 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7736 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7739 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7740 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7743 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7744 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7745 # trailing colons and then remove the whole line if VPATH becomes empty
7746 # (actually we leave an empty line to preserve line numbers).
7747 if test "x
$srcdir" = x.; then
7748 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7767 fi # test -n "$CONFIG_FILES"
7769 # Set up the scripts for CONFIG_HEADERS section.
7770 # No need to generate them if there are no CONFIG_HEADERS.
7771 # This happens for instance with `./config.status Makefile'.
7772 if test -n "$CONFIG_HEADERS"; then
7773 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7777 # Transform confdefs.h into an awk script `defines.awk', embedded as
7778 # here-document in config.status, that substitutes the proper values into
7779 # config.h.in to produce config.h.
7781 # Create a delimiter string that does not exist in confdefs.h, to ease
7782 # handling of long lines.
7784 for ac_last_try in false false :; do
7785 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7786 if test -z "$ac_tt"; then
7788 elif $ac_last_try; then
7789 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7791 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7795 # For the awk script, D is an array of macro values keyed by name,
7796 # likewise P contains macro parameters if any. Preserve backslash
7797 # newline sequences.
7799 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7801 s/.\{148\}/&'"$ac_delim"'/g
7804 s/^[ ]*#[ ]*define[ ][ ]*/ /
7811 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7813 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7817 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7818 D["\
1"]=" \
3\\\\\\n
"\\/p
7820 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7825 s/.\{148\}/&'"$ac_delim"'/g
7830 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7833 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7835 ' <confdefs.h | sed '
7836 s/'"$ac_delim"'/"\\\
7837 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7840 for (key in D) D_is_set[key] = 1
7843 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7845 split(line, arg, " ")
7846 if (arg[1] == "#") {
7850 defundef
= substr
(arg
[1], 2)
7853 split(mac1
, mac2
, "(") #)
7855 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7856 if (D_is_set
[macro
]) {
7857 # Preserve the white space surrounding the "#".
7858 print prefix
"define", macro P
[macro
] D
[macro
]
7861 # Replace #undef with comments. This is necessary, for example,
7862 # in the case of _POSIX_SOURCE, which is predefined and required
7863 # on some systems where configure will not decide to define it.
7864 if (defundef
== "undef") {
7865 print
"/*", prefix defundef
, macro
, "*/"
7873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7874 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7875 fi # test -n "$CONFIG_HEADERS"
7878 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7883 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7885 case $ac_mode$ac_tag in
7887 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7888 :[FH
]-) ac_tag
=-:-;;
7889 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7906 -) ac_f
="$ac_tmp/stdin";;
7907 *) # Look for the file first in the build tree, then in the source tree
7908 # (if the path is not absolute). The absolute path cannot be DOS-style,
7909 # because $ac_f cannot contain `:'.
7913 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7915 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7917 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7918 as_fn_append ac_file_inputs
" '$ac_f'"
7921 # Let's still pretend it is `configure' which instantiates (i.e., don't
7922 # use $as_me), people would be surprised to read:
7923 # /* config.h. Generated by config.status. */
7924 configure_input
='Generated from '`
7925 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7927 if test x
"$ac_file" != x-
; then
7928 configure_input
="$ac_file. $configure_input"
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7930 $as_echo "$as_me: creating $ac_file" >&6;}
7932 # Neutralize special characters interpreted by sed in replacement strings.
7933 case $configure_input in #(
7934 *\
&* |
*\|
* |
*\\* )
7935 ac_sed_conf_input
=`$as_echo "$configure_input" |
7936 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7937 *) ac_sed_conf_input
=$configure_input;;
7941 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7942 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7947 ac_dir
=`$as_dirname -- "$ac_file" ||
7948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7949 X"$ac_file" : 'X\(//\)[^/]' \| \
7950 X"$ac_file" : 'X\(//\)$' \| \
7951 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7952 $as_echo X"$ac_file" |
7953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7970 as_dir
="$ac_dir"; as_fn_mkdir_p
7974 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7976 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7977 # A ".." for each directory in $ac_dir_suffix.
7978 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7979 case $ac_top_builddir_sub in
7980 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7981 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7984 ac_abs_top_builddir
=$ac_pwd
7985 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7986 # for backward compatibility:
7987 ac_top_builddir
=$ac_top_build_prefix
7990 .
) # We are building in place.
7992 ac_top_srcdir
=$ac_top_builddir_sub
7993 ac_abs_top_srcdir
=$ac_pwd ;;
7994 [\\/]* | ?
:[\\/]* ) # Absolute name.
7995 ac_srcdir
=$srcdir$ac_dir_suffix;
7996 ac_top_srcdir
=$srcdir
7997 ac_abs_top_srcdir
=$srcdir ;;
7999 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8000 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8001 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8003 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8013 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8014 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8018 [\\/$
]* | ?
:[\\/]* ) ;;
8019 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8024 # Neutralize VPATH when `$srcdir' = `.'.
8025 # Shell code in configure.ac might set extrasub.
8026 # FIXME: do we really want to maintain this feature?
8027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8028 ac_sed_extra="$ac_vpsub
8031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8033 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8034 s|@configure_input@|
$ac_sed_conf_input|
;t t
8035 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8036 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8037 s
&@srcdir@
&$ac_srcdir&;t t
8038 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8039 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8040 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8041 s
&@builddir@
&$ac_builddir&;t t
8042 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8043 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8044 s
&@INSTALL@
&$ac_INSTALL&;t t
8045 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8048 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8051 rm -f "$ac_tmp/stdin
"
8053 -) cat "$ac_tmp/out
" && rm -f "$ac_tmp/out
";;
8054 *) rm -f "$ac_file" && mv "$ac_tmp/out
" "$ac_file";;
8056 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8062 if test x"$ac_file" != x-; then
8064 $as_echo "/* $configure_input */" \
8065 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs"
8066 } >"$ac_tmp/config.h
" \
8067 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8068 if diff "$ac_file" "$ac_tmp/config.h
" >/dev/null 2>&1; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged
" >&5
8070 $as_echo "$as_me: $ac_file is unchanged
" >&6;}
8073 mv "$ac_tmp/config.h
" "$ac_file" \
8074 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8077 $as_echo "/* $configure_input */" \
8078 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs" \
8079 || as_fn_error $? "could not create
-" "$LINENO" 5
8081 # Compute "$ac_file"'s index in $config_headers.
8084 for _am_header in $config_headers :; do
8086 $_am_arg | $_am_arg:* )
8089 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8092 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8093 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8094 X"$_am_arg" : 'X\(//\)[^/]' \| \
8095 X"$_am_arg" : 'X\(//\)$' \| \
8096 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8097 $as_echo X"$_am_arg" |
8098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8114 s/.*/./; q'`/stamp-h$_am_stamp_count
8117 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing
$ac_file commands
" >&5
8118 $as_echo "$as_me: executing
$ac_file commands
" >&6;}
8123 case $ac_file$ac_mode in
8124 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || {
8125 # Older Autoconf quotes --file arguments for eval, but not when files
8126 # are listed without --file. Let's play safe and only enable the eval
8127 # if we detect the quoting.
8128 case $CONFIG_FILES in
8129 *\'*) eval set x "$CONFIG_FILES" ;;
8130 *) set x $CONFIG_FILES ;;
8135 # Strip MF so we end up with the name of the file.
8136 mf=`echo "$mf" | sed -e 's/:.*$//'`
8137 # Check whether this is an Automake generated Makefile or not.
8138 # We used to match only the files named 'Makefile.in', but
8139 # some people rename them; so instead we look at the file content.
8140 # Grep'ing the first line is not enough: some people post-process
8141 # each Makefile.in and add a new line on top of each file to say so.
8142 # Grep'ing the whole file is not good either: AIX grep has a line
8143 # limit of 2048, but all sed's we know have understand at least 4000.
8144 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8145 dirpart=`$as_dirname -- "$mf" ||
8146 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8147 X"$mf" : 'X\(//\)[^/]' \| \
8148 X"$mf" : 'X\(//\)$' \| \
8149 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8171 # Extract the definition of DEPDIR, am__include, and am__quote
8172 # from the Makefile without running 'make'.
8173 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8174 test -z "$DEPDIR" && continue
8175 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8176 test -z "$am__include" && continue
8177 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8178 # Find all dependency output files, they are included files with
8179 # $(DEPDIR) in their names. We invoke sed twice because it is the
8180 # simplest approach to changing $(DEPDIR) to its actual value in the
8182 for file in `sed -n "
8183 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8184 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8185 # Make sure the directory exists.
8186 test -f "$dirpart/$file" && continue
8187 fdir=`$as_dirname -- "$file" ||
8188 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8189 X"$file" : 'X\(//\)[^/]' \| \
8190 X"$file" : 'X\(//\)$' \| \
8191 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8210 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8211 # echo "creating
$dirpart/$file"
8212 echo '# dummy' > "$dirpart/$file"
8224 ac_clean_files=$ac_clean_files_save
8226 test $ac_write_fail = 0 ||
8227 as_fn_error $? "write failure creating
$CONFIG_STATUS" "$LINENO" 5
8230 # configure is writing to config.log, and then calls config.status.
8231 # config.status does its own redirection, appending to config.log.
8232 # Unfortunately, on DOS this fails, as config.log is still kept open
8233 # by configure, so config.status won't be able to write to it; its
8234 # output is simply discarded. So we exec the FD to /dev/null,
8235 # effectively closing config.log, so it can be properly (re)opened and
8236 # appended to by config.status. When coming back to configure, we
8237 # need to make the FD available again.
8238 if test "$no_create" != yes; then
8240 ac_config_status_args=
8241 test "$silent" = yes &&
8242 ac_config_status_args="$ac_config_status_args --quiet"
8244 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8246 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8247 # would make configure fail if this is the last instruction.
8248 $ac_cs_success || as_fn_exit 1
8250 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&5
8252 $as_echo "$as_me: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&2;}
8258 cat > config.report << END
8260 ISC DHCP source configure results:
8261 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8265 Version: $PACKAGE_VERSION
8274 debug: $enable_debug
8275 failover: $enable_failover
8276 execute: $enable_execute
8279 ATF unittests : $atf_path
8282 # TODO: Add Perl system tests
8284 if test "$atf_path" != "no
"
8286 echo "ATF_CFLAGS
: $ATF_CFLAGS" >> config.report
8287 echo "ATF_LDFLAGS
: $ATF_LDFLAGS" >> config.report
8288 echo "ATF_BIN
: $ATF_BIN" >> config.report
8295 echo Now you can type "make" to build ISC DHCP