Merge branch 'tomato-ND-USBmod' into tomato-RT
[tomato.git] / release / src / router / radvd / configure
blob29f4982a9d407a4e07de607c1b0fe2d2277a6c7c
1 #! /bin/sh
2 # From configure.in .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.65.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
33 esac
37 as_nl='
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
92 # Find who we are. Look in the path if we contain no directory separator.
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
151 esac
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 else
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
233 $0: including any error possibly output before this
234 $0: message. Then install a modern shell, or manually run
235 $0: the script under such a shell if you do have one."
237 exit 1
241 SHELL=${CONFIG_SHELL-/bin/sh}
242 export SHELL
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE= GREP_OPTIONS=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
250 # as_fn_unset VAR
251 # ---------------
252 # Portably unset VAR.
253 as_fn_unset ()
255 { eval $1=; unset $1;}
257 as_unset=as_fn_unset
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
262 as_fn_set_status ()
264 return $1
265 } # as_fn_set_status
267 # as_fn_exit STATUS
268 # -----------------
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
270 as_fn_exit ()
272 set +e
273 as_fn_set_status $1
274 exit $1
275 } # as_fn_exit
277 # as_fn_mkdir_p
278 # -------------
279 # Create "$as_dir" as a directory, including parents if necessary.
280 as_fn_mkdir_p ()
283 case $as_dir in #(
284 -*) as_dir=./$as_dir;;
285 esac
286 test -d "$as_dir" || eval $as_mkdir_p || {
287 as_dirs=
288 while :; do
289 case $as_dir in #(
290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 *) as_qdir=$as_dir;;
292 esac
293 as_dirs="'$as_qdir' $as_dirs"
294 as_dir=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
301 s//\1/
304 /^X\(\/\/\)[^/].*/{
305 s//\1/
308 /^X\(\/\/\)$/{
309 s//\1/
312 /^X\(\/\).*/{
313 s//\1/
316 s/.*/./; q'`
317 test -d "$as_dir" && break
318 done
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 } # as_fn_mkdir_p
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
329 # implementations.
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 eval 'as_fn_append ()
333 eval $1+=\$2
335 else
336 as_fn_append ()
338 eval $1=\$$1\$2
340 fi # as_fn_append
342 # as_fn_arith ARG...
343 # ------------------
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
348 eval 'as_fn_arith ()
350 as_val=$(( $* ))
352 else
353 as_fn_arith ()
355 as_val=`expr "$@" || test $? -eq 1`
357 fi # as_fn_arith
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
365 as_fn_error ()
367 as_status=$?; test $as_status -eq 0 && as_status=1
368 if test "$3"; then
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit $as_status
374 } # as_fn_error
376 if expr a : '\(a\)' >/dev/null 2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
378 as_expr=expr
379 else
380 as_expr=false
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384 as_basename=basename
385 else
386 as_basename=false
389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
390 as_dirname=dirname
391 else
392 as_dirname=false
395 as_me=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 $as_echo X/"$0" |
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
401 s//\1/
404 /^X\/\(\/\/\)$/{
405 s//\1/
408 /^X\/\(\/\).*/{
409 s//\1/
412 s/.*/./; q'`
414 # Avoid depending upon Character Ranges.
415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits='0123456789'
419 as_cr_alnum=$as_cr_Letters$as_cr_digits
422 as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
427 sed -n '
429 /[$]LINENO/=
430 ' <$as_myself |
431 sed '
432 s/[$]LINENO.*/&-/
433 t lineno
435 :lineno
437 :loop
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 t loop
440 s/-\n.*//
441 ' >$as_me.lineno &&
442 chmod +x "$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
448 . "./$as_me.lineno"
449 # Exit status is that of the last command.
450 exit
453 ECHO_C= ECHO_N= ECHO_T=
454 case `echo -n x` in #(((((
455 -n*)
456 case `echo 'xy\c'` in
457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 xy) ECHO_C='\c';;
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
460 ECHO_T=' ';;
461 esac;;
463 ECHO_N='-n';;
464 esac
466 rm -f conf$$ conf$$.exe conf$$.file
467 if test -d conf$$.dir; then
468 rm -f conf$$.dir/conf$$.file
469 else
470 rm -f conf$$.dir
471 mkdir conf$$.dir 2>/dev/null
473 if (echo >conf$$.file) 2>/dev/null; then
474 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 as_ln_s='ln -s'
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 as_ln_s='cp -p'
482 elif ln conf$$.file conf$$ 2>/dev/null; then
483 as_ln_s=ln
484 else
485 as_ln_s='cp -p'
487 else
488 as_ln_s='cp -p'
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
493 if mkdir -p . 2>/dev/null; then
494 as_mkdir_p='mkdir -p "$as_dir"'
495 else
496 test -d ./-p && rmdir ./-p
497 as_mkdir_p=false
500 if test -x / >/dev/null 2>&1; then
501 as_test_x='test -x'
502 else
503 if ls -dL / >/dev/null 2>&1; then
504 as_ls_L_option=L
505 else
506 as_ls_L_option=
508 as_test_x='
509 eval sh -c '\''
510 if test -d "$1"; then
511 test -d "$1/.";
512 else
513 case $1 in #(
514 -*)set "./$1";;
515 esac;
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
518 '\'' sh
521 as_executable_p=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 test -n "$DJDIR" || exec 7<&0 </dev/null
531 exec 6>&1
533 # Name of the host.
534 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
535 # so uname gets run too.
536 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 # Initializations.
541 ac_default_prefix=/usr/local
542 ac_clean_files=
543 ac_config_libobj_dir=.
544 LIBOBJS=
545 cross_compiling=no
546 subdirs=
547 MFLAGS=
548 MAKEFLAGS=
550 # Identity of this package.
551 PACKAGE_NAME=
552 PACKAGE_TARNAME=
553 PACKAGE_VERSION=
554 PACKAGE_STRING=
555 PACKAGE_BUGREPORT=
556 PACKAGE_URL=
558 ac_unique_file="radvd.c"
559 # Factoring default headers for most tests.
560 ac_includes_default="\
561 #include <stdio.h>
562 #ifdef HAVE_SYS_TYPES_H
563 # include <sys/types.h>
564 #endif
565 #ifdef HAVE_SYS_STAT_H
566 # include <sys/stat.h>
567 #endif
568 #ifdef STDC_HEADERS
569 # include <stdlib.h>
570 # include <stddef.h>
571 #else
572 # ifdef HAVE_STDLIB_H
573 # include <stdlib.h>
574 # endif
575 #endif
576 #ifdef HAVE_STRING_H
577 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 # include <memory.h>
579 # endif
580 # include <string.h>
581 #endif
582 #ifdef HAVE_STRINGS_H
583 # include <strings.h>
584 #endif
585 #ifdef HAVE_INTTYPES_H
586 # include <inttypes.h>
587 #endif
588 #ifdef HAVE_STDINT_H
589 # include <stdint.h>
590 #endif
591 #ifdef HAVE_UNISTD_H
592 # include <unistd.h>
593 #endif"
595 ac_subst_vars='am__EXEEXT_FALSE
596 am__EXEEXT_TRUE
597 LTLIBOBJS
598 LIBOBJS
599 LOG_FACILITY
600 PATH_RADVD_LOG
601 PATH_RADVD_PID
602 PATH_RADVD_CONF
603 CONDITIONAL_SOURCES
604 EGREP
605 GREP
607 GZIP
609 LEXLIB
610 LEX_OUTPUT_ROOT
612 YFLAGS
613 YACC
617 am__fastdepCC_FALSE
618 am__fastdepCC_TRUE
619 CCDEPMODE
620 AMDEPBACKSLASH
621 AMDEP_FALSE
622 AMDEP_TRUE
623 am__quote
624 am__include
625 DEPDIR
626 OBJEXT
627 EXEEXT
628 ac_ct_CC
629 CPPFLAGS
630 LDFLAGS
631 CFLAGS
633 AM_BACKSLASH
634 AM_DEFAULT_VERBOSITY
635 am__untar
636 am__tar
637 AMTAR
638 am__leading_dot
639 SET_MAKE
641 mkdir_p
642 MKDIR_P
643 INSTALL_STRIP_PROGRAM
644 STRIP
645 install_sh
646 MAKEINFO
647 AUTOHEADER
648 AUTOMAKE
649 AUTOCONF
650 ACLOCAL
651 VERSION
652 PACKAGE
653 CYGPATH_W
654 am__isrc
655 INSTALL_DATA
656 INSTALL_SCRIPT
657 INSTALL_PROGRAM
658 target_os
659 target_vendor
660 target_cpu
661 target
662 host_os
663 host_vendor
664 host_cpu
665 host
666 build_os
667 build_vendor
668 build_cpu
669 build
670 target_alias
671 host_alias
672 build_alias
673 LIBS
674 ECHO_T
675 ECHO_N
676 ECHO_C
677 DEFS
678 mandir
679 localedir
680 libdir
681 psdir
682 pdfdir
683 dvidir
684 htmldir
685 infodir
686 docdir
687 oldincludedir
688 includedir
689 localstatedir
690 sharedstatedir
691 sysconfdir
692 datadir
693 datarootdir
694 libexecdir
695 sbindir
696 bindir
697 program_transform_name
698 prefix
699 exec_prefix
700 PACKAGE_URL
701 PACKAGE_BUGREPORT
702 PACKAGE_STRING
703 PACKAGE_VERSION
704 PACKAGE_TARNAME
705 PACKAGE_NAME
706 PATH_SEPARATOR
707 SHELL'
708 ac_subst_files=''
709 ac_user_opts='
710 enable_option_checking
711 enable_silent_rules
712 enable_dependency_tracking
713 with_logfile
714 with_pidfile
715 with_configfile
716 with_facility
718 ac_precious_vars='build_alias
719 host_alias
720 target_alias
722 CFLAGS
723 LDFLAGS
724 LIBS
725 CPPFLAGS
726 YACC
727 YFLAGS
728 CPP'
731 # Initialize some variables set by options.
732 ac_init_help=
733 ac_init_version=false
734 ac_unrecognized_opts=
735 ac_unrecognized_sep=
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
738 cache_file=/dev/null
739 exec_prefix=NONE
740 no_create=
741 no_recursion=
742 prefix=NONE
743 program_prefix=NONE
744 program_suffix=NONE
745 program_transform_name=s,x,x,
746 silent=
747 site=
748 srcdir=
749 verbose=
750 x_includes=NONE
751 x_libraries=NONE
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE}'
770 infodir='${datarootdir}/info'
771 htmldir='${docdir}'
772 dvidir='${docdir}'
773 pdfdir='${docdir}'
774 psdir='${docdir}'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
779 ac_prev=
780 ac_dashdash=
781 for ac_option
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
786 ac_prev=
787 continue
790 case $ac_option in
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
793 esac
795 # Accept the important Cygnus configure options, so we can diagnose typos.
797 case $ac_dashdash$ac_option in
799 ac_dashdash=yes ;;
801 -bindir | --bindir | --bindi | --bind | --bin | --bi)
802 ac_prev=bindir ;;
803 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804 bindir=$ac_optarg ;;
806 -build | --build | --buil | --bui | --bu)
807 ac_prev=build_alias ;;
808 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
809 build_alias=$ac_optarg ;;
811 -cache-file | --cache-file | --cache-fil | --cache-fi \
812 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
813 ac_prev=cache_file ;;
814 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
815 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
816 cache_file=$ac_optarg ;;
818 --config-cache | -C)
819 cache_file=config.cache ;;
821 -datadir | --datadir | --datadi | --datad)
822 ac_prev=datadir ;;
823 -datadir=* | --datadir=* | --datadi=* | --datad=*)
824 datadir=$ac_optarg ;;
826 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
827 | --dataroo | --dataro | --datar)
828 ac_prev=datarootdir ;;
829 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
830 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
831 datarootdir=$ac_optarg ;;
833 -disable-* | --disable-*)
834 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
837 as_fn_error "invalid feature name: $ac_useropt"
838 ac_useropt_orig=$ac_useropt
839 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840 case $ac_user_opts in
842 "enable_$ac_useropt"
843 "*) ;;
844 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
845 ac_unrecognized_sep=', ';;
846 esac
847 eval enable_$ac_useropt=no ;;
849 -docdir | --docdir | --docdi | --doc | --do)
850 ac_prev=docdir ;;
851 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
852 docdir=$ac_optarg ;;
854 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855 ac_prev=dvidir ;;
856 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
857 dvidir=$ac_optarg ;;
859 -enable-* | --enable-*)
860 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
868 "enable_$ac_useropt"
869 "*) ;;
870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
871 ac_unrecognized_sep=', ';;
872 esac
873 eval enable_$ac_useropt=\$ac_optarg ;;
875 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
876 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
877 | --exec | --exe | --ex)
878 ac_prev=exec_prefix ;;
879 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
880 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
881 | --exec=* | --exe=* | --ex=*)
882 exec_prefix=$ac_optarg ;;
884 -gas | --gas | --ga | --g)
885 # Obsolete; use --with-gas.
886 with_gas=yes ;;
888 -help | --help | --hel | --he | -h)
889 ac_init_help=long ;;
890 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
891 ac_init_help=recursive ;;
892 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
893 ac_init_help=short ;;
895 -host | --host | --hos | --ho)
896 ac_prev=host_alias ;;
897 -host=* | --host=* | --hos=* | --ho=*)
898 host_alias=$ac_optarg ;;
900 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
901 ac_prev=htmldir ;;
902 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
903 | --ht=*)
904 htmldir=$ac_optarg ;;
906 -includedir | --includedir | --includedi | --included | --include \
907 | --includ | --inclu | --incl | --inc)
908 ac_prev=includedir ;;
909 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
910 | --includ=* | --inclu=* | --incl=* | --inc=*)
911 includedir=$ac_optarg ;;
913 -infodir | --infodir | --infodi | --infod | --info | --inf)
914 ac_prev=infodir ;;
915 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
916 infodir=$ac_optarg ;;
918 -libdir | --libdir | --libdi | --libd)
919 ac_prev=libdir ;;
920 -libdir=* | --libdir=* | --libdi=* | --libd=*)
921 libdir=$ac_optarg ;;
923 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
924 | --libexe | --libex | --libe)
925 ac_prev=libexecdir ;;
926 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
927 | --libexe=* | --libex=* | --libe=*)
928 libexecdir=$ac_optarg ;;
930 -localedir | --localedir | --localedi | --localed | --locale)
931 ac_prev=localedir ;;
932 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
933 localedir=$ac_optarg ;;
935 -localstatedir | --localstatedir | --localstatedi | --localstated \
936 | --localstate | --localstat | --localsta | --localst | --locals)
937 ac_prev=localstatedir ;;
938 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
939 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
940 localstatedir=$ac_optarg ;;
942 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
943 ac_prev=mandir ;;
944 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945 mandir=$ac_optarg ;;
947 -nfp | --nfp | --nf)
948 # Obsolete; use --without-fp.
949 with_fp=no ;;
951 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
952 | --no-cr | --no-c | -n)
953 no_create=yes ;;
955 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
956 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
957 no_recursion=yes ;;
959 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
960 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
961 | --oldin | --oldi | --old | --ol | --o)
962 ac_prev=oldincludedir ;;
963 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
964 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
965 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
966 oldincludedir=$ac_optarg ;;
968 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
969 ac_prev=prefix ;;
970 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
971 prefix=$ac_optarg ;;
973 -program-prefix | --program-prefix | --program-prefi | --program-pref \
974 | --program-pre | --program-pr | --program-p)
975 ac_prev=program_prefix ;;
976 -program-prefix=* | --program-prefix=* | --program-prefi=* \
977 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
978 program_prefix=$ac_optarg ;;
980 -program-suffix | --program-suffix | --program-suffi | --program-suff \
981 | --program-suf | --program-su | --program-s)
982 ac_prev=program_suffix ;;
983 -program-suffix=* | --program-suffix=* | --program-suffi=* \
984 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
985 program_suffix=$ac_optarg ;;
987 -program-transform-name | --program-transform-name \
988 | --program-transform-nam | --program-transform-na \
989 | --program-transform-n | --program-transform- \
990 | --program-transform | --program-transfor \
991 | --program-transfo | --program-transf \
992 | --program-trans | --program-tran \
993 | --progr-tra | --program-tr | --program-t)
994 ac_prev=program_transform_name ;;
995 -program-transform-name=* | --program-transform-name=* \
996 | --program-transform-nam=* | --program-transform-na=* \
997 | --program-transform-n=* | --program-transform-=* \
998 | --program-transform=* | --program-transfor=* \
999 | --program-transfo=* | --program-transf=* \
1000 | --program-trans=* | --program-tran=* \
1001 | --progr-tra=* | --program-tr=* | --program-t=*)
1002 program_transform_name=$ac_optarg ;;
1004 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1005 ac_prev=pdfdir ;;
1006 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1007 pdfdir=$ac_optarg ;;
1009 -psdir | --psdir | --psdi | --psd | --ps)
1010 ac_prev=psdir ;;
1011 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1012 psdir=$ac_optarg ;;
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1016 silent=yes ;;
1018 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1019 ac_prev=sbindir ;;
1020 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1021 | --sbi=* | --sb=*)
1022 sbindir=$ac_optarg ;;
1024 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1025 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1026 | --sharedst | --shareds | --shared | --share | --shar \
1027 | --sha | --sh)
1028 ac_prev=sharedstatedir ;;
1029 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1030 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1031 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1032 | --sha=* | --sh=*)
1033 sharedstatedir=$ac_optarg ;;
1035 -site | --site | --sit)
1036 ac_prev=site ;;
1037 -site=* | --site=* | --sit=*)
1038 site=$ac_optarg ;;
1040 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1041 ac_prev=srcdir ;;
1042 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1043 srcdir=$ac_optarg ;;
1045 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1046 | --syscon | --sysco | --sysc | --sys | --sy)
1047 ac_prev=sysconfdir ;;
1048 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1049 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1050 sysconfdir=$ac_optarg ;;
1052 -target | --target | --targe | --targ | --tar | --ta | --t)
1053 ac_prev=target_alias ;;
1054 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1055 target_alias=$ac_optarg ;;
1057 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1058 verbose=yes ;;
1060 -version | --version | --versio | --versi | --vers | -V)
1061 ac_init_version=: ;;
1063 -with-* | --with-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error "invalid package name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "with_$ac_useropt"
1073 "*) ;;
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1076 esac
1077 eval with_$ac_useropt=\$ac_optarg ;;
1079 -without-* | --without-*)
1080 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083 as_fn_error "invalid package name: $ac_useropt"
1084 ac_useropt_orig=$ac_useropt
1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "with_$ac_useropt"
1089 "*) ;;
1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091 ac_unrecognized_sep=', ';;
1092 esac
1093 eval with_$ac_useropt=no ;;
1095 --x)
1096 # Obsolete; use --with-x.
1097 with_x=yes ;;
1099 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1100 | --x-incl | --x-inc | --x-in | --x-i)
1101 ac_prev=x_includes ;;
1102 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1103 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1104 x_includes=$ac_optarg ;;
1106 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1107 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1108 ac_prev=x_libraries ;;
1109 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1110 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1111 x_libraries=$ac_optarg ;;
1113 -*) as_fn_error "unrecognized option: \`$ac_option'
1114 Try \`$0 --help' for more information."
1117 *=*)
1118 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1119 # Reject names that are not valid shell variable names.
1120 case $ac_envvar in #(
1121 '' | [0-9]* | *[!_$as_cr_alnum]* )
1122 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1123 esac
1124 eval $ac_envvar=\$ac_optarg
1125 export $ac_envvar ;;
1128 # FIXME: should be removed in autoconf 3.0.
1129 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1135 esac
1136 done
1138 if test -n "$ac_prev"; then
1139 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1140 as_fn_error "missing argument to $ac_option"
1143 if test -n "$ac_unrecognized_opts"; then
1144 case $enable_option_checking in
1145 no) ;;
1146 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1147 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148 esac
1151 # Check all directory arguments for consistency.
1152 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1153 datadir sysconfdir sharedstatedir localstatedir includedir \
1154 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1155 libdir localedir mandir
1157 eval ac_val=\$$ac_var
1158 # Remove trailing slashes.
1159 case $ac_val in
1160 */ )
1161 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1162 eval $ac_var=\$ac_val;;
1163 esac
1164 # Be sure to have absolute directory names.
1165 case $ac_val in
1166 [\\/$]* | ?:[\\/]* ) continue;;
1167 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1168 esac
1169 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1170 done
1172 # There might be people who depend on the old broken behavior: `$host'
1173 # used to hold the argument of --host etc.
1174 # FIXME: To remove some day.
1175 build=$build_alias
1176 host=$host_alias
1177 target=$target_alias
1179 # FIXME: To remove some day.
1180 if test "x$host_alias" != x; then
1181 if test "x$build_alias" = x; then
1182 cross_compiling=maybe
1183 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1184 If a cross compiler is detected then cross compile mode will be used." >&2
1185 elif test "x$build_alias" != "x$host_alias"; then
1186 cross_compiling=yes
1190 ac_tool_prefix=
1191 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1193 test "$silent" = yes && exec 6>/dev/null
1196 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1197 ac_ls_di=`ls -di .` &&
1198 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1199 as_fn_error "working directory cannot be determined"
1200 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1201 as_fn_error "pwd does not report name of working directory"
1204 # Find the source files, if location was not specified.
1205 if test -z "$srcdir"; then
1206 ac_srcdir_defaulted=yes
1207 # Try the directory containing this script, then the parent directory.
1208 ac_confdir=`$as_dirname -- "$as_myself" ||
1209 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1210 X"$as_myself" : 'X\(//\)[^/]' \| \
1211 X"$as_myself" : 'X\(//\)$' \| \
1212 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1213 $as_echo X"$as_myself" |
1214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215 s//\1/
1218 /^X\(\/\/\)[^/].*/{
1219 s//\1/
1222 /^X\(\/\/\)$/{
1223 s//\1/
1226 /^X\(\/\).*/{
1227 s//\1/
1230 s/.*/./; q'`
1231 srcdir=$ac_confdir
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1233 srcdir=..
1235 else
1236 ac_srcdir_defaulted=no
1238 if test ! -r "$srcdir/$ac_unique_file"; then
1239 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1240 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1242 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 ac_abs_confdir=`(
1244 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1245 pwd)`
1246 # When building in place, set srcdir=.
1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248 srcdir=.
1250 # Remove unnecessary trailing slashes from srcdir.
1251 # Double slashes in file names in object file debugging info
1252 # mess up M-x gdb in Emacs.
1253 case $srcdir in
1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 esac
1256 for ac_var in $ac_precious_vars; do
1257 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_env_${ac_var}_value=\$${ac_var}
1259 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261 done
1264 # Report the --help message.
1266 if test "$ac_init_help" = "long"; then
1267 # Omit some internal or obsolete options to make the list less imposing.
1268 # This message is too long to be a string in the A/UX 3.1 sh.
1269 cat <<_ACEOF
1270 \`configure' configures this package to adapt to many kinds of systems.
1272 Usage: $0 [OPTION]... [VAR=VALUE]...
1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275 VAR=VALUE. See below for descriptions of some of the useful variables.
1277 Defaults for the options are specified in brackets.
1279 Configuration:
1280 -h, --help display this help and exit
1281 --help=short display options specific to this package
1282 --help=recursive display the short help of all the included packages
1283 -V, --version display version information and exit
1284 -q, --quiet, --silent do not print \`checking...' messages
1285 --cache-file=FILE cache test results in FILE [disabled]
1286 -C, --config-cache alias for \`--cache-file=config.cache'
1287 -n, --no-create do not create output files
1288 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1290 Installation directories:
1291 --prefix=PREFIX install architecture-independent files in PREFIX
1292 [$ac_default_prefix]
1293 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1294 [PREFIX]
1296 By default, \`make install' will install all the files in
1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299 for instance \`--prefix=\$HOME'.
1301 For better control, use the options below.
1303 Fine tuning of the installation directories:
1304 --bindir=DIR user executables [EPREFIX/bin]
1305 --sbindir=DIR system admin executables [EPREFIX/sbin]
1306 --libexecdir=DIR program executables [EPREFIX/libexec]
1307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1309 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1310 --libdir=DIR object code libraries [EPREFIX/lib]
1311 --includedir=DIR C header files [PREFIX/include]
1312 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1313 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1314 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1315 --infodir=DIR info documentation [DATAROOTDIR/info]
1316 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1317 --mandir=DIR man documentation [DATAROOTDIR/man]
1318 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1319 --htmldir=DIR html documentation [DOCDIR]
1320 --dvidir=DIR dvi documentation [DOCDIR]
1321 --pdfdir=DIR pdf documentation [DOCDIR]
1322 --psdir=DIR ps documentation [DOCDIR]
1323 _ACEOF
1325 cat <<\_ACEOF
1327 Program names:
1328 --program-prefix=PREFIX prepend PREFIX to installed program names
1329 --program-suffix=SUFFIX append SUFFIX to installed program names
1330 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1332 System types:
1333 --build=BUILD configure for building on BUILD [guessed]
1334 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1335 --target=TARGET configure for building compilers for TARGET [HOST]
1336 _ACEOF
1339 if test -n "$ac_init_help"; then
1341 cat <<\_ACEOF
1343 Optional Features:
1344 --disable-option-checking ignore unrecognized --enable/--with options
1345 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1346 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1347 --enable-silent-rules less verbose build output (undo: `make V=1')
1348 --disable-silent-rules verbose build output (undo: `make V=0')
1349 --disable-dependency-tracking speeds up one-time build
1350 --enable-dependency-tracking do not reject slow dependency extractors
1352 Optional Packages:
1353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1355 --with-logfile Path to the radvd logfile /var/log/radvd.log
1356 --with-pidfile Path to the radvd pidfile /var/run/radvd.pid
1357 --with-configfile Path to the radvd config file SYSCONF/radvd.conf
1358 --with-facility Syslog facility to use when using syslog logging
1360 Some influential environment variables:
1361 CC C compiler command
1362 CFLAGS C compiler flags
1363 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1364 nonstandard directory <lib dir>
1365 LIBS libraries to pass to the linker, e.g. -l<library>
1366 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1367 you have headers in a nonstandard directory <include dir>
1368 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1369 the first program found out of: `bison -y', `byacc', `yacc'.
1370 YFLAGS The list of arguments that will be passed by default to $YACC.
1371 This script will default YFLAGS to the empty string to avoid a
1372 default value of `-d' given by some make applications.
1373 CPP C preprocessor
1375 Use these variables to override the choices made by `configure' or to help
1376 it to find libraries and programs with nonstandard names/locations.
1378 Report bugs to the package provider.
1379 _ACEOF
1380 ac_status=$?
1383 if test "$ac_init_help" = "recursive"; then
1384 # If there are subdirs, report their specific --help.
1385 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1386 test -d "$ac_dir" ||
1387 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1388 continue
1389 ac_builddir=.
1391 case "$ac_dir" in
1392 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1395 # A ".." for each directory in $ac_dir_suffix.
1396 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1397 case $ac_top_builddir_sub in
1398 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1400 esac ;;
1401 esac
1402 ac_abs_top_builddir=$ac_pwd
1403 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1404 # for backward compatibility:
1405 ac_top_builddir=$ac_top_build_prefix
1407 case $srcdir in
1408 .) # We are building in place.
1409 ac_srcdir=.
1410 ac_top_srcdir=$ac_top_builddir_sub
1411 ac_abs_top_srcdir=$ac_pwd ;;
1412 [\\/]* | ?:[\\/]* ) # Absolute name.
1413 ac_srcdir=$srcdir$ac_dir_suffix;
1414 ac_top_srcdir=$srcdir
1415 ac_abs_top_srcdir=$srcdir ;;
1416 *) # Relative name.
1417 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1418 ac_top_srcdir=$ac_top_build_prefix$srcdir
1419 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1420 esac
1421 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1423 cd "$ac_dir" || { ac_status=$?; continue; }
1424 # Check for guested configure.
1425 if test -f "$ac_srcdir/configure.gnu"; then
1426 echo &&
1427 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1428 elif test -f "$ac_srcdir/configure"; then
1429 echo &&
1430 $SHELL "$ac_srcdir/configure" --help=recursive
1431 else
1432 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 fi || ac_status=$?
1434 cd "$ac_pwd" || { ac_status=$?; break; }
1435 done
1438 test -n "$ac_init_help" && exit $ac_status
1439 if $ac_init_version; then
1440 cat <<\_ACEOF
1441 configure
1442 generated by GNU Autoconf 2.65
1444 Copyright (C) 2009 Free Software Foundation, Inc.
1445 This configure script is free software; the Free Software Foundation
1446 gives unlimited permission to copy, distribute and modify it.
1447 _ACEOF
1448 exit
1451 ## ------------------------ ##
1452 ## Autoconf initialization. ##
1453 ## ------------------------ ##
1455 # ac_fn_c_try_compile LINENO
1456 # --------------------------
1457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1458 ac_fn_c_try_compile ()
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 rm -f conftest.$ac_objext
1462 if { { ac_try="$ac_compile"
1463 case "(($ac_try" in
1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465 *) ac_try_echo=$ac_try;;
1466 esac
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469 (eval "$ac_compile") 2>conftest.err
1470 ac_status=$?
1471 if test -s conftest.err; then
1472 grep -v '^ *+' conftest.err >conftest.er1
1473 cat conftest.er1 >&5
1474 mv -f conftest.er1 conftest.err
1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477 test $ac_status = 0; } && {
1478 test -z "$ac_c_werror_flag" ||
1479 test ! -s conftest.err
1480 } && test -s conftest.$ac_objext; then :
1481 ac_retval=0
1482 else
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1486 ac_retval=1
1488 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1489 as_fn_set_status $ac_retval
1491 } # ac_fn_c_try_compile
1493 # ac_fn_c_try_link LINENO
1494 # -----------------------
1495 # Try to link conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_link ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 rm -f conftest.$ac_objext conftest$ac_exeext
1500 if { { ac_try="$ac_link"
1501 case "(($ac_try" in
1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503 *) ac_try_echo=$ac_try;;
1504 esac
1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_link") 2>conftest.err
1508 ac_status=$?
1509 if test -s conftest.err; then
1510 grep -v '^ *+' conftest.err >conftest.er1
1511 cat conftest.er1 >&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest$ac_exeext && {
1519 test "$cross_compiling" = yes ||
1520 $as_test_x conftest$ac_exeext
1521 }; then :
1522 ac_retval=0
1523 else
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.$ac_ext >&5
1527 ac_retval=1
1529 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1530 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1531 # interfere with the next link command; also delete a directory that is
1532 # left behind by Apple's compiler. We do this before executing the actions.
1533 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1535 as_fn_set_status $ac_retval
1537 } # ac_fn_c_try_link
1539 # ac_fn_c_try_cpp LINENO
1540 # ----------------------
1541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_cpp ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 if { { ac_try="$ac_cpp conftest.$ac_ext"
1546 case "(($ac_try" in
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1549 esac
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1553 ac_status=$?
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } >/dev/null && {
1561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 }; then :
1564 ac_retval=0
1565 else
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1569 ac_retval=1
1571 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1572 as_fn_set_status $ac_retval
1574 } # ac_fn_c_try_cpp
1576 # ac_fn_c_try_run LINENO
1577 # ----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1579 # that executables *can* be run.
1580 ac_fn_c_try_run ()
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 if { { ac_try="$ac_link"
1584 case "(($ac_try" in
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1587 esac
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>&5
1591 ac_status=$?
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1594 { { case "(($ac_try" in
1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596 *) ac_try_echo=$ac_try;;
1597 esac
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_try") 2>&5
1601 ac_status=$?
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; }; }; then :
1604 ac_retval=0
1605 else
1606 $as_echo "$as_me: program exited with status $ac_status" >&5
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1610 ac_retval=$ac_status
1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 as_fn_set_status $ac_retval
1616 } # ac_fn_c_try_run
1618 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1621 # the include files in INCLUDES and setting the cache variable VAR
1622 # accordingly.
1623 ac_fn_c_check_header_mongrel ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1630 $as_echo_n "(cached) " >&6
1632 eval ac_res=\$$3
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634 $as_echo "$ac_res" >&6; }
1635 else
1636 # Is the header compilable?
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1638 $as_echo_n "checking $2 usability... " >&6; }
1639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1640 /* end confdefs.h. */
1642 #include <$2>
1643 _ACEOF
1644 if ac_fn_c_try_compile "$LINENO"; then :
1645 ac_header_compiler=yes
1646 else
1647 ac_header_compiler=no
1649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1651 $as_echo "$ac_header_compiler" >&6; }
1653 # Is the header present?
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1655 $as_echo_n "checking $2 presence... " >&6; }
1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657 /* end confdefs.h. */
1658 #include <$2>
1659 _ACEOF
1660 if ac_fn_c_try_cpp "$LINENO"; then :
1661 ac_header_preproc=yes
1662 else
1663 ac_header_preproc=no
1665 rm -f conftest.err conftest.$ac_ext
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1667 $as_echo "$ac_header_preproc" >&6; }
1669 # So? What about this header?
1670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1671 yes:no: )
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1673 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1675 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 no:yes:* )
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1679 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1681 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1683 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1685 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1687 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1689 esac
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1691 $as_echo_n "checking for $2... " >&6; }
1692 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1693 $as_echo_n "(cached) " >&6
1694 else
1695 eval "$3=\$ac_header_compiler"
1697 eval ac_res=\$$3
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699 $as_echo "$ac_res" >&6; }
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 } # ac_fn_c_check_header_mongrel
1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1706 # -------------------------------------------------------
1707 # Tests whether HEADER exists and can be compiled using the include files in
1708 # INCLUDES, setting the cache variable VAR accordingly.
1709 ac_fn_c_check_header_compile ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715 $as_echo_n "(cached) " >&6
1716 else
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1720 #include <$2>
1721 _ACEOF
1722 if ac_fn_c_try_compile "$LINENO"; then :
1723 eval "$3=yes"
1724 else
1725 eval "$3=no"
1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 eval ac_res=\$$3
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 $as_echo "$ac_res" >&6; }
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734 } # ac_fn_c_check_header_compile
1736 # ac_fn_c_check_func LINENO FUNC VAR
1737 # ----------------------------------
1738 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1739 ac_fn_c_check_func ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1746 else
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1749 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1751 #define $2 innocuous_$2
1753 /* System header to define __stub macros and hopefully few prototypes,
1754 which can conflict with char $2 (); below.
1755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1756 <limits.h> exists even on freestanding compilers. */
1758 #ifdef __STDC__
1759 # include <limits.h>
1760 #else
1761 # include <assert.h>
1762 #endif
1764 #undef $2
1766 /* Override any GCC internal prototype to avoid an error.
1767 Use char because int might match the return type of a GCC
1768 builtin and then its argument prototype would still apply. */
1769 #ifdef __cplusplus
1770 extern "C"
1771 #endif
1772 char $2 ();
1773 /* The GNU C library defines this for functions which it implements
1774 to always fail with ENOSYS. Some functions are actually named
1775 something starting with __ and the normal name is an alias. */
1776 #if defined __stub_$2 || defined __stub___$2
1777 choke me
1778 #endif
1781 main ()
1783 return $2 ();
1785 return 0;
1787 _ACEOF
1788 if ac_fn_c_try_link "$LINENO"; then :
1789 eval "$3=yes"
1790 else
1791 eval "$3=no"
1793 rm -f core conftest.err conftest.$ac_objext \
1794 conftest$ac_exeext conftest.$ac_ext
1796 eval ac_res=\$$3
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 } # ac_fn_c_check_func
1802 cat >config.log <<_ACEOF
1803 This file contains any messages produced by compilers while
1804 running configure, to aid debugging if configure makes a mistake.
1806 It was created by $as_me, which was
1807 generated by GNU Autoconf 2.65. Invocation command line was
1809 $ $0 $@
1811 _ACEOF
1812 exec 5>>config.log
1814 cat <<_ASUNAME
1815 ## --------- ##
1816 ## Platform. ##
1817 ## --------- ##
1819 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1820 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1821 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1822 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1823 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1825 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1826 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1828 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1829 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1830 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1831 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1832 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1833 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1834 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1836 _ASUNAME
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 $as_echo "PATH: $as_dir"
1844 done
1845 IFS=$as_save_IFS
1847 } >&5
1849 cat >&5 <<_ACEOF
1852 ## ----------- ##
1853 ## Core tests. ##
1854 ## ----------- ##
1856 _ACEOF
1859 # Keep a trace of the command line.
1860 # Strip out --no-create and --no-recursion so they do not pile up.
1861 # Strip out --silent because we don't want to record it for future runs.
1862 # Also quote any args containing shell meta-characters.
1863 # Make two passes to allow for proper duplicate-argument suppression.
1864 ac_configure_args=
1865 ac_configure_args0=
1866 ac_configure_args1=
1867 ac_must_keep_next=false
1868 for ac_pass in 1 2
1870 for ac_arg
1872 case $ac_arg in
1873 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1874 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1875 | -silent | --silent | --silen | --sile | --sil)
1876 continue ;;
1877 *\'*)
1878 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1879 esac
1880 case $ac_pass in
1881 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1883 as_fn_append ac_configure_args1 " '$ac_arg'"
1884 if test $ac_must_keep_next = true; then
1885 ac_must_keep_next=false # Got value, back to normal.
1886 else
1887 case $ac_arg in
1888 *=* | --config-cache | -C | -disable-* | --disable-* \
1889 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1890 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1891 | -with-* | --with-* | -without-* | --without-* | --x)
1892 case "$ac_configure_args0 " in
1893 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1894 esac
1896 -* ) ac_must_keep_next=true ;;
1897 esac
1899 as_fn_append ac_configure_args " '$ac_arg'"
1901 esac
1902 done
1903 done
1904 { ac_configure_args0=; unset ac_configure_args0;}
1905 { ac_configure_args1=; unset ac_configure_args1;}
1907 # When interrupted or exit'd, cleanup temporary files, and complete
1908 # config.log. We remove comments because anyway the quotes in there
1909 # would cause problems or look ugly.
1910 # WARNING: Use '\'' to represent an apostrophe within the trap.
1911 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1912 trap 'exit_status=$?
1913 # Save into config.log some information that might help in debugging.
1915 echo
1917 cat <<\_ASBOX
1918 ## ---------------- ##
1919 ## Cache variables. ##
1920 ## ---------------- ##
1921 _ASBOX
1922 echo
1923 # The following way of writing the cache mishandles newlines in values,
1925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1926 eval ac_val=\$$ac_var
1927 case $ac_val in #(
1928 *${as_nl}*)
1929 case $ac_var in #(
1930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1932 esac
1933 case $ac_var in #(
1934 _ | IFS | as_nl) ;; #(
1935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1936 *) { eval $ac_var=; unset $ac_var;} ;;
1937 esac ;;
1938 esac
1939 done
1940 (set) 2>&1 |
1941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1942 *${as_nl}ac_space=\ *)
1943 sed -n \
1944 "s/'\''/'\''\\\\'\'''\''/g;
1945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1946 ;; #(
1948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1950 esac |
1951 sort
1953 echo
1955 cat <<\_ASBOX
1956 ## ----------------- ##
1957 ## Output variables. ##
1958 ## ----------------- ##
1959 _ASBOX
1960 echo
1961 for ac_var in $ac_subst_vars
1963 eval ac_val=\$$ac_var
1964 case $ac_val in
1965 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1966 esac
1967 $as_echo "$ac_var='\''$ac_val'\''"
1968 done | sort
1969 echo
1971 if test -n "$ac_subst_files"; then
1972 cat <<\_ASBOX
1973 ## ------------------- ##
1974 ## File substitutions. ##
1975 ## ------------------- ##
1976 _ASBOX
1977 echo
1978 for ac_var in $ac_subst_files
1980 eval ac_val=\$$ac_var
1981 case $ac_val in
1982 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983 esac
1984 $as_echo "$ac_var='\''$ac_val'\''"
1985 done | sort
1986 echo
1989 if test -s confdefs.h; then
1990 cat <<\_ASBOX
1991 ## ----------- ##
1992 ## confdefs.h. ##
1993 ## ----------- ##
1994 _ASBOX
1995 echo
1996 cat confdefs.h
1997 echo
1999 test "$ac_signal" != 0 &&
2000 $as_echo "$as_me: caught signal $ac_signal"
2001 $as_echo "$as_me: exit $exit_status"
2002 } >&5
2003 rm -f core *.core core.conftest.* &&
2004 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2005 exit $exit_status
2007 for ac_signal in 1 2 13 15; do
2008 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2009 done
2010 ac_signal=0
2012 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2013 rm -f -r conftest* confdefs.h
2015 $as_echo "/* confdefs.h */" > confdefs.h
2017 # Predefined preprocessor variables.
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_NAME "$PACKAGE_NAME"
2021 _ACEOF
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2025 _ACEOF
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2029 _ACEOF
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_STRING "$PACKAGE_STRING"
2033 _ACEOF
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2037 _ACEOF
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_URL "$PACKAGE_URL"
2041 _ACEOF
2044 # Let the site file select an alternate cache file if it wants to.
2045 # Prefer an explicitly selected file to automatically selected ones.
2046 ac_site_file1=NONE
2047 ac_site_file2=NONE
2048 if test -n "$CONFIG_SITE"; then
2049 ac_site_file1=$CONFIG_SITE
2050 elif test "x$prefix" != xNONE; then
2051 ac_site_file1=$prefix/share/config.site
2052 ac_site_file2=$prefix/etc/config.site
2053 else
2054 ac_site_file1=$ac_default_prefix/share/config.site
2055 ac_site_file2=$ac_default_prefix/etc/config.site
2057 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2059 test "x$ac_site_file" = xNONE && continue
2060 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2062 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2063 sed 's/^/| /' "$ac_site_file" >&5
2064 . "$ac_site_file"
2066 done
2068 if test -r "$cache_file"; then
2069 # Some versions of bash will fail to source /dev/null (special files
2070 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2071 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2073 $as_echo "$as_me: loading cache $cache_file" >&6;}
2074 case $cache_file in
2075 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2076 *) . "./$cache_file";;
2077 esac
2079 else
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2081 $as_echo "$as_me: creating cache $cache_file" >&6;}
2082 >$cache_file
2085 # Check that the precious variables saved in the cache have kept the same
2086 # value.
2087 ac_cache_corrupted=false
2088 for ac_var in $ac_precious_vars; do
2089 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2090 eval ac_new_set=\$ac_env_${ac_var}_set
2091 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2092 eval ac_new_val=\$ac_env_${ac_var}_value
2093 case $ac_old_set,$ac_new_set in
2094 set,)
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2096 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2097 ac_cache_corrupted=: ;;
2098 ,set)
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2100 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2101 ac_cache_corrupted=: ;;
2102 ,);;
2104 if test "x$ac_old_val" != "x$ac_new_val"; then
2105 # differences in whitespace do not lead to failure.
2106 ac_old_val_w=`echo x $ac_old_val`
2107 ac_new_val_w=`echo x $ac_new_val`
2108 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2110 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2111 ac_cache_corrupted=:
2112 else
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2114 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2115 eval $ac_var=\$ac_old_val
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2118 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2120 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2121 fi;;
2122 esac
2123 # Pass precious variables to config.status.
2124 if test "$ac_new_set" = set; then
2125 case $ac_new_val in
2126 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2127 *) ac_arg=$ac_var=$ac_new_val ;;
2128 esac
2129 case " $ac_configure_args " in
2130 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2131 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2132 esac
2134 done
2135 if $ac_cache_corrupted; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2139 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2140 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2142 ## -------------------- ##
2143 ## Main body of script. ##
2144 ## -------------------- ##
2146 ac_ext=c
2147 ac_cpp='$CPP $CPPFLAGS'
2148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2154 ac_aux_dir=
2155 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2156 for ac_t in install-sh install.sh shtool; do
2157 if test -f "$ac_dir/$ac_t"; then
2158 ac_aux_dir=$ac_dir
2159 ac_install_sh="$ac_aux_dir/$ac_t -c"
2160 break 2
2162 done
2163 done
2164 if test -z "$ac_aux_dir"; then
2165 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2168 # These three variables are undocumented and unsupported,
2169 # and are intended to be withdrawn in a future Autoconf release.
2170 # They can cause serious problems if a builder's source tree is in a directory
2171 # whose full name contains unusual characters.
2172 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2173 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2174 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2177 # Make sure we can run config.sub.
2178 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2179 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2182 $as_echo_n "checking build system type... " >&6; }
2183 if test "${ac_cv_build+set}" = set; then :
2184 $as_echo_n "(cached) " >&6
2185 else
2186 ac_build_alias=$build_alias
2187 test "x$ac_build_alias" = x &&
2188 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2189 test "x$ac_build_alias" = x &&
2190 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2191 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2192 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2196 $as_echo "$ac_cv_build" >&6; }
2197 case $ac_cv_build in
2198 *-*-*) ;;
2199 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2200 esac
2201 build=$ac_cv_build
2202 ac_save_IFS=$IFS; IFS='-'
2203 set x $ac_cv_build
2204 shift
2205 build_cpu=$1
2206 build_vendor=$2
2207 shift; shift
2208 # Remember, the first character of IFS is used to create $*,
2209 # except with old shells:
2210 build_os=$*
2211 IFS=$ac_save_IFS
2212 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2216 $as_echo_n "checking host system type... " >&6; }
2217 if test "${ac_cv_host+set}" = set; then :
2218 $as_echo_n "(cached) " >&6
2219 else
2220 if test "x$host_alias" = x; then
2221 ac_cv_host=$ac_cv_build
2222 else
2223 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2224 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2229 $as_echo "$ac_cv_host" >&6; }
2230 case $ac_cv_host in
2231 *-*-*) ;;
2232 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2233 esac
2234 host=$ac_cv_host
2235 ac_save_IFS=$IFS; IFS='-'
2236 set x $ac_cv_host
2237 shift
2238 host_cpu=$1
2239 host_vendor=$2
2240 shift; shift
2241 # Remember, the first character of IFS is used to create $*,
2242 # except with old shells:
2243 host_os=$*
2244 IFS=$ac_save_IFS
2245 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2249 $as_echo_n "checking target system type... " >&6; }
2250 if test "${ac_cv_target+set}" = set; then :
2251 $as_echo_n "(cached) " >&6
2252 else
2253 if test "x$target_alias" = x; then
2254 ac_cv_target=$ac_cv_host
2255 else
2256 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2257 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2262 $as_echo "$ac_cv_target" >&6; }
2263 case $ac_cv_target in
2264 *-*-*) ;;
2265 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2266 esac
2267 target=$ac_cv_target
2268 ac_save_IFS=$IFS; IFS='-'
2269 set x $ac_cv_target
2270 shift
2271 target_cpu=$1
2272 target_vendor=$2
2273 shift; shift
2274 # Remember, the first character of IFS is used to create $*,
2275 # except with old shells:
2276 target_os=$*
2277 IFS=$ac_save_IFS
2278 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2281 # The aliases save the names the user supplied, while $host etc.
2282 # will get canonicalized.
2283 test -n "$target_alias" &&
2284 test "$program_prefix$program_suffix$program_transform_name" = \
2285 NONENONEs,x,x, &&
2286 program_prefix=${target_alias}-
2288 VERSION=`cat ${srcdir}/VERSION | grep -v '^#' | tr -d '\012'`
2289 am__api_version='1.11'
2291 # Find a good install program. We prefer a C program (faster),
2292 # so one script is as good as another. But avoid the broken or
2293 # incompatible versions:
2294 # SysV /etc/install, /usr/sbin/install
2295 # SunOS /usr/etc/install
2296 # IRIX /sbin/install
2297 # AIX /bin/install
2298 # AmigaOS /C/install, which installs bootblocks on floppy discs
2299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302 # OS/2's system install, which has a completely different semantic
2303 # ./install, which can be erroneously created by make from ./install.sh.
2304 # Reject install programs that cannot install multiple files.
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2306 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2307 if test -z "$INSTALL"; then
2308 if test "${ac_cv_path_install+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 # Account for people who put trailing slashes in PATH elements.
2317 case $as_dir/ in #((
2318 ./ | .// | /[cC]/* | \
2319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2320 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2321 /usr/ucb/* ) ;;
2323 # OSF1 and SCO ODT 3.0 have their own names for install.
2324 # Don't use installbsd from OSF since it installs stuff as root
2325 # by default.
2326 for ac_prog in ginstall scoinst install; do
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2329 if test $ac_prog = install &&
2330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # AIX install. It has an incompatible calling convention.
2333 elif test $ac_prog = install &&
2334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2335 # program-specific install script used by HP pwplus--don't use.
2337 else
2338 rm -rf conftest.one conftest.two conftest.dir
2339 echo one > conftest.one
2340 echo two > conftest.two
2341 mkdir conftest.dir
2342 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2343 test -s conftest.one && test -s conftest.two &&
2344 test -s conftest.dir/conftest.one &&
2345 test -s conftest.dir/conftest.two
2346 then
2347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2348 break 3
2352 done
2353 done
2355 esac
2357 done
2358 IFS=$as_save_IFS
2360 rm -rf conftest.one conftest.two conftest.dir
2363 if test "${ac_cv_path_install+set}" = set; then
2364 INSTALL=$ac_cv_path_install
2365 else
2366 # As a last resort, use the slow shell script. Don't cache a
2367 # value for INSTALL within a source directory, because that will
2368 # break other packages using the cache if that directory is
2369 # removed, or if the value is a relative name.
2370 INSTALL=$ac_install_sh
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2374 $as_echo "$INSTALL" >&6; }
2376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2377 # It thinks the first close brace ends the variable substitution.
2378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2385 $as_echo_n "checking whether build environment is sane... " >&6; }
2386 # Just in case
2387 sleep 1
2388 echo timestamp > conftest.file
2389 # Reject unsafe characters in $srcdir or the absolute working directory
2390 # name. Accept space and tab only in the latter.
2391 am_lf='
2393 case `pwd` in
2394 *[\\\"\#\$\&\'\`$am_lf]*)
2395 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2396 esac
2397 case $srcdir in
2398 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2399 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2400 esac
2402 # Do `set' in a subshell so we don't clobber the current shell's
2403 # arguments. Must try -L first in case configure is actually a
2404 # symlink; some systems play weird games with the mod time of symlinks
2405 # (eg FreeBSD returns the mod time of the symlink's containing
2406 # directory).
2407 if (
2408 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2409 if test "$*" = "X"; then
2410 # -L didn't work.
2411 set X `ls -t "$srcdir/configure" conftest.file`
2413 rm -f conftest.file
2414 if test "$*" != "X $srcdir/configure conftest.file" \
2415 && test "$*" != "X conftest.file $srcdir/configure"; then
2417 # If neither matched, then we have a broken ls. This can happen
2418 # if, for instance, CONFIG_SHELL is bash and it inherits a
2419 # broken ls alias from the environment. This has actually
2420 # happened. Such a system could not be considered "sane".
2421 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2422 alias in your environment" "$LINENO" 5
2425 test "$2" = conftest.file
2427 then
2428 # Ok.
2430 else
2431 as_fn_error "newly created file is older than distributed files!
2432 Check your system clock" "$LINENO" 5
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2435 $as_echo "yes" >&6; }
2436 test "$program_prefix" != NONE &&
2437 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2438 # Use a double $ so make ignores it.
2439 test "$program_suffix" != NONE &&
2440 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2441 # Double any \ or $.
2442 # By default was `s,x,x', remove it if useless.
2443 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2444 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2446 # expand $ac_aux_dir to an absolute path
2447 am_aux_dir=`cd $ac_aux_dir && pwd`
2449 if test x"${MISSING+set}" != xset; then
2450 case $am_aux_dir in
2451 *\ * | *\ *)
2452 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2454 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2455 esac
2457 # Use eval to expand $SHELL
2458 if eval "$MISSING --run true"; then
2459 am_missing_run="$MISSING --run "
2460 else
2461 am_missing_run=
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2463 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2466 if test x"${install_sh}" != xset; then
2467 case $am_aux_dir in
2468 *\ * | *\ *)
2469 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2471 install_sh="\${SHELL} $am_aux_dir/install-sh"
2472 esac
2475 # Installed binaries are usually stripped using `strip' when the user
2476 # run `make install-strip'. However `strip' might not be the right
2477 # tool to use in cross-compilation environments, therefore Automake
2478 # will honor the `STRIP' environment variable to overrule this program.
2479 if test "$cross_compiling" != no; then
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2482 set dummy ${ac_tool_prefix}strip; ac_word=$2
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2484 $as_echo_n "checking for $ac_word... " >&6; }
2485 if test "${ac_cv_prog_STRIP+set}" = set; then :
2486 $as_echo_n "(cached) " >&6
2487 else
2488 if test -n "$STRIP"; then
2489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2502 done
2503 done
2504 IFS=$as_save_IFS
2508 STRIP=$ac_cv_prog_STRIP
2509 if test -n "$STRIP"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2511 $as_echo "$STRIP" >&6; }
2512 else
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2514 $as_echo "no" >&6; }
2519 if test -z "$ac_cv_prog_STRIP"; then
2520 ac_ct_STRIP=$STRIP
2521 # Extract the first word of "strip", so it can be a program name with args.
2522 set dummy strip; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 if test -n "$ac_ct_STRIP"; then
2529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2530 else
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 for as_dir in $PATH
2534 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 ac_cv_prog_ac_ct_STRIP="strip"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 break 2
2542 done
2543 done
2544 IFS=$as_save_IFS
2548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2549 if test -n "$ac_ct_STRIP"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2551 $as_echo "$ac_ct_STRIP" >&6; }
2552 else
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2557 if test "x$ac_ct_STRIP" = x; then
2558 STRIP=":"
2559 else
2560 case $cross_compiling:$ac_tool_warned in
2561 yes:)
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2564 ac_tool_warned=yes ;;
2565 esac
2566 STRIP=$ac_ct_STRIP
2568 else
2569 STRIP="$ac_cv_prog_STRIP"
2573 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2576 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2577 if test -z "$MKDIR_P"; then
2578 if test "${ac_cv_path_mkdir+set}" = set; then :
2579 $as_echo_n "(cached) " >&6
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_prog in mkdir gmkdir; do
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2589 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2590 'mkdir (GNU coreutils) '* | \
2591 'mkdir (coreutils) '* | \
2592 'mkdir (fileutils) '4.1*)
2593 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2594 break 3;;
2595 esac
2596 done
2597 done
2598 done
2599 IFS=$as_save_IFS
2603 test -d ./--version && rmdir ./--version
2604 if test "${ac_cv_path_mkdir+set}" = set; then
2605 MKDIR_P="$ac_cv_path_mkdir -p"
2606 else
2607 # As a last resort, use the slow shell script. Don't cache a
2608 # value for MKDIR_P within a source directory, because that will
2609 # break other packages using the cache if that directory is
2610 # removed, or if the value is a relative name.
2611 MKDIR_P="$ac_install_sh -d"
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2615 $as_echo "$MKDIR_P" >&6; }
2617 mkdir_p="$MKDIR_P"
2618 case $mkdir_p in
2619 [\\/$]* | ?:[\\/]*) ;;
2620 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2621 esac
2623 for ac_prog in gawk mawk nawk awk
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy $ac_prog; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_AWK+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2631 else
2632 if test -n "$AWK"; then
2633 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2634 else
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_AWK="$ac_prog"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 break 2
2646 done
2647 done
2648 IFS=$as_save_IFS
2652 AWK=$ac_cv_prog_AWK
2653 if test -n "$AWK"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2655 $as_echo "$AWK" >&6; }
2656 else
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2662 test -n "$AWK" && break
2663 done
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2666 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2667 set x ${MAKE-make}
2668 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2669 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 cat >conftest.make <<\_ACEOF
2673 SHELL = /bin/sh
2674 all:
2675 @echo '@@@%%%=$(MAKE)=@@@%%%'
2676 _ACEOF
2677 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2678 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2679 *@@@%%%=?*=@@@%%%*)
2680 eval ac_cv_prog_make_${ac_make}_set=yes;;
2682 eval ac_cv_prog_make_${ac_make}_set=no;;
2683 esac
2684 rm -f conftest.make
2686 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2688 $as_echo "yes" >&6; }
2689 SET_MAKE=
2690 else
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2693 SET_MAKE="MAKE=${MAKE-make}"
2696 rm -rf .tst 2>/dev/null
2697 mkdir .tst 2>/dev/null
2698 if test -d .tst; then
2699 am__leading_dot=.
2700 else
2701 am__leading_dot=_
2703 rmdir .tst 2>/dev/null
2705 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2706 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2707 # is not polluted with repeated "-I."
2708 am__isrc=' -I$(srcdir)'
2709 # test to see if srcdir already configured
2710 if test -f $srcdir/config.status; then
2711 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2715 # test whether we have cygpath
2716 if test -z "$CYGPATH_W"; then
2717 if (cygpath --version) >/dev/null 2>/dev/null; then
2718 CYGPATH_W='cygpath -w'
2719 else
2720 CYGPATH_W=echo
2725 # Define the identity of the package.
2726 PACKAGE=radvd
2727 VERSION=$VERSION
2730 # Some tools Automake needs.
2732 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2735 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2738 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2741 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2744 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2746 # We need awk for the "check" target. The system "awk" is bad on
2747 # some platforms.
2748 # Always define AMTAR for backward compatibility.
2750 AMTAR=${AMTAR-"${am_missing_run}tar"}
2752 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2758 # Check whether --enable-silent-rules was given.
2759 if test "${enable_silent_rules+set}" = set; then :
2760 enableval=$enable_silent_rules;
2763 case $enable_silent_rules in
2764 yes) AM_DEFAULT_VERBOSITY=0;;
2765 no) AM_DEFAULT_VERBOSITY=1;;
2766 *) AM_DEFAULT_VERBOSITY=0;;
2767 esac
2768 AM_BACKSLASH='\'
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture" >&5
2772 $as_echo_n "checking architecture... " >&6; }
2773 case "$target" in
2774 *linux*)
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: linux" >&5
2776 $as_echo "linux" >&6; }
2778 $as_echo "#define _GNU_SOURCE /**/" >>confdefs.h
2780 arch=linux
2782 *bsd*)
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: bsd44" >&5
2784 $as_echo "bsd44" >&6; }
2785 arch=bsd44
2787 *darwin*)
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: bsd44 (darwin)" >&5
2789 $as_echo "bsd44 (darwin)" >&6; }
2790 arch=bsd44
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown: $target" >&5
2794 $as_echo "unknown: $target" >&6; }
2795 as_fn_error "currently only Linux and BSD 4.4 with NRL's IPv6 code are
2796 supported. If you have such a system and it is not guessed correctly
2797 you must specifiy it with --target on the configure command line" "$LINENO" 5
2799 esac
2801 ac_ext=c
2802 ac_cpp='$CPP $CPPFLAGS'
2803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2806 if test -n "$ac_tool_prefix"; then
2807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if test "${ac_cv_prog_CC+set}" = set; then :
2812 $as_echo_n "(cached) " >&6
2813 else
2814 if test -n "$CC"; then
2815 ac_cv_prog_CC="$CC" # Let the user override the test.
2816 else
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 for as_dir in $PATH
2820 IFS=$as_save_IFS
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 break 2
2828 done
2829 done
2830 IFS=$as_save_IFS
2834 CC=$ac_cv_prog_CC
2835 if test -n "$CC"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2837 $as_echo "$CC" >&6; }
2838 else
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2845 if test -z "$ac_cv_prog_CC"; then
2846 ac_ct_CC=$CC
2847 # Extract the first word of "gcc", so it can be a program name with args.
2848 set dummy gcc; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 if test -n "$ac_ct_CC"; then
2855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2856 else
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 for as_dir in $PATH
2860 IFS=$as_save_IFS
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864 ac_cv_prog_ac_ct_CC="gcc"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 break 2
2868 done
2869 done
2870 IFS=$as_save_IFS
2874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875 if test -n "$ac_ct_CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2877 $as_echo "$ac_ct_CC" >&6; }
2878 else
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2883 if test "x$ac_ct_CC" = x; then
2884 CC=""
2885 else
2886 case $cross_compiling:$ac_tool_warned in
2887 yes:)
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890 ac_tool_warned=yes ;;
2891 esac
2892 CC=$ac_ct_CC
2894 else
2895 CC="$ac_cv_prog_CC"
2898 if test -z "$CC"; then
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2901 set dummy ${ac_tool_prefix}cc; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if test "${ac_cv_prog_CC+set}" = set; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 if test -n "$CC"; then
2908 ac_cv_prog_CC="$CC" # Let the user override the test.
2909 else
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH
2913 IFS=$as_save_IFS
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2917 ac_cv_prog_CC="${ac_tool_prefix}cc"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 break 2
2921 done
2922 done
2923 IFS=$as_save_IFS
2927 CC=$ac_cv_prog_CC
2928 if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930 $as_echo "$CC" >&6; }
2931 else
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2939 if test -z "$CC"; then
2940 # Extract the first word of "cc", so it can be a program name with args.
2941 set dummy cc; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if test "${ac_cv_prog_CC+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC="$CC" # Let the user override the test.
2949 else
2950 ac_prog_rejected=no
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 for as_dir in $PATH
2954 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2959 ac_prog_rejected=yes
2960 continue
2962 ac_cv_prog_CC="cc"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 break 2
2966 done
2967 done
2968 IFS=$as_save_IFS
2970 if test $ac_prog_rejected = yes; then
2971 # We found a bogon in the path, so make sure we never use it.
2972 set dummy $ac_cv_prog_CC
2973 shift
2974 if test $# != 0; then
2975 # We chose a different compiler from the bogus one.
2976 # However, it has the same basename, so the bogon will be chosen
2977 # first if we set CC to just the basename; use the full file name.
2978 shift
2979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2984 CC=$ac_cv_prog_CC
2985 if test -n "$CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2987 $as_echo "$CC" >&6; }
2988 else
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2995 if test -z "$CC"; then
2996 if test -n "$ac_tool_prefix"; then
2997 for ac_prog in cl.exe
2999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if test "${ac_cv_prog_CC+set}" = set; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 if test -n "$CC"; then
3007 ac_cv_prog_CC="$CC" # Let the user override the test.
3008 else
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 for as_dir in $PATH
3012 IFS=$as_save_IFS
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 break 2
3020 done
3021 done
3022 IFS=$as_save_IFS
3026 CC=$ac_cv_prog_CC
3027 if test -n "$CC"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3029 $as_echo "$CC" >&6; }
3030 else
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3036 test -n "$CC" && break
3037 done
3039 if test -z "$CC"; then
3040 ac_ct_CC=$CC
3041 for ac_prog in cl.exe
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy $ac_prog; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3050 if test -n "$ac_ct_CC"; then
3051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060 ac_cv_prog_ac_ct_CC="$ac_prog"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 break 2
3064 done
3065 done
3066 IFS=$as_save_IFS
3070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3071 if test -n "$ac_ct_CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3073 $as_echo "$ac_ct_CC" >&6; }
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3080 test -n "$ac_ct_CC" && break
3081 done
3083 if test "x$ac_ct_CC" = x; then
3084 CC=""
3085 else
3086 case $cross_compiling:$ac_tool_warned in
3087 yes:)
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3090 ac_tool_warned=yes ;;
3091 esac
3092 CC=$ac_ct_CC
3099 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error "no acceptable C compiler found in \$PATH
3102 See \`config.log' for more details." "$LINENO" 5; }
3104 # Provide some information about the compiler.
3105 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3106 set X $ac_compile
3107 ac_compiler=$2
3108 for ac_option in --version -v -V -qversion; do
3109 { { ac_try="$ac_compiler $ac_option >&5"
3110 case "(($ac_try" in
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3113 esac
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3117 ac_status=$?
3118 if test -s conftest.err; then
3119 sed '10a\
3120 ... rest of stderr output deleted ...
3121 10q' conftest.err >conftest.er1
3122 cat conftest.er1 >&5
3124 rm -f conftest.er1 conftest.err
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }
3127 done
3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3130 /* end confdefs.h. */
3133 main ()
3137 return 0;
3139 _ACEOF
3140 ac_clean_files_save=$ac_clean_files
3141 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3142 # Try to create an executable without -o first, disregard a.out.
3143 # It will help us diagnose broken compilers, and finding out an intuition
3144 # of exeext.
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3146 $as_echo_n "checking whether the C compiler works... " >&6; }
3147 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3149 # The possible output files:
3150 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3152 ac_rmfiles=
3153 for ac_file in $ac_files
3155 case $ac_file in
3156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3157 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3158 esac
3159 done
3160 rm -f $ac_rmfiles
3162 if { { ac_try="$ac_link_default"
3163 case "(($ac_try" in
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3166 esac
3167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3169 (eval "$ac_link_default") 2>&5
3170 ac_status=$?
3171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3172 test $ac_status = 0; }; then :
3173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3176 # so that the user can short-circuit this test for compilers unknown to
3177 # Autoconf.
3178 for ac_file in $ac_files ''
3180 test -f "$ac_file" || continue
3181 case $ac_file in
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3184 [ab].out )
3185 # We found the default executable, but exeext='' is most
3186 # certainly right.
3187 break;;
3188 *.* )
3189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3190 then :; else
3191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3193 # We set ac_cv_exeext here because the later test for it is not
3194 # safe: cross compilers may not add the suffix if given an `-o'
3195 # argument, so we may need to know it at that point already.
3196 # Even if this section looks crufty: it has the advantage of
3197 # actually working.
3198 break;;
3200 break;;
3201 esac
3202 done
3203 test "$ac_cv_exeext" = no && ac_cv_exeext=
3205 else
3206 ac_file=''
3208 if test -z "$ac_file"; then :
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3211 $as_echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 { as_fn_set_status 77
3217 as_fn_error "C compiler cannot create executables
3218 See \`config.log' for more details." "$LINENO" 5; }; }
3219 else
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3221 $as_echo "yes" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3224 $as_echo_n "checking for C compiler default output file name... " >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3226 $as_echo "$ac_file" >&6; }
3227 ac_exeext=$ac_cv_exeext
3229 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3230 ac_clean_files=$ac_clean_files_save
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3232 $as_echo_n "checking for suffix of executables... " >&6; }
3233 if { { ac_try="$ac_link"
3234 case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3237 esac
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_link") 2>&5
3241 ac_status=$?
3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; }; then :
3244 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3245 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3246 # work properly (i.e., refer to `conftest.exe'), while it won't with
3247 # `rm'.
3248 for ac_file in conftest.exe conftest conftest.*; do
3249 test -f "$ac_file" || continue
3250 case $ac_file in
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3252 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3253 break;;
3254 * ) break;;
3255 esac
3256 done
3257 else
3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error "cannot compute suffix of executables: cannot compile and link
3261 See \`config.log' for more details." "$LINENO" 5; }
3263 rm -f conftest conftest$ac_cv_exeext
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3265 $as_echo "$ac_cv_exeext" >&6; }
3267 rm -f conftest.$ac_ext
3268 EXEEXT=$ac_cv_exeext
3269 ac_exeext=$EXEEXT
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3272 #include <stdio.h>
3274 main ()
3276 FILE *f = fopen ("conftest.out", "w");
3277 return ferror (f) || fclose (f) != 0;
3280 return 0;
3282 _ACEOF
3283 ac_clean_files="$ac_clean_files conftest.out"
3284 # Check that the compiler produces executables we can run. If not, either
3285 # the compiler is broken, or we cross compile.
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3287 $as_echo_n "checking whether we are cross compiling... " >&6; }
3288 if test "$cross_compiling" != yes; then
3289 { { ac_try="$ac_link"
3290 case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3293 esac
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 $as_echo "$ac_try_echo"; } >&5
3296 (eval "$ac_link") 2>&5
3297 ac_status=$?
3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299 test $ac_status = 0; }
3300 if { ac_try='./conftest$ac_cv_exeext'
3301 { { case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_try") 2>&5
3308 ac_status=$?
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; }; then
3311 cross_compiling=no
3312 else
3313 if test "$cross_compiling" = maybe; then
3314 cross_compiling=yes
3315 else
3316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318 as_fn_error "cannot run C compiled programs.
3319 If you meant to cross compile, use \`--host'.
3320 See \`config.log' for more details." "$LINENO" 5; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3325 $as_echo "$cross_compiling" >&6; }
3327 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3328 ac_clean_files=$ac_clean_files_save
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3330 $as_echo_n "checking for suffix of object files... " >&6; }
3331 if test "${ac_cv_objext+set}" = set; then :
3332 $as_echo_n "(cached) " >&6
3333 else
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3342 return 0;
3344 _ACEOF
3345 rm -f conftest.o conftest.obj
3346 if { { ac_try="$ac_compile"
3347 case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_compile") 2>&5
3354 ac_status=$?
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 for ac_file in conftest.o conftest.obj conftest.*; do
3358 test -f "$ac_file" || continue;
3359 case $ac_file in
3360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3361 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3362 break;;
3363 esac
3364 done
3365 else
3366 $as_echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371 as_fn_error "cannot compute suffix of object files: cannot compile
3372 See \`config.log' for more details." "$LINENO" 5; }
3374 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3377 $as_echo "$ac_cv_objext" >&6; }
3378 OBJEXT=$ac_cv_objext
3379 ac_objext=$OBJEXT
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3381 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3382 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3384 else
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3389 main ()
3391 #ifndef __GNUC__
3392 choke me
3393 #endif
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 ac_compiler_gnu=yes
3401 else
3402 ac_compiler_gnu=no
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3409 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3410 if test $ac_compiler_gnu = yes; then
3411 GCC=yes
3412 else
3413 GCC=
3415 ac_test_CFLAGS=${CFLAGS+set}
3416 ac_save_CFLAGS=$CFLAGS
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3418 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3419 if test "${ac_cv_prog_cc_g+set}" = set; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 ac_save_c_werror_flag=$ac_c_werror_flag
3423 ac_c_werror_flag=yes
3424 ac_cv_prog_cc_g=no
3425 CFLAGS="-g"
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 main ()
3434 return 0;
3436 _ACEOF
3437 if ac_fn_c_try_compile "$LINENO"; then :
3438 ac_cv_prog_cc_g=yes
3439 else
3440 CFLAGS=""
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3445 main ()
3449 return 0;
3451 _ACEOF
3452 if ac_fn_c_try_compile "$LINENO"; then :
3454 else
3455 ac_c_werror_flag=$ac_save_c_werror_flag
3456 CFLAGS="-g"
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3461 main ()
3465 return 0;
3467 _ACEOF
3468 if ac_fn_c_try_compile "$LINENO"; then :
3469 ac_cv_prog_cc_g=yes
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 ac_c_werror_flag=$ac_save_c_werror_flag
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3479 $as_echo "$ac_cv_prog_cc_g" >&6; }
3480 if test "$ac_test_CFLAGS" = set; then
3481 CFLAGS=$ac_save_CFLAGS
3482 elif test $ac_cv_prog_cc_g = yes; then
3483 if test "$GCC" = yes; then
3484 CFLAGS="-g -O2"
3485 else
3486 CFLAGS="-g"
3488 else
3489 if test "$GCC" = yes; then
3490 CFLAGS="-O2"
3491 else
3492 CFLAGS=
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3496 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3497 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 ac_cv_prog_cc_c89=no
3501 ac_save_CC=$CC
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3504 #include <stdarg.h>
3505 #include <stdio.h>
3506 #include <sys/types.h>
3507 #include <sys/stat.h>
3508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3509 struct buf { int x; };
3510 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3511 static char *e (p, i)
3512 char **p;
3513 int i;
3515 return p[i];
3517 static char *f (char * (*g) (char **, int), char **p, ...)
3519 char *s;
3520 va_list v;
3521 va_start (v,p);
3522 s = g (p, va_arg (v,int));
3523 va_end (v);
3524 return s;
3527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3528 function prototypes and stuff, but not '\xHH' hex character constants.
3529 These don't provoke an error unfortunately, instead are silently treated
3530 as 'x'. The following induces an error, until -std is added to get
3531 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3532 array size at least. It's necessary to write '\x00'==0 to get something
3533 that's true only with -std. */
3534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3537 inside strings and character constants. */
3538 #define FOO(x) 'x'
3539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3541 int test (int i, double x);
3542 struct s1 {int (*f) (int a);};
3543 struct s2 {int (*f) (double a);};
3544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3545 int argc;
3546 char **argv;
3548 main ()
3550 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3552 return 0;
3554 _ACEOF
3555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3556 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3558 CC="$ac_save_CC $ac_arg"
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_cv_prog_cc_c89=$ac_arg
3562 rm -f core conftest.err conftest.$ac_objext
3563 test "x$ac_cv_prog_cc_c89" != "xno" && break
3564 done
3565 rm -f conftest.$ac_ext
3566 CC=$ac_save_CC
3569 # AC_CACHE_VAL
3570 case "x$ac_cv_prog_cc_c89" in
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3573 $as_echo "none needed" >&6; } ;;
3574 xno)
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3576 $as_echo "unsupported" >&6; } ;;
3578 CC="$CC $ac_cv_prog_cc_c89"
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3580 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3581 esac
3582 if test "x$ac_cv_prog_cc_c89" != xno; then :
3586 ac_ext=c
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591 DEPDIR="${am__leading_dot}deps"
3593 ac_config_commands="$ac_config_commands depfiles"
3596 am_make=${MAKE-make}
3597 cat > confinc << 'END'
3598 am__doit:
3599 @echo this is the am__doit target
3600 .PHONY: am__doit
3602 # If we don't find an include directive, just comment out the code.
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3604 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3605 am__include="#"
3606 am__quote=
3607 _am_result=none
3608 # First try GNU make style include.
3609 echo "include confinc" > confmf
3610 # Ignore all kinds of additional output from `make'.
3611 case `$am_make -s -f confmf 2> /dev/null` in #(
3612 *the\ am__doit\ target*)
3613 am__include=include
3614 am__quote=
3615 _am_result=GNU
3617 esac
3618 # Now try BSD make style include.
3619 if test "$am__include" = "#"; then
3620 echo '.include "confinc"' > confmf
3621 case `$am_make -s -f confmf 2> /dev/null` in #(
3622 *the\ am__doit\ target*)
3623 am__include=.include
3624 am__quote="\""
3625 _am_result=BSD
3627 esac
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3632 $as_echo "$_am_result" >&6; }
3633 rm -f confinc confmf
3635 # Check whether --enable-dependency-tracking was given.
3636 if test "${enable_dependency_tracking+set}" = set; then :
3637 enableval=$enable_dependency_tracking;
3640 if test "x$enable_dependency_tracking" != xno; then
3641 am_depcomp="$ac_aux_dir/depcomp"
3642 AMDEPBACKSLASH='\'
3644 if test "x$enable_dependency_tracking" != xno; then
3645 AMDEP_TRUE=
3646 AMDEP_FALSE='#'
3647 else
3648 AMDEP_TRUE='#'
3649 AMDEP_FALSE=
3654 depcc="$CC" am_compiler_list=
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3657 $as_echo_n "checking dependency style of $depcc... " >&6; }
3658 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3662 # We make a subdir and do the tests there. Otherwise we can end up
3663 # making bogus files that we don't know about and never remove. For
3664 # instance it was reported that on HP-UX the gcc test will end up
3665 # making a dummy file named `D' -- because `-MD' means `put the output
3666 # in D'.
3667 mkdir conftest.dir
3668 # Copy depcomp to subdir because otherwise we won't find it if we're
3669 # using a relative directory.
3670 cp "$am_depcomp" conftest.dir
3671 cd conftest.dir
3672 # We will build objects and dependencies in a subdirectory because
3673 # it helps to detect inapplicable dependency modes. For instance
3674 # both Tru64's cc and ICC support -MD to output dependencies as a
3675 # side effect of compilation, but ICC will put the dependencies in
3676 # the current directory while Tru64 will put them in the object
3677 # directory.
3678 mkdir sub
3680 am_cv_CC_dependencies_compiler_type=none
3681 if test "$am_compiler_list" = ""; then
3682 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3684 am__universal=false
3685 case " $depcc " in #(
3686 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3687 esac
3689 for depmode in $am_compiler_list; do
3690 # Setup a source with many dependencies, because some compilers
3691 # like to wrap large dependency lists on column 80 (with \), and
3692 # we should not choose a depcomp mode which is confused by this.
3694 # We need to recreate these files for each test, as the compiler may
3695 # overwrite some of them when testing with obscure command lines.
3696 # This happens at least with the AIX C compiler.
3697 : > sub/conftest.c
3698 for i in 1 2 3 4 5 6; do
3699 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3700 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3701 # Solaris 8's {/usr,}/bin/sh.
3702 touch sub/conftst$i.h
3703 done
3704 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3706 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3707 # mode. It turns out that the SunPro C++ compiler does not properly
3708 # handle `-M -o', and we need to detect this. Also, some Intel
3709 # versions had trouble with output in subdirs
3710 am__obj=sub/conftest.${OBJEXT-o}
3711 am__minus_obj="-o $am__obj"
3712 case $depmode in
3713 gcc)
3714 # This depmode causes a compiler race in universal mode.
3715 test "$am__universal" = false || continue
3717 nosideeffect)
3718 # after this tag, mechanisms are not by side-effect, so they'll
3719 # only be used when explicitly requested
3720 if test "x$enable_dependency_tracking" = xyes; then
3721 continue
3722 else
3723 break
3726 msvisualcpp | msvcmsys)
3727 # This compiler won't grok `-c -o', but also, the minuso test has
3728 # not run yet. These depmodes are late enough in the game, and
3729 # so weak that their functioning should not be impacted.
3730 am__obj=conftest.${OBJEXT-o}
3731 am__minus_obj=
3733 none) break ;;
3734 esac
3735 if depmode=$depmode \
3736 source=sub/conftest.c object=$am__obj \
3737 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3738 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3739 >/dev/null 2>conftest.err &&
3740 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3741 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3742 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3743 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3744 # icc doesn't choke on unknown options, it will just issue warnings
3745 # or remarks (even with -Werror). So we grep stderr for any message
3746 # that says an option was ignored or not supported.
3747 # When given -MP, icc 7.0 and 7.1 complain thusly:
3748 # icc: Command line warning: ignoring option '-M'; no argument required
3749 # The diagnosis changed in icc 8.0:
3750 # icc: Command line remark: option '-MP' not supported
3751 if (grep 'ignoring option' conftest.err ||
3752 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3753 am_cv_CC_dependencies_compiler_type=$depmode
3754 break
3757 done
3759 cd ..
3760 rm -rf conftest.dir
3761 else
3762 am_cv_CC_dependencies_compiler_type=none
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3767 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3768 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3771 test "x$enable_dependency_tracking" != xno \
3772 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3773 am__fastdepCC_TRUE=
3774 am__fastdepCC_FALSE='#'
3775 else
3776 am__fastdepCC_TRUE='#'
3777 am__fastdepCC_FALSE=
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking netlink" >&5
3783 $as_echo_n "checking netlink... " >&6; }
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3788 #include <asm/types.h>
3789 #include <sys/socket.h>
3790 #include <linux/netlink.h>
3791 #include <linux/rtnetlink.h>
3794 main ()
3798 main(int argc, char * argv[])
3800 int sock;
3801 struct sockaddr_nl snl;
3803 sock = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
3805 snl.nl_family = AF_NETLINK;
3806 snl.nl_groups = RTMGRP_LINK;
3808 return 0;
3812 return 0;
3814 _ACEOF
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 $as_echo "#define HAVE_NETLINK 1" >>confdefs.h
3820 CONDITIONAL_SOURCES=netlink.${OBJEXT}
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3822 $as_echo "yes" >&6; }
3824 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 # Extract the first word of "rm", so it can be a program name with args.
3834 set dummy rm; ac_word=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if test "${ac_cv_path_RM+set}" = set; then :
3838 $as_echo_n "(cached) " >&6
3839 else
3840 case $RM in
3841 [\\/]* | ?:[\\/]*)
3842 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3860 test -z "$ac_cv_path_RM" && ac_cv_path_RM="NOTFOUND"
3862 esac
3864 RM=$ac_cv_path_RM
3865 if test -n "$RM"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3867 $as_echo "$RM" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 if test "x$RM" = xNOTFOUND; then
3875 as_fn_error "can't find rm in your path - check PATH" "$LINENO" 5
3877 # Extract the first word of "sed", so it can be a program name with args.
3878 set dummy sed; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if test "${ac_cv_path_SED+set}" = set; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 case $SED in
3885 [\\/]* | ?:[\\/]*)
3886 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in $PATH
3892 IFS=$as_save_IFS
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3896 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 break 2
3900 done
3901 done
3902 IFS=$as_save_IFS
3904 test -z "$ac_cv_path_SED" && ac_cv_path_SED="NOTFOUND"
3906 esac
3908 SED=$ac_cv_path_SED
3909 if test -n "$SED"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3911 $as_echo "$SED" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3918 if test "x$SED" = xNOTFOUND; then
3919 as_fn_error "can't find sed in your path - check PATH" "$LINENO" 5
3921 # Extract the first word of "ln", so it can be a program name with args.
3922 set dummy ln; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if test "${ac_cv_path_LN+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3927 else
3928 case $LN in
3929 [\\/]* | ?:[\\/]*)
3930 ac_cv_path_LN="$LN" # Let the user override the test with a path.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 for as_dir in $PATH
3936 IFS=$as_save_IFS
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3940 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 break 2
3944 done
3945 done
3946 IFS=$as_save_IFS
3949 esac
3951 LN=$ac_cv_path_LN
3952 if test -n "$LN"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
3954 $as_echo "$LN" >&6; }
3955 else
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3961 for ac_prog in 'bison -y' byacc
3963 # Extract the first word of "$ac_prog", so it can be a program name with args.
3964 set dummy $ac_prog; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if test "${ac_cv_prog_YACC+set}" = set; then :
3968 $as_echo_n "(cached) " >&6
3969 else
3970 if test -n "$YACC"; then
3971 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3972 else
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3976 IFS=$as_save_IFS
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 ac_cv_prog_YACC="$ac_prog"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 break 2
3984 done
3985 done
3986 IFS=$as_save_IFS
3990 YACC=$ac_cv_prog_YACC
3991 if test -n "$YACC"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3993 $as_echo "$YACC" >&6; }
3994 else
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4000 test -n "$YACC" && break
4001 done
4002 test -n "$YACC" || YACC="yacc"
4004 for ac_prog in flex lex
4006 # Extract the first word of "$ac_prog", so it can be a program name with args.
4007 set dummy $ac_prog; ac_word=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if test "${ac_cv_prog_LEX+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4012 else
4013 if test -n "$LEX"; then
4014 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4015 else
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 for as_dir in $PATH
4019 IFS=$as_save_IFS
4020 test -z "$as_dir" && as_dir=.
4021 for ac_exec_ext in '' $ac_executable_extensions; do
4022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023 ac_cv_prog_LEX="$ac_prog"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 break 2
4027 done
4028 done
4029 IFS=$as_save_IFS
4033 LEX=$ac_cv_prog_LEX
4034 if test -n "$LEX"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4036 $as_echo "$LEX" >&6; }
4037 else
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4043 test -n "$LEX" && break
4044 done
4045 test -n "$LEX" || LEX=":"
4047 if test "x$LEX" != "x:"; then
4048 cat >conftest.l <<_ACEOF
4050 a { ECHO; }
4051 b { REJECT; }
4052 c { yymore (); }
4053 d { yyless (1); }
4054 e { yyless (input () != 0); }
4055 f { unput (yytext[0]); }
4056 . { BEGIN INITIAL; }
4058 #ifdef YYTEXT_POINTER
4059 extern char *yytext;
4060 #endif
4062 main (void)
4064 return ! yylex () + ! yywrap ();
4066 _ACEOF
4067 { { ac_try="$LEX conftest.l"
4068 case "(($ac_try" in
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4071 esac
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$LEX conftest.l") 2>&5
4075 ac_status=$?
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4079 $as_echo_n "checking lex output file root... " >&6; }
4080 if test "${ac_cv_prog_lex_root+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4084 if test -f lex.yy.c; then
4085 ac_cv_prog_lex_root=lex.yy
4086 elif test -f lexyy.c; then
4087 ac_cv_prog_lex_root=lexyy
4088 else
4089 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4093 $as_echo "$ac_cv_prog_lex_root" >&6; }
4094 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4096 if test -z "${LEXLIB+set}"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4098 $as_echo_n "checking lex library... " >&6; }
4099 if test "${ac_cv_lib_lex+set}" = set; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4103 ac_save_LIBS=$LIBS
4104 ac_cv_lib_lex='none needed'
4105 for ac_lib in '' -lfl -ll; do
4106 LIBS="$ac_lib $ac_save_LIBS"
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4109 `cat $LEX_OUTPUT_ROOT.c`
4110 _ACEOF
4111 if ac_fn_c_try_link "$LINENO"; then :
4112 ac_cv_lib_lex=$ac_lib
4114 rm -f core conftest.err conftest.$ac_objext \
4115 conftest$ac_exeext conftest.$ac_ext
4116 test "$ac_cv_lib_lex" != 'none needed' && break
4117 done
4118 LIBS=$ac_save_LIBS
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4122 $as_echo "$ac_cv_lib_lex" >&6; }
4123 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4128 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4129 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 # POSIX says lex can declare yytext either as a pointer or an array; the
4133 # default is implementation-dependent. Figure out which it is, since
4134 # not all implementations provide the %pointer and %array declarations.
4135 ac_cv_prog_lex_yytext_pointer=no
4136 ac_save_LIBS=$LIBS
4137 LIBS="$LEXLIB $ac_save_LIBS"
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140 #define YYTEXT_POINTER 1
4141 `cat $LEX_OUTPUT_ROOT.c`
4142 _ACEOF
4143 if ac_fn_c_try_link "$LINENO"; then :
4144 ac_cv_prog_lex_yytext_pointer=yes
4146 rm -f core conftest.err conftest.$ac_objext \
4147 conftest$ac_exeext conftest.$ac_ext
4148 LIBS=$ac_save_LIBS
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4152 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4153 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4155 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4158 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4161 if test "$LEX" = :; then
4162 LEX=${am_missing_run}flex
4164 # Extract the first word of "tar", so it can be a program name with args.
4165 set dummy tar; ac_word=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if test "${ac_cv_path_TAR+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4170 else
4171 case $TAR in
4172 [\\/]* | ?:[\\/]*)
4173 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 for as_dir in $PATH
4179 IFS=$as_save_IFS
4180 test -z "$as_dir" && as_dir=.
4181 for ac_exec_ext in '' $ac_executable_extensions; do
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 break 2
4187 done
4188 done
4189 IFS=$as_save_IFS
4192 esac
4194 TAR=$ac_cv_path_TAR
4195 if test -n "$TAR"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4197 $as_echo "$TAR" >&6; }
4198 else
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4204 # Extract the first word of "gzip", so it can be a program name with args.
4205 set dummy gzip; ac_word=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if test "${ac_cv_path_GZIP+set}" = set; then :
4209 $as_echo_n "(cached) " >&6
4210 else
4211 case $GZIP in
4212 [\\/]* | ?:[\\/]*)
4213 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH
4219 IFS=$as_save_IFS
4220 test -z "$as_dir" && as_dir=.
4221 for ac_exec_ext in '' $ac_executable_extensions; do
4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 break 2
4227 done
4228 done
4229 IFS=$as_save_IFS
4232 esac
4234 GZIP=$ac_cv_path_GZIP
4235 if test -n "$GZIP"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
4237 $as_echo "$GZIP" >&6; }
4238 else
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to put logfile" >&5
4246 $as_echo_n "checking where to put logfile... " >&6; }
4248 # Check whether --with-logfile was given.
4249 if test "${with_logfile+set}" = set; then :
4250 withval=$with_logfile; PATH_RADVD_LOG=$withval
4251 else
4252 PATH_RADVD_LOG=/var/log/radvd.log
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_RADVD_LOG" >&5
4256 $as_echo "$PATH_RADVD_LOG" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to put pidfile" >&5
4259 $as_echo_n "checking where to put pidfile... " >&6; }
4261 # Check whether --with-pidfile was given.
4262 if test "${with_pidfile+set}" = set; then :
4263 withval=$with_pidfile; PATH_RADVD_PID=$withval
4264 else
4265 PATH_RADVD_PID=/var/run/radvd.pid
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_RADVD_PID" >&5
4269 $as_echo "$PATH_RADVD_PID" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find configfile" >&5
4272 $as_echo_n "checking where to find configfile... " >&6; }
4274 # Check whether --with-configfile was given.
4275 if test "${with_configfile+set}" = set; then :
4276 withval=$with_configfile; PATH_RADVD_CONF=$withval
4277 else
4278 eval PATH_RADVD_CONF=${sysconfdir}/radvd.conf
4281 PATH_RADVD_CONF=$(echo $PATH_RADVD_CONF | sed 's/NONE//1')
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_RADVD_CONF" >&5
4283 $as_echo "$PATH_RADVD_CONF" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which syslog facility to use" >&5
4286 $as_echo_n "checking which syslog facility to use... " >&6; }
4288 # Check whether --with-facility was given.
4289 if test "${with_facility+set}" = set; then :
4290 withval=$with_facility; LOG_FACILITY=$withval
4291 else
4292 LOG_FACILITY=LOG_DAEMON
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG_FACILITY" >&5
4296 $as_echo "$LOG_FACILITY" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -lc" >&5
4300 $as_echo_n "checking for inet_ntop in -lc... " >&6; }
4301 if test "${ac_cv_lib_c_inet_ntop+set}" = set; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 ac_check_lib_save_LIBS=$LIBS
4305 LIBS="-lc $LIBS"
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4309 /* Override any GCC internal prototype to avoid an error.
4310 Use char because int might match the return type of a GCC
4311 builtin and then its argument prototype would still apply. */
4312 #ifdef __cplusplus
4313 extern "C"
4314 #endif
4315 char inet_ntop ();
4317 main ()
4319 return inet_ntop ();
4321 return 0;
4323 _ACEOF
4324 if ac_fn_c_try_link "$LINENO"; then :
4325 ac_cv_lib_c_inet_ntop=yes
4326 else
4327 ac_cv_lib_c_inet_ntop=no
4329 rm -f core conftest.err conftest.$ac_objext \
4330 conftest$ac_exeext conftest.$ac_ext
4331 LIBS=$ac_check_lib_save_LIBS
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_ntop" >&5
4334 $as_echo "$ac_cv_lib_c_inet_ntop" >&6; }
4335 if test "x$ac_cv_lib_c_inet_ntop" = x""yes; then :
4336 cat >>confdefs.h <<_ACEOF
4337 #define HAVE_LIBC 1
4338 _ACEOF
4340 LIBS="-lc $LIBS"
4342 else
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -linet6" >&5
4344 $as_echo_n "checking for inet_ntop in -linet6... " >&6; }
4345 if test "${ac_cv_lib_inet6_inet_ntop+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 ac_check_lib_save_LIBS=$LIBS
4349 LIBS="-linet6 $LIBS"
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4353 /* Override any GCC internal prototype to avoid an error.
4354 Use char because int might match the return type of a GCC
4355 builtin and then its argument prototype would still apply. */
4356 #ifdef __cplusplus
4357 extern "C"
4358 #endif
4359 char inet_ntop ();
4361 main ()
4363 return inet_ntop ();
4365 return 0;
4367 _ACEOF
4368 if ac_fn_c_try_link "$LINENO"; then :
4369 ac_cv_lib_inet6_inet_ntop=yes
4370 else
4371 ac_cv_lib_inet6_inet_ntop=no
4373 rm -f core conftest.err conftest.$ac_objext \
4374 conftest$ac_exeext conftest.$ac_ext
4375 LIBS=$ac_check_lib_save_LIBS
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet6_inet_ntop" >&5
4378 $as_echo "$ac_cv_lib_inet6_inet_ntop" >&6; }
4379 if test "x$ac_cv_lib_inet6_inet_ntop" = x""yes; then :
4380 LIBS="$LIBS -linet6"
4382 else
4383 as_fn_error "can't continue without libinet6.a library - check your LDFLAGS" "$LINENO" 5
4390 # prevent caching
4391 unset ac_cv_lib_inet6_inet_ntop
4393 ac_ext=c
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4399 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4400 # On Suns, sometimes $CPP names a directory.
4401 if test -n "$CPP" && test -d "$CPP"; then
4402 CPP=
4404 if test -z "$CPP"; then
4405 if test "${ac_cv_prog_CPP+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 # Double quotes because CPP needs to be expanded
4409 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4411 ac_preproc_ok=false
4412 for ac_c_preproc_warn_flag in '' yes
4414 # Use a header file that comes with gcc, so configuring glibc
4415 # with a fresh cross-compiler works.
4416 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4417 # <limits.h> exists even on freestanding compilers.
4418 # On the NeXT, cc -E runs the code through the compiler's parser,
4419 # not just through cpp. "Syntax error" is here to catch this case.
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4422 #ifdef __STDC__
4423 # include <limits.h>
4424 #else
4425 # include <assert.h>
4426 #endif
4427 Syntax error
4428 _ACEOF
4429 if ac_fn_c_try_cpp "$LINENO"; then :
4431 else
4432 # Broken: fails on valid input.
4433 continue
4435 rm -f conftest.err conftest.$ac_ext
4437 # OK, works on sane cases. Now check whether nonexistent headers
4438 # can be detected and how.
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <ac_nonexistent.h>
4442 _ACEOF
4443 if ac_fn_c_try_cpp "$LINENO"; then :
4444 # Broken: success on invalid input.
4445 continue
4446 else
4447 # Passes both tests.
4448 ac_preproc_ok=:
4449 break
4451 rm -f conftest.err conftest.$ac_ext
4453 done
4454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4455 rm -f conftest.err conftest.$ac_ext
4456 if $ac_preproc_ok; then :
4457 break
4460 done
4461 ac_cv_prog_CPP=$CPP
4464 CPP=$ac_cv_prog_CPP
4465 else
4466 ac_cv_prog_CPP=$CPP
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4469 $as_echo "$CPP" >&6; }
4470 ac_preproc_ok=false
4471 for ac_c_preproc_warn_flag in '' yes
4473 # Use a header file that comes with gcc, so configuring glibc
4474 # with a fresh cross-compiler works.
4475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4476 # <limits.h> exists even on freestanding compilers.
4477 # On the NeXT, cc -E runs the code through the compiler's parser,
4478 # not just through cpp. "Syntax error" is here to catch this case.
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481 #ifdef __STDC__
4482 # include <limits.h>
4483 #else
4484 # include <assert.h>
4485 #endif
4486 Syntax error
4487 _ACEOF
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4490 else
4491 # Broken: fails on valid input.
4492 continue
4494 rm -f conftest.err conftest.$ac_ext
4496 # OK, works on sane cases. Now check whether nonexistent headers
4497 # can be detected and how.
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4500 #include <ac_nonexistent.h>
4501 _ACEOF
4502 if ac_fn_c_try_cpp "$LINENO"; then :
4503 # Broken: success on invalid input.
4504 continue
4505 else
4506 # Passes both tests.
4507 ac_preproc_ok=:
4508 break
4510 rm -f conftest.err conftest.$ac_ext
4512 done
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.err conftest.$ac_ext
4515 if $ac_preproc_ok; then :
4517 else
4518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4520 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4521 See \`config.log' for more details." "$LINENO" 5; }
4524 ac_ext=c
4525 ac_cpp='$CPP $CPPFLAGS'
4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4532 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4533 if test "${ac_cv_path_GREP+set}" = set; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 if test -z "$GREP"; then
4537 ac_path_GREP_found=false
4538 # Loop through the user's path and test for each of PROGNAME-LIST
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544 for ac_prog in grep ggrep; do
4545 for ac_exec_ext in '' $ac_executable_extensions; do
4546 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4547 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4548 # Check for GNU ac_path_GREP and select it if it is found.
4549 # Check for GNU $ac_path_GREP
4550 case `"$ac_path_GREP" --version 2>&1` in
4551 *GNU*)
4552 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4554 ac_count=0
4555 $as_echo_n 0123456789 >"conftest.in"
4556 while :
4558 cat "conftest.in" "conftest.in" >"conftest.tmp"
4559 mv "conftest.tmp" "conftest.in"
4560 cp "conftest.in" "conftest.nl"
4561 $as_echo 'GREP' >> "conftest.nl"
4562 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4563 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4564 as_fn_arith $ac_count + 1 && ac_count=$as_val
4565 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4566 # Best one so far, save it but keep looking for a better one
4567 ac_cv_path_GREP="$ac_path_GREP"
4568 ac_path_GREP_max=$ac_count
4570 # 10*(2^10) chars as input seems more than enough
4571 test $ac_count -gt 10 && break
4572 done
4573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4574 esac
4576 $ac_path_GREP_found && break 3
4577 done
4578 done
4579 done
4580 IFS=$as_save_IFS
4581 if test -z "$ac_cv_path_GREP"; then
4582 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4584 else
4585 ac_cv_path_GREP=$GREP
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4590 $as_echo "$ac_cv_path_GREP" >&6; }
4591 GREP="$ac_cv_path_GREP"
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4595 $as_echo_n "checking for egrep... " >&6; }
4596 if test "${ac_cv_path_EGREP+set}" = set; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4600 then ac_cv_path_EGREP="$GREP -E"
4601 else
4602 if test -z "$EGREP"; then
4603 ac_path_EGREP_found=false
4604 # Loop through the user's path and test for each of PROGNAME-LIST
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4608 IFS=$as_save_IFS
4609 test -z "$as_dir" && as_dir=.
4610 for ac_prog in egrep; do
4611 for ac_exec_ext in '' $ac_executable_extensions; do
4612 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4613 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4614 # Check for GNU ac_path_EGREP and select it if it is found.
4615 # Check for GNU $ac_path_EGREP
4616 case `"$ac_path_EGREP" --version 2>&1` in
4617 *GNU*)
4618 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4620 ac_count=0
4621 $as_echo_n 0123456789 >"conftest.in"
4622 while :
4624 cat "conftest.in" "conftest.in" >"conftest.tmp"
4625 mv "conftest.tmp" "conftest.in"
4626 cp "conftest.in" "conftest.nl"
4627 $as_echo 'EGREP' >> "conftest.nl"
4628 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4629 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4630 as_fn_arith $ac_count + 1 && ac_count=$as_val
4631 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4632 # Best one so far, save it but keep looking for a better one
4633 ac_cv_path_EGREP="$ac_path_EGREP"
4634 ac_path_EGREP_max=$ac_count
4636 # 10*(2^10) chars as input seems more than enough
4637 test $ac_count -gt 10 && break
4638 done
4639 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4640 esac
4642 $ac_path_EGREP_found && break 3
4643 done
4644 done
4645 done
4646 IFS=$as_save_IFS
4647 if test -z "$ac_cv_path_EGREP"; then
4648 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4650 else
4651 ac_cv_path_EGREP=$EGREP
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4657 $as_echo "$ac_cv_path_EGREP" >&6; }
4658 EGREP="$ac_cv_path_EGREP"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4662 $as_echo_n "checking for ANSI C header files... " >&6; }
4663 if test "${ac_cv_header_stdc+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4665 else
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4668 #include <stdlib.h>
4669 #include <stdarg.h>
4670 #include <string.h>
4671 #include <float.h>
4674 main ()
4678 return 0;
4680 _ACEOF
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_cv_header_stdc=yes
4683 else
4684 ac_cv_header_stdc=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 if test $ac_cv_header_stdc = yes; then
4689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4692 #include <string.h>
4694 _ACEOF
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696 $EGREP "memchr" >/dev/null 2>&1; then :
4698 else
4699 ac_cv_header_stdc=no
4701 rm -f conftest*
4705 if test $ac_cv_header_stdc = yes; then
4706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4709 #include <stdlib.h>
4711 _ACEOF
4712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4713 $EGREP "free" >/dev/null 2>&1; then :
4715 else
4716 ac_cv_header_stdc=no
4718 rm -f conftest*
4722 if test $ac_cv_header_stdc = yes; then
4723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4724 if test "$cross_compiling" = yes; then :
4726 else
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4729 #include <ctype.h>
4730 #include <stdlib.h>
4731 #if ((' ' & 0x0FF) == 0x020)
4732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4734 #else
4735 # define ISLOWER(c) \
4736 (('a' <= (c) && (c) <= 'i') \
4737 || ('j' <= (c) && (c) <= 'r') \
4738 || ('s' <= (c) && (c) <= 'z'))
4739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4740 #endif
4742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4744 main ()
4746 int i;
4747 for (i = 0; i < 256; i++)
4748 if (XOR (islower (i), ISLOWER (i))
4749 || toupper (i) != TOUPPER (i))
4750 return 2;
4751 return 0;
4753 _ACEOF
4754 if ac_fn_c_try_run "$LINENO"; then :
4756 else
4757 ac_cv_header_stdc=no
4759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4760 conftest.$ac_objext conftest.beam conftest.$ac_ext
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4766 $as_echo "$ac_cv_header_stdc" >&6; }
4767 if test $ac_cv_header_stdc = yes; then
4769 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4773 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4774 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4775 inttypes.h stdint.h unistd.h
4776 do :
4777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4778 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4780 eval as_val=\$$as_ac_Header
4781 if test "x$as_val" = x""yes; then :
4782 cat >>confdefs.h <<_ACEOF
4783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4784 _ACEOF
4788 done
4791 for ac_header in \
4792 getopt.h \
4793 ifaddrs.h \
4794 machine/limits.h \
4795 machine/param.h \
4796 net/if_arp.h \
4797 net/if_dl.h \
4798 net/if_types.h \
4799 sys/param.h \
4800 sys/sockio.h \
4801 sys/time.h \
4802 time.h \
4804 do :
4805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4806 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4807 eval as_val=\$$as_ac_Header
4808 if test "x$as_val" = x""yes; then :
4809 cat >>confdefs.h <<_ACEOF
4810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4811 _ACEOF
4815 done
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4818 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4819 if test "${ac_cv_header_time+set}" = set; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4824 #include <sys/types.h>
4825 #include <sys/time.h>
4826 #include <time.h>
4829 main ()
4831 if ((struct tm *) 0)
4832 return 0;
4834 return 0;
4836 _ACEOF
4837 if ac_fn_c_try_compile "$LINENO"; then :
4838 ac_cv_header_time=yes
4839 else
4840 ac_cv_header_time=no
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4845 $as_echo "$ac_cv_header_time" >&6; }
4846 if test $ac_cv_header_time = yes; then
4848 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4854 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4855 if test "${ac_cv_c_const+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4864 /* FIXME: Include the comments suggested by Paul. */
4865 #ifndef __cplusplus
4866 /* Ultrix mips cc rejects this. */
4867 typedef int charset[2];
4868 const charset cs;
4869 /* SunOS 4.1.1 cc rejects this. */
4870 char const *const *pcpcc;
4871 char **ppc;
4872 /* NEC SVR4.0.2 mips cc rejects this. */
4873 struct point {int x, y;};
4874 static struct point const zero = {0,0};
4875 /* AIX XL C 1.02.0.0 rejects this.
4876 It does not let you subtract one const X* pointer from another in
4877 an arm of an if-expression whose if-part is not a constant
4878 expression */
4879 const char *g = "string";
4880 pcpcc = &g + (g ? g-g : 0);
4881 /* HPUX 7.0 cc rejects these. */
4882 ++pcpcc;
4883 ppc = (char**) pcpcc;
4884 pcpcc = (char const *const *) ppc;
4885 { /* SCO 3.2v4 cc rejects this. */
4886 char *t;
4887 char const *s = 0 ? (char *) 0 : (char const *) 0;
4889 *t++ = 0;
4890 if (s) return 0;
4892 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4893 int x[] = {25, 17};
4894 const int *foo = &x[0];
4895 ++foo;
4897 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4898 typedef const int *iptr;
4899 iptr p = 0;
4900 ++p;
4902 { /* AIX XL C 1.02.0.0 rejects this saying
4903 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4904 struct s { int j; const int *ap[3]; };
4905 struct s *b; b->j = 5;
4907 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4908 const int foo = 10;
4909 if (!foo) return 0;
4911 return !cs[0] && !zero.x;
4912 #endif
4915 return 0;
4917 _ACEOF
4918 if ac_fn_c_try_compile "$LINENO"; then :
4919 ac_cv_c_const=yes
4920 else
4921 ac_cv_c_const=no
4923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4926 $as_echo "$ac_cv_c_const" >&6; }
4927 if test $ac_cv_c_const = no; then
4929 $as_echo "#define const /**/" >>confdefs.h
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 has sin6_scope_id" >&5
4935 $as_echo_n "checking whether struct sockaddr_in6 has sin6_scope_id... " >&6; }
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4938 #include <sys/types.h>
4939 #include <netinet/in.h>
4941 main ()
4943 static struct sockaddr_in6 ac_sin6; int ac_size =
4944 sizeof (ac_sin6.sin6_scope_id);
4946 return 0;
4948 _ACEOF
4949 if ac_fn_c_try_compile "$LINENO"; then :
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; };
4952 $as_echo "#define HAVE_SIN6_SCOPE_ID 1" >>confdefs.h
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct in6_addr has u6_addrXX and defines s6_addrXX" >&5
4961 $as_echo_n "checking whether struct in6_addr has u6_addrXX and defines s6_addrXX... " >&6; }
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4964 #include <netinet/in.h>
4966 main ()
4968 static struct in6_addr in6_u;
4969 int u = in6_u.s6_addr16;
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4976 $as_echo "yes" >&6; };
4977 $as_echo "#define HAVE_IN6_ADDR_S6_ADDR 1" >>confdefs.h
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4985 for ac_func in getopt_long
4986 do :
4987 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
4988 if test "x$ac_cv_func_getopt_long" = x""yes; then :
4989 cat >>confdefs.h <<_ACEOF
4990 #define HAVE_GETOPT_LONG 1
4991 _ACEOF
4994 done
4997 CONDITIONAL_SOURCES="device-${arch}.${OBJEXT} privsep-${arch}.${OBJEXT} ${CONDITIONAL_SOURCES}"
5006 ac_config_headers="$ac_config_headers config.h"
5008 ac_config_files="$ac_config_files Makefile"
5010 cat >confcache <<\_ACEOF
5011 # This file is a shell script that caches the results of configure
5012 # tests run on this system so they can be shared between configure
5013 # scripts and configure runs, see configure's option --config-cache.
5014 # It is not useful on other systems. If it contains results you don't
5015 # want to keep, you may remove or edit it.
5017 # config.status only pays attention to the cache file if you give it
5018 # the --recheck option to rerun configure.
5020 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5021 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5022 # following values.
5024 _ACEOF
5026 # The following way of writing the cache mishandles newlines in values,
5027 # but we know of no workaround that is simple, portable, and efficient.
5028 # So, we kill variables containing newlines.
5029 # Ultrix sh set writes to stderr and can't be redirected directly,
5030 # and sets the high bit in the cache file unless we assign to the vars.
5032 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5033 eval ac_val=\$$ac_var
5034 case $ac_val in #(
5035 *${as_nl}*)
5036 case $ac_var in #(
5037 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5039 esac
5040 case $ac_var in #(
5041 _ | IFS | as_nl) ;; #(
5042 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5043 *) { eval $ac_var=; unset $ac_var;} ;;
5044 esac ;;
5045 esac
5046 done
5048 (set) 2>&1 |
5049 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5050 *${as_nl}ac_space=\ *)
5051 # `set' does not quote correctly, so add quotes: double-quote
5052 # substitution turns \\\\ into \\, and sed turns \\ into \.
5053 sed -n \
5054 "s/'/'\\\\''/g;
5055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5056 ;; #(
5058 # `set' quotes correctly as required by POSIX, so do not add quotes.
5059 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5061 esac |
5062 sort
5064 sed '
5065 /^ac_cv_env_/b end
5066 t clear
5067 :clear
5068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5069 t end
5070 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5071 :end' >>confcache
5072 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5073 if test -w "$cache_file"; then
5074 test "x$cache_file" != "x/dev/null" &&
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5076 $as_echo "$as_me: updating cache $cache_file" >&6;}
5077 cat confcache >$cache_file
5078 else
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5080 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5083 rm -f confcache
5085 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5086 # Let make expand exec_prefix.
5087 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5089 DEFS=-DHAVE_CONFIG_H
5091 ac_libobjs=
5092 ac_ltlibobjs=
5093 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5094 # 1. Remove the extension, and $U if already installed.
5095 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5096 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5097 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5098 # will be set to the directory where LIBOBJS objects are built.
5099 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5100 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5101 done
5102 LIBOBJS=$ac_libobjs
5104 LTLIBOBJS=$ac_ltlibobjs
5107 if test -n "$EXEEXT"; then
5108 am__EXEEXT_TRUE=
5109 am__EXEEXT_FALSE='#'
5110 else
5111 am__EXEEXT_TRUE='#'
5112 am__EXEEXT_FALSE=
5115 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5116 as_fn_error "conditional \"AMDEP\" was never defined.
5117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5119 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5120 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5124 : ${CONFIG_STATUS=./config.status}
5125 ac_write_fail=0
5126 ac_clean_files_save=$ac_clean_files
5127 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5129 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5130 as_write_fail=0
5131 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5132 #! $SHELL
5133 # Generated by $as_me.
5134 # Run this file to recreate the current configuration.
5135 # Compiler output produced by configure, useful for debugging
5136 # configure, is in config.log if it exists.
5138 debug=false
5139 ac_cs_recheck=false
5140 ac_cs_silent=false
5142 SHELL=\${CONFIG_SHELL-$SHELL}
5143 export SHELL
5144 _ASEOF
5145 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5146 ## -------------------- ##
5147 ## M4sh Initialization. ##
5148 ## -------------------- ##
5150 # Be more Bourne compatible
5151 DUALCASE=1; export DUALCASE # for MKS sh
5152 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5153 emulate sh
5154 NULLCMD=:
5155 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5156 # is contrary to our usage. Disable this feature.
5157 alias -g '${1+"$@"}'='"$@"'
5158 setopt NO_GLOB_SUBST
5159 else
5160 case `(set -o) 2>/dev/null` in #(
5161 *posix*) :
5162 set -o posix ;; #(
5163 *) :
5165 esac
5169 as_nl='
5171 export as_nl
5172 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5173 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5174 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5175 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5176 # Prefer a ksh shell builtin over an external printf program on Solaris,
5177 # but without wasting forks for bash or zsh.
5178 if test -z "$BASH_VERSION$ZSH_VERSION" \
5179 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5180 as_echo='print -r --'
5181 as_echo_n='print -rn --'
5182 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5183 as_echo='printf %s\n'
5184 as_echo_n='printf %s'
5185 else
5186 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5187 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5188 as_echo_n='/usr/ucb/echo -n'
5189 else
5190 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5191 as_echo_n_body='eval
5192 arg=$1;
5193 case $arg in #(
5194 *"$as_nl"*)
5195 expr "X$arg" : "X\\(.*\\)$as_nl";
5196 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5197 esac;
5198 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5200 export as_echo_n_body
5201 as_echo_n='sh -c $as_echo_n_body as_echo'
5203 export as_echo_body
5204 as_echo='sh -c $as_echo_body as_echo'
5207 # The user is always right.
5208 if test "${PATH_SEPARATOR+set}" != set; then
5209 PATH_SEPARATOR=:
5210 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5211 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5212 PATH_SEPARATOR=';'
5217 # IFS
5218 # We need space, tab and new line, in precisely that order. Quoting is
5219 # there to prevent editors from complaining about space-tab.
5220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5221 # splitting by setting IFS to empty value.)
5222 IFS=" "" $as_nl"
5224 # Find who we are. Look in the path if we contain no directory separator.
5225 case $0 in #((
5226 *[\\/]* ) as_myself=$0 ;;
5227 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5233 done
5234 IFS=$as_save_IFS
5237 esac
5238 # We did not find ourselves, most probably we were run as `sh COMMAND'
5239 # in which case we are not to be found in the path.
5240 if test "x$as_myself" = x; then
5241 as_myself=$0
5243 if test ! -f "$as_myself"; then
5244 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5245 exit 1
5248 # Unset variables that we do not need and which cause bugs (e.g. in
5249 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5250 # suppresses any "Segmentation fault" message there. '((' could
5251 # trigger a bug in pdksh 5.2.14.
5252 for as_var in BASH_ENV ENV MAIL MAILPATH
5253 do eval test x\${$as_var+set} = xset \
5254 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5255 done
5256 PS1='$ '
5257 PS2='> '
5258 PS4='+ '
5260 # NLS nuisances.
5261 LC_ALL=C
5262 export LC_ALL
5263 LANGUAGE=C
5264 export LANGUAGE
5266 # CDPATH.
5267 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5270 # as_fn_error ERROR [LINENO LOG_FD]
5271 # ---------------------------------
5272 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5273 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5274 # script with status $?, using 1 if that was 0.
5275 as_fn_error ()
5277 as_status=$?; test $as_status -eq 0 && as_status=1
5278 if test "$3"; then
5279 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5280 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5282 $as_echo "$as_me: error: $1" >&2
5283 as_fn_exit $as_status
5284 } # as_fn_error
5287 # as_fn_set_status STATUS
5288 # -----------------------
5289 # Set $? to STATUS, without forking.
5290 as_fn_set_status ()
5292 return $1
5293 } # as_fn_set_status
5295 # as_fn_exit STATUS
5296 # -----------------
5297 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5298 as_fn_exit ()
5300 set +e
5301 as_fn_set_status $1
5302 exit $1
5303 } # as_fn_exit
5305 # as_fn_unset VAR
5306 # ---------------
5307 # Portably unset VAR.
5308 as_fn_unset ()
5310 { eval $1=; unset $1;}
5312 as_unset=as_fn_unset
5313 # as_fn_append VAR VALUE
5314 # ----------------------
5315 # Append the text in VALUE to the end of the definition contained in VAR. Take
5316 # advantage of any shell optimizations that allow amortized linear growth over
5317 # repeated appends, instead of the typical quadratic growth present in naive
5318 # implementations.
5319 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5320 eval 'as_fn_append ()
5322 eval $1+=\$2
5324 else
5325 as_fn_append ()
5327 eval $1=\$$1\$2
5329 fi # as_fn_append
5331 # as_fn_arith ARG...
5332 # ------------------
5333 # Perform arithmetic evaluation on the ARGs, and store the result in the
5334 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5335 # must be portable across $(()) and expr.
5336 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5337 eval 'as_fn_arith ()
5339 as_val=$(( $* ))
5341 else
5342 as_fn_arith ()
5344 as_val=`expr "$@" || test $? -eq 1`
5346 fi # as_fn_arith
5349 if expr a : '\(a\)' >/dev/null 2>&1 &&
5350 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5351 as_expr=expr
5352 else
5353 as_expr=false
5356 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5357 as_basename=basename
5358 else
5359 as_basename=false
5362 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5363 as_dirname=dirname
5364 else
5365 as_dirname=false
5368 as_me=`$as_basename -- "$0" ||
5369 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5370 X"$0" : 'X\(//\)$' \| \
5371 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5372 $as_echo X/"$0" |
5373 sed '/^.*\/\([^/][^/]*\)\/*$/{
5374 s//\1/
5377 /^X\/\(\/\/\)$/{
5378 s//\1/
5381 /^X\/\(\/\).*/{
5382 s//\1/
5385 s/.*/./; q'`
5387 # Avoid depending upon Character Ranges.
5388 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5389 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5390 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5391 as_cr_digits='0123456789'
5392 as_cr_alnum=$as_cr_Letters$as_cr_digits
5394 ECHO_C= ECHO_N= ECHO_T=
5395 case `echo -n x` in #(((((
5396 -n*)
5397 case `echo 'xy\c'` in
5398 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5399 xy) ECHO_C='\c';;
5400 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5401 ECHO_T=' ';;
5402 esac;;
5404 ECHO_N='-n';;
5405 esac
5407 rm -f conf$$ conf$$.exe conf$$.file
5408 if test -d conf$$.dir; then
5409 rm -f conf$$.dir/conf$$.file
5410 else
5411 rm -f conf$$.dir
5412 mkdir conf$$.dir 2>/dev/null
5414 if (echo >conf$$.file) 2>/dev/null; then
5415 if ln -s conf$$.file conf$$ 2>/dev/null; then
5416 as_ln_s='ln -s'
5417 # ... but there are two gotchas:
5418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5420 # In both cases, we have to default to `cp -p'.
5421 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5422 as_ln_s='cp -p'
5423 elif ln conf$$.file conf$$ 2>/dev/null; then
5424 as_ln_s=ln
5425 else
5426 as_ln_s='cp -p'
5428 else
5429 as_ln_s='cp -p'
5431 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5432 rmdir conf$$.dir 2>/dev/null
5435 # as_fn_mkdir_p
5436 # -------------
5437 # Create "$as_dir" as a directory, including parents if necessary.
5438 as_fn_mkdir_p ()
5441 case $as_dir in #(
5442 -*) as_dir=./$as_dir;;
5443 esac
5444 test -d "$as_dir" || eval $as_mkdir_p || {
5445 as_dirs=
5446 while :; do
5447 case $as_dir in #(
5448 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5449 *) as_qdir=$as_dir;;
5450 esac
5451 as_dirs="'$as_qdir' $as_dirs"
5452 as_dir=`$as_dirname -- "$as_dir" ||
5453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5454 X"$as_dir" : 'X\(//\)[^/]' \| \
5455 X"$as_dir" : 'X\(//\)$' \| \
5456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5457 $as_echo X"$as_dir" |
5458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5459 s//\1/
5462 /^X\(\/\/\)[^/].*/{
5463 s//\1/
5466 /^X\(\/\/\)$/{
5467 s//\1/
5470 /^X\(\/\).*/{
5471 s//\1/
5474 s/.*/./; q'`
5475 test -d "$as_dir" && break
5476 done
5477 test -z "$as_dirs" || eval "mkdir $as_dirs"
5478 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5481 } # as_fn_mkdir_p
5482 if mkdir -p . 2>/dev/null; then
5483 as_mkdir_p='mkdir -p "$as_dir"'
5484 else
5485 test -d ./-p && rmdir ./-p
5486 as_mkdir_p=false
5489 if test -x / >/dev/null 2>&1; then
5490 as_test_x='test -x'
5491 else
5492 if ls -dL / >/dev/null 2>&1; then
5493 as_ls_L_option=L
5494 else
5495 as_ls_L_option=
5497 as_test_x='
5498 eval sh -c '\''
5499 if test -d "$1"; then
5500 test -d "$1/.";
5501 else
5502 case $1 in #(
5503 -*)set "./$1";;
5504 esac;
5505 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5506 ???[sx]*):;;*)false;;esac;fi
5507 '\'' sh
5510 as_executable_p=$as_test_x
5512 # Sed expression to map a string onto a valid CPP name.
5513 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5515 # Sed expression to map a string onto a valid variable name.
5516 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5519 exec 6>&1
5520 ## ----------------------------------- ##
5521 ## Main body of $CONFIG_STATUS script. ##
5522 ## ----------------------------------- ##
5523 _ASEOF
5524 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5527 # Save the log message, to keep $0 and so on meaningful, and to
5528 # report actual input values of CONFIG_FILES etc. instead of their
5529 # values after options handling.
5530 ac_log="
5531 This file was extended by $as_me, which was
5532 generated by GNU Autoconf 2.65. Invocation command line was
5534 CONFIG_FILES = $CONFIG_FILES
5535 CONFIG_HEADERS = $CONFIG_HEADERS
5536 CONFIG_LINKS = $CONFIG_LINKS
5537 CONFIG_COMMANDS = $CONFIG_COMMANDS
5538 $ $0 $@
5540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5543 _ACEOF
5545 case $ac_config_files in *"
5546 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5547 esac
5549 case $ac_config_headers in *"
5550 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5551 esac
5554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5555 # Files that config.status was made for.
5556 config_files="$ac_config_files"
5557 config_headers="$ac_config_headers"
5558 config_commands="$ac_config_commands"
5560 _ACEOF
5562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5563 ac_cs_usage="\
5564 \`$as_me' instantiates files and other configuration actions
5565 from templates according to the current configuration. Unless the files
5566 and actions are specified as TAGs, all are instantiated by default.
5568 Usage: $0 [OPTION]... [TAG]...
5570 -h, --help print this help, then exit
5571 -V, --version print version number and configuration settings, then exit
5572 --config print configuration, then exit
5573 -q, --quiet, --silent
5574 do not print progress messages
5575 -d, --debug don't remove temporary files
5576 --recheck update $as_me by reconfiguring in the same conditions
5577 --file=FILE[:TEMPLATE]
5578 instantiate the configuration file FILE
5579 --header=FILE[:TEMPLATE]
5580 instantiate the configuration header FILE
5582 Configuration files:
5583 $config_files
5585 Configuration headers:
5586 $config_headers
5588 Configuration commands:
5589 $config_commands
5591 Report bugs to the package provider."
5593 _ACEOF
5594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5595 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5596 ac_cs_version="\\
5597 config.status
5598 configured by $0, generated by GNU Autoconf 2.65,
5599 with options \\"\$ac_cs_config\\"
5601 Copyright (C) 2009 Free Software Foundation, Inc.
5602 This config.status script is free software; the Free Software Foundation
5603 gives unlimited permission to copy, distribute and modify it."
5605 ac_pwd='$ac_pwd'
5606 srcdir='$srcdir'
5607 INSTALL='$INSTALL'
5608 MKDIR_P='$MKDIR_P'
5609 AWK='$AWK'
5610 test -n "\$AWK" || AWK=awk
5611 _ACEOF
5613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5614 # The default lists apply if the user does not specify any file.
5615 ac_need_defaults=:
5616 while test $# != 0
5618 case $1 in
5619 --*=*)
5620 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5621 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5622 ac_shift=:
5625 ac_option=$1
5626 ac_optarg=$2
5627 ac_shift=shift
5629 esac
5631 case $ac_option in
5632 # Handling of the options.
5633 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5634 ac_cs_recheck=: ;;
5635 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5636 $as_echo "$ac_cs_version"; exit ;;
5637 --config | --confi | --conf | --con | --co | --c )
5638 $as_echo "$ac_cs_config"; exit ;;
5639 --debug | --debu | --deb | --de | --d | -d )
5640 debug=: ;;
5641 --file | --fil | --fi | --f )
5642 $ac_shift
5643 case $ac_optarg in
5644 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5645 esac
5646 as_fn_append CONFIG_FILES " '$ac_optarg'"
5647 ac_need_defaults=false;;
5648 --header | --heade | --head | --hea )
5649 $ac_shift
5650 case $ac_optarg in
5651 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5652 esac
5653 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5654 ac_need_defaults=false;;
5655 --he | --h)
5656 # Conflict between --help and --header
5657 as_fn_error "ambiguous option: \`$1'
5658 Try \`$0 --help' for more information.";;
5659 --help | --hel | -h )
5660 $as_echo "$ac_cs_usage"; exit ;;
5661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5662 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5663 ac_cs_silent=: ;;
5665 # This is an error.
5666 -*) as_fn_error "unrecognized option: \`$1'
5667 Try \`$0 --help' for more information." ;;
5669 *) as_fn_append ac_config_targets " $1"
5670 ac_need_defaults=false ;;
5672 esac
5673 shift
5674 done
5676 ac_configure_extra_args=
5678 if $ac_cs_silent; then
5679 exec 6>/dev/null
5680 ac_configure_extra_args="$ac_configure_extra_args --silent"
5683 _ACEOF
5684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5685 if \$ac_cs_recheck; then
5686 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5687 shift
5688 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5689 CONFIG_SHELL='$SHELL'
5690 export CONFIG_SHELL
5691 exec "\$@"
5694 _ACEOF
5695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5696 exec 5>>config.log
5698 echo
5699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5700 ## Running $as_me. ##
5701 _ASBOX
5702 $as_echo "$ac_log"
5703 } >&5
5705 _ACEOF
5706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708 # INIT-COMMANDS
5710 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5712 _ACEOF
5714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5716 # Handling of arguments.
5717 for ac_config_target in $ac_config_targets
5719 case $ac_config_target in
5720 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5721 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5722 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5724 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5725 esac
5726 done
5729 # If the user did not use the arguments to specify the items to instantiate,
5730 # then the envvar interface is used. Set only those that are not.
5731 # We use the long form for the default assignment because of an extremely
5732 # bizarre bug on SunOS 4.1.3.
5733 if $ac_need_defaults; then
5734 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5735 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5736 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5739 # Have a temporary directory for convenience. Make it in the build tree
5740 # simply because there is no reason against having it here, and in addition,
5741 # creating and moving files from /tmp can sometimes cause problems.
5742 # Hook for its removal unless debugging.
5743 # Note that there is a small window in which the directory will not be cleaned:
5744 # after its creation but before its name has been assigned to `$tmp'.
5745 $debug ||
5747 tmp=
5748 trap 'exit_status=$?
5749 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5751 trap 'as_fn_exit 1' 1 2 13 15
5753 # Create a (secure) tmp directory for tmp files.
5756 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5757 test -n "$tmp" && test -d "$tmp"
5758 } ||
5760 tmp=./conf$$-$RANDOM
5761 (umask 077 && mkdir "$tmp")
5762 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5764 # Set up the scripts for CONFIG_FILES section.
5765 # No need to generate them if there are no CONFIG_FILES.
5766 # This happens for instance with `./config.status config.h'.
5767 if test -n "$CONFIG_FILES"; then
5770 ac_cr=`echo X | tr X '\015'`
5771 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5772 # But we know of no other shell where ac_cr would be empty at this
5773 # point, so we can use a bashism as a fallback.
5774 if test "x$ac_cr" = x; then
5775 eval ac_cr=\$\'\\r\'
5777 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5778 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5779 ac_cs_awk_cr='\r'
5780 else
5781 ac_cs_awk_cr=$ac_cr
5784 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5785 _ACEOF
5789 echo "cat >conf$$subs.awk <<_ACEOF" &&
5790 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5791 echo "_ACEOF"
5792 } >conf$$subs.sh ||
5793 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5794 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5795 ac_delim='%!_!# '
5796 for ac_last_try in false false false false false :; do
5797 . ./conf$$subs.sh ||
5798 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5800 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5801 if test $ac_delim_n = $ac_delim_num; then
5802 break
5803 elif $ac_last_try; then
5804 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5805 else
5806 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5808 done
5809 rm -f conf$$subs.sh
5811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5812 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5813 _ACEOF
5814 sed -n '
5816 s/^/S["/; s/!.*/"]=/
5819 s/^[^!]*!//
5820 :repl
5821 t repl
5822 s/'"$ac_delim"'$//
5823 t delim
5826 s/\(.\{148\}\)..*/\1/
5827 t more1
5828 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5831 b repl
5832 :more1
5833 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5836 s/.\{148\}//
5837 t nl
5838 :delim
5840 s/\(.\{148\}\)..*/\1/
5841 t more2
5842 s/["\\]/\\&/g; s/^/"/; s/$/"/
5845 :more2
5846 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5849 s/.\{148\}//
5850 t delim
5851 ' <conf$$subs.awk | sed '
5852 /^[^""]/{
5854 s/\n//
5856 ' >>$CONFIG_STATUS || ac_write_fail=1
5857 rm -f conf$$subs.awk
5858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5859 _ACAWK
5860 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5861 for (key in S) S_is_set[key] = 1
5862 FS = "\a"
5866 line = $ 0
5867 nfields = split(line, field, "@")
5868 substed = 0
5869 len = length(field[1])
5870 for (i = 2; i < nfields; i++) {
5871 key = field[i]
5872 keylen = length(key)
5873 if (S_is_set[key]) {
5874 value = S[key]
5875 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5876 len += length(value) + length(field[++i])
5877 substed = 1
5878 } else
5879 len += 1 + keylen
5882 print line
5885 _ACAWK
5886 _ACEOF
5887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5888 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5889 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5890 else
5892 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5893 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5894 _ACEOF
5896 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5897 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5898 # trailing colons and then remove the whole line if VPATH becomes empty
5899 # (actually we leave an empty line to preserve line numbers).
5900 if test "x$srcdir" = x.; then
5901 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5902 s/:*\$(srcdir):*/:/
5903 s/:*\${srcdir}:*/:/
5904 s/:*@srcdir@:*/:/
5905 s/^\([^=]*=[ ]*\):*/\1/
5906 s/:*$//
5907 s/^[^=]*=[ ]*$//
5911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5912 fi # test -n "$CONFIG_FILES"
5914 # Set up the scripts for CONFIG_HEADERS section.
5915 # No need to generate them if there are no CONFIG_HEADERS.
5916 # This happens for instance with `./config.status Makefile'.
5917 if test -n "$CONFIG_HEADERS"; then
5918 cat >"$tmp/defines.awk" <<\_ACAWK ||
5919 BEGIN {
5920 _ACEOF
5922 # Transform confdefs.h into an awk script `defines.awk', embedded as
5923 # here-document in config.status, that substitutes the proper values into
5924 # config.h.in to produce config.h.
5926 # Create a delimiter string that does not exist in confdefs.h, to ease
5927 # handling of long lines.
5928 ac_delim='%!_!# '
5929 for ac_last_try in false false :; do
5930 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5931 if test -z "$ac_t"; then
5932 break
5933 elif $ac_last_try; then
5934 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5935 else
5936 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5938 done
5940 # For the awk script, D is an array of macro values keyed by name,
5941 # likewise P contains macro parameters if any. Preserve backslash
5942 # newline sequences.
5944 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5945 sed -n '
5946 s/.\{148\}/&'"$ac_delim"'/g
5947 t rset
5948 :rset
5949 s/^[ ]*#[ ]*define[ ][ ]*/ /
5950 t def
5952 :def
5953 s/\\$//
5954 t bsnl
5955 s/["\\]/\\&/g
5956 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5957 D["\1"]=" \3"/p
5958 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5960 :bsnl
5961 s/["\\]/\\&/g
5962 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5963 D["\1"]=" \3\\\\\\n"\\/p
5964 t cont
5965 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5966 t cont
5968 :cont
5970 s/.\{148\}/&'"$ac_delim"'/g
5971 t clear
5972 :clear
5973 s/\\$//
5974 t bsnlc
5975 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5977 :bsnlc
5978 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5979 b cont
5980 ' <confdefs.h | sed '
5981 s/'"$ac_delim"'/"\\\
5982 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5985 for (key in D) D_is_set[key] = 1
5986 FS = "\a"
5988 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5989 line = \$ 0
5990 split(line, arg, " ")
5991 if (arg[1] == "#") {
5992 defundef = arg[2]
5993 mac1 = arg[3]
5994 } else {
5995 defundef = substr(arg[1], 2)
5996 mac1 = arg[2]
5998 split(mac1, mac2, "(") #)
5999 macro = mac2[1]
6000 prefix = substr(line, 1, index(line, defundef) - 1)
6001 if (D_is_set[macro]) {
6002 # Preserve the white space surrounding the "#".
6003 print prefix "define", macro P[macro] D[macro]
6004 next
6005 } else {
6006 # Replace #undef with comments. This is necessary, for example,
6007 # in the case of _POSIX_SOURCE, which is predefined and required
6008 # on some systems where configure will not decide to define it.
6009 if (defundef == "undef") {
6010 print "/*", prefix defundef, macro, "*/"
6011 next
6015 { print }
6016 _ACAWK
6017 _ACEOF
6018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6019 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6020 fi # test -n "$CONFIG_HEADERS"
6023 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6024 shift
6025 for ac_tag
6027 case $ac_tag in
6028 :[FHLC]) ac_mode=$ac_tag; continue;;
6029 esac
6030 case $ac_mode$ac_tag in
6031 :[FHL]*:*);;
6032 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6033 :[FH]-) ac_tag=-:-;;
6034 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6035 esac
6036 ac_save_IFS=$IFS
6037 IFS=:
6038 set x $ac_tag
6039 IFS=$ac_save_IFS
6040 shift
6041 ac_file=$1
6042 shift
6044 case $ac_mode in
6045 :L) ac_source=$1;;
6046 :[FH])
6047 ac_file_inputs=
6048 for ac_f
6050 case $ac_f in
6051 -) ac_f="$tmp/stdin";;
6052 *) # Look for the file first in the build tree, then in the source tree
6053 # (if the path is not absolute). The absolute path cannot be DOS-style,
6054 # because $ac_f cannot contain `:'.
6055 test -f "$ac_f" ||
6056 case $ac_f in
6057 [\\/$]*) false;;
6058 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6059 esac ||
6060 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6061 esac
6062 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6063 as_fn_append ac_file_inputs " '$ac_f'"
6064 done
6066 # Let's still pretend it is `configure' which instantiates (i.e., don't
6067 # use $as_me), people would be surprised to read:
6068 # /* config.h. Generated by config.status. */
6069 configure_input='Generated from '`
6070 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6071 `' by configure.'
6072 if test x"$ac_file" != x-; then
6073 configure_input="$ac_file. $configure_input"
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6075 $as_echo "$as_me: creating $ac_file" >&6;}
6077 # Neutralize special characters interpreted by sed in replacement strings.
6078 case $configure_input in #(
6079 *\&* | *\|* | *\\* )
6080 ac_sed_conf_input=`$as_echo "$configure_input" |
6081 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6082 *) ac_sed_conf_input=$configure_input;;
6083 esac
6085 case $ac_tag in
6086 *:-:* | *:-) cat >"$tmp/stdin" \
6087 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6088 esac
6090 esac
6092 ac_dir=`$as_dirname -- "$ac_file" ||
6093 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6094 X"$ac_file" : 'X\(//\)[^/]' \| \
6095 X"$ac_file" : 'X\(//\)$' \| \
6096 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6097 $as_echo X"$ac_file" |
6098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6099 s//\1/
6102 /^X\(\/\/\)[^/].*/{
6103 s//\1/
6106 /^X\(\/\/\)$/{
6107 s//\1/
6110 /^X\(\/\).*/{
6111 s//\1/
6114 s/.*/./; q'`
6115 as_dir="$ac_dir"; as_fn_mkdir_p
6116 ac_builddir=.
6118 case "$ac_dir" in
6119 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6121 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6122 # A ".." for each directory in $ac_dir_suffix.
6123 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6124 case $ac_top_builddir_sub in
6125 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6126 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6127 esac ;;
6128 esac
6129 ac_abs_top_builddir=$ac_pwd
6130 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6131 # for backward compatibility:
6132 ac_top_builddir=$ac_top_build_prefix
6134 case $srcdir in
6135 .) # We are building in place.
6136 ac_srcdir=.
6137 ac_top_srcdir=$ac_top_builddir_sub
6138 ac_abs_top_srcdir=$ac_pwd ;;
6139 [\\/]* | ?:[\\/]* ) # Absolute name.
6140 ac_srcdir=$srcdir$ac_dir_suffix;
6141 ac_top_srcdir=$srcdir
6142 ac_abs_top_srcdir=$srcdir ;;
6143 *) # Relative name.
6144 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6145 ac_top_srcdir=$ac_top_build_prefix$srcdir
6146 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6147 esac
6148 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6151 case $ac_mode in
6154 # CONFIG_FILE
6157 case $INSTALL in
6158 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6159 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6160 esac
6161 ac_MKDIR_P=$MKDIR_P
6162 case $MKDIR_P in
6163 [\\/$]* | ?:[\\/]* ) ;;
6164 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6165 esac
6166 _ACEOF
6168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6169 # If the template does not know about datarootdir, expand it.
6170 # FIXME: This hack should be removed a few years after 2.60.
6171 ac_datarootdir_hack=; ac_datarootdir_seen=
6172 ac_sed_dataroot='
6173 /datarootdir/ {
6177 /@datadir@/p
6178 /@docdir@/p
6179 /@infodir@/p
6180 /@localedir@/p
6181 /@mandir@/p'
6182 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6183 *datarootdir*) ac_datarootdir_seen=yes;;
6184 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6186 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6187 _ACEOF
6188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6189 ac_datarootdir_hack='
6190 s&@datadir@&$datadir&g
6191 s&@docdir@&$docdir&g
6192 s&@infodir@&$infodir&g
6193 s&@localedir@&$localedir&g
6194 s&@mandir@&$mandir&g
6195 s&\\\${datarootdir}&$datarootdir&g' ;;
6196 esac
6197 _ACEOF
6199 # Neutralize VPATH when `$srcdir' = `.'.
6200 # Shell code in configure.ac might set extrasub.
6201 # FIXME: do we really want to maintain this feature?
6202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6203 ac_sed_extra="$ac_vpsub
6204 $extrasub
6205 _ACEOF
6206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6208 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6209 s|@configure_input@|$ac_sed_conf_input|;t t
6210 s&@top_builddir@&$ac_top_builddir_sub&;t t
6211 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6212 s&@srcdir@&$ac_srcdir&;t t
6213 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6214 s&@top_srcdir@&$ac_top_srcdir&;t t
6215 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6216 s&@builddir@&$ac_builddir&;t t
6217 s&@abs_builddir@&$ac_abs_builddir&;t t
6218 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6219 s&@INSTALL@&$ac_INSTALL&;t t
6220 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6221 $ac_datarootdir_hack
6223 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6224 || as_fn_error "could not create $ac_file" "$LINENO" 5
6226 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6227 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6228 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6230 which seems to be undefined. Please make sure it is defined." >&5
6231 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6232 which seems to be undefined. Please make sure it is defined." >&2;}
6234 rm -f "$tmp/stdin"
6235 case $ac_file in
6236 -) cat "$tmp/out" && rm -f "$tmp/out";;
6237 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6238 esac \
6239 || as_fn_error "could not create $ac_file" "$LINENO" 5
6243 # CONFIG_HEADER
6245 if test x"$ac_file" != x-; then
6247 $as_echo "/* $configure_input */" \
6248 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6249 } >"$tmp/config.h" \
6250 || as_fn_error "could not create $ac_file" "$LINENO" 5
6251 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6253 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6254 else
6255 rm -f "$ac_file"
6256 mv "$tmp/config.h" "$ac_file" \
6257 || as_fn_error "could not create $ac_file" "$LINENO" 5
6259 else
6260 $as_echo "/* $configure_input */" \
6261 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6262 || as_fn_error "could not create -" "$LINENO" 5
6264 # Compute "$ac_file"'s index in $config_headers.
6265 _am_arg="$ac_file"
6266 _am_stamp_count=1
6267 for _am_header in $config_headers :; do
6268 case $_am_header in
6269 $_am_arg | $_am_arg:* )
6270 break ;;
6272 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6273 esac
6274 done
6275 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6276 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6277 X"$_am_arg" : 'X\(//\)[^/]' \| \
6278 X"$_am_arg" : 'X\(//\)$' \| \
6279 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6280 $as_echo X"$_am_arg" |
6281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6282 s//\1/
6285 /^X\(\/\/\)[^/].*/{
6286 s//\1/
6289 /^X\(\/\/\)$/{
6290 s//\1/
6293 /^X\(\/\).*/{
6294 s//\1/
6297 s/.*/./; q'`/stamp-h$_am_stamp_count
6300 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6301 $as_echo "$as_me: executing $ac_file commands" >&6;}
6303 esac
6306 case $ac_file$ac_mode in
6307 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6308 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6309 # are listed without --file. Let's play safe and only enable the eval
6310 # if we detect the quoting.
6311 case $CONFIG_FILES in
6312 *\'*) eval set x "$CONFIG_FILES" ;;
6313 *) set x $CONFIG_FILES ;;
6314 esac
6315 shift
6316 for mf
6318 # Strip MF so we end up with the name of the file.
6319 mf=`echo "$mf" | sed -e 's/:.*$//'`
6320 # Check whether this is an Automake generated Makefile or not.
6321 # We used to match only the files named `Makefile.in', but
6322 # some people rename them; so instead we look at the file content.
6323 # Grep'ing the first line is not enough: some people post-process
6324 # each Makefile.in and add a new line on top of each file to say so.
6325 # Grep'ing the whole file is not good either: AIX grep has a line
6326 # limit of 2048, but all sed's we know have understand at least 4000.
6327 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6328 dirpart=`$as_dirname -- "$mf" ||
6329 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6330 X"$mf" : 'X\(//\)[^/]' \| \
6331 X"$mf" : 'X\(//\)$' \| \
6332 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6333 $as_echo X"$mf" |
6334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6335 s//\1/
6338 /^X\(\/\/\)[^/].*/{
6339 s//\1/
6342 /^X\(\/\/\)$/{
6343 s//\1/
6346 /^X\(\/\).*/{
6347 s//\1/
6350 s/.*/./; q'`
6351 else
6352 continue
6354 # Extract the definition of DEPDIR, am__include, and am__quote
6355 # from the Makefile without running `make'.
6356 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6357 test -z "$DEPDIR" && continue
6358 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6359 test -z "am__include" && continue
6360 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6361 # When using ansi2knr, U may be empty or an underscore; expand it
6362 U=`sed -n 's/^U = //p' < "$mf"`
6363 # Find all dependency output files, they are included files with
6364 # $(DEPDIR) in their names. We invoke sed twice because it is the
6365 # simplest approach to changing $(DEPDIR) to its actual value in the
6366 # expansion.
6367 for file in `sed -n "
6368 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6369 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6370 # Make sure the directory exists.
6371 test -f "$dirpart/$file" && continue
6372 fdir=`$as_dirname -- "$file" ||
6373 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6374 X"$file" : 'X\(//\)[^/]' \| \
6375 X"$file" : 'X\(//\)$' \| \
6376 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6377 $as_echo X"$file" |
6378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6379 s//\1/
6382 /^X\(\/\/\)[^/].*/{
6383 s//\1/
6386 /^X\(\/\/\)$/{
6387 s//\1/
6390 /^X\(\/\).*/{
6391 s//\1/
6394 s/.*/./; q'`
6395 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6396 # echo "creating $dirpart/$file"
6397 echo '# dummy' > "$dirpart/$file"
6398 done
6399 done
6403 esac
6404 done # for ac_tag
6407 as_fn_exit 0
6408 _ACEOF
6409 ac_clean_files=$ac_clean_files_save
6411 test $ac_write_fail = 0 ||
6412 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6415 # configure is writing to config.log, and then calls config.status.
6416 # config.status does its own redirection, appending to config.log.
6417 # Unfortunately, on DOS this fails, as config.log is still kept open
6418 # by configure, so config.status won't be able to write to it; its
6419 # output is simply discarded. So we exec the FD to /dev/null,
6420 # effectively closing config.log, so it can be properly (re)opened and
6421 # appended to by config.status. When coming back to configure, we
6422 # need to make the FD available again.
6423 if test "$no_create" != yes; then
6424 ac_cs_success=:
6425 ac_config_status_args=
6426 test "$silent" = yes &&
6427 ac_config_status_args="$ac_config_status_args --quiet"
6428 exec 5>/dev/null
6429 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6430 exec 5>>config.log
6431 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6432 # would make configure fail if this is the last instruction.
6433 $ac_cs_success || as_fn_exit $?
6435 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6437 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6441 cat << EOF
6443 Your build configuration:
6445 CFLAGS = $CFLAGS
6446 LDFLAGS = $LDFLAGS
6447 Arch = ${arch}
6448 Extras: ${CONDITIONAL_SOURCES}
6449 prefix: $prefix
6450 PID file: $PATH_RADVD_PID
6451 Log file: $PATH_RADVD_LOG
6452 Config file: $PATH_RADVD_CONF
6453 Radvd version: $VERSION