2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for DHCP 4.3.0.
5 # Report bugs to <dhcp-users@isc.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and dhcp-users@isc.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='dhcp'
583 PACKAGE_VERSION
='4.3.0'
584 PACKAGE_STRING
='DHCP 4.3.0'
585 PACKAGE_BUGREPORT
='dhcp-users@isc.org'
588 # Factoring default headers for most tests.
589 ac_includes_default
="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars
='am__EXEEXT_FALSE
665 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
721 program_transform_name
734 enable_option_checking
736 enable_maintainer_mode
737 enable_dependency_tracking
748 enable_secs_byteorder
764 ac_precious_vars
='build_alias
775 # Initialize some variables set by options.
777 ac_init_version
=false
778 ac_unrecognized_opts
=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
789 program_transform_name
=s
,x
,x
,
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir
='${exec_prefix}/bin'
804 sbindir
='${exec_prefix}/sbin'
805 libexecdir
='${exec_prefix}/libexec'
806 datarootdir
='${prefix}/share'
807 datadir
='${datarootdir}'
808 sysconfdir
='${prefix}/etc'
809 sharedstatedir
='${prefix}/com'
810 localstatedir
='${prefix}/var'
811 includedir
='${prefix}/include'
812 oldincludedir
='/usr/include'
813 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
814 infodir
='${datarootdir}/info'
819 libdir
='${exec_prefix}/lib'
820 localedir
='${datarootdir}/locale'
821 mandir
='${datarootdir}/man'
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\
$ac_option
835 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840 # Accept the important Cygnus configure options, so we can diagnose typos.
842 case $ac_dashdash$ac_option in
846 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
848 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
851 -build |
--build |
--buil |
--bui |
--bu)
852 ac_prev
=build_alias
;;
853 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
854 build_alias
=$ac_optarg ;;
856 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
857 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
858 ac_prev
=cache_file
;;
859 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
860 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
861 cache_file
=$ac_optarg ;;
864 cache_file
=config.cache
;;
866 -datadir |
--datadir |
--datadi |
--datad)
868 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
869 datadir
=$ac_optarg ;;
871 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
872 |
--dataroo |
--dataro |
--datar)
873 ac_prev
=datarootdir
;;
874 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
875 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
876 datarootdir
=$ac_optarg ;;
878 -disable-* |
--disable-*)
879 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
882 as_fn_error $?
"invalid feature name: $ac_useropt"
883 ac_useropt_orig
=$ac_useropt
884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=no
;;
894 -docdir |
--docdir |
--docdi |
--doc |
--do)
896 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
899 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
901 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
904 -enable-* |
--enable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 as_fn_error $?
"invalid feature name: $ac_useropt"
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 as_fn_error $?
"invalid package name: $ac_useropt"
1113 ac_useropt_orig
=$ac_useropt
1114 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120 ac_unrecognized_sep
=', ';;
1122 eval with_
$ac_useropt=\
$ac_optarg ;;
1124 -without-* |
--without-*)
1125 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1128 as_fn_error $?
"invalid package name: $ac_useropt"
1129 ac_useropt_orig
=$ac_useropt
1130 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136 ac_unrecognized_sep
=', ';;
1138 eval with_
$ac_useropt=no
;;
1141 # Obsolete; use --with-x.
1144 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1145 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1146 ac_prev
=x_includes
;;
1147 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1148 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1149 x_includes
=$ac_optarg ;;
1151 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1152 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1153 ac_prev
=x_libraries
;;
1154 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1155 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1156 x_libraries
=$ac_optarg ;;
1158 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1159 Try \`$0 --help' for more information"
1163 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1164 # Reject names that are not valid shell variable names.
1165 case $ac_envvar in #(
1166 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1167 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1169 eval $ac_envvar=\
$ac_optarg
1170 export $ac_envvar ;;
1173 # FIXME: should be removed in autoconf 3.0.
1174 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1175 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1176 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1177 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1183 if test -n "$ac_prev"; then
1184 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1185 as_fn_error $?
"missing argument to $ac_option"
1188 if test -n "$ac_unrecognized_opts"; then
1189 case $enable_option_checking in
1191 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1192 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196 # Check all directory arguments for consistency.
1197 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198 datadir sysconfdir sharedstatedir localstatedir includedir \
1199 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200 libdir localedir mandir
1202 eval ac_val
=\$
$ac_var
1203 # Remove trailing slashes.
1206 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207 eval $ac_var=\
$ac_val;;
1209 # Be sure to have absolute directory names.
1211 [\\/$
]* | ?
:[\\/]* ) continue;;
1212 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1214 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1217 # There might be people who depend on the old broken behavior: `$host'
1218 # used to hold the argument of --host etc.
1219 # FIXME: To remove some day.
1222 target
=$target_alias
1224 # FIXME: To remove some day.
1225 if test "x$host_alias" != x
; then
1226 if test "x$build_alias" = x
; then
1227 cross_compiling
=maybe
1228 elif test "x$build_alias" != "x$host_alias"; then
1234 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1236 test "$silent" = yes && exec 6>/dev
/null
1239 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1240 ac_ls_di
=`ls -di .` &&
1241 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1242 as_fn_error $?
"working directory cannot be determined"
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244 as_fn_error $?
"pwd does not report name of working directory"
1247 # Find the source files, if location was not specified.
1248 if test -z "$srcdir"; then
1249 ac_srcdir_defaulted
=yes
1250 # Try the directory containing this script, then the parent directory.
1251 ac_confdir
=`$as_dirname -- "$as_myself" ||
1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253 X"$as_myself" : 'X\(//\)[^/]' \| \
1254 X"$as_myself" : 'X\(//\)$' \| \
1255 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256 $as_echo X"$as_myself" |
1257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1279 ac_srcdir_defaulted
=no
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1283 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1285 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1287 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1289 # When building in place, set srcdir=.
1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293 # Remove unnecessary trailing slashes from srcdir.
1294 # Double slashes in file names in object file debugging info
1295 # mess up M-x gdb in Emacs.
1297 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1299 for ac_var
in $ac_precious_vars; do
1300 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1301 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1302 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1307 # Report the --help message.
1309 if test "$ac_init_help" = "long"; then
1310 # Omit some internal or obsolete options to make the list less imposing.
1311 # This message is too long to be a string in the A/UX 3.1 sh.
1313 \`configure' configures DHCP 4.3.0 to adapt to many kinds of systems.
1315 Usage: $0 [OPTION]... [VAR=VALUE]...
1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1318 VAR=VALUE. See below for descriptions of some of the useful variables.
1320 Defaults for the options are specified in brackets.
1323 -h, --help display this help and exit
1324 --help=short display options specific to this package
1325 --help=recursive display the short help of all the included packages
1326 -V, --version display version information and exit
1327 -q, --quiet, --silent do not print \`checking ...' messages
1328 --cache-file=FILE cache test results in FILE [disabled]
1329 -C, --config-cache alias for \`--cache-file=config.cache'
1330 -n, --no-create do not create output files
1331 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1333 Installation directories:
1334 --prefix=PREFIX install architecture-independent files in PREFIX
1335 [$ac_default_prefix]
1336 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1339 By default, \`make install' will install all the files in
1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1342 for instance \`--prefix=\$HOME'.
1344 For better control, use the options below.
1346 Fine tuning of the installation directories:
1347 --bindir=DIR user executables [EPREFIX/bin]
1348 --sbindir=DIR system admin executables [EPREFIX/sbin]
1349 --libexecdir=DIR program executables [EPREFIX/libexec]
1350 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1351 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1352 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1353 --libdir=DIR object code libraries [EPREFIX/lib]
1354 --includedir=DIR C header files [PREFIX/include]
1355 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1356 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1357 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1358 --infodir=DIR info documentation [DATAROOTDIR/info]
1359 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1360 --mandir=DIR man documentation [DATAROOTDIR/man]
1361 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
1362 --htmldir=DIR html documentation [DOCDIR]
1363 --dvidir=DIR dvi documentation [DOCDIR]
1364 --pdfdir=DIR pdf documentation [DOCDIR]
1365 --psdir=DIR ps documentation [DOCDIR]
1371 --program-prefix=PREFIX prepend PREFIX to installed program names
1372 --program-suffix=SUFFIX append SUFFIX to installed program names
1373 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1376 --build=BUILD configure
for building on BUILD
[guessed
]
1377 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1381 if test -n "$ac_init_help"; then
1382 case $ac_init_help in
1383 short | recursive
) echo "Configuration of DHCP 4.3.0:";;
1388 --disable-option-checking ignore unrecognized
--enable/--with options
1389 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1390 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1391 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1392 --disable-silent-rules verbose build output
(undo
: "make V=0")
1393 --enable-maintainer-mode
1394 enable make rules and dependencies not useful
(and
1395 sometimes confusing
) to the casual installer
1396 --enable-dependency-tracking
1397 do not reject slow dependency extractors
1398 --disable-dependency-tracking
1399 speeds up one-time build
1400 --enable-debug create a debug-only version of the software
(default
1402 --enable-failover enable support
for failover
(default is
yes)
1403 --enable-execute enable support
for execute
() in config
(default is
1405 --enable-tracing enable support
for server activity tracing
(default
1407 --enable-delayed-ack queues multiple DHCPACK replies
(default is no
)
1408 --enable-dhcpv6 enable support
for DHCPv6
(default is
yes)
1409 --enable-paranoia enable support
for chroot
/setuid
(default is no
)
1410 --enable-early-chroot enable chrooting prior to configuration
(default is
1412 --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets
(default is
1414 --enable-use-sockets use the standard BSD socket API
(default is no
)
1415 --enable-secs-byteorder Correct bad byteorders
in the secs field
(default is
1419 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1420 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1421 --with-atf=PATH specify location where atf was installed
1422 --with-srv-lease-file=PATH
1423 File
for dhcpd leases
(default is
1424 LOCALSTATEDIR
/db
/dhcpd.leases
)
1425 --with-srv6-lease-file=PATH
1426 File
for dhcpd6 leases
(default is
1427 LOCALSTATEDIR
/db
/dhcpd6.leases
)
1428 --with-cli-lease-file=PATH
1429 File
for dhclient leases
(default is
1430 LOCALSTATEDIR
/db
/dhclient.leases
)
1431 --with-cli6-lease-file=PATH
1432 File
for dhclient6 leases
(default is
1433 LOCALSTATEDIR
/db
/dhclient6.leases
)
1434 --with-srv-pid-file=PATH
1435 File
for dhcpd process information
(default is
1436 LOCALSTATEDIR
/run
/dhcpd.pid
)
1437 --with-srv6-pid-file=PATH
1438 File
for dhcpd6 process information
(default is
1439 LOCALSTATEDIR
/run
/dhcpd6.pid
)
1440 --with-cli-pid-file=PATH
1441 File
for dhclient process information
(default is
1442 LOCALSTATEDIR
/run
/dhclient.pid
)
1443 --with-cli6-pid-file=PATH
1444 File
for dhclient6 process information
(default is
1445 LOCALSTATEDIR
/run
/dhclient6.pid
)
1446 --with-relay-pid-file=PATH
1447 File
for dhcrelay process information
(default is
1448 LOCALSTATEDIR
/run
/dhcrelay.pid
)
1449 --with-relay6-pid-file=PATH
1450 File
for dhcrelay6 process information
(default is
1451 LOCALSTATEDIR
/run
/dhcrelay6.pid
)
1452 --with-libbind=PATH
bind includes and libraries are
in PATH
(default is
1454 --with-ldap enable OpenLDAP support
in dhcpd
(default is no
)
1455 --with-ldapcrypto enable OpenLDAP crypto support
in dhcpd
(default is
1458 Some influential environment variables
:
1459 CC C compiler
command
1460 CFLAGS C compiler flags
1461 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1462 nonstandard directory
<lib dir
>
1463 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1464 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1465 you have headers
in a nonstandard directory
<include dir
>
1468 Use these variables to override the choices made by
`configure' or to help
1469 it to find libraries and programs with nonstandard names/locations.
1471 Report bugs to <dhcp-users@isc.org>.
1476 if test "$ac_init_help" = "recursive"; then
1477 # If there are subdirs, report their specific --help.
1478 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1479 test -d "$ac_dir" ||
1480 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1488 # A ".." for each directory in $ac_dir_suffix.
1489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1490 case $ac_top_builddir_sub in
1491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1495 ac_abs_top_builddir=$ac_pwd
1496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1497 # for backward compatibility:
1498 ac_top_builddir=$ac_top_build_prefix
1501 .) # We are building in place.
1503 ac_top_srcdir=$ac_top_builddir_sub
1504 ac_abs_top_srcdir=$ac_pwd ;;
1505 [\\/]* | ?:[\\/]* ) # Absolute name.
1506 ac_srcdir=$srcdir$ac_dir_suffix;
1507 ac_top_srcdir=$srcdir
1508 ac_abs_top_srcdir=$srcdir ;;
1510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1511 ac_top_srcdir=$ac_top_build_prefix$srcdir
1512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1516 cd "$ac_dir" || { ac_status=$?; continue; }
1517 # Check for guested configure.
1518 if test -f "$ac_srcdir/configure.gnu"; then
1520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1521 elif test -f "$ac_srcdir/configure"; then
1523 $SHELL "$ac_srcdir/configure" --help=recursive
1525 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527 cd "$ac_pwd" || { ac_status=$?; break; }
1531 test -n "$ac_init_help" && exit $ac_status
1532 if $ac_init_version; then
1534 DHCP configure 4.3.0
1535 generated by GNU Autoconf 2.69
1537 Copyright (C) 2012 Free Software Foundation, Inc.
1538 This configure script is free software; the Free Software Foundation
1539 gives unlimited permission to copy, distribute and modify it.
1544 ## ------------------------ ##
1545 ## Autoconf initialization. ##
1546 ## ------------------------ ##
1548 # ac_fn_c_try_compile LINENO
1549 # --------------------------
1550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_c_try_compile ()
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 rm -f conftest.$ac_objext
1555 if { { ac_try="$ac_compile"
1557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1558 *) ac_try_echo
=$ac_try;;
1560 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_compile") 2>conftest.err
1564 if test -s conftest.err
; then
1565 grep -v '^ *+' conftest.err
>conftest.er1
1566 cat conftest.er1
>&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest.
$ac_objext; then :
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.
$ac_ext >&5
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status
$ac_retval
1584 } # ac_fn_c_try_compile
1586 # ac_fn_c_try_cpp LINENO
1587 # ----------------------
1588 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1592 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } > conftest.i && {
1608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1609 test ! -s conftest.err
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_status $ac_retval
1623 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1624 # -------------------------------------------------------
1625 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1626 # the include files in INCLUDES and setting the cache variable VAR
1628 ac_fn_c_check_header_mongrel ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if eval \${$3+:} false; then :
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1633 $as_echo_n "checking for $2... " >&6; }
1634 if eval \${$3+:} false; then :
1635 $as_echo_n "(cached) " >&6
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 # Is the header compilable?
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1643 $as_echo_n "checking $2 usability... " >&6; }
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1649 if ac_fn_c_try_compile "$LINENO"; then :
1650 ac_header_compiler=yes
1652 ac_header_compiler=no
1654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1656 $as_echo "$ac_header_compiler" >&6; }
1658 # Is the header present?
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1660 $as_echo_n "checking $2 presence... " >&6; }
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h. */
1665 if ac_fn_c_try_cpp "$LINENO"; then :
1666 ac_header_preproc=yes
1668 ac_header_preproc=no
1670 rm -f conftest.err conftest.i conftest.$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1672 $as_echo "$ac_header_preproc" >&6; }
1674 # So? What about this header?
1675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1678 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1684 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1686 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1688 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1690 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1692 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1693 ( $as_echo "## --------------------------------- ##
1694 ## Report this to dhcp-users@isc.org ##
1695 ## --------------------------------- ##"
1696 ) | sed "s/^/$as_me: WARNING: /" >&2
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if eval \${$3+:} false; then :
1702 $as_echo_n "(cached) " >&6
1704 eval "$3=\$ac_header_compiler"
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 $as_echo "$ac_res" >&6; }
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 } # ac_fn_c_check_header_mongrel
1714 # ac_fn_c_try_run LINENO
1715 # ----------------------
1716 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1717 # that executables *can* be run.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 if { { ac_try="$ac_link"
1723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1724 *) ac_try_echo
=$ac_try;;
1726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_link") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1732 { { case "(($ac_try" in
1733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_try") 2>&5
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; }; }; then :
1744 $as_echo "$as_me: program exited with status $ac_status" >&5
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1748 ac_retval=$ac_status
1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status $ac_retval
1756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists and can be compiled using the include files in
1759 # INCLUDES, setting the cache variable VAR accordingly.
1760 ac_fn_c_check_header_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1773 if ac_fn_c_try_compile "$LINENO"; then :
1778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 } # ac_fn_c_check_header_compile
1787 # ac_fn_c_find_intX_t LINENO BITS VAR
1788 # -----------------------------------
1789 # Finds a signed integer type with width BITS, setting cache variable VAR
1791 ac_fn_c_find_intX_t ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1795 $as_echo_n "checking for int$2_t... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1800 # Order is important - never check a type that is potentially smaller
1801 # than half of the expected target width.
1802 for ac_type in int$2_t 'int' 'long int' \
1803 'long long int' 'short int' 'signed char'; do
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1806 $ac_includes_default
1807 enum { N = $2 / 2 - 1 };
1811 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1813 return test_array [0];
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1822 $ac_includes_default
1823 enum { N = $2 / 2 - 1 };
1827 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1828 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1830 return test_array [0];
1836 if ac_fn_c_try_compile "$LINENO"; then :
1843 eval "$3=\$ac_type" ;;
1846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1849 if eval test \"x\$"$3"\" = x"no"; then :
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 } # ac_fn_c_find_intX_t
1863 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1864 # -------------------------------------------
1865 # Tests whether TYPE exists after having included INCLUDES, setting cache
1866 # variable VAR accordingly.
1867 ac_fn_c_check_type ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 } # ac_fn_c_check_type
1917 # ac_fn_c_find_uintX_t LINENO BITS VAR
1918 # ------------------------------------
1919 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1921 ac_fn_c_find_uintX_t ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1925 $as_echo_n "checking for uint$2_t... " >&6; }
1926 if eval \${$3+:} false; then :
1927 $as_echo_n "(cached) " >&6
1930 # Order is important - never check a type that is potentially smaller
1931 # than half of the expected target width.
1932 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1933 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1936 $ac_includes_default
1940 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1942 return test_array [0];
1948 if ac_fn_c_try_compile "$LINENO"; then :
1953 eval "$3=\$ac_type" ;;
1956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957 if eval test \"x\$"$3"\" = x"no"; then :
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_find_uintX_t
1971 # ac_fn_c_try_link LINENO
1972 # -----------------------
1973 # Try to link conftest.$ac_ext, and return whether this succeeded.
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 rm -f conftest.$ac_objext conftest$ac_exeext
1978 if { { ac_try="$ac_link"
1980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1981 *) ac_try_echo
=$ac_try;;
1983 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1984 $as_echo "$ac_try_echo"; } >&5
1985 (eval "$ac_link") 2>conftest.err
1987 if test -s conftest.err
; then
1988 grep -v '^ *+' conftest.err
>conftest.er1
1989 cat conftest.er1
>&5
1990 mv -f conftest.er1 conftest.err
1992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993 test $ac_status = 0; } && {
1994 test -z "$ac_c_werror_flag" ||
1995 test ! -s conftest.err
1996 } && test -s conftest
$ac_exeext && {
1997 test "$cross_compiling" = yes ||
1998 test -x conftest
$ac_exeext
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.
$ac_ext >&5
2007 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2008 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2009 # interfere with the next link command; also delete a directory that is
2010 # left behind by Apple's compiler. We do this before executing the actions.
2011 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status
$ac_retval
2015 } # ac_fn_c_try_link
2017 # ac_fn_c_check_func LINENO FUNC VAR
2018 # ----------------------------------
2019 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2020 ac_fn_c_check_func
()
2022 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \
${$3+:} false
; then :
2026 $as_echo_n "(cached) " >&6
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2030 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2032 #define $2 innocuous_$2
2034 /* System header to define __stub macros and hopefully few prototypes,
2035 which can conflict with char $2 (); below.
2036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2037 <limits.h> exists even on freestanding compilers. */
2040 # include <limits.h>
2042 # include <assert.h>
2047 /* Override any GCC internal prototype to avoid an error.
2048 Use char because int might match the return type of a GCC
2049 builtin and then its argument prototype would still apply. */
2054 /* The GNU C library defines this for functions which it implements
2055 to always fail with ENOSYS. Some functions are actually named
2056 something starting with __ and the normal name is an alias. */
2057 #if defined __stub_$2 || defined __stub___$2
2069 if ac_fn_c_try_link
"$LINENO"; then :
2074 rm -f core conftest.err conftest.
$ac_objext \
2075 conftest
$ac_exeext conftest.
$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 } # ac_fn_c_check_func
2084 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2085 # ----------------------------------------------------
2086 # Tries to find if the field MEMBER exists in type AGGR, after including
2087 # INCLUDES, setting cache variable VAR accordingly.
2088 ac_fn_c_check_member
()
2090 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2092 $as_echo_n "checking for $2.$3... " >&6; }
2093 if eval \
${$4+:} false
; then :
2094 $as_echo_n "(cached) " >&6
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2109 if ac_fn_c_try_compile
"$LINENO"; then :
2112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2119 if (sizeof ac_aggr.$3)
2125 if ac_fn_c_try_compile
"$LINENO"; then :
2130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2136 $as_echo "$ac_res" >&6; }
2137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2139 } # ac_fn_c_check_member
2141 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2142 # --------------------------------------------
2143 # Tries to find the compile-time value of EXPR in a program that includes
2144 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2146 ac_fn_c_compute_int
()
2148 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2149 if test "$cross_compiling" = yes; then
2150 # Depending upon the size, compute the lo and hi bounds.
2151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2157 static int test_array [1 - 2 * !(($2) >= 0)];
2159 return test_array [0];
2165 if ac_fn_c_try_compile
"$LINENO"; then :
2168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2174 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2176 return test_array [0];
2182 if ac_fn_c_try_compile
"$LINENO"; then :
2183 ac_hi
=$ac_mid; break
2185 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2186 if test $ac_lo -le $ac_mid; then
2190 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2201 static int test_array [1 - 2 * !(($2) < 0)];
2203 return test_array [0];
2209 if ac_fn_c_try_compile
"$LINENO"; then :
2212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h. */
2218 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2220 return test_array [0];
2226 if ac_fn_c_try_compile
"$LINENO"; then :
2227 ac_lo
=$ac_mid; break
2229 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2230 if test $ac_mid -le $ac_hi; then
2234 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2244 # Binary search between lo and hi bounds.
2245 while test "x$ac_lo" != "x$ac_hi"; do
2246 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2253 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2255 return test_array [0];
2261 if ac_fn_c_try_compile
"$LINENO"; then :
2264 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2269 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2276 static long int longval () { return $2; }
2277 static unsigned long int ulongval () { return $2; }
2284 FILE *f = fopen ("conftest.val", "w");
2289 long int i = longval ();
2292 fprintf (f, "%ld", i);
2296 unsigned long int i = ulongval ();
2299 fprintf (f, "%lu", i);
2301 /* Do not output a trailing newline, as this causes \r\n confusion
2302 on some platforms. */
2303 return ferror (f) || fclose (f) != 0;
2309 if ac_fn_c_try_run
"$LINENO"; then :
2310 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2314 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2315 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 as_fn_set_status
$ac_retval
2322 } # ac_fn_c_compute_int
2323 cat >config.log
<<_ACEOF
2324 This file contains any messages produced by compilers while
2325 running configure, to aid debugging if configure makes a mistake.
2327 It was created by DHCP $as_me 4.3.0, which was
2328 generated by GNU Autoconf 2.69. Invocation command line was
2340 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2341 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2342 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2343 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2344 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2346 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2347 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2349 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2350 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2351 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2352 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2353 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2354 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2355 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 $as_echo "PATH: $as_dir"
2380 # Keep a trace of the command line.
2381 # Strip out --no-create and --no-recursion so they do not pile up.
2382 # Strip out --silent because we don't want to record it for future runs.
2383 # Also quote any args containing shell meta-characters.
2384 # Make two passes to allow for proper duplicate-argument suppression.
2388 ac_must_keep_next
=false
2394 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2395 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2396 |
-silent |
--silent |
--silen |
--sile |
--sil)
2399 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2402 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2404 as_fn_append ac_configure_args1
" '$ac_arg'"
2405 if test $ac_must_keep_next = true
; then
2406 ac_must_keep_next
=false
# Got value, back to normal.
2409 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2410 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2411 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2412 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2413 case "$ac_configure_args0 " in
2414 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2417 -* ) ac_must_keep_next
=true
;;
2420 as_fn_append ac_configure_args
" '$ac_arg'"
2425 { ac_configure_args0
=; unset ac_configure_args0
;}
2426 { ac_configure_args1
=; unset ac_configure_args1
;}
2428 # When interrupted or exit'd, cleanup temporary files, and complete
2429 # config.log. We remove comments because anyway the quotes in there
2430 # would cause problems or look ugly.
2431 # WARNING: Use '\'' to represent an apostrophe within the trap.
2432 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2433 trap 'exit_status=$?
2434 # Save into config.log some information that might help in debugging.
2438 $as_echo "## ---------------- ##
2439 ## Cache variables. ##
2440 ## ---------------- ##"
2442 # The following way of writing the cache mishandles newlines in values,
2444 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2445 eval ac_val=\$$ac_var
2449 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2453 _ | IFS | as_nl) ;; #(
2454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2455 *) { eval $ac_var=; unset $ac_var;} ;;
2460 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2461 *${as_nl}ac_space=\ *)
2463 "s/'\''/'\''\\\\'\'''\''/g;
2464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2474 $as_echo "## ----------------- ##
2475 ## Output variables. ##
2476 ## ----------------- ##"
2478 for ac_var in $ac_subst_vars
2480 eval ac_val=\$$ac_var
2482 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484 $as_echo "$ac_var='\''$ac_val'\''"
2488 if test -n "$ac_subst_files"; then
2489 $as_echo "## ------------------- ##
2490 ## File substitutions. ##
2491 ## ------------------- ##"
2493 for ac_var
in $ac_subst_files
2495 eval ac_val
=\$
$ac_var
2497 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2499 $as_echo "$ac_var='\''$ac_val'\''"
2504 if test -s confdefs.h; then
2505 $as_echo "## ----------- ##
2512 test "$ac_signal" != 0 &&
2513 $as_echo "$as_me: caught signal $ac_signal"
2514 $as_echo "$as_me: exit $exit_status"
2516 rm -f core *.core core.conftest.* &&
2517 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2520 for ac_signal
in 1 2 13 15; do
2521 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2525 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2526 rm -f -r conftest
* confdefs.h
2528 $as_echo "/* confdefs.h */" > confdefs.h
2530 # Predefined preprocessor variables.
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_NAME "$PACKAGE_NAME"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_STRING "$PACKAGE_STRING"
2548 cat >>confdefs.h
<<_ACEOF
2549 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2552 cat >>confdefs.h
<<_ACEOF
2553 #define PACKAGE_URL "$PACKAGE_URL"
2557 # Let the site file select an alternate cache file if it wants to.
2558 # Prefer an explicitly selected file to automatically selected ones.
2561 if test -n "$CONFIG_SITE"; then
2562 # We do not want a PATH search for config.site.
2563 case $CONFIG_SITE in #((
2564 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2565 */*) ac_site_file1
=$CONFIG_SITE;;
2566 *) ac_site_file1
=.
/$CONFIG_SITE;;
2568 elif test "x$prefix" != xNONE
; then
2569 ac_site_file1
=$prefix/share
/config.site
2570 ac_site_file2
=$prefix/etc
/config.site
2572 ac_site_file1
=$ac_default_prefix/share
/config.site
2573 ac_site_file2
=$ac_default_prefix/etc
/config.site
2575 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2577 test "x$ac_site_file" = xNONE
&& continue
2578 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2580 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2581 sed 's/^/| /' "$ac_site_file" >&5
2583 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 as_fn_error $?
"failed to load site script $ac_site_file
2586 See \`config.log' for more details" "$LINENO" 5; }
2590 if test -r "$cache_file"; then
2591 # Some versions of bash will fail to source /dev/null (special files
2592 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2593 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2595 $as_echo "$as_me: loading cache $cache_file" >&6;}
2597 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2598 *) .
"./$cache_file";;
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2603 $as_echo "$as_me: creating cache $cache_file" >&6;}
2607 # Check that the precious variables saved in the cache have kept the same
2609 ac_cache_corrupted
=false
2610 for ac_var
in $ac_precious_vars; do
2611 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2612 eval ac_new_set
=\
$ac_env_${ac_var}_set
2613 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2614 eval ac_new_val
=\
$ac_env_${ac_var}_value
2615 case $ac_old_set,$ac_new_set in
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2618 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2619 ac_cache_corrupted
=: ;;
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2622 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2623 ac_cache_corrupted
=: ;;
2626 if test "x$ac_old_val" != "x$ac_new_val"; then
2627 # differences in whitespace do not lead to failure.
2628 ac_old_val_w
=`echo x $ac_old_val`
2629 ac_new_val_w
=`echo x $ac_new_val`
2630 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2632 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2633 ac_cache_corrupted
=:
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2636 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2637 eval $ac_var=\
$ac_old_val
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2640 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2642 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2645 # Pass precious variables to config.status.
2646 if test "$ac_new_set" = set; then
2648 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2649 *) ac_arg
=$ac_var=$ac_new_val ;;
2651 case " $ac_configure_args " in
2652 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2653 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2657 if $ac_cache_corrupted; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2661 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2662 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2664 ## -------------------- ##
2665 ## Main body of script. ##
2666 ## -------------------- ##
2669 ac_cpp
='$CPP $CPPFLAGS'
2670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2676 # we specify "foreign" to avoid having to have the GNU mandated files,
2677 # like AUTHORS, COPYING, and such
2678 am__api_version
='1.14'
2681 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2682 if test -f "$ac_dir/install-sh"; then
2684 ac_install_sh
="$ac_aux_dir/install-sh -c"
2686 elif test -f "$ac_dir/install.sh"; then
2688 ac_install_sh
="$ac_aux_dir/install.sh -c"
2690 elif test -f "$ac_dir/shtool"; then
2692 ac_install_sh
="$ac_aux_dir/shtool install -c"
2696 if test -z "$ac_aux_dir"; then
2697 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2700 # These three variables are undocumented and unsupported,
2701 # and are intended to be withdrawn in a future Autoconf release.
2702 # They can cause serious problems if a builder's source tree is in a directory
2703 # whose full name contains unusual characters.
2704 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2705 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2706 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2709 # Find a good install program. We prefer a C program (faster),
2710 # so one script is as good as another. But avoid the broken or
2711 # incompatible versions:
2712 # SysV /etc/install, /usr/sbin/install
2713 # SunOS /usr/etc/install
2714 # IRIX /sbin/install
2716 # AmigaOS /C/install, which installs bootblocks on floppy discs
2717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2720 # OS/2's system install, which has a completely different semantic
2721 # ./install, which can be erroneously created by make from ./install.sh.
2722 # Reject install programs that cannot install multiple files.
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2724 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2725 if test -z "$INSTALL"; then
2726 if ${ac_cv_path_install+:} false
; then :
2727 $as_echo_n "(cached) " >&6
2729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir
=.
2734 # Account for people who put trailing slashes in PATH elements.
2735 case $as_dir/ in #((
2736 .
/ | .
// |
/[cC
]/* | \
2737 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2738 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2741 # OSF1 and SCO ODT 3.0 have their own names for install.
2742 # Don't use installbsd from OSF since it installs stuff as root
2744 for ac_prog
in ginstall scoinst
install; do
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2747 if test $ac_prog = install &&
2748 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2749 # AIX install. It has an incompatible calling convention.
2751 elif test $ac_prog = install &&
2752 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2753 # program-specific install script used by HP pwplus--don't use.
2756 rm -rf conftest.one conftest.two conftest.dir
2757 echo one
> conftest.one
2758 echo two
> conftest.two
2760 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2761 test -s conftest.one
&& test -s conftest.two
&&
2762 test -s conftest.dir
/conftest.one
&&
2763 test -s conftest.dir
/conftest.two
2765 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2778 rm -rf conftest.one conftest.two conftest.dir
2781 if test "${ac_cv_path_install+set}" = set; then
2782 INSTALL
=$ac_cv_path_install
2784 # As a last resort, use the slow shell script. Don't cache a
2785 # value for INSTALL within a source directory, because that will
2786 # break other packages using the cache if that directory is
2787 # removed, or if the value is a relative name.
2788 INSTALL
=$ac_install_sh
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2792 $as_echo "$INSTALL" >&6; }
2794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2795 # It thinks the first close brace ends the variable substitution.
2796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2800 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2803 $as_echo_n "checking whether build environment is sane... " >&6; }
2804 # Reject unsafe characters in $srcdir or the absolute working directory
2805 # name. Accept space and tab only in the latter.
2809 *[\\\"\
#\$\&\'\`$am_lf]*)
2810 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2813 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2814 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2817 # Do 'set' in a subshell so we don't clobber the current shell's
2818 # arguments. Must try -L first in case configure is actually a
2819 # symlink; some systems play weird games with the mod time of symlinks
2820 # (eg FreeBSD returns the mod time of the symlink's containing
2824 for am_try
in 1 2; do
2825 echo "timestamp, slept: $am_has_slept" > conftest.
file
2826 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2827 if test "$*" = "X"; then
2829 set X
`ls -t "$srcdir/configure" conftest.file`
2831 if test "$*" != "X $srcdir/configure conftest.file" \
2832 && test "$*" != "X conftest.file $srcdir/configure"; then
2834 # If neither matched, then we have a broken ls. This can happen
2835 # if, for instance, CONFIG_SHELL is bash and it inherits a
2836 # broken ls alias from the environment. This has actually
2837 # happened. Such a system could not be considered "sane".
2838 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2839 alias in your environment" "$LINENO" 5
2841 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2848 test "$2" = conftest.
file
2854 as_fn_error $?
"newly created file is older than distributed files!
2855 Check your system clock" "$LINENO" 5
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2858 $as_echo "yes" >&6; }
2859 # If we didn't sleep, we still need to ensure time stamps of config.status and
2860 # generated files are strictly newer.
2862 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2869 test "$program_prefix" != NONE
&&
2870 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2871 # Use a double $ so make ignores it.
2872 test "$program_suffix" != NONE
&&
2873 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2874 # Double any \ or $.
2875 # By default was `s,x,x', remove it if useless.
2876 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2877 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2879 # expand $ac_aux_dir to an absolute path
2880 am_aux_dir
=`cd $ac_aux_dir && pwd`
2882 if test x
"${MISSING+set}" != xset
; then
2885 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2887 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2890 # Use eval to expand $SHELL
2891 if eval "$MISSING --is-lightweight"; then
2892 am_missing_run
="$MISSING "
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2896 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2899 if test x
"${install_sh}" != xset
; then
2902 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2904 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2908 # Installed binaries are usually stripped using 'strip' when the user
2909 # run "make install-strip". However 'strip' might not be the right
2910 # tool to use in cross-compilation environments, therefore Automake
2911 # will honor the 'STRIP' environment variable to overrule this program.
2912 if test "$cross_compiling" != no
; then
2913 if test -n "$ac_tool_prefix"; then
2914 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2915 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_STRIP+:} false
; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$STRIP"; then
2922 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 STRIP
=$ac_cv_prog_STRIP
2942 if test -n "$STRIP"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2944 $as_echo "$STRIP" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2952 if test -z "$ac_cv_prog_STRIP"; then
2954 # Extract the first word of "strip", so it can be a program name with args.
2955 set dummy strip
; ac_word
=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$ac_ct_STRIP"; then
2962 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_ac_ct_STRIP
="strip"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2982 if test -n "$ac_ct_STRIP"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2984 $as_echo "$ac_ct_STRIP" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2990 if test "x$ac_ct_STRIP" = x
; then
2993 case $cross_compiling:$ac_tool_warned in
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2997 ac_tool_warned
=yes ;;
3002 STRIP
="$ac_cv_prog_STRIP"
3006 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3009 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3010 if test -z "$MKDIR_P"; then
3011 if ${ac_cv_path_mkdir+:} false
; then :
3012 $as_echo_n "(cached) " >&6
3014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3018 test -z "$as_dir" && as_dir
=.
3019 for ac_prog
in mkdir gmkdir
; do
3020 for ac_exec_ext
in '' $ac_executable_extensions; do
3021 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3022 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3023 'mkdir (GNU coreutils) '* | \
3024 'mkdir (coreutils) '* | \
3025 'mkdir (fileutils) '4.1*)
3026 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3036 test -d .
/--version && rmdir .
/--version
3037 if test "${ac_cv_path_mkdir+set}" = set; then
3038 MKDIR_P
="$ac_cv_path_mkdir -p"
3040 # As a last resort, use the slow shell script. Don't cache a
3041 # value for MKDIR_P within a source directory, because that will
3042 # break other packages using the cache if that directory is
3043 # removed, or if the value is a relative name.
3044 MKDIR_P
="$ac_install_sh -d"
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3048 $as_echo "$MKDIR_P" >&6; }
3050 for ac_prog
in gawk mawk nawk
awk
3052 # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy
$ac_prog; ac_word
=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_AWK+:} false
; then :
3057 $as_echo_n "(cached) " >&6
3059 if test -n "$AWK"; then
3060 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir
=.
3067 for ac_exec_ext
in '' $ac_executable_extensions; do
3068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_AWK
="$ac_prog"
3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 if test -n "$AWK"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3082 $as_echo "$AWK" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3089 test -n "$AWK" && break
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3093 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3095 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3096 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3097 $as_echo_n "(cached) " >&6
3099 cat >conftest.
make <<\_ACEOF
3102 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3104 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3105 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3107 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3109 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3113 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3115 $as_echo "yes" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3120 SET_MAKE
="MAKE=${MAKE-make}"
3123 rm -rf .tst
2>/dev
/null
3124 mkdir .tst
2>/dev
/null
3125 if test -d .tst
; then
3130 rmdir .tst
2>/dev
/null
3132 # Check whether --enable-silent-rules was given.
3133 if test "${enable_silent_rules+set}" = set; then :
3134 enableval
=$enable_silent_rules;
3137 case $enable_silent_rules in # (((
3138 yes) AM_DEFAULT_VERBOSITY
=0;;
3139 no
) AM_DEFAULT_VERBOSITY
=1;;
3140 *) AM_DEFAULT_VERBOSITY
=1;;
3142 am_make
=${MAKE-make}
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3144 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3145 if ${am_cv_make_support_nested_variables+:} false
; then :
3146 $as_echo_n "(cached) " >&6
3148 if $as_echo 'TRUE=$(BAR$(V))
3154 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3155 am_cv_make_support_nested_variables
=yes
3157 am_cv_make_support_nested_variables
=no
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3161 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3162 if test $am_cv_make_support_nested_variables = yes; then
3164 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3166 AM_V
=$AM_DEFAULT_VERBOSITY
3167 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3171 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3172 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3173 # is not polluted with repeated "-I."
3174 am__isrc
=' -I$(srcdir)'
3175 # test to see if srcdir already configured
3176 if test -f $srcdir/config.status
; then
3177 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3181 # test whether we have cygpath
3182 if test -z "$CYGPATH_W"; then
3183 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3184 CYGPATH_W
='cygpath -w'
3191 # Define the identity of the package.
3196 cat >>confdefs.h
<<_ACEOF
3197 #define PACKAGE "$PACKAGE"
3201 cat >>confdefs.h
<<_ACEOF
3202 #define VERSION "$VERSION"
3205 # Some tools Automake needs.
3207 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3210 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3213 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3216 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3219 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3221 # For better backward compatibility. To be removed once Automake 1.9.x
3222 # dies out for good. For more background, see:
3223 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3224 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3225 mkdir_p
='$(MKDIR_P)'
3227 # We need awk for the "check" target. The system "awk" is bad on
3229 # Always define AMTAR for backward compatibility. Yes, it's still used
3230 # in the wild :-( We should find a proper way to deprecate it ...
3234 # We'll loop over all known methods to create a tar archive until one works.
3235 _am_tools
='gnutar pax cpio none'
3237 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3244 # POSIX will say in a future version that running "rm -f" with no argument
3245 # is OK; and we want to be able to make that assumption in our Makefile
3246 # recipes. So use an aggressive probe to check that the usage we want is
3247 # actually supported "in the wild" to an acceptable degree.
3248 # See automake bug#10828.
3249 # To make any issue more visible, cause the running configure to be aborted
3250 # by default if the 'rm' program in use doesn't match our expectations; the
3251 # user can still override this though.
3252 if rm -f && rm -fr && rm -rf; then : OK
; else
3256 Your 'rm' program seems unable to run without file operands specified
3257 on the command line, even when the '-f' option is present. This is contrary
3258 to the behaviour of most rm programs out there, and not conforming with
3259 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3261 Please tell bug-automake@gnu.org about your system, including the value
3262 of your $PATH and any error possibly output before this message. This
3263 can help us improve future automake versions.
3266 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3267 echo 'Configuration will proceed anyway, since you have set the' >&2
3268 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3272 Aborting the configuration process, to ensure you take notice of the issue.
3274 You can download and install GNU coreutils to get an 'rm' implementation
3275 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3277 If you want to complete the configuration process using your problematic
3278 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3279 to "yes", and re-run configure.
3282 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3286 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
3287 # the configure and makefiles. Without it users doing things that
3288 # change the timestamps on the code, like checking it into a cvs
3289 # tree, could trigger a rebuild of the infrastructure files which
3290 # might fail if they don't have the correct tools.
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3293 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3294 # Check whether --enable-maintainer-mode was given.
3295 if test "${enable_maintainer_mode+set}" = set; then :
3296 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3298 USE_MAINTAINER_MODE
=no
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3302 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3303 if test $USE_MAINTAINER_MODE = yes; then
3304 MAINTAINER_MODE_TRUE
=
3305 MAINTAINER_MODE_FALSE
='#'
3307 MAINTAINER_MODE_TRUE
='#'
3308 MAINTAINER_MODE_FALSE
=
3311 MAINT
=$MAINTAINER_MODE_TRUE
3315 # Make sure we can run config.sub.
3316 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3317 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3320 $as_echo_n "checking build system type... " >&6; }
3321 if ${ac_cv_build+:} false
; then :
3322 $as_echo_n "(cached) " >&6
3324 ac_build_alias
=$build_alias
3325 test "x$ac_build_alias" = x
&&
3326 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3327 test "x$ac_build_alias" = x
&&
3328 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3329 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3330 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3334 $as_echo "$ac_cv_build" >&6; }
3335 case $ac_cv_build in
3337 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3340 ac_save_IFS
=$IFS; IFS
='-'
3346 # Remember, the first character of IFS is used to create $*,
3347 # except with old shells:
3350 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3354 $as_echo_n "checking host system type... " >&6; }
3355 if ${ac_cv_host+:} false
; then :
3356 $as_echo_n "(cached) " >&6
3358 if test "x$host_alias" = x
; then
3359 ac_cv_host
=$ac_cv_build
3361 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3362 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3367 $as_echo "$ac_cv_host" >&6; }
3370 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3373 ac_save_IFS
=$IFS; IFS
='-'
3379 # Remember, the first character of IFS is used to create $*,
3380 # except with old shells:
3383 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3387 # We want to turn on warnings if we are using gcc and the user did
3388 # not specify CFLAGS. The autoconf check for the C compiler sets the
3389 # CFLAGS if gcc is used, so we will save it before we run that check.
3390 SAVE_CFLAGS
="$CFLAGS"
3392 # Now find our C compiler.
3394 ac_cpp
='$CPP $CPPFLAGS'
3395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3398 if test -n "$ac_tool_prefix"; then
3399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3400 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if ${ac_cv_prog_CC+:} false
; then :
3404 $as_echo_n "(cached) " >&6
3406 if test -n "$CC"; then
3407 ac_cv_prog_CC
="$CC" # Let the user override the test.
3409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir
=.
3414 for ac_exec_ext
in '' $ac_executable_extensions; do
3415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3416 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 if test -n "$CC"; then
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3429 $as_echo "$CC" >&6; }
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3437 if test -z "$ac_cv_prog_CC"; then
3439 # Extract the first word of "gcc", so it can be a program name with args.
3440 set dummy gcc
; ac_word
=$2
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3442 $as_echo_n "checking for $ac_word... " >&6; }
3443 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3444 $as_echo_n "(cached) " >&6
3446 if test -n "$ac_ct_CC"; then
3447 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3453 test -z "$as_dir" && as_dir
=.
3454 for ac_exec_ext
in '' $ac_executable_extensions; do
3455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3456 ac_cv_prog_ac_ct_CC
="gcc"
3457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3467 if test -n "$ac_ct_CC"; then
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3469 $as_echo "$ac_ct_CC" >&6; }
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3472 $as_echo "no" >&6; }
3475 if test "x$ac_ct_CC" = x
; then
3478 case $cross_compiling:$ac_tool_warned in
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3482 ac_tool_warned
=yes ;;
3490 if test -z "$CC"; then
3491 if test -n "$ac_tool_prefix"; then
3492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3493 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if ${ac_cv_prog_CC+:} false
; then :
3497 $as_echo_n "(cached) " >&6
3499 if test -n "$CC"; then
3500 ac_cv_prog_CC
="$CC" # Let the user override the test.
3502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir
=.
3507 for ac_exec_ext
in '' $ac_executable_extensions; do
3508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3509 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3520 if test -n "$CC"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3522 $as_echo "$CC" >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3531 if test -z "$CC"; then
3532 # Extract the first word of "cc", so it can be a program name with args.
3533 set dummy cc
; ac_word
=$2
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535 $as_echo_n "checking for $ac_word... " >&6; }
3536 if ${ac_cv_prog_CC+:} false
; then :
3537 $as_echo_n "(cached) " >&6
3539 if test -n "$CC"; then
3540 ac_cv_prog_CC
="$CC" # Let the user override the test.
3543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir
=.
3548 for ac_exec_ext
in '' $ac_executable_extensions; do
3549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3550 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3551 ac_prog_rejected
=yes
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 if test $ac_prog_rejected = yes; then
3563 # We found a bogon in the path, so make sure we never use it.
3564 set dummy
$ac_cv_prog_CC
3566 if test $# != 0; then
3567 # We chose a different compiler from the bogus one.
3568 # However, it has the same basename, so the bogon will be chosen
3569 # first if we set CC to just the basename; use the full file name.
3571 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3577 if test -n "$CC"; then
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3579 $as_echo "$CC" >&6; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3582 $as_echo "no" >&6; }
3587 if test -z "$CC"; then
3588 if test -n "$ac_tool_prefix"; then
3589 for ac_prog
in cl.exe
3591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_CC+:} false
; then :
3596 $as_echo_n "(cached) " >&6
3598 if test -n "$CC"; then
3599 ac_cv_prog_CC
="$CC" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 if test -n "$CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621 $as_echo "$CC" >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3628 test -n "$CC" && break
3631 if test -z "$CC"; then
3633 for ac_prog
in cl.exe
3635 # Extract the first word of "$ac_prog", so it can be a program name with args.
3636 set dummy
$ac_prog; ac_word
=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$ac_ct_CC"; then
3643 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir
=.
3650 for ac_exec_ext
in '' $ac_executable_extensions; do
3651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_ac_ct_CC
="$ac_prog"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3663 if test -n "$ac_ct_CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3665 $as_echo "$ac_ct_CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3672 test -n "$ac_ct_CC" && break
3675 if test "x$ac_ct_CC" = x
; then
3678 case $cross_compiling:$ac_tool_warned in
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3682 ac_tool_warned
=yes ;;
3691 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3693 as_fn_error $?
"no acceptable C compiler found in \$PATH
3694 See \`config.log' for more details" "$LINENO" 5; }
3696 # Provide some information about the compiler.
3697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3700 for ac_option
in --version -v -V -qversion; do
3701 { { ac_try
="$ac_compiler $ac_option >&5"
3703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3704 *) ac_try_echo=$ac_try;;
3706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3707 $as_echo "$ac_try_echo"; } >&5
3708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3710 if test -s conftest.err; then
3712 ... rest of stderr output deleted ...
3713 10q' conftest.err >conftest.er1
3714 cat conftest.er1 >&5
3716 rm -f conftest.er1 conftest.err
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 test $ac_status = 0; }
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3732 ac_clean_files_save=$ac_clean_files
3733 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3734 # Try to create an executable without -o first, disregard a.out.
3735 # It will help us diagnose broken compilers, and finding out an intuition
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3738 $as_echo_n "checking whether the C compiler works... " >&6; }
3739 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3741 # The possible output files:
3742 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3745 for ac_file in $ac_files
3748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3749 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3754 if { { ac_try="$ac_link_default"
3756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3757 *) ac_try_echo
=$ac_try;;
3759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_link_default") 2>&5
3763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 test $ac_status = 0; }; then :
3765 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3766 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3767 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3768 # so that the user can short-circuit this test for compilers unknown to
3770 for ac_file
in $ac_files ''
3772 test -f "$ac_file" ||
continue
3774 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3777 # We found the default executable, but exeext='' is most
3781 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3783 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3785 # We set ac_cv_exeext here because the later test for it is not
3786 # safe: cross compilers may not add the suffix if given an `-o'
3787 # argument, so we may need to know it at that point already.
3788 # Even if this section looks crufty: it has the advantage of
3795 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3800 if test -z "$ac_file"; then :
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3803 $as_echo "$as_me: failed program was:" >&5
3804 sed 's/^/| /' conftest.
$ac_ext >&5
3806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3808 as_fn_error
77 "C compiler cannot create executables
3809 See \`config.log' for more details" "$LINENO" 5; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3812 $as_echo "yes" >&6; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3815 $as_echo_n "checking for C compiler default output file name... " >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3817 $as_echo "$ac_file" >&6; }
3818 ac_exeext
=$ac_cv_exeext
3820 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3821 ac_clean_files
=$ac_clean_files_save
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3823 $as_echo_n "checking for suffix of executables... " >&6; }
3824 if { { ac_try
="$ac_link"
3826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;;
3829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830 $as_echo "$ac_try_echo"; } >&5
3831 (eval "$ac_link") 2>&5
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 test $ac_status = 0; }; then :
3835 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3836 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3837 # work properly (i.e., refer to `conftest.exe'), while it won't with
3839 for ac_file
in conftest.exe conftest conftest.
*; do
3840 test -f "$ac_file" ||
continue
3842 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3843 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3852 See \`config.log' for more details" "$LINENO" 5; }
3854 rm -f conftest conftest
$ac_cv_exeext
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3856 $as_echo "$ac_cv_exeext" >&6; }
3858 rm -f conftest.
$ac_ext
3859 EXEEXT
=$ac_cv_exeext
3861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3867 FILE *f = fopen ("conftest.out", "w");
3868 return ferror (f) || fclose (f) != 0;
3874 ac_clean_files
="$ac_clean_files conftest.out"
3875 # Check that the compiler produces executables we can run. If not, either
3876 # the compiler is broken, or we cross compile.
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3878 $as_echo_n "checking whether we are cross compiling... " >&6; }
3879 if test "$cross_compiling" != yes; then
3880 { { ac_try
="$ac_link"
3882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_link") 2>&5
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }
3891 if { ac_try='./conftest$ac_cv_exeext'
3892 { { case "(($ac_try" in
3893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3894 *) ac_try_echo
=$ac_try;;
3896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_try") 2>&5
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }; }; then
3904 if test "$cross_compiling" = maybe
; then
3907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3909 as_fn_error $?
"cannot run C compiled programs.
3910 If you meant to cross compile, use \`--host'.
3911 See \`config.log' for more details" "$LINENO" 5; }
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3916 $as_echo "$cross_compiling" >&6; }
3918 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3919 ac_clean_files
=$ac_clean_files_save
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3921 $as_echo_n "checking for suffix of object files... " >&6; }
3922 if ${ac_cv_objext+:} false
; then :
3923 $as_echo_n "(cached) " >&6
3925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3936 rm -f conftest.o conftest.obj
3937 if { { ac_try
="$ac_compile"
3939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_compile") 2>&5
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; }; then :
3948 for ac_file in conftest.o conftest.obj conftest.*; do
3949 test -f "$ac_file" || continue;
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3952 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3957 $as_echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3963 See \
`config.log' for more details" "$LINENO" 5; }
3965 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3968 $as_echo "$ac_cv_objext" >&6; }
3969 OBJEXT=$ac_cv_objext
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3972 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3973 if ${ac_cv_c_compiler_gnu+:} false; then :
3974 $as_echo_n "(cached) " >&6
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3990 if ac_fn_c_try_compile "$LINENO"; then :
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4000 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4001 if test $ac_compiler_gnu = yes; then
4006 ac_test_CFLAGS=${CFLAGS+set}
4007 ac_save_CFLAGS=$CFLAGS
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4009 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4010 if ${ac_cv_prog_cc_g+:} false; then :
4011 $as_echo_n "(cached) " >&6
4013 ac_save_c_werror_flag=$ac_c_werror_flag
4014 ac_c_werror_flag=yes
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4028 if ac_fn_c_try_compile "$LINENO"; then :
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 if ac_fn_c_try_compile "$LINENO"; then :
4046 ac_c_werror_flag=$ac_save_c_werror_flag
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4059 if ac_fn_c_try_compile "$LINENO"; then :
4062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 ac_c_werror_flag=$ac_save_c_werror_flag
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4070 $as_echo "$ac_cv_prog_cc_g" >&6; }
4071 if test "$ac_test_CFLAGS" = set; then
4072 CFLAGS=$ac_save_CFLAGS
4073 elif test $ac_cv_prog_cc_g = yes; then
4074 if test "$GCC" = yes; then
4080 if test "$GCC" = yes; then
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4087 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4088 if ${ac_cv_prog_cc_c89+:} false; then :
4089 $as_echo_n "(cached) " >&6
4091 ac_cv_prog_cc_c89=no
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4099 struct buf { int x; };
4100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4101 static char *e (p, i)
4107 static char *f (char * (*g) (char **, int), char **p, ...)
4112 s = g (p, va_arg (v,int));
4117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4118 function prototypes and stuff, but not '\xHH' hex character constants.
4119 These don't provoke an error unfortunately, instead are silently treated
4120 as 'x'. The following induces an error, until -std is added to get
4121 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4122 array size at least. It's necessary to write '\x00'==0 to get something
4123 that's true only with -std. */
4124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4127 inside strings and character constants. */
4129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4131 int test (int i, double x);
4132 struct s1 {int (*f) (int a);};
4133 struct s2 {int (*f) (double a);};
4134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4140 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4146 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4148 CC="$ac_save_CC $ac_arg"
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_cv_prog_cc_c89=$ac_arg
4152 rm -f core conftest.err conftest.$ac_objext
4153 test "x$ac_cv_prog_cc_c89" != "xno" && break
4155 rm -f conftest.$ac_ext
4160 case "x$ac_cv_prog_cc_c89" in
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4163 $as_echo "none needed" >&6; } ;;
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4166 $as_echo "unsupported" >&6; } ;;
4168 CC="$CC $ac_cv_prog_cc_c89"
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4172 if test "x$ac_cv_prog_cc_c89" != xno; then :
4177 ac_cpp='$CPP $CPPFLAGS'
4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4183 ac_cpp='$CPP $CPPFLAGS'
4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4188 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4189 if ${am_cv_prog_cc_c_o+:} false; then :
4190 $as_echo_n "(cached) " >&6
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 # Make sure it works both with $CC and with simple cc.
4204 # Following AC_PROG_CC_C_O, we do the test twice because some
4205 # compilers refuse to overwrite an existing .o file with -o,
4206 # though they will create one.
4207 am_cv_prog_cc_c_o=yes
4209 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4210 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); } \
4214 && test -f conftest2.$ac_objext; then
4217 am_cv_prog_cc_c_o=no
4221 rm -f core conftest*
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4225 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4226 if test "$am_cv_prog_cc_c_o" != yes; then
4227 # Losing compiler, so override with the script.
4228 # FIXME: It is wrong to rewrite CC.
4229 # But if we don't then we get into trouble of one sort or another.
4230 # A longer-term fix would be to have automake use am__CC in this case,
4231 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4232 CC="$am_aux_dir/compile $CC"
4235 ac_cpp='$CPP $CPPFLAGS'
4236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4240 DEPDIR="${am__leading_dot}deps"
4242 ac_config_commands="$ac_config_commands depfiles"
4245 am_make=${MAKE-make}
4246 cat > confinc << 'END'
4248 @echo this is the am__doit target
4251 # If we don't find an include directive, just comment out the code.
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4253 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4257 # First try GNU make style include.
4258 echo "include confinc" > confmf
4259 # Ignore all kinds of additional output from 'make'.
4260 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4261 *the\ am__doit\ target*)
4267 # Now try BSD make style include.
4268 if test "$am__include" = "#"; then
4269 echo '.include "confinc"' > confmf
4270 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4271 *the\ am__doit\ target*)
4272 am__include=.include
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4281 $as_echo "$_am_result" >&6; }
4282 rm -f confinc confmf
4284 # Check whether --enable-dependency-tracking was given.
4285 if test "${enable_dependency_tracking+set}" = set; then :
4286 enableval=$enable_dependency_tracking;
4289 if test "x$enable_dependency_tracking" != xno; then
4290 am_depcomp="$ac_aux_dir/depcomp"
4294 if test "x$enable_dependency_tracking" != xno; then
4304 depcc="$CC" am_compiler_list=
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4307 $as_echo_n "checking dependency style of $depcc... " >&6; }
4308 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4309 $as_echo_n "(cached) " >&6
4311 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4312 # We make a subdir and do the tests there. Otherwise we can end up
4313 # making bogus files that we don't know about and never remove. For
4314 # instance it was reported that on HP-UX the gcc test will end up
4315 # making a dummy file named 'D' -- because '-MD' means "put the output
4319 # Copy depcomp to subdir because otherwise we won't find it if we're
4320 # using a relative directory.
4321 cp "$am_depcomp" conftest.dir
4323 # We will build objects and dependencies in a subdirectory because
4324 # it helps to detect inapplicable dependency modes. For instance
4325 # both Tru64's cc and ICC support -MD to output dependencies as a
4326 # side effect of compilation, but ICC will put the dependencies in
4327 # the current directory while Tru64 will put them in the object
4331 am_cv_CC_dependencies_compiler_type=none
4332 if test "$am_compiler_list" = ""; then
4333 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4336 case " $depcc " in #(
4337 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4340 for depmode in $am_compiler_list; do
4341 # Setup a source with many dependencies, because some compilers
4342 # like to wrap large dependency lists on column 80 (with \), and
4343 # we should not choose a depcomp mode which is confused by this.
4345 # We need to recreate these files for each test, as the compiler may
4346 # overwrite some of them when testing with obscure command lines.
4347 # This happens at least with the AIX C compiler.
4349 for i in 1 2 3 4 5 6; do
4350 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4351 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4352 # Solaris 10 /bin/sh.
4353 echo '/* dummy */' > sub/conftst$i.h
4355 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4357 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4358 # mode. It turns out that the SunPro C++ compiler does not properly
4359 # handle '-M -o', and we need to detect this. Also, some Intel
4360 # versions had trouble with output in subdirs.
4361 am__obj=sub/conftest.${OBJEXT-o}
4362 am__minus_obj="-o $am__obj"
4365 # This depmode causes a compiler race in universal mode.
4366 test "$am__universal" = false || continue
4369 # After this tag, mechanisms are not by side-effect, so they'll
4370 # only be used when explicitly requested.
4371 if test "x$enable_dependency_tracking" = xyes; then
4377 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4378 # This compiler won't grok '-c -o', but also, the minuso test has
4379 # not run yet. These depmodes are late enough in the game, and
4380 # so weak that their functioning should not be impacted.
4381 am__obj=conftest.${OBJEXT-o}
4386 if depmode=$depmode \
4387 source=sub/conftest.c object=$am__obj \
4388 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4389 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4390 >/dev/null 2>conftest.err &&
4391 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4392 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4393 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4394 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4395 # icc doesn't choke on unknown options, it will just issue warnings
4396 # or remarks (even with -Werror). So we grep stderr for any message
4397 # that says an option was ignored or not supported.
4398 # When given -MP, icc 7.0 and 7.1 complain thusly:
4399 # icc: Command line warning: ignoring option '-M'; no argument required
4400 # The diagnosis changed in icc 8.0:
4401 # icc: Command line remark: option '-MP' not supported
4402 if (grep 'ignoring option' conftest.err ||
4403 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4404 am_cv_CC_dependencies_compiler_type=$depmode
4413 am_cv_CC_dependencies_compiler_type=none
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4418 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4419 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4422 test "x$enable_dependency_tracking" != xno \
4423 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4425 am__fastdepCC_FALSE='#'
4427 am__fastdepCC_TRUE='#'
4428 am__fastdepCC_FALSE=
4433 # Suppress warnings about --datarootdir
4436 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
4437 # user did not specify any flags. Add warnings in this case.
4438 if test "$GCC" = "yes"; then
4439 if test "$CFLAGS" != "$SAVE_CFLAGS"; then
4440 STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
4444 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
4445 # parts of the IPv6 Advanced Socket API as a result. This is stupid
4446 # as it breaks how the two halves (Basic and Advanced) of the IPv6
4447 # Socket API were designed to be used but we have to live with it.
4448 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
4451 ac_cpp='$CPP $CPPFLAGS'
4452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4456 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4457 # On Suns, sometimes $CPP names a directory.
4458 if test -n "$CPP" && test -d "$CPP"; then
4461 if test -z "$CPP"; then
4462 if ${ac_cv_prog_CPP+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 # Double quotes because CPP needs to be expanded
4466 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4469 for ac_c_preproc_warn_flag in '' yes
4471 # Use a header file that comes with gcc, so configuring glibc
4472 # with a fresh cross-compiler works.
4473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4474 # <limits.h> exists even on freestanding compilers.
4475 # On the NeXT, cc -E runs the code through the compiler's parser,
4476 # not just through cpp. "Syntax error" is here to catch this case.
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4480 # include <limits.h>
4482 # include <assert.h>
4486 if ac_fn_c_try_cpp "$LINENO"; then :
4489 # Broken: fails on valid input.
4492 rm -f conftest.err conftest.i conftest.$ac_ext
4494 # OK, works on sane cases. Now check whether nonexistent headers
4495 # can be detected and how.
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4498 #include <ac_nonexistent.h>
4500 if ac_fn_c_try_cpp "$LINENO"; then :
4501 # Broken: success on invalid input.
4504 # Passes both tests.
4508 rm -f conftest.err conftest.i conftest.$ac_ext
4511 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4512 rm -f conftest.i conftest.err conftest.
$ac_ext
4513 if $ac_preproc_ok; then :
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4526 $as_echo "$CPP" >&6; }
4528 for ac_c_preproc_warn_flag
in '' yes
4530 # Use a header file that comes with gcc, so configuring glibc
4531 # with a fresh cross-compiler works.
4532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4533 # <limits.h> exists even on freestanding compilers.
4534 # On the NeXT, cc -E runs the code through the compiler's parser,
4535 # not just through cpp. "Syntax error" is here to catch this case.
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4539 # include <limits.h>
4541 # include <assert.h>
4545 if ac_fn_c_try_cpp
"$LINENO"; then :
4548 # Broken: fails on valid input.
4551 rm -f conftest.err conftest.i conftest.
$ac_ext
4553 # OK, works on sane cases. Now check whether nonexistent headers
4554 # can be detected and how.
4555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4557 #include <ac_nonexistent.h>
4559 if ac_fn_c_try_cpp
"$LINENO"; then :
4560 # Broken: success on invalid input.
4563 # Passes both tests.
4567 rm -f conftest.err conftest.i conftest.
$ac_ext
4570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4571 rm -f conftest.i conftest.err conftest.
$ac_ext
4572 if $ac_preproc_ok; then :
4575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4577 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4578 See \`config.log' for more details" "$LINENO" 5; }
4582 ac_cpp
='$CPP $CPPFLAGS'
4583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4589 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4590 if ${ac_cv_path_GREP+:} false
; then :
4591 $as_echo_n "(cached) " >&6
4593 if test -z "$GREP"; then
4594 ac_path_GREP_found
=false
4595 # Loop through the user's path and test for each of PROGNAME-LIST
4596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4600 test -z "$as_dir" && as_dir
=.
4601 for ac_prog
in grep ggrep
; do
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4604 as_fn_executable_p
"$ac_path_GREP" ||
continue
4605 # Check for GNU ac_path_GREP and select it if it is found.
4606 # Check for GNU $ac_path_GREP
4607 case `"$ac_path_GREP" --version 2>&1` in
4609 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4612 $as_echo_n 0123456789 >"conftest.in"
4615 cat "conftest.in" "conftest.in" >"conftest.tmp"
4616 mv "conftest.tmp" "conftest.in"
4617 cp "conftest.in" "conftest.nl"
4618 $as_echo 'GREP' >> "conftest.nl"
4619 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4620 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4621 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4622 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4623 # Best one so far, save it but keep looking for a better one
4624 ac_cv_path_GREP
="$ac_path_GREP"
4625 ac_path_GREP_max
=$ac_count
4627 # 10*(2^10) chars as input seems more than enough
4628 test $ac_count -gt 10 && break
4630 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4633 $ac_path_GREP_found && break 3
4638 if test -z "$ac_cv_path_GREP"; then
4639 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642 ac_cv_path_GREP
=$GREP
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4647 $as_echo "$ac_cv_path_GREP" >&6; }
4648 GREP
="$ac_cv_path_GREP"
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4652 $as_echo_n "checking for egrep... " >&6; }
4653 if ${ac_cv_path_EGREP+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4657 then ac_cv_path_EGREP
="$GREP -E"
4659 if test -z "$EGREP"; then
4660 ac_path_EGREP_found
=false
4661 # Loop through the user's path and test for each of PROGNAME-LIST
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_prog
in egrep; do
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4670 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4671 # Check for GNU ac_path_EGREP and select it if it is found.
4672 # Check for GNU $ac_path_EGREP
4673 case `"$ac_path_EGREP" --version 2>&1` in
4675 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4678 $as_echo_n 0123456789 >"conftest.in"
4681 cat "conftest.in" "conftest.in" >"conftest.tmp"
4682 mv "conftest.tmp" "conftest.in"
4683 cp "conftest.in" "conftest.nl"
4684 $as_echo 'EGREP' >> "conftest.nl"
4685 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4686 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4687 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4688 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4689 # Best one so far, save it but keep looking for a better one
4690 ac_cv_path_EGREP
="$ac_path_EGREP"
4691 ac_path_EGREP_max
=$ac_count
4693 # 10*(2^10) chars as input seems more than enough
4694 test $ac_count -gt 10 && break
4696 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4699 $ac_path_EGREP_found && break 3
4704 if test -z "$ac_cv_path_EGREP"; then
4705 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4708 ac_cv_path_EGREP
=$EGREP
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4714 $as_echo "$ac_cv_path_EGREP" >&6; }
4715 EGREP
="$ac_cv_path_EGREP"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4719 $as_echo_n "checking for ANSI C header files... " >&6; }
4720 if ${ac_cv_header_stdc+:} false
; then :
4721 $as_echo_n "(cached) " >&6
4723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4738 if ac_fn_c_try_compile
"$LINENO"; then :
4739 ac_cv_header_stdc
=yes
4741 ac_cv_header_stdc
=no
4743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4745 if test $ac_cv_header_stdc = yes; then
4746 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4753 $EGREP "memchr" >/dev
/null
2>&1; then :
4756 ac_cv_header_stdc
=no
4762 if test $ac_cv_header_stdc = yes; then
4763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4770 $EGREP "free" >/dev
/null
2>&1; then :
4773 ac_cv_header_stdc
=no
4779 if test $ac_cv_header_stdc = yes; then
4780 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4781 if test "$cross_compiling" = yes; then :
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4788 #if ((' ' & 0x0FF) == 0x020)
4789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4792 # define ISLOWER(c) \
4793 (('a' <= (c) && (c) <= 'i') \
4794 || ('j' <= (c) && (c) <= 'r') \
4795 || ('s' <= (c) && (c) <= 'z'))
4796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4804 for (i = 0; i < 256; i++)
4805 if (XOR (islower (i), ISLOWER (i))
4806 || toupper (i) != TOUPPER (i))
4811 if ac_fn_c_try_run
"$LINENO"; then :
4814 ac_cv_header_stdc
=no
4816 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4817 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4823 $as_echo "$ac_cv_header_stdc" >&6; }
4824 if test $ac_cv_header_stdc = yes; then
4826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4831 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4832 inttypes.h stdint.h unistd.h
4834 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4835 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4837 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4838 cat >>confdefs.h
<<_ACEOF
4839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4848 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4849 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4856 if test "$MINIX" = yes; then
4858 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4861 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4864 $as_echo "#define _MINIX 1" >>confdefs.h
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4870 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4871 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4872 $as_echo_n "(cached) " >&6
4874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4877 # define __EXTENSIONS__ 1
4878 $ac_includes_default
4887 if ac_fn_c_try_compile
"$LINENO"; then :
4888 ac_cv_safe_to_define___extensions__
=yes
4890 ac_cv_safe_to_define___extensions__
=no
4892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4895 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4896 test $ac_cv_safe_to_define___extensions__ = yes &&
4897 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4899 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4901 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4903 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4905 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4911 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_RANLIB+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$RANLIB"; then
4918 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 RANLIB
=$ac_cv_prog_RANLIB
4938 if test -n "$RANLIB"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4940 $as_echo "$RANLIB" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_RANLIB"; then
4949 ac_ct_RANLIB
=$RANLIB
4950 # Extract the first word of "ranlib", so it can be a program name with args.
4951 set dummy ranlib
; ac_word
=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_RANLIB"; then
4958 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4978 if test -n "$ac_ct_RANLIB"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4980 $as_echo "$ac_ct_RANLIB" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_RANLIB" = x
; then
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned
=yes ;;
4995 RANLIB
=$ac_ct_RANLIB
4998 RANLIB
="$ac_cv_prog_RANLIB"
5001 ac_config_headers
="$ac_config_headers includes/config.h"
5004 # we sometimes need to know byte order for building packets
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5006 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5007 if ${ac_cv_c_bigendian+:} false
; then :
5008 $as_echo_n "(cached) " >&6
5010 ac_cv_c_bigendian
=unknown
5011 # See if we're dealing with a universal compiler.
5012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5014 #ifndef __APPLE_CC__
5015 not a universal capable compiler
5020 if ac_fn_c_try_compile
"$LINENO"; then :
5022 # Check for potential -arch flags. It is not universal unless
5023 # there are at least two -arch flags with different values.
5026 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5027 if test -n "$ac_prev"; then
5029 i?
86 | x86_64 | ppc | ppc64
)
5030 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5033 ac_cv_c_bigendian
=universal
5039 elif test "x$ac_word" = "x-arch"; then
5044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 if test $ac_cv_c_bigendian = unknown
; then
5046 # See if sys/param.h defines the BYTE_ORDER macro.
5047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5049 #include <sys/types.h>
5050 #include <sys/param.h>
5055 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5056 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5065 if ac_fn_c_try_compile
"$LINENO"; then :
5066 # It does; now see whether it defined to BIG_ENDIAN or not.
5067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5069 #include <sys/types.h>
5070 #include <sys/param.h>
5075 #if BYTE_ORDER != BIG_ENDIAN
5083 if ac_fn_c_try_compile
"$LINENO"; then :
5084 ac_cv_c_bigendian
=yes
5086 ac_cv_c_bigendian
=no
5088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 if test $ac_cv_c_bigendian = unknown
; then
5093 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5101 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5109 if ac_fn_c_try_compile
"$LINENO"; then :
5110 # It does; now see whether it defined to _BIG_ENDIAN or not.
5111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5126 if ac_fn_c_try_compile
"$LINENO"; then :
5127 ac_cv_c_bigendian
=yes
5129 ac_cv_c_bigendian
=no
5131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 if test $ac_cv_c_bigendian = unknown
; then
5136 # Compile a test program.
5137 if test "$cross_compiling" = yes; then :
5138 # Try to guess by grepping values from an object file.
5139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5141 short int ascii_mm[] =
5142 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5143 short int ascii_ii[] =
5144 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5145 int use_ascii (int i) {
5146 return ascii_mm[i] + ascii_ii[i];
5148 short int ebcdic_ii[] =
5149 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5150 short int ebcdic_mm[] =
5151 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5152 int use_ebcdic (int i) {
5153 return ebcdic_mm[i] + ebcdic_ii[i];
5160 return use_ascii (foo) == use_ebcdic (foo);
5165 if ac_fn_c_try_compile
"$LINENO"; then :
5166 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5167 ac_cv_c_bigendian
=yes
5169 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5170 if test "$ac_cv_c_bigendian" = unknown
; then
5171 ac_cv_c_bigendian
=no
5173 # finding both strings is unlikely to happen, but who knows?
5174 ac_cv_c_bigendian
=unknown
5178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5182 $ac_includes_default
5187 /* Are we little or big endian? From Harbison&Steele. */
5191 char c[sizeof (long int)];
5194 return u.c[sizeof (long int) - 1] == 1;
5200 if ac_fn_c_try_run
"$LINENO"; then :
5201 ac_cv_c_bigendian
=no
5203 ac_cv_c_bigendian
=yes
5205 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5206 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5212 $as_echo "$ac_cv_c_bigendian" >&6; }
5213 case $ac_cv_c_bigendian in #(
5215 byte_order
=BIG_ENDIAN
5218 byte_order
=LITTLE_ENDIAN
5222 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5226 as_fn_error $?
"unknown endianness
5227 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5231 cat >>confdefs.h
<<_ACEOF
5232 #define DHCP_BYTE_ORDER $byte_order
5236 # Optional compile-time DEBUGging.
5237 # Check whether --enable-debug was given.
5238 if test "${enable_debug+set}" = set; then :
5239 enableval
=$enable_debug; enable_debug
=yes
5244 # This is very much off by default.
5245 if test "$enable_debug" = "yes" ; then
5247 $as_echo "#define DEBUG 1" >>confdefs.h
5249 # Just override CFLAGS to totally to remove optimization.
5252 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
5253 # but I don't want to pollute the --help space.
5255 #/* #define DEBUG_TOKENS */
5256 #/* #define DEBUG_PACKET */
5257 #/* #define DEBUG_EXPRESSIONS */
5258 #/* #define DEBUG_FIND_LEASE */
5259 #/* #define DEBUG_EXPRESSION_PARSE */
5260 #/* #define DEBUG_CLASS_MATCHING */
5261 #/* #define DEBUG_MEMORY_LEAKAGE */
5262 #/* #define DEBUG_MALLOC_POOL */
5263 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
5264 #/* #define DEBUG_RC_HISTORY */
5265 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
5266 #/* #define RC_HISTORY_MAX 10240 */
5267 #/* #define POINTER_DEBUG */
5268 #/* #define DEBUG_FAILOVER_MESSAGES */
5269 #/* #define DEBUG_FAILOVER_TIMING */
5270 #/* #define DEBUG_DUMP_ALL_LEASES */
5272 # Failover optional compile-time feature.
5273 # Check whether --enable-failover was given.
5274 if test "${enable_failover+set}" = set; then :
5275 enableval
=$enable_failover;
5278 # Failover is on by default, so define if it is not explicitly disabled.
5279 if test "$enable_failover" != "no"; then
5281 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
5285 # execute() support.
5286 # Check whether --enable-execute was given.
5287 if test "${enable_execute+set}" = set; then :
5288 enableval
=$enable_execute;
5291 # execute() is on by default, so define if it is not explicitly disabled.
5292 if test "$enable_execute" != "no" ; then
5294 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
5298 # Server tracing support.
5299 # Check whether --enable-tracing was given.
5300 if test "${enable_tracing+set}" = set; then :
5301 enableval
=$enable_tracing;
5304 # tracing is on by default, so define if it is not explicitly disabled.
5305 if test "$enable_tracing" != "no" ; then
5307 $as_echo "#define TRACING 1" >>confdefs.h
5311 # Delayed-ack feature support (experimental).
5312 # Check whether --enable-delayed_ack was given.
5313 if test "${enable_delayed_ack+set}" = set; then :
5314 enableval
=$enable_delayed_ack;
5317 if test "$enable_delayed_ack" = "yes"; then
5319 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
5323 # DHCPv6 optional compile-time feature.
5324 # Check whether --enable-dhcpv6 was given.
5325 if test "${enable_dhcpv6+set}" = set; then :
5326 enableval
=$enable_dhcpv6;
5329 # DHCPv6 is on by default, so define if it is not explicitly disabled.
5330 if test "$enable_dhcpv6" != "no"; then
5332 $as_echo "#define DHCPv6 1" >>confdefs.h
5336 # PARANOIA is off by default (until we can test it with all features)
5337 # Check whether --enable-paranoia was given.
5338 if test "${enable_paranoia+set}" = set; then :
5339 enableval
=$enable_paranoia;
5342 # Check whether --enable-early_chroot was given.
5343 if test "${enable_early_chroot+set}" = set; then :
5344 enableval
=$enable_early_chroot;
5347 # If someone enables early chroot, but does not enable paranoia, do so for
5349 if test "$enable_paranoia" != "yes" && \
5350 test "$enable_early_chroot" = "yes" ; then
5351 enable_paranoia
="yes"
5354 if test "$enable_paranoia" = "yes" ; then
5356 $as_echo "#define PARANOIA 1" >>confdefs.h
5359 if test "$enable_early_chroot" = "yes" ; then
5361 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
5365 # Check whether --enable-ipv4_pktinfo was given.
5366 if test "${enable_ipv4_pktinfo+set}" = set; then :
5367 enableval
=$enable_ipv4_pktinfo;
5371 if test "$enable_ipv4_pktinfo" = "yes"; then
5373 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
5377 # Check whether --enable-use_sockets was given.
5378 if test "${enable_use_sockets+set}" = set; then :
5379 enableval
=$enable_use_sockets;
5383 if test "$enable_use_sockets" = "yes"; then
5385 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
5389 # Try to hnadle incorrect byte order for secs field
5390 # This is off by default
5391 # Check whether --enable-secs_byteorder was given.
5392 if test "${enable_secs_byteorder+set}" = set; then :
5393 enableval
=$enable_secs_byteorder;
5397 if test "$enable_secs_byteorder" = "yes" ; then
5399 $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h
5407 # Check whether --with-atf was given.
5408 if test "${with_atf+set}" = set; then :
5409 withval
=$with_atf; atf_path
="$withval"
5412 if test "$atf_path" != "no" ; then
5413 # Config path for pkg-config
5415 if test "$atf_path" != "yes" ; then
5416 if test -f $atf_path/lib
/pkgconfig
/atf-c.pc
; then
5417 atf_pcp
=$atf_path/lib
/pkgconfig
5418 elif test -f $atf_path/lib64
/pkgconfig
/atf-c.pc
; then
5419 atf_pcp
=$atf_path/lib64
/pkgconfig
5422 # Not specified, try some common paths
5423 atf_dirs
="/usr /usr/local /usr/pkg /opt /opt/local"
5426 if test -f $d/lib
/pkgconfig
/atf-c.pc
; then
5427 atf_pcp
=$d/lib
/pkgconfig
5428 elif test -f $d/lib64
/pkgconfig
/atf-c.pc
; then
5429 atf_pcp
=$d/lib64
/pkgconfig
5433 if test "$atf_pcp" = "" ; then
5434 as_fn_error $?
"Unable to find atf files in location specified" "$LINENO" 5
5436 ATF_CFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
5437 ATF_LDFLAGS
="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
5443 if test "$atf_pcp" != ""; then
5451 ### Uncomment this once docs.lab.isc.org upgrades to automake 1.11
5452 ### AM_COND_IF([HAVE_ATF], [AC_DEFINE([HAVE_ATF], [1], [ATF framework specified?])])
5455 ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
5456 ### need to look there and potentially overwrite by default (but not if
5457 ### the user configures an alternate value). LOCALSTATEDIR is totally
5458 ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
5459 ### they would be insane for suggesting it. We need to look in /var/for
5460 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
5463 if test "x$prefix" = xNONE
; then
5464 $as_echo_n "checking for prefix by " >&6
5465 # Extract the first word of "dhcpd", so it can be a program name with args.
5466 set dummy dhcpd
; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_path_ac_prefix_program+:} false
; then :
5470 $as_echo_n "(cached) " >&6
5472 case $ac_prefix_program in
5474 ac_cv_path_ac_prefix_program
="$ac_prefix_program" # Let the user override the test with a path.
5477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5481 test -z "$as_dir" && as_dir
=.
5482 for ac_exec_ext
in '' $ac_executable_extensions; do
5483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_path_ac_prefix_program
="$as_dir/$ac_word$ac_exec_ext"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 ac_prefix_program
=$ac_cv_path_ac_prefix_program
5496 if test -n "$ac_prefix_program"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
5498 $as_echo "$ac_prefix_program" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 if test -n "$ac_prefix_program"; then
5506 prefix
=`$as_dirname -- "$ac_prefix_program" ||
5507 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5508 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5509 X"$ac_prefix_program" : 'X\(//\)$' \| \
5510 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
5511 $as_echo X"$ac_prefix_program" |
5512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5529 prefix
=`$as_dirname -- "$prefix" ||
5530 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5531 X"$prefix" : 'X\(//\)[^/]' \| \
5532 X"$prefix" : 'X\(//\)$' \| \
5533 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
5534 $as_echo X"$prefix" |
5535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5556 # XXX - isn't there SOME WAY to default autoconf to /var instead of
5557 # /usr/local/var/no/one/has/this/please/stop/trying?
5558 case "$localstatedir" in
5564 # Allow specification of alternate state files
5566 # Check whether --with-srv-lease-file was given.
5567 if test "${with_srv_lease_file+set}" = set; then :
5568 withval
=$with_srv_lease_file;
5569 cat >>confdefs.h
<<_ACEOF
5570 #define _PATH_DHCPD_DB "$withval"
5576 echo -n "checking for dhcpd.leases location..."
5577 if [ "x$with_srv_lease_file" = "x" ] ; then
5578 if [ -d "${localstatedir}/db" ] ; then
5579 with_srv_lease_file
="${localstatedir}/db/dhcpd.leases"
5580 elif [ -d "${localstatedir}/state" ] ; then
5581 if [ -d "${localstatedir}/state/dhcp" ] ; then
5582 with_srv_lease_file
="${localstatedir}/state/dhcp/dhcpd.leases"
5584 with_srv_lease_file
="${localstatedir}/state/dhcpd.leases"
5586 elif [ -d "${localstatedir}/lib" ] ; then
5587 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5588 with_srv_lease_file
="${localstatedir}/lib/dhcp/dhcpd.leases"
5590 with_srv_lease_file
="${localstatedir}/lib/dhcpd.leases"
5592 elif [ -d "${localstatedir}/etc" ] ; then
5593 with_srv_lease_file
="${localstatedir}/etc/dhcpd.leases"
5595 with_srv_lease_file
="/etc/dhcpd.leases"
5598 echo "$with_srv_lease_file"
5601 # Check whether --with-srv6-lease-file was given.
5602 if test "${with_srv6_lease_file+set}" = set; then :
5603 withval
=$with_srv6_lease_file;
5604 cat >>confdefs.h
<<_ACEOF
5605 #define _PATH_DHCPD6_DB "$withval"
5611 echo -n "checking for dhcpd6.leases location..."
5612 if [ "x$with_srv6_lease_file" = "x" ] ; then
5613 if [ -d "${localstatedir}/db" ] ; then
5614 with_srv6_lease_file
="${localstatedir}/db/dhcpd6.leases"
5615 elif [ -d "${localstatedir}/state" ] ; then
5616 if [ -d "${localstatedir}/state/dhcp" ] ; then
5617 with_srv6_lease_file
="${localstatedir}/state/dhcp/dhcpd6.leases"
5619 with_srv6_lease_file
="${localstatedir}/state/dhcpd6.leases"
5621 elif [ -d "${localstatedir}/lib" ] ; then
5622 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5623 with_srv6_lease_file
="${localstatedir}/lib/dhcp/dhcpd6.leases"
5625 with_srv6_lease_file
="${localstatedir}/lib/dhcpd6.leases"
5627 elif [ -d "${localstatedir}/etc" ] ; then
5628 with_srv6_lease_file
="${localstatedir}/etc/dhcpd6.leases"
5630 with_srv6_lease_file
="/etc/dhcpd6.leases"
5633 echo "$with_srv6_lease_file"
5636 # Check whether --with-cli-lease-file was given.
5637 if test "${with_cli_lease_file+set}" = set; then :
5638 withval
=$with_cli_lease_file;
5639 cat >>confdefs.h
<<_ACEOF
5640 #define _PATH_DHCLIENT_DB "$withval"
5646 echo -n "checking for dhclient.leases location..."
5647 if [ "x$with_cli_lease_file" = "x" ] ; then
5648 if [ -d "${localstatedir}/db" ] ; then
5649 with_cli_lease_file
="${localstatedir}/db/dhclient.leases"
5650 elif [ -d "${localstatedir}/state" ] ; then
5651 if [ -d "${localstatedir}/state/dhcp" ] ; then
5652 with_cli_lease_file
="${localstatedir}/state/dhcp/dhclient.leases"
5654 with_cli_lease_file
="${localstatedir}/state/dhclient.leases"
5656 elif [ -d "${localstatedir}/lib" ] ; then
5657 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5658 with_cli_lease_file
="${localstatedir}/lib/dhcp/dhclient.leases"
5660 with_cli_lease_file
="${localstatedir}/lib/dhclient.leases"
5662 elif [ -d "${localstatedir}/etc" ] ; then
5663 with_cli_lease_file
="${localstatedir}/etc/dhclient.leases"
5665 with_cli_lease_file
="/etc/dhclient.leases"
5668 echo "$with_cli_lease_file"
5671 # Check whether --with-cli6-lease-file was given.
5672 if test "${with_cli6_lease_file+set}" = set; then :
5673 withval
=$with_cli6_lease_file;
5674 cat >>confdefs.h
<<_ACEOF
5675 #define _PATH_DHCLIENT6_DB "$withval"
5681 echo -n "checking for dhclient6.leases location..."
5682 if [ "x$with_cli6_lease_file" = "x" ] ; then
5683 if [ -d "${localstatedir}/db" ] ; then
5684 with_cli6_lease_file
="${localstatedir}/db/dhclient6.leases"
5685 elif [ -d "${localstatedir}/state" ] ; then
5686 if [ -d "${localstatedir}/state/dhcp" ] ; then
5687 with_cli6_lease_file
="${localstatedir}/state/dhcp/dhclient6.leases"
5689 with_cli6_lease_file
="${localstatedir}/state/dhclient6.leases"
5691 elif [ -d "${localstatedir}/lib" ] ; then
5692 if [ -d "${localstatedir}/lib/dhcp" ] ; then
5693 with_cli6_lease_file
="${localstatedir}/lib/dhcp/dhclient6.leases"
5695 with_cli6_lease_file
="${localstatedir}/lib/dhclient6.leases"
5697 elif [ -d "${localstatedir}/etc" ] ; then
5698 with_cli6_lease_file
="${localstatedir}/etc/dhclient6.leases"
5700 with_cli6_lease_file
="/etc/dhclient6.leases"
5703 echo "$with_cli6_lease_file"
5706 # Check whether --with-srv-pid-file was given.
5707 if test "${with_srv_pid_file+set}" = set; then :
5708 withval
=$with_srv_pid_file;
5709 cat >>confdefs.h
<<_ACEOF
5710 #define _PATH_DHCPD_PID "$withval"
5716 # Check whether --with-srv6-pid-file was given.
5717 if test "${with_srv6_pid_file+set}" = set; then :
5718 withval
=$with_srv6_pid_file;
5719 cat >>confdefs.h
<<_ACEOF
5720 #define _PATH_DHCPD6_PID "$withval"
5726 # Check whether --with-cli-pid-file was given.
5727 if test "${with_cli_pid_file+set}" = set; then :
5728 withval
=$with_cli_pid_file;
5729 cat >>confdefs.h
<<_ACEOF
5730 #define _PATH_DHCLIENT_PID "$withval"
5736 # Check whether --with-cli6-pid-file was given.
5737 if test "${with_cli6_pid_file+set}" = set; then :
5738 withval
=$with_cli6_pid_file;
5739 cat >>confdefs.h
<<_ACEOF
5740 #define _PATH_DHCLIENT6_PID "$withval"
5746 # Check whether --with-relay-pid-file was given.
5747 if test "${with_relay_pid_file+set}" = set; then :
5748 withval
=$with_relay_pid_file;
5749 cat >>confdefs.h
<<_ACEOF
5750 #define _PATH_DHCRELAY_PID "$withval"
5756 # Check whether --with-relay6-pid-file was given.
5757 if test "${with_relay6_pid_file+set}" = set; then :
5758 withval
=$with_relay6_pid_file;
5759 cat >>confdefs.h
<<_ACEOF
5760 #define _PATH_DHCRELAY6_PID "$withval"
5766 # Check basic types.
5767 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
5768 case $ac_cv_c_int8_t in #(
5772 cat >>confdefs.h
<<_ACEOF
5773 #define int8_t $ac_cv_c_int8_t
5778 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
5779 case $ac_cv_c_int16_t in #(
5783 cat >>confdefs.h
<<_ACEOF
5784 #define int16_t $ac_cv_c_int16_t
5789 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
5790 case $ac_cv_c_int32_t in #(
5794 cat >>confdefs.h
<<_ACEOF
5795 #define int32_t $ac_cv_c_int32_t
5800 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
5801 case $ac_cv_c_int64_t in #(
5805 cat >>confdefs.h
<<_ACEOF
5806 #define int64_t $ac_cv_c_int64_t
5812 # Some systems need the u_intX_t types defined across.
5813 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
5814 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
5818 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
5819 case $ac_cv_c_uint8_t in #(
5823 $as_echo "#define _UINT8_T 1" >>confdefs.h
5826 cat >>confdefs.h
<<_ACEOF
5827 #define uint8_t $ac_cv_c_uint8_t
5833 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
5838 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
5839 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
5843 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
5844 case $ac_cv_c_uint16_t in #(
5849 cat >>confdefs.h
<<_ACEOF
5850 #define uint16_t $ac_cv_c_uint16_t
5856 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
5861 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
5862 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
5866 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
5867 case $ac_cv_c_uint32_t in #(
5871 $as_echo "#define _UINT32_T 1" >>confdefs.h
5874 cat >>confdefs.h
<<_ACEOF
5875 #define uint32_t $ac_cv_c_uint32_t
5881 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
5886 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
5887 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
5891 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5892 case $ac_cv_c_uint64_t in #(
5896 $as_echo "#define _UINT64_T 1" >>confdefs.h
5899 cat >>confdefs.h
<<_ACEOF
5900 #define uint64_t $ac_cv_c_uint64_t
5906 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
5912 # see if ifaddrs.h is available
5913 for ac_header
in ifaddrs.h
5915 ac_fn_c_check_header_mongrel
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
5916 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
5917 cat >>confdefs.h
<<_ACEOF
5918 #define HAVE_IFADDRS_H 1
5926 # figure out what IPv4 interface code to use
5927 for ac_header
in linux
/types.h
5929 ac_fn_c_check_header_mongrel
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
5930 if test "x$ac_cv_header_linux_types_h" = xyes
; then :
5931 cat >>confdefs.h
<<_ACEOF
5932 #define HAVE_LINUX_TYPES_H 1
5938 # needed for linux/filter.h on old systems
5940 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
5941 #ifdef HAVE_LINUX_TYPES_H
5942 #include <linux/types.h>
5946 if test "x$ac_cv_header_linux_filter_h" = xyes
; then :
5951 if test -n "$DO_LPF"
5954 $as_echo "#define HAVE_LPF 1" >>confdefs.h
5957 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
5958 if test "x$ac_cv_header_sys_dlpi_h" = xyes
; then :
5963 if test -n "$DO_DLPI"
5966 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
5969 ac_fn_c_check_header_mongrel
"$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
5970 if test "x$ac_cv_header_net_bpf_h" = xyes
; then :
5975 if test -n "$DO_BPF"
5978 $as_echo "#define HAVE_BPF 1" >>confdefs.h
5984 # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
5985 # use the same structures. We like to use 'struct lifconf' and 'struct
5986 # lifreq', but we'll use these other structures if they're present. HPUX
5987 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
5991 $as_echo_n "checking for struct lifnum... " >&6; }
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include <sys/types.h>
5995 #include <sys/socket.h>
6007 if ac_fn_c_try_compile
"$LINENO"; then :
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6009 $as_echo "yes" >&6; }
6011 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
6020 $as_echo_n "checking for struct if_laddrconf... " >&6; }
6021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <sys/types.h>
6024 #include <net/if6.h>
6029 struct if_laddrconf a;
6035 if ac_fn_c_try_compile
"$LINENO"; then :
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6037 $as_echo "yes" >&6; }
6039 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
6048 $as_echo_n "checking for struct if_laddrreq... " >&6; }
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6051 #include <sys/types.h>
6052 #include <net/if6.h>
6057 struct if_laddrreq a;
6063 if ac_fn_c_try_link
"$LINENO"; then :
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6065 $as_echo "yes" >&6; }
6067 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6073 rm -f core conftest.err conftest.
$ac_objext \
6074 conftest
$ac_exeext conftest.
$ac_ext
6077 # check for GCC noreturn attribute
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
6080 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
6081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6087 void foo() __attribute__((noreturn));
6092 if ac_fn_c_try_compile
"$LINENO"; then :
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6094 $as_echo "yes" >&6; }
6096 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6102 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
6105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6107 # Look for optional headers.
6108 for ac_header
in sys
/socket.h net
/if_dl.h net
/if6.h regex.h
6110 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6111 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6112 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6113 cat >>confdefs.h
<<_ACEOF
6114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6122 # Solaris needs some libraries for functions
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
6124 $as_echo_n "checking for library containing socket... " >&6; }
6125 if ${ac_cv_search_socket+:} false
; then :
6126 $as_echo_n "(cached) " >&6
6128 ac_func_search_save_LIBS
=$LIBS
6129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6132 /* Override any GCC internal prototype to avoid an error.
6133 Use char because int might match the return type of a GCC
6134 builtin and then its argument prototype would still apply. */
6147 for ac_lib
in '' socket
; do
6148 if test -z "$ac_lib"; then
6149 ac_res
="none required"
6152 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6154 if ac_fn_c_try_link
"$LINENO"; then :
6155 ac_cv_search_socket
=$ac_res
6157 rm -f core conftest.err conftest.
$ac_objext \
6159 if ${ac_cv_search_socket+:} false
; then :
6163 if ${ac_cv_search_socket+:} false
; then :
6166 ac_cv_search_socket
=no
6169 LIBS
=$ac_func_search_save_LIBS
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
6172 $as_echo "$ac_cv_search_socket" >&6; }
6173 ac_res
=$ac_cv_search_socket
6174 if test "$ac_res" != no
; then :
6175 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
6180 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
6181 if ${ac_cv_search_inet_ntoa+:} false
; then :
6182 $as_echo_n "(cached) " >&6
6184 ac_func_search_save_LIBS
=$LIBS
6185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6188 /* Override any GCC internal prototype to avoid an error.
6189 Use char because int might match the return type of a GCC
6190 builtin and then its argument prototype would still apply. */
6198 return inet_ntoa ();
6203 for ac_lib
in '' nsl
; do
6204 if test -z "$ac_lib"; then
6205 ac_res
="none required"
6208 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6210 if ac_fn_c_try_link
"$LINENO"; then :
6211 ac_cv_search_inet_ntoa
=$ac_res
6213 rm -f core conftest.err conftest.
$ac_objext \
6215 if ${ac_cv_search_inet_ntoa+:} false
; then :
6219 if ${ac_cv_search_inet_ntoa+:} false
; then :
6222 ac_cv_search_inet_ntoa
=no
6225 LIBS
=$ac_func_search_save_LIBS
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
6228 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
6229 ac_res
=$ac_cv_search_inet_ntoa
6230 if test "$ac_res" != no
; then :
6231 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
6237 $as_echo_n "checking for library containing inet_aton... " >&6; }
6238 if ${ac_cv_search_inet_aton+:} false
; then :
6239 $as_echo_n "(cached) " >&6
6241 ac_func_search_save_LIBS
=$LIBS
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6245 /* Override any GCC internal prototype to avoid an error.
6246 Use char because int might match the return type of a GCC
6247 builtin and then its argument prototype would still apply. */
6255 return inet_aton ();
6260 for ac_lib
in '' socket nsl
; do
6261 if test -z "$ac_lib"; then
6262 ac_res
="none required"
6265 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6267 if ac_fn_c_try_link
"$LINENO"; then :
6268 ac_cv_search_inet_aton
=$ac_res
6270 rm -f core conftest.err conftest.
$ac_objext \
6272 if ${ac_cv_search_inet_aton+:} false
; then :
6276 if ${ac_cv_search_inet_aton+:} false
; then :
6279 ac_cv_search_inet_aton
=no
6282 LIBS
=$ac_func_search_save_LIBS
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
6285 $as_echo "$ac_cv_search_inet_aton" >&6; }
6286 ac_res
=$ac_cv_search_inet_aton
6287 if test "$ac_res" != no
; then :
6288 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6292 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
6297 # Check for a standalone regex library.
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
6299 $as_echo_n "checking for library containing regcomp... " >&6; }
6300 if ${ac_cv_search_regcomp+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 ac_func_search_save_LIBS
=$LIBS
6304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6307 /* Override any GCC internal prototype to avoid an error.
6308 Use char because int might match the return type of a GCC
6309 builtin and then its argument prototype would still apply. */
6322 for ac_lib
in '' regex
; do
6323 if test -z "$ac_lib"; then
6324 ac_res
="none required"
6327 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6329 if ac_fn_c_try_link
"$LINENO"; then :
6330 ac_cv_search_regcomp
=$ac_res
6332 rm -f core conftest.err conftest.
$ac_objext \
6334 if ${ac_cv_search_regcomp+:} false
; then :
6338 if ${ac_cv_search_regcomp+:} false
; then :
6341 ac_cv_search_regcomp
=no
6344 LIBS
=$ac_func_search_save_LIBS
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
6347 $as_echo "$ac_cv_search_regcomp" >&6; }
6348 ac_res
=$ac_cv_search_regcomp
6349 if test "$ac_res" != no
; then :
6350 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6355 for ac_func
in strlcat
6357 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
6358 if test "x$ac_cv_func_strlcat" = xyes
; then :
6359 cat >>confdefs.h
<<_ACEOF
6360 #define HAVE_STRLCAT 1
6367 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
6369 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
6370 if ${ac_cv_search_if_nametoindex+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 ac_func_search_save_LIBS
=$LIBS
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6377 /* Override any GCC internal prototype to avoid an error.
6378 Use char because int might match the return type of a GCC
6379 builtin and then its argument prototype would still apply. */
6383 char if_nametoindex ();
6387 return if_nametoindex ();
6392 for ac_lib
in '' ipv6
; do
6393 if test -z "$ac_lib"; then
6394 ac_res
="none required"
6397 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6399 if ac_fn_c_try_link
"$LINENO"; then :
6400 ac_cv_search_if_nametoindex
=$ac_res
6402 rm -f core conftest.err conftest.
$ac_objext \
6404 if ${ac_cv_search_if_nametoindex+:} false
; then :
6408 if ${ac_cv_search_if_nametoindex+:} false
; then :
6411 ac_cv_search_if_nametoindex
=no
6414 LIBS
=$ac_func_search_save_LIBS
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
6417 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
6418 ac_res
=$ac_cv_search_if_nametoindex
6419 if test "$ac_res" != no
; then :
6420 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6425 # check for /dev/random (declares HAVE_DEV_RANDOM)
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/random" >&5
6427 $as_echo_n "checking for /dev/random... " >&6; }
6428 if ${ac_cv_file__dev_random+:} false
; then :
6429 $as_echo_n "(cached) " >&6
6431 test "$cross_compiling" = yes &&
6432 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6433 if test -r "/dev/random"; then
6434 ac_cv_file__dev_random
=yes
6436 ac_cv_file__dev_random
=no
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_random" >&5
6440 $as_echo "$ac_cv_file__dev_random" >&6; }
6441 if test "x$ac_cv_file__dev_random" = xyes
; then :
6443 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
6448 # see if there is a "sa_len" field in our interface information structure
6449 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
6451 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
6453 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
6458 # figure out pointer size
6459 # The cast to long int works around a bug in the HP C Compiler
6460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6462 # This bug is HP SR number 8606223364.
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
6464 $as_echo_n "checking size of struct iaddr *... " >&6; }
6465 if ${ac_cv_sizeof_struct_iaddr_p+:} false
; then :
6466 $as_echo_n "(cached) " >&6
6468 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p" "
6469 #include \"includes/inet.h\"
6475 if test "$ac_cv_type_struct_iaddr_p" = yes; then
6476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6478 as_fn_error
77 "cannot compute sizeof (struct iaddr *)
6479 See \`config.log' for more details" "$LINENO" 5; }
6481 ac_cv_sizeof_struct_iaddr_p
=0
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
6487 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
6491 cat >>confdefs.h
<<_ACEOF
6492 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
6497 # Solaris does not have the msg_control or msg_controlen members
6498 # in the msghdr structure unless you define:
6500 # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
6502 # See the "standards" man page for details.
6504 # We check for the msg_control member, and if it is not found, we check
6505 # again with the appropriate defines added to the CFLAGS. (In order to
6506 # do this we have to remove the check from the cache, which is what the
6508 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6509 #include <sys/types.h>
6510 #include <sys/socket.h>
6513 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6516 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
6517 CFLAGS
="$CFLAGS -D__EXTENSIONS__"
6518 unset ac_cv_member_struct_msghdr_msg_control
6519 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
6520 #include <sys/types.h>
6521 #include <sys/socket.h>
6524 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
6527 as_fn_error $?
"Missing msg_control member in
6528 msg_control structure." "$LINENO" 5
6537 # Check whether --with-libbind was given.
6538 if test "${with_libbind+set}" = set; then :
6539 withval
=$with_libbind; use_libbind
="$withval"
6544 case "$use_libbind" in
6546 libbind
="\${top_srcdir}/bind"
6549 libbind
="\${top_srcdir}/bind"
6552 libbind
="$use_libbind"
6558 # Check whether --with-ldap was given.
6559 if test "${with_ldap+set}" = set; then :
6560 withval
=$with_ldap; ldap
=$withval
6566 # OpenLDAP with SSL support.
6568 # Check whether --with-ldapcrypto was given.
6569 if test "${with_ldapcrypto+set}" = set; then :
6570 withval
=$with_ldapcrypto; ldapcrypto
=$withval
6576 # OpenLDAP support is disabled by default, if enabled then SSL support is an
6577 # extra optional that is also disabled by default. Enabling LDAP SSL support
6578 # implies enabling LDAP support.
6579 if test x
$ldap = xyes ||
test x
$ldapcrypto = xyes
; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
6581 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
6582 if ${ac_cv_search_ldap_initialize+:} false
; then :
6583 $as_echo_n "(cached) " >&6
6585 ac_func_search_save_LIBS
=$LIBS
6586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6589 /* Override any GCC internal prototype to avoid an error.
6590 Use char because int might match the return type of a GCC
6591 builtin and then its argument prototype would still apply. */
6595 char ldap_initialize ();
6599 return ldap_initialize ();
6604 for ac_lib
in '' ldap
; do
6605 if test -z "$ac_lib"; then
6606 ac_res
="none required"
6609 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6611 if ac_fn_c_try_link
"$LINENO"; then :
6612 ac_cv_search_ldap_initialize
=$ac_res
6614 rm -f core conftest.err conftest.
$ac_objext \
6616 if ${ac_cv_search_ldap_initialize+:} false
; then :
6620 if ${ac_cv_search_ldap_initialize+:} false
; then :
6623 ac_cv_search_ldap_initialize
=no
6626 LIBS
=$ac_func_search_save_LIBS
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
6629 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
6630 ac_res
=$ac_cv_search_ldap_initialize
6631 if test "$ac_res" != no
; then :
6632 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6637 as_fn_error $?
"*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
6638 See \`config.log' for more details" "$LINENO" 5; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
6642 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
6643 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6644 $as_echo_n "(cached) " >&6
6646 ac_func_search_save_LIBS
=$LIBS
6647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6650 /* Override any GCC internal prototype to avoid an error.
6651 Use char because int might match the return type of a GCC
6652 builtin and then its argument prototype would still apply. */
6656 char ber_pvt_opt_on ();
6660 return ber_pvt_opt_on ();
6665 for ac_lib
in '' lber
; do
6666 if test -z "$ac_lib"; then
6667 ac_res
="none required"
6670 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6672 if ac_fn_c_try_link
"$LINENO"; then :
6673 ac_cv_search_ber_pvt_opt_on
=$ac_res
6675 rm -f core conftest.err conftest.
$ac_objext \
6677 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6681 if ${ac_cv_search_ber_pvt_opt_on+:} false
; then :
6684 ac_cv_search_ber_pvt_opt_on
=no
6687 LIBS
=$ac_func_search_save_LIBS
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
6690 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
6691 ac_res
=$ac_cv_search_ber_pvt_opt_on
6692 if test "$ac_res" != no
; then :
6693 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6698 as_fn_error $?
"*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
6699 See \`config.log' for more details" "$LINENO" 5; }
6703 if test x
$ldapcrypto = xyes
; then
6704 LDAP_CFLAGS
="-DLDAP_CONFIGURATION -DLDAP_USE_SSL"
6707 LDAP_CFLAGS
="-DLDAP_CONFIGURATION"
6712 # Append selected warning levels to CFLAGS before substitution (but after
6713 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
6714 CFLAGS
="$CFLAGS $STD_CWARNINGS"
6716 # Try to add the bind include directory
6717 CFLAGS
="$CFLAGS -I$libbind/include"
6721 CFLAGS
="$CFLAGS -D__APPLE_USE_RFC_3542" ;;
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
6726 $as_echo_n "checking for flexible array members... " >&6; }
6727 if ${ac_cv_c_flexmember+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6735 struct s { int n; double d[]; };
6740 struct s *p = malloc (offsetof (struct s, d)
6741 + m * sizeof (double));
6743 return p->d != (double *) NULL;
6748 if ac_fn_c_try_compile
"$LINENO"; then :
6749 ac_cv_c_flexmember
=yes
6751 ac_cv_c_flexmember
=no
6753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
6756 $as_echo "$ac_cv_c_flexmember" >&6; }
6757 if test $ac_cv_c_flexmember = yes; then
6759 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
6762 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
6767 ac_config_files
="$ac_config_files Makefile client/Makefile common/Makefile common/tests/Makefile dhcpctl/Makefile dst/Makefile includes/Makefile omapip/Makefile relay/Makefile server/Makefile tests/Makefile server/tests/Makefile doc/devel/doxyfile"
6769 cat >confcache
<<\_ACEOF
6770 # This file is a shell script that caches the results of configure
6771 # tests run on this system so they can be shared between configure
6772 # scripts and configure runs, see configure's option --config-cache.
6773 # It is not useful on other systems. If it contains results you don't
6774 # want to keep, you may remove or edit it.
6776 # config.status only pays attention to the cache file if you give it
6777 # the --recheck option to rerun configure.
6779 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6785 # The following way of writing the cache mishandles newlines in values,
6786 # but we know of no workaround that is simple, portable, and efficient.
6787 # So, we kill variables containing newlines.
6788 # Ultrix sh set writes to stderr and can't be redirected directly,
6789 # and sets the high bit in the cache file unless we assign to the vars.
6791 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6792 eval ac_val
=\$
$ac_var
6796 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6797 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6800 _ | IFS | as_nl
) ;; #(
6801 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6802 *) { eval $ac_var=; unset $ac_var;} ;;
6808 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6809 *${as_nl}ac_space
=\
*)
6810 # `set' does not quote correctly, so add quotes: double-quote
6811 # substitution turns \\\\ into \\, and sed turns \\ into \.
6814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6817 # `set' quotes correctly as required by POSIX, so do not add quotes.
6818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6829 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6831 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6832 if test -w "$cache_file"; then
6833 if test "x$cache_file" != "x/dev/null"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6835 $as_echo "$as_me: updating cache $cache_file" >&6;}
6836 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6837 cat confcache
>"$cache_file"
6839 case $cache_file in #(
6841 mv -f confcache
"$cache_file"$$
&&
6842 mv -f "$cache_file"$$
"$cache_file" ;; #(
6844 mv -f confcache
"$cache_file" ;;
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6850 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6855 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6856 # Let make expand exec_prefix.
6857 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6859 DEFS
=-DHAVE_CONFIG_H
6864 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6865 # 1. Remove the extension, and $U if already installed.
6866 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6867 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6868 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6869 # will be set to the directory where LIBOBJS objects are built.
6870 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6871 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6875 LTLIBOBJS
=$ac_ltlibobjs
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6879 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6880 if test -n "$am_sleep_pid"; then
6881 # Hide warnings about reused PIDs.
6882 wait $am_sleep_pid 2>/dev
/null
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6885 $as_echo "done" >&6; }
6886 if test -n "$EXEEXT"; then
6888 am__EXEEXT_FALSE
='#'
6894 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6895 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6898 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6899 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6902 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6903 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6907 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
6908 as_fn_error $?
"conditional \"HAVE_ATF\" was never defined.
6909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6912 : "${CONFIG_STATUS=./config.status}"
6914 ac_clean_files_save
=$ac_clean_files
6915 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6917 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6919 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6921 # Generated by $as_me.
6922 # Run this file to recreate the current configuration.
6923 # Compiler output produced by configure, useful for debugging
6924 # configure, is in config.log if it exists.
6930 SHELL=\${CONFIG_SHELL-$SHELL}
6933 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6934 ## -------------------- ##
6935 ## M4sh Initialization. ##
6936 ## -------------------- ##
6938 # Be more Bourne compatible
6939 DUALCASE
=1; export DUALCASE
# for MKS sh
6940 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6943 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6944 # is contrary to our usage. Disable this feature.
6945 alias -g '${1+"$@"}'='"$@"'
6946 setopt NO_GLOB_SUBST
6948 case `(set -o) 2>/dev/null` in #(
6960 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6961 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6962 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6963 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6964 # Prefer a ksh shell builtin over an external printf program on Solaris,
6965 # but without wasting forks for bash or zsh.
6966 if test -z "$BASH_VERSION$ZSH_VERSION" \
6967 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6968 as_echo='print
-r --'
6969 as_echo_n='print
-rn --'
6970 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6971 as_echo='printf %s
\n'
6972 as_echo_n='printf %s
'
6974 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6975 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6976 as_echo_n='/usr
/ucb
/echo -n'
6978 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6979 as_echo_n_body='eval
6983 expr "X$arg" : "X\\(.*\\)$as_nl";
6984 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6986 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6988 export as_echo_n_body
6989 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6992 as_echo='sh
-c $as_echo_body as_echo
'
6995 # The user is always right.
6996 if test "${PATH_SEPARATOR+set}" != set; then
6998 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6999 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7006 # We need space, tab and new line, in precisely that order. Quoting is
7007 # there to prevent editors from complaining about space-tab.
7008 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7009 # splitting by setting IFS to empty value.)
7012 # Find who we are. Look in the path if we contain no directory separator.
7015 *[\\/]* ) as_myself=$0 ;;
7016 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7027 # We did not find ourselves, most probably we were run as `sh COMMAND'
7028 # in which case we are not to be found in the path.
7029 if test "x$as_myself" = x
; then
7032 if test ! -f "$as_myself"; then
7033 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7037 # Unset variables that we do not need and which cause bugs (e.g. in
7038 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7039 # suppresses any "Segmentation fault" message there. '((' could
7040 # trigger a bug in pdksh 5.2.14.
7041 for as_var
in BASH_ENV ENV MAIL MAILPATH
7042 do eval test x\
${$as_var+set} = xset \
7043 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7056 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7059 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7060 # ----------------------------------------
7061 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7062 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7063 # script with STATUS, using 1 if that was 0.
7066 as_status
=$1; test $as_status -eq 0 && as_status
=1
7068 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7069 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7071 $as_echo "$as_me: error: $2" >&2
7072 as_fn_exit
$as_status
7076 # as_fn_set_status STATUS
7077 # -----------------------
7078 # Set $? to STATUS, without forking.
7082 } # as_fn_set_status
7086 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7096 # Portably unset VAR.
7099 { eval $1=; unset $1;}
7101 as_unset
=as_fn_unset
7102 # as_fn_append VAR VALUE
7103 # ----------------------
7104 # Append the text in VALUE to the end of the definition contained in VAR. Take
7105 # advantage of any shell optimizations that allow amortized linear growth over
7106 # repeated appends, instead of the typical quadratic growth present in naive
7108 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7109 eval 'as_fn_append ()
7120 # as_fn_arith ARG...
7121 # ------------------
7122 # Perform arithmetic evaluation on the ARGs, and store the result in the
7123 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7124 # must be portable across $(()) and expr.
7125 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7126 eval 'as_fn_arith ()
7133 as_val
=`expr "$@" || test $? -eq 1`
7138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7146 as_basename
=basename
7151 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7157 as_me
=`$as_basename -- "$0" ||
7158 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7159 X"$0" : 'X\(//\)$' \| \
7160 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7162 sed '/^.*\/\([^/][^/]*\)\/*$/{
7176 # Avoid depending upon Character Ranges.
7177 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7178 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7179 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7180 as_cr_digits
='0123456789'
7181 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7183 ECHO_C
= ECHO_N
= ECHO_T
=
7184 case `echo -n x` in #(((((
7186 case `echo 'xy\c'` in
7187 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7189 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7196 rm -f conf$$ conf$$.exe conf$$.
file
7197 if test -d conf$$.dir
; then
7198 rm -f conf$$.dir
/conf$$.
file
7201 mkdir conf$$.dir
2>/dev
/null
7203 if (echo >conf$$.
file) 2>/dev
/null
; then
7204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7206 # ... but there are two gotchas:
7207 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7208 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7209 # In both cases, we have to default to `cp -pR'.
7210 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7212 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7220 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7221 rmdir conf$$.dir
2>/dev
/null
7226 # Create "$as_dir" as a directory, including parents if necessary.
7231 -*) as_dir
=.
/$as_dir;;
7233 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7237 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7238 *) as_qdir
=$as_dir;;
7240 as_dirs
="'$as_qdir' $as_dirs"
7241 as_dir
=`$as_dirname -- "$as_dir" ||
7242 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7243 X"$as_dir" : 'X\(//\)[^/]' \| \
7244 X"$as_dir" : 'X\(//\)$' \| \
7245 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7246 $as_echo X"$as_dir" |
7247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7264 test -d "$as_dir" && break
7266 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7267 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7271 if mkdir
-p .
2>/dev
/null
; then
7272 as_mkdir_p
='mkdir -p "$as_dir"'
7274 test -d .
/-p && rmdir .
/-p
7279 # as_fn_executable_p FILE
7280 # -----------------------
7281 # Test if FILE is an executable regular file.
7282 as_fn_executable_p
()
7284 test -f "$1" && test -x "$1"
7285 } # as_fn_executable_p
7287 as_executable_p
=as_fn_executable_p
7289 # Sed expression to map a string onto a valid CPP name.
7290 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7292 # Sed expression to map a string onto a valid variable name.
7293 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7297 ## ----------------------------------- ##
7298 ## Main body of $CONFIG_STATUS script. ##
7299 ## ----------------------------------- ##
7301 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7304 # Save the log message, to keep $0 and so on meaningful, and to
7305 # report actual input values of CONFIG_FILES etc. instead of their
7306 # values after options handling.
7308 This file was extended by DHCP $as_me 4.3.0, which was
7309 generated by GNU Autoconf 2.69. Invocation command line was
7311 CONFIG_FILES = $CONFIG_FILES
7312 CONFIG_HEADERS = $CONFIG_HEADERS
7313 CONFIG_LINKS = $CONFIG_LINKS
7314 CONFIG_COMMANDS = $CONFIG_COMMANDS
7317 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7322 case $ac_config_files in *"
7323 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7326 case $ac_config_headers in *"
7327 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7332 # Files that config.status was made for.
7333 config_files="$ac_config_files"
7334 config_headers="$ac_config_headers"
7335 config_commands="$ac_config_commands"
7339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7341 \`$as_me' instantiates files and other configuration actions
7342 from templates according to the current configuration. Unless the files
7343 and actions are specified as TAGs, all are instantiated by default.
7345 Usage: $0 [OPTION]... [TAG]...
7347 -h, --help print this help, then exit
7348 -V, --version print version number and configuration settings, then exit
7349 --config print configuration, then exit
7350 -q, --quiet, --silent
7351 do not print progress messages
7352 -d, --debug don't remove temporary files
7353 --recheck update $as_me by reconfiguring in the same conditions
7354 --file=FILE[:TEMPLATE]
7355 instantiate the configuration file FILE
7356 --header=FILE[:TEMPLATE]
7357 instantiate the configuration header FILE
7359 Configuration files:
7362 Configuration headers:
7365 Configuration commands:
7368 Report bugs to <dhcp-users@isc.org>."
7371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7372 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7374 DHCP config.status 4.3.0
7375 configured by $0, generated by GNU Autoconf 2.69,
7376 with options \\"\$ac_cs_config\\"
7378 Copyright (C) 2012 Free Software Foundation, Inc.
7379 This config.status script is free software; the Free Software Foundation
7380 gives unlimited permission to copy, distribute and modify it."
7387 test -n "\$AWK" || AWK=awk
7390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7391 # The default lists apply if the user does not specify any file.
7397 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7398 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7402 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7414 # Handling of the options.
7415 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7417 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7418 $as_echo "$ac_cs_version"; exit ;;
7419 --config |
--confi |
--conf |
--con |
--co |
--c )
7420 $as_echo "$ac_cs_config"; exit ;;
7421 --debug |
--debu |
--deb |
--de |
--d |
-d )
7423 --file |
--fil |
--fi |
--f )
7426 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7427 '') as_fn_error $?
"missing file argument" ;;
7429 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7430 ac_need_defaults
=false
;;
7431 --header |
--heade |
--head |
--hea )
7434 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7436 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7437 ac_need_defaults
=false
;;
7439 # Conflict between --help and --header
7440 as_fn_error $?
"ambiguous option: \`$1'
7441 Try \`$0 --help' for more information.";;
7442 --help |
--hel |
-h )
7443 $as_echo "$ac_cs_usage"; exit ;;
7444 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7445 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7449 -*) as_fn_error $?
"unrecognized option: \`$1'
7450 Try \`$0 --help' for more information." ;;
7452 *) as_fn_append ac_config_targets
" $1"
7453 ac_need_defaults
=false
;;
7459 ac_configure_extra_args
=
7461 if $ac_cs_silent; then
7463 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7468 if \$ac_cs_recheck; then
7469 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7471 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7472 CONFIG_SHELL='$SHELL'
7478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7482 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7483 ## Running $as_me. ##
7489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7493 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7499 # Handling of arguments.
7500 for ac_config_target
in $ac_config_targets
7502 case $ac_config_target in
7503 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7504 "includes/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS includes/config.h" ;;
7505 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7506 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
7507 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
7508 "common/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES common/tests/Makefile" ;;
7509 "dhcpctl/Makefile") CONFIG_FILES
="$CONFIG_FILES dhcpctl/Makefile" ;;
7510 "dst/Makefile") CONFIG_FILES
="$CONFIG_FILES dst/Makefile" ;;
7511 "includes/Makefile") CONFIG_FILES
="$CONFIG_FILES includes/Makefile" ;;
7512 "omapip/Makefile") CONFIG_FILES
="$CONFIG_FILES omapip/Makefile" ;;
7513 "relay/Makefile") CONFIG_FILES
="$CONFIG_FILES relay/Makefile" ;;
7514 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
7515 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7516 "server/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES server/tests/Makefile" ;;
7517 "doc/devel/doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/devel/doxyfile" ;;
7519 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7524 # If the user did not use the arguments to specify the items to instantiate,
7525 # then the envvar interface is used. Set only those that are not.
7526 # We use the long form for the default assignment because of an extremely
7527 # bizarre bug on SunOS 4.1.3.
7528 if $ac_need_defaults; then
7529 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7530 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7531 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7534 # Have a temporary directory for convenience. Make it in the build tree
7535 # simply because there is no reason against having it here, and in addition,
7536 # creating and moving files from /tmp can sometimes cause problems.
7537 # Hook for its removal unless debugging.
7538 # Note that there is a small window in which the directory will not be cleaned:
7539 # after its creation but before its name has been assigned to `$tmp'.
7543 trap 'exit_status=$?
7545 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7547 trap 'as_fn_exit 1' 1 2 13 15
7549 # Create a (secure) tmp directory for tmp files.
7552 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7556 tmp
=.
/conf$$
-$RANDOM
7557 (umask 077 && mkdir
"$tmp")
7558 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7561 # Set up the scripts for CONFIG_FILES section.
7562 # No need to generate them if there are no CONFIG_FILES.
7563 # This happens for instance with `./config.status config.h'.
7564 if test -n "$CONFIG_FILES"; then
7567 ac_cr
=`echo X | tr X '\015'`
7568 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7569 # But we know of no other shell where ac_cr would be empty at this
7570 # point, so we can use a bashism as a fallback.
7571 if test "x$ac_cr" = x
; then
7572 eval ac_cr
=\$
\'\\r
\'
7574 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7575 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7581 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7586 echo "cat >conf$$subs.awk <<_ACEOF" &&
7587 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7590 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7591 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7593 for ac_last_try in false false false false false :; do
7594 . ./conf$$subs.sh ||
7595 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7597 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7598 if test $ac_delim_n = $ac_delim_num; then
7600 elif $ac_last_try; then
7601 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7603 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7609 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7613 s/^/S["/; s
/!.
*/"]=/
7623 s/\(.\{148\}\)..*/\1/
7625 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7637 s/\(.\{148\}\)..*/\1/
7639 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7643 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7648 ' <conf$$subs.awk | sed '
7653 ' >>$CONFIG_STATUS || ac_write_fail=1
7654 rm -f conf$$subs.awk
7655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7657 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7658 for (key in S) S_is_set[key] = 1
7664 nfields = split(line, field, "@
")
7666 len = length(field[1])
7667 for (i = 2; i < nfields; i++) {
7669 keylen = length(key)
7670 if (S_is_set[key]) {
7672 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7673 len += length(value) + length(field[++i])
7684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7685 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7686 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7689 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7690 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7693 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7694 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7695 # trailing colons and then remove the whole line if VPATH becomes empty
7696 # (actually we leave an empty line to preserve line numbers).
7697 if test "x
$srcdir" = x.; then
7698 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7717 fi # test -n "$CONFIG_FILES"
7719 # Set up the scripts for CONFIG_HEADERS section.
7720 # No need to generate them if there are no CONFIG_HEADERS.
7721 # This happens for instance with `./config.status Makefile'.
7722 if test -n "$CONFIG_HEADERS"; then
7723 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7727 # Transform confdefs.h into an awk script `defines.awk', embedded as
7728 # here-document in config.status, that substitutes the proper values into
7729 # config.h.in to produce config.h.
7731 # Create a delimiter string that does not exist in confdefs.h, to ease
7732 # handling of long lines.
7734 for ac_last_try in false false :; do
7735 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7736 if test -z "$ac_tt"; then
7738 elif $ac_last_try; then
7739 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7741 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7745 # For the awk script, D is an array of macro values keyed by name,
7746 # likewise P contains macro parameters if any. Preserve backslash
7747 # newline sequences.
7749 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7751 s/.\{148\}/&'"$ac_delim"'/g
7754 s/^[ ]*#[ ]*define[ ][ ]*/ /
7761 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7763 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7767 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7768 D["\
1"]=" \
3\\\\\\n
"\\/p
7770 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7775 s/.\{148\}/&'"$ac_delim"'/g
7780 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7783 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7785 ' <confdefs.h | sed '
7786 s/'"$ac_delim"'/"\\\
7787 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7790 for (key in D) D_is_set[key] = 1
7793 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7795 split(line, arg, " ")
7796 if (arg[1] == "#") {
7800 defundef
= substr
(arg
[1], 2)
7803 split(mac1
, mac2
, "(") #)
7805 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7806 if (D_is_set
[macro
]) {
7807 # Preserve the white space surrounding the "#".
7808 print prefix
"define", macro P
[macro
] D
[macro
]
7811 # Replace #undef with comments. This is necessary, for example,
7812 # in the case of _POSIX_SOURCE, which is predefined and required
7813 # on some systems where configure will not decide to define it.
7814 if (defundef
== "undef") {
7815 print
"/*", prefix defundef
, macro
, "*/"
7823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7824 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7825 fi # test -n "$CONFIG_HEADERS"
7828 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7833 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7835 case $ac_mode$ac_tag in
7837 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7838 :[FH
]-) ac_tag
=-:-;;
7839 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7856 -) ac_f
="$ac_tmp/stdin";;
7857 *) # Look for the file first in the build tree, then in the source tree
7858 # (if the path is not absolute). The absolute path cannot be DOS-style,
7859 # because $ac_f cannot contain `:'.
7863 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7865 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7867 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7868 as_fn_append ac_file_inputs
" '$ac_f'"
7871 # Let's still pretend it is `configure' which instantiates (i.e., don't
7872 # use $as_me), people would be surprised to read:
7873 # /* config.h. Generated by config.status. */
7874 configure_input
='Generated from '`
7875 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7877 if test x
"$ac_file" != x-
; then
7878 configure_input
="$ac_file. $configure_input"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7880 $as_echo "$as_me: creating $ac_file" >&6;}
7882 # Neutralize special characters interpreted by sed in replacement strings.
7883 case $configure_input in #(
7884 *\
&* |
*\|
* |
*\\* )
7885 ac_sed_conf_input
=`$as_echo "$configure_input" |
7886 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7887 *) ac_sed_conf_input
=$configure_input;;
7891 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7892 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7897 ac_dir
=`$as_dirname -- "$ac_file" ||
7898 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7899 X"$ac_file" : 'X\(//\)[^/]' \| \
7900 X"$ac_file" : 'X\(//\)$' \| \
7901 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7902 $as_echo X"$ac_file" |
7903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7920 as_dir
="$ac_dir"; as_fn_mkdir_p
7924 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7926 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7927 # A ".." for each directory in $ac_dir_suffix.
7928 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7929 case $ac_top_builddir_sub in
7930 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7931 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7934 ac_abs_top_builddir
=$ac_pwd
7935 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7936 # for backward compatibility:
7937 ac_top_builddir
=$ac_top_build_prefix
7940 .
) # We are building in place.
7942 ac_top_srcdir
=$ac_top_builddir_sub
7943 ac_abs_top_srcdir
=$ac_pwd ;;
7944 [\\/]* | ?
:[\\/]* ) # Absolute name.
7945 ac_srcdir
=$srcdir$ac_dir_suffix;
7946 ac_top_srcdir
=$srcdir
7947 ac_abs_top_srcdir
=$srcdir ;;
7949 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7950 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7951 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7953 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7963 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7964 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7968 [\\/$
]* | ?
:[\\/]* ) ;;
7969 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7974 # Neutralize VPATH when `$srcdir' = `.'.
7975 # Shell code in configure.ac might set extrasub.
7976 # FIXME: do we really want to maintain this feature?
7977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7978 ac_sed_extra="$ac_vpsub
7981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7983 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7984 s|@configure_input@|
$ac_sed_conf_input|
;t t
7985 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7986 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7987 s
&@srcdir@
&$ac_srcdir&;t t
7988 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7989 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7990 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7991 s
&@builddir@
&$ac_builddir&;t t
7992 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7993 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7994 s
&@INSTALL@
&$ac_INSTALL&;t t
7995 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7997 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7998 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8001 rm -f "$ac_tmp/stdin
"
8003 -) cat "$ac_tmp/out
" && rm -f "$ac_tmp/out
";;
8004 *) rm -f "$ac_file" && mv "$ac_tmp/out
" "$ac_file";;
8006 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8012 if test x"$ac_file" != x-; then
8014 $as_echo "/* $configure_input */" \
8015 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs"
8016 } >"$ac_tmp/config.h
" \
8017 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8018 if diff "$ac_file" "$ac_tmp/config.h
" >/dev/null 2>&1; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged
" >&5
8020 $as_echo "$as_me: $ac_file is unchanged
" >&6;}
8023 mv "$ac_tmp/config.h
" "$ac_file" \
8024 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8027 $as_echo "/* $configure_input */" \
8028 && eval '$AWK -f "$ac_tmp/defines.
awk"' "$ac_file_inputs" \
8029 || as_fn_error $? "could not create
-" "$LINENO" 5
8031 # Compute "$ac_file"'s index in $config_headers.
8034 for _am_header in $config_headers :; do
8036 $_am_arg | $_am_arg:* )
8039 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8042 echo "timestamp
for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8043 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8044 X"$_am_arg" : 'X\(//\)[^/]' \| \
8045 X"$_am_arg" : 'X\(//\)$' \| \
8046 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8047 $as_echo X"$_am_arg" |
8048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8064 s/.*/./; q'`/stamp-h$_am_stamp_count
8067 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing
$ac_file commands
" >&5
8068 $as_echo "$as_me: executing
$ac_file commands
" >&6;}
8073 case $ac_file$ac_mode in
8074 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || {
8075 # Older Autoconf quotes --file arguments for eval, but not when files
8076 # are listed without --file. Let's play safe and only enable the eval
8077 # if we detect the quoting.
8078 case $CONFIG_FILES in
8079 *\'*) eval set x "$CONFIG_FILES" ;;
8080 *) set x $CONFIG_FILES ;;
8085 # Strip MF so we end up with the name of the file.
8086 mf=`echo "$mf" | sed -e 's/:.*$//'`
8087 # Check whether this is an Automake generated Makefile or not.
8088 # We used to match only the files named 'Makefile.in', but
8089 # some people rename them; so instead we look at the file content.
8090 # Grep'ing the first line is not enough: some people post-process
8091 # each Makefile.in and add a new line on top of each file to say so.
8092 # Grep'ing the whole file is not good either: AIX grep has a line
8093 # limit of 2048, but all sed's we know have understand at least 4000.
8094 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8095 dirpart=`$as_dirname -- "$mf" ||
8096 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8097 X"$mf" : 'X\(//\)[^/]' \| \
8098 X"$mf" : 'X\(//\)$' \| \
8099 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8121 # Extract the definition of DEPDIR, am__include, and am__quote
8122 # from the Makefile without running 'make'.
8123 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8124 test -z "$DEPDIR" && continue
8125 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8126 test -z "$am__include" && continue
8127 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8128 # Find all dependency output files, they are included files with
8129 # $(DEPDIR) in their names. We invoke sed twice because it is the
8130 # simplest approach to changing $(DEPDIR) to its actual value in the
8132 for file in `sed -n "
8133 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8134 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8135 # Make sure the directory exists.
8136 test -f "$dirpart/$file" && continue
8137 fdir=`$as_dirname -- "$file" ||
8138 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8139 X"$file" : 'X\(//\)[^/]' \| \
8140 X"$file" : 'X\(//\)$' \| \
8141 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8160 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8161 # echo "creating
$dirpart/$file"
8162 echo '# dummy' > "$dirpart/$file"
8174 ac_clean_files=$ac_clean_files_save
8176 test $ac_write_fail = 0 ||
8177 as_fn_error $? "write failure creating
$CONFIG_STATUS" "$LINENO" 5
8180 # configure is writing to config.log, and then calls config.status.
8181 # config.status does its own redirection, appending to config.log.
8182 # Unfortunately, on DOS this fails, as config.log is still kept open
8183 # by configure, so config.status won't be able to write to it; its
8184 # output is simply discarded. So we exec the FD to /dev/null,
8185 # effectively closing config.log, so it can be properly (re)opened and
8186 # appended to by config.status. When coming back to configure, we
8187 # need to make the FD available again.
8188 if test "$no_create" != yes; then
8190 ac_config_status_args=
8191 test "$silent" = yes &&
8192 ac_config_status_args="$ac_config_status_args --quiet"
8194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8197 # would make configure fail if this is the last instruction.
8198 $ac_cs_success || as_fn_exit 1
8200 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&5
8202 $as_echo "$as_me: WARNING
: unrecognized options
: $ac_unrecognized_opts" >&2;}
8208 cat > config.report << END
8210 ISC DHCP source configure results:
8211 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8215 Version: $PACKAGE_VERSION
8224 debug: $enable_debug
8225 failover: $enable_failover
8226 execute: $enable_execute
8229 ATF unittests : $atf_path
8232 # TODO: Add Perl system tests
8234 if test "$atf_path" != "no
"
8236 echo "ATF_CFLAGS
: $ATF_CFLAGS" >> config.report
8237 echo "ATF_LDFLAGS
: $ATF_LDFLAGS" >> config.report
8244 echo Now you can type "make" to build ISC DHCP