Changes to update Tomato RAF.
[tomato.git] / release / src / router / igmpproxy / configure
blob1314ebf7b8b5c468235f8d3752ddaebe8bbb1d47
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for igmpproxy 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 as_nl='
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84 else
85 as_unset=false
89 # IFS
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" "" $as_nl"
96 # Find who we are. Look in the path if we contain no directory separator.
97 case $0 in
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
102 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113 as_myself=$0
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_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 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138 else
139 as_expr=false
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144 else
145 as_basename=false
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
159 /^X\/\(\/\/\)$/{
160 s//\1/
163 /^X\/\(\/\).*/{
164 s//\1/
167 s/.*/./; q'`
169 # CDPATH.
170 $as_unset CDPATH
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
175 as_have_required=yes
176 else
177 as_have_required=no
180 if test $as_have_required = yes && (eval ":
181 (as_func_return () {
182 (exit \$1)
184 as_func_success () {
185 as_func_return 0
187 as_func_failure () {
188 as_func_return 1
190 as_func_ret_success () {
191 return 0
193 as_func_ret_failure () {
194 return 1
197 exitcode=0
198 if as_func_success; then
200 else
201 exitcode=1
202 echo as_func_success failed.
205 if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
212 else
213 exitcode=1
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 else
225 exitcode=1
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
238 else
239 as_candidate_shells=
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=.
245 case $as_dir in
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249 done;;
250 esac
251 done
252 IFS=$as_save_IFS
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269 esac
275 _ASEOF
276 }; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287 else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290 esac
296 (as_func_return () {
297 (exit $1)
299 as_func_success () {
300 as_func_return 0
302 as_func_failure () {
303 as_func_return 1
305 as_func_ret_success () {
306 return 0
308 as_func_ret_failure () {
309 return 1
312 exitcode=0
313 if as_func_success; then
315 else
316 exitcode=1
317 echo as_func_success failed.
320 if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
327 else
328 exitcode=1
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 else
340 exitcode=1
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
347 as_lineno_1=$LINENO
348 as_lineno_2=$LINENO
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352 _ASEOF
353 }; then
354 break
359 done
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
386 (exit \$1)
388 as_func_success () {
389 as_func_return 0
391 as_func_failure () {
392 as_func_return 1
394 as_func_ret_success () {
395 return 0
397 as_func_ret_failure () {
398 return 1
401 exitcode=0
402 if as_func_success; then
404 else
405 exitcode=1
406 echo as_func_success failed.
409 if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
416 else
417 exitcode=1
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
422 exitcode=1
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 else
429 exitcode=1
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n '
460 /[$]LINENO/=
461 ' <$as_myself |
462 sed '
463 s/[$]LINENO.*/&-/
464 t lineno
466 :lineno
468 :loop
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470 t loop
471 s/-\n.*//
472 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
480 . "./$as_me.lineno"
481 # Exit status is that of the last command.
482 exit
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488 else
489 as_dirname=false
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495 case `echo 'x\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';;
498 esac;;
500 ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505 else
506 as_expr=false
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
512 else
513 rm -f conf$$.dir
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
518 as_ln_s='ln -s'
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524 as_ln_s='cp -p'
525 elif ln conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s=ln
527 else
528 as_ln_s='cp -p'
530 else
531 as_ln_s='cp -p'
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=:
538 else
539 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false
543 if test -x / >/dev/null 2>&1; then
544 as_test_x='test -x'
545 else
546 if ls -dL / >/dev/null 2>&1; then
547 as_ls_L_option=L
548 else
549 as_ls_L_option=
551 as_test_x='
552 eval sh -c '\''
553 if test -d "$1"; then
554 test -d "$1/.";
555 else
556 case $1 in
557 -*)set "./$1";;
558 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 # Initializations.
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME='igmpproxy'
596 PACKAGE_TARNAME='igmpproxy'
597 PACKAGE_VERSION='0.1'
598 PACKAGE_STRING='igmpproxy 0.1'
599 PACKAGE_BUGREPORT=''
601 ac_unique_file="src/igmpproxy.c"
602 ac_subst_vars='am__EXEEXT_FALSE
603 am__EXEEXT_TRUE
604 LTLIBOBJS
605 LIBOBJS
606 host_os
607 host_vendor
608 host_cpu
609 host
610 build_os
611 build_vendor
612 build_cpu
613 build
614 am__fastdepCC_FALSE
615 am__fastdepCC_TRUE
616 CCDEPMODE
617 AMDEPBACKSLASH
618 AMDEP_FALSE
619 AMDEP_TRUE
620 am__quote
621 am__include
622 DEPDIR
623 OBJEXT
624 EXEEXT
625 ac_ct_CC
626 CPPFLAGS
627 LDFLAGS
628 CFLAGS
630 am__untar
631 am__tar
632 AMTAR
633 am__leading_dot
634 SET_MAKE
636 mkdir_p
637 MKDIR_P
638 INSTALL_STRIP_PROGRAM
639 STRIP
640 install_sh
641 MAKEINFO
642 AUTOHEADER
643 AUTOMAKE
644 AUTOCONF
645 ACLOCAL
646 VERSION
647 PACKAGE
648 CYGPATH_W
649 am__isrc
650 INSTALL_DATA
651 INSTALL_SCRIPT
652 INSTALL_PROGRAM
653 target_alias
654 host_alias
655 build_alias
656 LIBS
657 ECHO_T
658 ECHO_N
659 ECHO_C
660 DEFS
661 mandir
662 localedir
663 libdir
664 psdir
665 pdfdir
666 dvidir
667 htmldir
668 infodir
669 docdir
670 oldincludedir
671 includedir
672 localstatedir
673 sharedstatedir
674 sysconfdir
675 datadir
676 datarootdir
677 libexecdir
678 sbindir
679 bindir
680 program_transform_name
681 prefix
682 exec_prefix
683 PACKAGE_BUGREPORT
684 PACKAGE_STRING
685 PACKAGE_VERSION
686 PACKAGE_TARNAME
687 PACKAGE_NAME
688 PATH_SEPARATOR
689 SHELL'
690 ac_subst_files=''
691 ac_user_opts='
692 enable_option_checking
693 enable_dependency_tracking
695 ac_precious_vars='build_alias
696 host_alias
697 target_alias
699 CFLAGS
700 LDFLAGS
701 LIBS
702 CPPFLAGS'
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
753 ac_prev=
754 ac_dashdash=
755 for ac_option
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
760 ac_prev=
761 continue
764 case $ac_option in
765 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 *) ac_optarg=yes ;;
767 esac
769 # Accept the important Cygnus configure options, so we can diagnose typos.
771 case $ac_dashdash$ac_option in
773 ac_dashdash=yes ;;
775 -bindir | --bindir | --bindi | --bind | --bin | --bi)
776 ac_prev=bindir ;;
777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
778 bindir=$ac_optarg ;;
780 -build | --build | --buil | --bui | --bu)
781 ac_prev=build_alias ;;
782 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
783 build_alias=$ac_optarg ;;
785 -cache-file | --cache-file | --cache-fil | --cache-fi \
786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
787 ac_prev=cache_file ;;
788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
790 cache_file=$ac_optarg ;;
792 --config-cache | -C)
793 cache_file=config.cache ;;
795 -datadir | --datadir | --datadi | --datad)
796 ac_prev=datadir ;;
797 -datadir=* | --datadir=* | --datadi=* | --datad=*)
798 datadir=$ac_optarg ;;
800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801 | --dataroo | --dataro | --datar)
802 ac_prev=datarootdir ;;
803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
805 datarootdir=$ac_optarg ;;
807 -disable-* | --disable-*)
808 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
811 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
812 { (exit 1); exit 1; }; }
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
817 "enable_$ac_useropt"
818 "*) ;;
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
821 esac
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
825 ac_prev=docdir ;;
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 docdir=$ac_optarg ;;
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 ac_prev=dvidir ;;
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 dvidir=$ac_optarg ;;
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
839 { (exit 1); exit 1; }; }
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=\$ac_optarg ;;
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
862 with_gas=yes ;;
864 -help | --help | --hel | --he | -h)
865 ac_init_help=long ;;
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 ac_prev=htmldir ;;
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 | --ht=*)
880 htmldir=$ac_optarg ;;
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 ac_prev=infodir ;;
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
894 -libdir | --libdir | --libdi | --libd)
895 ac_prev=libdir ;;
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 libdir=$ac_optarg ;;
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
906 -localedir | --localedir | --localedi | --localed | --locale)
907 ac_prev=localedir ;;
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 ac_prev=mandir ;;
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 mandir=$ac_optarg ;;
923 -nfp | --nfp | --nf)
924 # Obsolete; use --without-fp.
925 with_fp=no ;;
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
929 no_create=yes ;;
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 no_recursion=yes ;;
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 ac_prev=prefix ;;
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 prefix=$ac_optarg ;;
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 ac_prev=pdfdir ;;
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 pdfdir=$ac_optarg ;;
985 -psdir | --psdir | --psdi | --psd | --ps)
986 ac_prev=psdir ;;
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 psdir=$ac_optarg ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 silent=yes ;;
994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995 ac_prev=sbindir ;;
996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997 | --sbi=* | --sb=*)
998 sbindir=$ac_optarg ;;
1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002 | --sharedst | --shareds | --shared | --share | --shar \
1003 | --sha | --sh)
1004 ac_prev=sharedstatedir ;;
1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008 | --sha=* | --sh=*)
1009 sharedstatedir=$ac_optarg ;;
1011 -site | --site | --sit)
1012 ac_prev=site ;;
1013 -site=* | --site=* | --sit=*)
1014 site=$ac_optarg ;;
1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017 ac_prev=srcdir ;;
1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019 srcdir=$ac_optarg ;;
1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022 | --syscon | --sysco | --sysc | --sys | --sy)
1023 ac_prev=sysconfdir ;;
1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026 sysconfdir=$ac_optarg ;;
1028 -target | --target | --targe | --targ | --tar | --ta | --t)
1029 ac_prev=target_alias ;;
1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031 target_alias=$ac_optarg ;;
1033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034 verbose=yes ;;
1036 -version | --version | --versio | --versi | --vers | -V)
1037 ac_init_version=: ;;
1039 -with-* | --with-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1044 { (exit 1); exit 1; }; }
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "with_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval with_$ac_useropt=\$ac_optarg ;;
1056 -without-* | --without-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "with_$ac_useropt"
1067 "*) ;;
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1070 esac
1071 eval with_$ac_useropt=no ;;
1073 --x)
1074 # Obsolete; use --with-x.
1075 with_x=yes ;;
1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078 | --x-incl | --x-inc | --x-in | --x-i)
1079 ac_prev=x_includes ;;
1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082 x_includes=$ac_optarg ;;
1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086 ac_prev=x_libraries ;;
1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089 x_libraries=$ac_optarg ;;
1091 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1092 Try \`$0 --help' for more information." >&2
1093 { (exit 1); exit 1; }; }
1096 *=*)
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1100 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1101 { (exit 1); exit 1; }; }
1102 eval $ac_envvar=\$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1113 esac
1114 done
1116 if test -n "$ac_prev"; then
1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1119 { (exit 1); exit 1; }; }
1122 if test -n "$ac_unrecognized_opts"; then
1123 case $enable_option_checking in
1124 no) ;;
1125 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1126 { (exit 1); exit 1; }; } ;;
1127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128 esac
1131 # Check all directory arguments for consistency.
1132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir
1137 eval ac_val=\$$ac_var
1138 # Remove trailing slashes.
1139 case $ac_val in
1140 */ )
1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\$ac_val;;
1143 esac
1144 # Be sure to have absolute directory names.
1145 case $ac_val in
1146 [\\/$]* | ?:[\\/]* ) continue;;
1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148 esac
1149 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1150 { (exit 1); exit 1; }; }
1151 done
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1156 build=$build_alias
1157 host=$host_alias
1158 target=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162 if test "x$build_alias" = x; then
1163 cross_compiling=maybe
1164 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1165 If a cross compiler is detected then cross compile mode will be used." >&2
1166 elif test "x$build_alias" != "x$host_alias"; then
1167 cross_compiling=yes
1171 ac_tool_prefix=
1172 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1174 test "$silent" = yes && exec 6>/dev/null
1177 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178 ac_ls_di=`ls -di .` &&
1179 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1181 { (exit 1); exit 1; }; }
1182 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1183 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1184 { (exit 1); exit 1; }; }
1187 # Find the source files, if location was not specified.
1188 if test -z "$srcdir"; then
1189 ac_srcdir_defaulted=yes
1190 # Try the directory containing this script, then the parent directory.
1191 ac_confdir=`$as_dirname -- "$as_myself" ||
1192 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$as_myself" : 'X\(//\)[^/]' \| \
1194 X"$as_myself" : 'X\(//\)$' \| \
1195 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1196 $as_echo X"$as_myself" |
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198 s//\1/
1201 /^X\(\/\/\)[^/].*/{
1202 s//\1/
1205 /^X\(\/\/\)$/{
1206 s//\1/
1209 /^X\(\/\).*/{
1210 s//\1/
1213 s/.*/./; q'`
1214 srcdir=$ac_confdir
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1216 srcdir=..
1218 else
1219 ac_srcdir_defaulted=no
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1223 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1224 { (exit 1); exit 1; }; }
1226 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1227 ac_abs_confdir=`(
1228 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1229 { (exit 1); exit 1; }; }
1230 pwd)`
1231 # When building in place, set srcdir=.
1232 if test "$ac_abs_confdir" = "$ac_pwd"; then
1233 srcdir=.
1235 # Remove unnecessary trailing slashes from srcdir.
1236 # Double slashes in file names in object file debugging info
1237 # mess up M-x gdb in Emacs.
1238 case $srcdir in
1239 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1240 esac
1241 for ac_var in $ac_precious_vars; do
1242 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1243 eval ac_env_${ac_var}_value=\$${ac_var}
1244 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1245 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1246 done
1249 # Report the --help message.
1251 if test "$ac_init_help" = "long"; then
1252 # Omit some internal or obsolete options to make the list less imposing.
1253 # This message is too long to be a string in the A/UX 3.1 sh.
1254 cat <<_ACEOF
1255 \`configure' configures igmpproxy 0.1 to adapt to many kinds of systems.
1257 Usage: $0 [OPTION]... [VAR=VALUE]...
1259 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1260 VAR=VALUE. See below for descriptions of some of the useful variables.
1262 Defaults for the options are specified in brackets.
1264 Configuration:
1265 -h, --help display this help and exit
1266 --help=short display options specific to this package
1267 --help=recursive display the short help of all the included packages
1268 -V, --version display version information and exit
1269 -q, --quiet, --silent do not print \`checking...' messages
1270 --cache-file=FILE cache test results in FILE [disabled]
1271 -C, --config-cache alias for \`--cache-file=config.cache'
1272 -n, --no-create do not create output files
1273 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1275 Installation directories:
1276 --prefix=PREFIX install architecture-independent files in PREFIX
1277 [$ac_default_prefix]
1278 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1279 [PREFIX]
1281 By default, \`make install' will install all the files in
1282 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1283 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1284 for instance \`--prefix=\$HOME'.
1286 For better control, use the options below.
1288 Fine tuning of the installation directories:
1289 --bindir=DIR user executables [EPREFIX/bin]
1290 --sbindir=DIR system admin executables [EPREFIX/sbin]
1291 --libexecdir=DIR program executables [EPREFIX/libexec]
1292 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1293 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1294 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1295 --libdir=DIR object code libraries [EPREFIX/lib]
1296 --includedir=DIR C header files [PREFIX/include]
1297 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1298 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1299 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1300 --infodir=DIR info documentation [DATAROOTDIR/info]
1301 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1302 --mandir=DIR man documentation [DATAROOTDIR/man]
1303 --docdir=DIR documentation root [DATAROOTDIR/doc/igmpproxy]
1304 --htmldir=DIR html documentation [DOCDIR]
1305 --dvidir=DIR dvi documentation [DOCDIR]
1306 --pdfdir=DIR pdf documentation [DOCDIR]
1307 --psdir=DIR ps documentation [DOCDIR]
1308 _ACEOF
1310 cat <<\_ACEOF
1312 Program names:
1313 --program-prefix=PREFIX prepend PREFIX to installed program names
1314 --program-suffix=SUFFIX append SUFFIX to installed program names
1315 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1317 System types:
1318 --build=BUILD configure for building on BUILD [guessed]
1319 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1320 _ACEOF
1323 if test -n "$ac_init_help"; then
1324 case $ac_init_help in
1325 short | recursive ) echo "Configuration of igmpproxy 0.1:";;
1326 esac
1327 cat <<\_ACEOF
1329 Optional Features:
1330 --disable-option-checking ignore unrecognized --enable/--with options
1331 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1332 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1333 --disable-dependency-tracking speeds up one-time build
1334 --enable-dependency-tracking do not reject slow dependency extractors
1336 Some influential environment variables:
1337 CC C compiler command
1338 CFLAGS C compiler flags
1339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1340 nonstandard directory <lib dir>
1341 LIBS libraries to pass to the linker, e.g. -l<library>
1342 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1343 you have headers in a nonstandard directory <include dir>
1345 Use these variables to override the choices made by `configure' or to help
1346 it to find libraries and programs with nonstandard names/locations.
1348 _ACEOF
1349 ac_status=$?
1352 if test "$ac_init_help" = "recursive"; then
1353 # If there are subdirs, report their specific --help.
1354 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1355 test -d "$ac_dir" ||
1356 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357 continue
1358 ac_builddir=.
1360 case "$ac_dir" in
1361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1364 # A ".." for each directory in $ac_dir_suffix.
1365 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1366 case $ac_top_builddir_sub in
1367 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1369 esac ;;
1370 esac
1371 ac_abs_top_builddir=$ac_pwd
1372 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1373 # for backward compatibility:
1374 ac_top_builddir=$ac_top_build_prefix
1376 case $srcdir in
1377 .) # We are building in place.
1378 ac_srcdir=.
1379 ac_top_srcdir=$ac_top_builddir_sub
1380 ac_abs_top_srcdir=$ac_pwd ;;
1381 [\\/]* | ?:[\\/]* ) # Absolute name.
1382 ac_srcdir=$srcdir$ac_dir_suffix;
1383 ac_top_srcdir=$srcdir
1384 ac_abs_top_srcdir=$srcdir ;;
1385 *) # Relative name.
1386 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1387 ac_top_srcdir=$ac_top_build_prefix$srcdir
1388 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1389 esac
1390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392 cd "$ac_dir" || { ac_status=$?; continue; }
1393 # Check for guested configure.
1394 if test -f "$ac_srcdir/configure.gnu"; then
1395 echo &&
1396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397 elif test -f "$ac_srcdir/configure"; then
1398 echo &&
1399 $SHELL "$ac_srcdir/configure" --help=recursive
1400 else
1401 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402 fi || ac_status=$?
1403 cd "$ac_pwd" || { ac_status=$?; break; }
1404 done
1407 test -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
1409 cat <<\_ACEOF
1410 igmpproxy configure 0.1
1411 generated by GNU Autoconf 2.63
1413 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1414 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1417 _ACEOF
1418 exit
1420 cat >config.log <<_ACEOF
1421 This file contains any messages produced by compilers while
1422 running configure, to aid debugging if configure makes a mistake.
1424 It was created by igmpproxy $as_me 0.1, which was
1425 generated by GNU Autoconf 2.63. Invocation command line was
1427 $ $0 $@
1429 _ACEOF
1430 exec 5>>config.log
1432 cat <<_ASUNAME
1433 ## --------- ##
1434 ## Platform. ##
1435 ## --------- ##
1437 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1438 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1439 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1440 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1441 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1443 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1444 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1446 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1447 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1448 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1449 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1450 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1451 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1452 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1454 _ASUNAME
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457 for as_dir in $PATH
1459 IFS=$as_save_IFS
1460 test -z "$as_dir" && as_dir=.
1461 $as_echo "PATH: $as_dir"
1462 done
1463 IFS=$as_save_IFS
1465 } >&5
1467 cat >&5 <<_ACEOF
1470 ## ----------- ##
1471 ## Core tests. ##
1472 ## ----------- ##
1474 _ACEOF
1477 # Keep a trace of the command line.
1478 # Strip out --no-create and --no-recursion so they do not pile up.
1479 # Strip out --silent because we don't want to record it for future runs.
1480 # Also quote any args containing shell meta-characters.
1481 # Make two passes to allow for proper duplicate-argument suppression.
1482 ac_configure_args=
1483 ac_configure_args0=
1484 ac_configure_args1=
1485 ac_must_keep_next=false
1486 for ac_pass in 1 2
1488 for ac_arg
1490 case $ac_arg in
1491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1493 | -silent | --silent | --silen | --sile | --sil)
1494 continue ;;
1495 *\'*)
1496 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 esac
1498 case $ac_pass in
1499 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1501 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1502 if test $ac_must_keep_next = true; then
1503 ac_must_keep_next=false # Got value, back to normal.
1504 else
1505 case $ac_arg in
1506 *=* | --config-cache | -C | -disable-* | --disable-* \
1507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1509 | -with-* | --with-* | -without-* | --without-* | --x)
1510 case "$ac_configure_args0 " in
1511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1512 esac
1514 -* ) ac_must_keep_next=true ;;
1515 esac
1517 ac_configure_args="$ac_configure_args '$ac_arg'"
1519 esac
1520 done
1521 done
1522 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1523 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1525 # When interrupted or exit'd, cleanup temporary files, and complete
1526 # config.log. We remove comments because anyway the quotes in there
1527 # would cause problems or look ugly.
1528 # WARNING: Use '\'' to represent an apostrophe within the trap.
1529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1530 trap 'exit_status=$?
1531 # Save into config.log some information that might help in debugging.
1533 echo
1535 cat <<\_ASBOX
1536 ## ---------------- ##
1537 ## Cache variables. ##
1538 ## ---------------- ##
1539 _ASBOX
1540 echo
1541 # The following way of writing the cache mishandles newlines in values,
1543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1544 eval ac_val=\$$ac_var
1545 case $ac_val in #(
1546 *${as_nl}*)
1547 case $ac_var in #(
1548 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1550 esac
1551 case $ac_var in #(
1552 _ | IFS | as_nl) ;; #(
1553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1554 *) $as_unset $ac_var ;;
1555 esac ;;
1556 esac
1557 done
1558 (set) 2>&1 |
1559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1560 *${as_nl}ac_space=\ *)
1561 sed -n \
1562 "s/'\''/'\''\\\\'\'''\''/g;
1563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1564 ;; #(
1566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1568 esac |
1569 sort
1571 echo
1573 cat <<\_ASBOX
1574 ## ----------------- ##
1575 ## Output variables. ##
1576 ## ----------------- ##
1577 _ASBOX
1578 echo
1579 for ac_var in $ac_subst_vars
1581 eval ac_val=\$$ac_var
1582 case $ac_val in
1583 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584 esac
1585 $as_echo "$ac_var='\''$ac_val'\''"
1586 done | sort
1587 echo
1589 if test -n "$ac_subst_files"; then
1590 cat <<\_ASBOX
1591 ## ------------------- ##
1592 ## File substitutions. ##
1593 ## ------------------- ##
1594 _ASBOX
1595 echo
1596 for ac_var in $ac_subst_files
1598 eval ac_val=\$$ac_var
1599 case $ac_val in
1600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 esac
1602 $as_echo "$ac_var='\''$ac_val'\''"
1603 done | sort
1604 echo
1607 if test -s confdefs.h; then
1608 cat <<\_ASBOX
1609 ## ----------- ##
1610 ## confdefs.h. ##
1611 ## ----------- ##
1612 _ASBOX
1613 echo
1614 cat confdefs.h
1615 echo
1617 test "$ac_signal" != 0 &&
1618 $as_echo "$as_me: caught signal $ac_signal"
1619 $as_echo "$as_me: exit $exit_status"
1620 } >&5
1621 rm -f core *.core core.conftest.* &&
1622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1623 exit $exit_status
1625 for ac_signal in 1 2 13 15; do
1626 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1627 done
1628 ac_signal=0
1630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1631 rm -f -r conftest* confdefs.h
1633 # Predefined preprocessor variables.
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_NAME "$PACKAGE_NAME"
1637 _ACEOF
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1642 _ACEOF
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1647 _ACEOF
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_STRING "$PACKAGE_STRING"
1652 _ACEOF
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1657 _ACEOF
1660 # Let the site file select an alternate cache file if it wants to.
1661 # Prefer an explicitly selected file to automatically selected ones.
1662 ac_site_file1=NONE
1663 ac_site_file2=NONE
1664 if test -n "$CONFIG_SITE"; then
1665 ac_site_file1=$CONFIG_SITE
1666 elif test "x$prefix" != xNONE; then
1667 ac_site_file1=$prefix/share/config.site
1668 ac_site_file2=$prefix/etc/config.site
1669 else
1670 ac_site_file1=$ac_default_prefix/share/config.site
1671 ac_site_file2=$ac_default_prefix/etc/config.site
1673 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1675 test "x$ac_site_file" = xNONE && continue
1676 if test -r "$ac_site_file"; then
1677 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1678 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1679 sed 's/^/| /' "$ac_site_file" >&5
1680 . "$ac_site_file"
1682 done
1684 if test -r "$cache_file"; then
1685 # Some versions of bash will fail to source /dev/null (special
1686 # files actually), so we avoid doing that.
1687 if test -f "$cache_file"; then
1688 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1689 $as_echo "$as_me: loading cache $cache_file" >&6;}
1690 case $cache_file in
1691 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1692 *) . "./$cache_file";;
1693 esac
1695 else
1696 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1697 $as_echo "$as_me: creating cache $cache_file" >&6;}
1698 >$cache_file
1701 # Check that the precious variables saved in the cache have kept the same
1702 # value.
1703 ac_cache_corrupted=false
1704 for ac_var in $ac_precious_vars; do
1705 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1706 eval ac_new_set=\$ac_env_${ac_var}_set
1707 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1708 eval ac_new_val=\$ac_env_${ac_var}_value
1709 case $ac_old_set,$ac_new_set in
1710 set,)
1711 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1712 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1713 ac_cache_corrupted=: ;;
1714 ,set)
1715 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1716 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1717 ac_cache_corrupted=: ;;
1718 ,);;
1720 if test "x$ac_old_val" != "x$ac_new_val"; then
1721 # differences in whitespace do not lead to failure.
1722 ac_old_val_w=`echo x $ac_old_val`
1723 ac_new_val_w=`echo x $ac_new_val`
1724 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1725 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1726 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1727 ac_cache_corrupted=:
1728 else
1729 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1730 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1731 eval $ac_var=\$ac_old_val
1733 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1734 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1735 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1736 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1737 fi;;
1738 esac
1739 # Pass precious variables to config.status.
1740 if test "$ac_new_set" = set; then
1741 case $ac_new_val in
1742 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1743 *) ac_arg=$ac_var=$ac_new_val ;;
1744 esac
1745 case " $ac_configure_args " in
1746 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1747 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1748 esac
1750 done
1751 if $ac_cache_corrupted; then
1752 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1754 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1755 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1756 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1757 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1758 { (exit 1); exit 1; }; }
1785 ac_ext=c
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1792 am__api_version='1.11'
1794 ac_aux_dir=
1795 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1796 if test -f "$ac_dir/install-sh"; then
1797 ac_aux_dir=$ac_dir
1798 ac_install_sh="$ac_aux_dir/install-sh -c"
1799 break
1800 elif test -f "$ac_dir/install.sh"; then
1801 ac_aux_dir=$ac_dir
1802 ac_install_sh="$ac_aux_dir/install.sh -c"
1803 break
1804 elif test -f "$ac_dir/shtool"; then
1805 ac_aux_dir=$ac_dir
1806 ac_install_sh="$ac_aux_dir/shtool install -c"
1807 break
1809 done
1810 if test -z "$ac_aux_dir"; then
1811 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1812 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1813 { (exit 1); exit 1; }; }
1816 # These three variables are undocumented and unsupported,
1817 # and are intended to be withdrawn in a future Autoconf release.
1818 # They can cause serious problems if a builder's source tree is in a directory
1819 # whose full name contains unusual characters.
1820 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1821 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1822 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1825 # Find a good install program. We prefer a C program (faster),
1826 # so one script is as good as another. But avoid the broken or
1827 # incompatible versions:
1828 # SysV /etc/install, /usr/sbin/install
1829 # SunOS /usr/etc/install
1830 # IRIX /sbin/install
1831 # AIX /bin/install
1832 # AmigaOS /C/install, which installs bootblocks on floppy discs
1833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1836 # OS/2's system install, which has a completely different semantic
1837 # ./install, which can be erroneously created by make from ./install.sh.
1838 # Reject install programs that cannot install multiple files.
1839 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1840 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1841 if test -z "$INSTALL"; then
1842 if test "${ac_cv_path_install+set}" = set; then
1843 $as_echo_n "(cached) " >&6
1844 else
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 for as_dir in $PATH
1848 IFS=$as_save_IFS
1849 test -z "$as_dir" && as_dir=.
1850 # Account for people who put trailing slashes in PATH elements.
1851 case $as_dir/ in
1852 ./ | .// | /cC/* | \
1853 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1854 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1855 /usr/ucb/* ) ;;
1857 # OSF1 and SCO ODT 3.0 have their own names for install.
1858 # Don't use installbsd from OSF since it installs stuff as root
1859 # by default.
1860 for ac_prog in ginstall scoinst install; do
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1863 if test $ac_prog = install &&
1864 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1865 # AIX install. It has an incompatible calling convention.
1867 elif test $ac_prog = install &&
1868 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1869 # program-specific install script used by HP pwplus--don't use.
1871 else
1872 rm -rf conftest.one conftest.two conftest.dir
1873 echo one > conftest.one
1874 echo two > conftest.two
1875 mkdir conftest.dir
1876 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1877 test -s conftest.one && test -s conftest.two &&
1878 test -s conftest.dir/conftest.one &&
1879 test -s conftest.dir/conftest.two
1880 then
1881 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1882 break 3
1886 done
1887 done
1889 esac
1891 done
1892 IFS=$as_save_IFS
1894 rm -rf conftest.one conftest.two conftest.dir
1897 if test "${ac_cv_path_install+set}" = set; then
1898 INSTALL=$ac_cv_path_install
1899 else
1900 # As a last resort, use the slow shell script. Don't cache a
1901 # value for INSTALL within a source directory, because that will
1902 # break other packages using the cache if that directory is
1903 # removed, or if the value is a relative name.
1904 INSTALL=$ac_install_sh
1907 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1908 $as_echo "$INSTALL" >&6; }
1910 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1911 # It thinks the first close brace ends the variable substitution.
1912 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1914 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1916 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1918 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1919 $as_echo_n "checking whether build environment is sane... " >&6; }
1920 # Just in case
1921 sleep 1
1922 echo timestamp > conftest.file
1923 # Reject unsafe characters in $srcdir or the absolute working directory
1924 # name. Accept space and tab only in the latter.
1925 am_lf='
1927 case `pwd` in
1928 *[\\\"\#\$\&\'\`$am_lf]*)
1929 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1930 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1931 { (exit 1); exit 1; }; };;
1932 esac
1933 case $srcdir in
1934 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1935 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1936 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1937 { (exit 1); exit 1; }; };;
1938 esac
1940 # Do `set' in a subshell so we don't clobber the current shell's
1941 # arguments. Must try -L first in case configure is actually a
1942 # symlink; some systems play weird games with the mod time of symlinks
1943 # (eg FreeBSD returns the mod time of the symlink's containing
1944 # directory).
1945 if (
1946 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1947 if test "$*" = "X"; then
1948 # -L didn't work.
1949 set X `ls -t "$srcdir/configure" conftest.file`
1951 rm -f conftest.file
1952 if test "$*" != "X $srcdir/configure conftest.file" \
1953 && test "$*" != "X conftest.file $srcdir/configure"; then
1955 # If neither matched, then we have a broken ls. This can happen
1956 # if, for instance, CONFIG_SHELL is bash and it inherits a
1957 # broken ls alias from the environment. This has actually
1958 # happened. Such a system could not be considered "sane".
1959 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1960 alias in your environment" >&5
1961 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1962 alias in your environment" >&2;}
1963 { (exit 1); exit 1; }; }
1966 test "$2" = conftest.file
1968 then
1969 # Ok.
1971 else
1972 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1973 Check your system clock" >&5
1974 $as_echo "$as_me: error: newly created file is older than distributed files!
1975 Check your system clock" >&2;}
1976 { (exit 1); exit 1; }; }
1978 { $as_echo "$as_me:$LINENO: result: yes" >&5
1979 $as_echo "yes" >&6; }
1980 test "$program_prefix" != NONE &&
1981 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1982 # Use a double $ so make ignores it.
1983 test "$program_suffix" != NONE &&
1984 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1985 # Double any \ or $.
1986 # By default was `s,x,x', remove it if useless.
1987 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1988 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1990 # expand $ac_aux_dir to an absolute path
1991 am_aux_dir=`cd $ac_aux_dir && pwd`
1993 if test x"${MISSING+set}" != xset; then
1994 case $am_aux_dir in
1995 *\ * | *\ *)
1996 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1998 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1999 esac
2001 # Use eval to expand $SHELL
2002 if eval "$MISSING --run true"; then
2003 am_missing_run="$MISSING --run "
2004 else
2005 am_missing_run=
2006 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2007 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2010 if test x"${install_sh}" != xset; then
2011 case $am_aux_dir in
2012 *\ * | *\ *)
2013 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2015 install_sh="\${SHELL} $am_aux_dir/install-sh"
2016 esac
2019 # Installed binaries are usually stripped using `strip' when the user
2020 # run `make install-strip'. However `strip' might not be the right
2021 # tool to use in cross-compilation environments, therefore Automake
2022 # will honor the `STRIP' environment variable to overrule this program.
2023 if test "$cross_compiling" != no; then
2024 if test -n "$ac_tool_prefix"; then
2025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2026 set dummy ${ac_tool_prefix}strip; ac_word=$2
2027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 $as_echo_n "checking for $ac_word... " >&6; }
2029 if test "${ac_cv_prog_STRIP+set}" = set; then
2030 $as_echo_n "(cached) " >&6
2031 else
2032 if test -n "$STRIP"; then
2033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2034 else
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2038 IFS=$as_save_IFS
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2043 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044 break 2
2046 done
2047 done
2048 IFS=$as_save_IFS
2052 STRIP=$ac_cv_prog_STRIP
2053 if test -n "$STRIP"; then
2054 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2055 $as_echo "$STRIP" >&6; }
2056 else
2057 { $as_echo "$as_me:$LINENO: result: no" >&5
2058 $as_echo "no" >&6; }
2063 if test -z "$ac_cv_prog_STRIP"; then
2064 ac_ct_STRIP=$STRIP
2065 # Extract the first word of "strip", so it can be a program name with args.
2066 set dummy strip; ac_word=$2
2067 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 $as_echo_n "checking for $ac_word... " >&6; }
2069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2070 $as_echo_n "(cached) " >&6
2071 else
2072 if test -n "$ac_ct_STRIP"; then
2073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_ac_ct_STRIP="strip"
2083 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2093 if test -n "$ac_ct_STRIP"; then
2094 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2095 $as_echo "$ac_ct_STRIP" >&6; }
2096 else
2097 { $as_echo "$as_me:$LINENO: result: no" >&5
2098 $as_echo "no" >&6; }
2101 if test "x$ac_ct_STRIP" = x; then
2102 STRIP=":"
2103 else
2104 case $cross_compiling:$ac_tool_warned in
2105 yes:)
2106 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2108 ac_tool_warned=yes ;;
2109 esac
2110 STRIP=$ac_ct_STRIP
2112 else
2113 STRIP="$ac_cv_prog_STRIP"
2117 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2119 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2120 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2121 if test -z "$MKDIR_P"; then
2122 if test "${ac_cv_path_mkdir+set}" = set; then
2123 $as_echo_n "(cached) " >&6
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2128 IFS=$as_save_IFS
2129 test -z "$as_dir" && as_dir=.
2130 for ac_prog in mkdir gmkdir; do
2131 for ac_exec_ext in '' $ac_executable_extensions; do
2132 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2133 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2134 'mkdir (GNU coreutils) '* | \
2135 'mkdir (coreutils) '* | \
2136 'mkdir (fileutils) '4.1*)
2137 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2138 break 3;;
2139 esac
2140 done
2141 done
2142 done
2143 IFS=$as_save_IFS
2147 if test "${ac_cv_path_mkdir+set}" = set; then
2148 MKDIR_P="$ac_cv_path_mkdir -p"
2149 else
2150 # As a last resort, use the slow shell script. Don't cache a
2151 # value for MKDIR_P within a source directory, because that will
2152 # break other packages using the cache if that directory is
2153 # removed, or if the value is a relative name.
2154 test -d ./--version && rmdir ./--version
2155 MKDIR_P="$ac_install_sh -d"
2158 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2159 $as_echo "$MKDIR_P" >&6; }
2161 mkdir_p="$MKDIR_P"
2162 case $mkdir_p in
2163 [\\/$]* | ?:[\\/]*) ;;
2164 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2165 esac
2167 for ac_prog in gawk mawk nawk awk
2169 # Extract the first word of "$ac_prog", so it can be a program name with args.
2170 set dummy $ac_prog; ac_word=$2
2171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 $as_echo_n "checking for $ac_word... " >&6; }
2173 if test "${ac_cv_prog_AWK+set}" = set; then
2174 $as_echo_n "(cached) " >&6
2175 else
2176 if test -n "$AWK"; then
2177 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2178 else
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH
2182 IFS=$as_save_IFS
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 ac_cv_prog_AWK="$ac_prog"
2187 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 break 2
2190 done
2191 done
2192 IFS=$as_save_IFS
2196 AWK=$ac_cv_prog_AWK
2197 if test -n "$AWK"; then
2198 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2199 $as_echo "$AWK" >&6; }
2200 else
2201 { $as_echo "$as_me:$LINENO: result: no" >&5
2202 $as_echo "no" >&6; }
2206 test -n "$AWK" && break
2207 done
2209 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2210 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2211 set x ${MAKE-make}
2212 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2213 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2214 $as_echo_n "(cached) " >&6
2215 else
2216 cat >conftest.make <<\_ACEOF
2217 SHELL = /bin/sh
2218 all:
2219 @echo '@@@%%%=$(MAKE)=@@@%%%'
2220 _ACEOF
2221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2222 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2223 *@@@%%%=?*=@@@%%%*)
2224 eval ac_cv_prog_make_${ac_make}_set=yes;;
2226 eval ac_cv_prog_make_${ac_make}_set=no;;
2227 esac
2228 rm -f conftest.make
2230 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2231 { $as_echo "$as_me:$LINENO: result: yes" >&5
2232 $as_echo "yes" >&6; }
2233 SET_MAKE=
2234 else
2235 { $as_echo "$as_me:$LINENO: result: no" >&5
2236 $as_echo "no" >&6; }
2237 SET_MAKE="MAKE=${MAKE-make}"
2240 rm -rf .tst 2>/dev/null
2241 mkdir .tst 2>/dev/null
2242 if test -d .tst; then
2243 am__leading_dot=.
2244 else
2245 am__leading_dot=_
2247 rmdir .tst 2>/dev/null
2249 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2250 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2251 # is not polluted with repeated "-I."
2252 am__isrc=' -I$(srcdir)'
2253 # test to see if srcdir already configured
2254 if test -f $srcdir/config.status; then
2255 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2256 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2257 { (exit 1); exit 1; }; }
2261 # test whether we have cygpath
2262 if test -z "$CYGPATH_W"; then
2263 if (cygpath --version) >/dev/null 2>/dev/null; then
2264 CYGPATH_W='cygpath -w'
2265 else
2266 CYGPATH_W=echo
2271 # Define the identity of the package.
2272 PACKAGE='igmpproxy'
2273 VERSION='0.1'
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE "$PACKAGE"
2278 _ACEOF
2281 cat >>confdefs.h <<_ACEOF
2282 #define VERSION "$VERSION"
2283 _ACEOF
2285 # Some tools Automake needs.
2287 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2290 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2293 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2296 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2299 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2301 # We need awk for the "check" target. The system "awk" is bad on
2302 # some platforms.
2303 # Always define AMTAR for backward compatibility.
2305 AMTAR=${AMTAR-"${am_missing_run}tar"}
2307 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2314 ac_config_headers="$ac_config_headers config.h"
2316 DEPDIR="${am__leading_dot}deps"
2318 ac_config_commands="$ac_config_commands depfiles"
2321 am_make=${MAKE-make}
2322 cat > confinc << 'END'
2323 am__doit:
2324 @echo this is the am__doit target
2325 .PHONY: am__doit
2327 # If we don't find an include directive, just comment out the code.
2328 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2329 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2330 am__include="#"
2331 am__quote=
2332 _am_result=none
2333 # First try GNU make style include.
2334 echo "include confinc" > confmf
2335 # Ignore all kinds of additional output from `make'.
2336 case `$am_make -s -f confmf 2> /dev/null` in #(
2337 *the\ am__doit\ target*)
2338 am__include=include
2339 am__quote=
2340 _am_result=GNU
2342 esac
2343 # Now try BSD make style include.
2344 if test "$am__include" = "#"; then
2345 echo '.include "confinc"' > confmf
2346 case `$am_make -s -f confmf 2> /dev/null` in #(
2347 *the\ am__doit\ target*)
2348 am__include=.include
2349 am__quote="\""
2350 _am_result=BSD
2352 esac
2356 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2357 $as_echo "$_am_result" >&6; }
2358 rm -f confinc confmf
2360 # Check whether --enable-dependency-tracking was given.
2361 if test "${enable_dependency_tracking+set}" = set; then
2362 enableval=$enable_dependency_tracking;
2365 if test "x$enable_dependency_tracking" != xno; then
2366 am_depcomp="$ac_aux_dir/depcomp"
2367 AMDEPBACKSLASH='\'
2369 if test "x$enable_dependency_tracking" != xno; then
2370 AMDEP_TRUE=
2371 AMDEP_FALSE='#'
2372 else
2373 AMDEP_TRUE='#'
2374 AMDEP_FALSE=
2378 ac_ext=c
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2385 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 $as_echo_n "checking for $ac_word... " >&6; }
2388 if test "${ac_cv_prog_CC+set}" = set; then
2389 $as_echo_n "(cached) " >&6
2390 else
2391 if test -n "$CC"; then
2392 ac_cv_prog_CC="$CC" # Let the user override the test.
2393 else
2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 for as_dir in $PATH
2397 IFS=$as_save_IFS
2398 test -z "$as_dir" && as_dir=.
2399 for ac_exec_ext in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 break 2
2405 done
2406 done
2407 IFS=$as_save_IFS
2411 CC=$ac_cv_prog_CC
2412 if test -n "$CC"; then
2413 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2414 $as_echo "$CC" >&6; }
2415 else
2416 { $as_echo "$as_me:$LINENO: result: no" >&5
2417 $as_echo "no" >&6; }
2422 if test -z "$ac_cv_prog_CC"; then
2423 ac_ct_CC=$CC
2424 # Extract the first word of "gcc", so it can be a program name with args.
2425 set dummy gcc; ac_word=$2
2426 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2429 $as_echo_n "(cached) " >&6
2430 else
2431 if test -n "$ac_ct_CC"; then
2432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2433 else
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2437 IFS=$as_save_IFS
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_ac_ct_CC="gcc"
2442 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 break 2
2445 done
2446 done
2447 IFS=$as_save_IFS
2451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2452 if test -n "$ac_ct_CC"; then
2453 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2454 $as_echo "$ac_ct_CC" >&6; }
2455 else
2456 { $as_echo "$as_me:$LINENO: result: no" >&5
2457 $as_echo "no" >&6; }
2460 if test "x$ac_ct_CC" = x; then
2461 CC=""
2462 else
2463 case $cross_compiling:$ac_tool_warned in
2464 yes:)
2465 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2467 ac_tool_warned=yes ;;
2468 esac
2469 CC=$ac_ct_CC
2471 else
2472 CC="$ac_cv_prog_CC"
2475 if test -z "$CC"; then
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2478 set dummy ${ac_tool_prefix}cc; ac_word=$2
2479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if test "${ac_cv_prog_CC+set}" = set; then
2482 $as_echo_n "(cached) " >&6
2483 else
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC="$CC" # Let the user override the test.
2486 else
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 for as_dir in $PATH
2490 IFS=$as_save_IFS
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_CC="${ac_tool_prefix}cc"
2495 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 break 2
2498 done
2499 done
2500 IFS=$as_save_IFS
2504 CC=$ac_cv_prog_CC
2505 if test -n "$CC"; then
2506 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2507 $as_echo "$CC" >&6; }
2508 else
2509 { $as_echo "$as_me:$LINENO: result: no" >&5
2510 $as_echo "no" >&6; }
2516 if test -z "$CC"; then
2517 # Extract the first word of "cc", so it can be a program name with args.
2518 set dummy cc; ac_word=$2
2519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 $as_echo_n "(cached) " >&6
2523 else
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC="$CC" # Let the user override the test.
2526 else
2527 ac_prog_rejected=no
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 for as_dir in $PATH
2531 IFS=$as_save_IFS
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2536 ac_prog_rejected=yes
2537 continue
2539 ac_cv_prog_CC="cc"
2540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2543 done
2544 done
2545 IFS=$as_save_IFS
2547 if test $ac_prog_rejected = yes; then
2548 # We found a bogon in the path, so make sure we never use it.
2549 set dummy $ac_cv_prog_CC
2550 shift
2551 if test $# != 0; then
2552 # We chose a different compiler from the bogus one.
2553 # However, it has the same basename, so the bogon will be chosen
2554 # first if we set CC to just the basename; use the full file name.
2555 shift
2556 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2561 CC=$ac_cv_prog_CC
2562 if test -n "$CC"; then
2563 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2564 $as_echo "$CC" >&6; }
2565 else
2566 { $as_echo "$as_me:$LINENO: result: no" >&5
2567 $as_echo "no" >&6; }
2572 if test -z "$CC"; then
2573 if test -n "$ac_tool_prefix"; then
2574 for ac_prog in cl.exe
2576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if test "${ac_cv_prog_CC+set}" = set; then
2581 $as_echo_n "(cached) " >&6
2582 else
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC="$CC" # Let the user override the test.
2585 else
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 for as_dir in $PATH
2589 IFS=$as_save_IFS
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 break 2
2597 done
2598 done
2599 IFS=$as_save_IFS
2603 CC=$ac_cv_prog_CC
2604 if test -n "$CC"; then
2605 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2606 $as_echo "$CC" >&6; }
2607 else
2608 { $as_echo "$as_me:$LINENO: result: no" >&5
2609 $as_echo "no" >&6; }
2613 test -n "$CC" && break
2614 done
2616 if test -z "$CC"; then
2617 ac_ct_CC=$CC
2618 for ac_prog in cl.exe
2620 # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 set dummy $ac_prog; ac_word=$2
2622 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625 $as_echo_n "(cached) " >&6
2626 else
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2629 else
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 for as_dir in $PATH
2633 IFS=$as_save_IFS
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_ac_ct_CC="$ac_prog"
2638 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 break 2
2641 done
2642 done
2643 IFS=$as_save_IFS
2647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2648 if test -n "$ac_ct_CC"; then
2649 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2650 $as_echo "$ac_ct_CC" >&6; }
2651 else
2652 { $as_echo "$as_me:$LINENO: result: no" >&5
2653 $as_echo "no" >&6; }
2657 test -n "$ac_ct_CC" && break
2658 done
2660 if test "x$ac_ct_CC" = x; then
2661 CC=""
2662 else
2663 case $cross_compiling:$ac_tool_warned in
2664 yes:)
2665 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2667 ac_tool_warned=yes ;;
2668 esac
2669 CC=$ac_ct_CC
2676 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2678 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2679 See \`config.log' for more details." >&5
2680 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2681 See \`config.log' for more details." >&2;}
2682 { (exit 1); exit 1; }; }; }
2684 # Provide some information about the compiler.
2685 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2686 set X $ac_compile
2687 ac_compiler=$2
2688 { (ac_try="$ac_compiler --version >&5"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2694 $as_echo "$ac_try_echo") >&5
2695 (eval "$ac_compiler --version >&5") 2>&5
2696 ac_status=$?
2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }
2699 { (ac_try="$ac_compiler -v >&5"
2700 case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2705 $as_echo "$ac_try_echo") >&5
2706 (eval "$ac_compiler -v >&5") 2>&5
2707 ac_status=$?
2708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }
2710 { (ac_try="$ac_compiler -V >&5"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2716 $as_echo "$ac_try_echo") >&5
2717 (eval "$ac_compiler -V >&5") 2>&5
2718 ac_status=$?
2719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }
2722 cat >conftest.$ac_ext <<_ACEOF
2723 /* confdefs.h. */
2724 _ACEOF
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2730 main ()
2734 return 0;
2736 _ACEOF
2737 ac_clean_files_save=$ac_clean_files
2738 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2739 # Try to create an executable without -o first, disregard a.out.
2740 # It will help us diagnose broken compilers, and finding out an intuition
2741 # of exeext.
2742 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2743 $as_echo_n "checking for C compiler default output file name... " >&6; }
2744 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2746 # The possible output files:
2747 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2749 ac_rmfiles=
2750 for ac_file in $ac_files
2752 case $ac_file in
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2754 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2755 esac
2756 done
2757 rm -f $ac_rmfiles
2759 if { (ac_try="$ac_link_default"
2760 case "(($ac_try" in
2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2763 esac
2764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2765 $as_echo "$ac_try_echo") >&5
2766 (eval "$ac_link_default") 2>&5
2767 ac_status=$?
2768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2772 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2773 # so that the user can short-circuit this test for compilers unknown to
2774 # Autoconf.
2775 for ac_file in $ac_files ''
2777 test -f "$ac_file" || continue
2778 case $ac_file in
2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2781 [ab].out )
2782 # We found the default executable, but exeext='' is most
2783 # certainly right.
2784 break;;
2785 *.* )
2786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2787 then :; else
2788 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2790 # We set ac_cv_exeext here because the later test for it is not
2791 # safe: cross compilers may not add the suffix if given an `-o'
2792 # argument, so we may need to know it at that point already.
2793 # Even if this section looks crufty: it has the advantage of
2794 # actually working.
2795 break;;
2797 break;;
2798 esac
2799 done
2800 test "$ac_cv_exeext" = no && ac_cv_exeext=
2802 else
2803 ac_file=''
2806 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2807 $as_echo "$ac_file" >&6; }
2808 if test -z "$ac_file"; then
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2812 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2815 See \`config.log' for more details." >&5
2816 $as_echo "$as_me: error: C compiler cannot create executables
2817 See \`config.log' for more details." >&2;}
2818 { (exit 77); exit 77; }; }; }
2821 ac_exeext=$ac_cv_exeext
2823 # Check that the compiler produces executables we can run. If not, either
2824 # the compiler is broken, or we cross compile.
2825 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2826 $as_echo_n "checking whether the C compiler works... " >&6; }
2827 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2828 # If not cross compiling, check that we can run a simple program.
2829 if test "$cross_compiling" != yes; then
2830 if { ac_try='./$ac_file'
2831 { (case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836 $as_echo "$ac_try_echo") >&5
2837 (eval "$ac_try") 2>&5
2838 ac_status=$?
2839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; }; then
2841 cross_compiling=no
2842 else
2843 if test "$cross_compiling" = maybe; then
2844 cross_compiling=yes
2845 else
2846 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2848 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2849 If you meant to cross compile, use \`--host'.
2850 See \`config.log' for more details." >&5
2851 $as_echo "$as_me: error: cannot run C compiled programs.
2852 If you meant to cross compile, use \`--host'.
2853 See \`config.log' for more details." >&2;}
2854 { (exit 1); exit 1; }; }; }
2858 { $as_echo "$as_me:$LINENO: result: yes" >&5
2859 $as_echo "yes" >&6; }
2861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2862 ac_clean_files=$ac_clean_files_save
2863 # Check that the compiler produces executables we can run. If not, either
2864 # the compiler is broken, or we cross compile.
2865 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2866 $as_echo_n "checking whether we are cross compiling... " >&6; }
2867 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2868 $as_echo "$cross_compiling" >&6; }
2870 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2871 $as_echo_n "checking for suffix of executables... " >&6; }
2872 if { (ac_try="$ac_link"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2878 $as_echo "$ac_try_echo") >&5
2879 (eval "$ac_link") 2>&5
2880 ac_status=$?
2881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; then
2883 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2884 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2885 # work properly (i.e., refer to `conftest.exe'), while it won't with
2886 # `rm'.
2887 for ac_file in conftest.exe conftest conftest.*; do
2888 test -f "$ac_file" || continue
2889 case $ac_file in
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2891 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2892 break;;
2893 * ) break;;
2894 esac
2895 done
2896 else
2897 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2899 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2900 See \`config.log' for more details." >&5
2901 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2902 See \`config.log' for more details." >&2;}
2903 { (exit 1); exit 1; }; }; }
2906 rm -f conftest$ac_cv_exeext
2907 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2908 $as_echo "$ac_cv_exeext" >&6; }
2910 rm -f conftest.$ac_ext
2911 EXEEXT=$ac_cv_exeext
2912 ac_exeext=$EXEEXT
2913 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2914 $as_echo_n "checking for suffix of object files... " >&6; }
2915 if test "${ac_cv_objext+set}" = set; then
2916 $as_echo_n "(cached) " >&6
2917 else
2918 cat >conftest.$ac_ext <<_ACEOF
2919 /* confdefs.h. */
2920 _ACEOF
2921 cat confdefs.h >>conftest.$ac_ext
2922 cat >>conftest.$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2926 main ()
2930 return 0;
2932 _ACEOF
2933 rm -f conftest.o conftest.obj
2934 if { (ac_try="$ac_compile"
2935 case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2940 $as_echo "$ac_try_echo") >&5
2941 (eval "$ac_compile") 2>&5
2942 ac_status=$?
2943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; then
2945 for ac_file in conftest.o conftest.obj conftest.*; do
2946 test -f "$ac_file" || continue;
2947 case $ac_file in
2948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2949 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2950 break;;
2951 esac
2952 done
2953 else
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2959 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2960 See \`config.log' for more details." >&5
2961 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2962 See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }; }
2966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2968 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2969 $as_echo "$ac_cv_objext" >&6; }
2970 OBJEXT=$ac_cv_objext
2971 ac_objext=$OBJEXT
2972 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2973 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2974 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2975 $as_echo_n "(cached) " >&6
2976 else
2977 cat >conftest.$ac_ext <<_ACEOF
2978 /* confdefs.h. */
2979 _ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2985 main ()
2987 #ifndef __GNUC__
2988 choke me
2989 #endif
2992 return 0;
2994 _ACEOF
2995 rm -f conftest.$ac_objext
2996 if { (ac_try="$ac_compile"
2997 case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3000 esac
3001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3002 $as_echo "$ac_try_echo") >&5
3003 (eval "$ac_compile") 2>conftest.er1
3004 ac_status=$?
3005 grep -v '^ *+' conftest.er1 >conftest.err
3006 rm -f conftest.er1
3007 cat conftest.err >&5
3008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } && {
3010 test -z "$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 } && test -s conftest.$ac_objext; then
3013 ac_compiler_gnu=yes
3014 else
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 ac_compiler_gnu=no
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3025 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3026 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3027 if test $ac_compiler_gnu = yes; then
3028 GCC=yes
3029 else
3030 GCC=
3032 ac_test_CFLAGS=${CFLAGS+set}
3033 ac_save_CFLAGS=$CFLAGS
3034 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3035 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3036 if test "${ac_cv_prog_cc_g+set}" = set; then
3037 $as_echo_n "(cached) " >&6
3038 else
3039 ac_save_c_werror_flag=$ac_c_werror_flag
3040 ac_c_werror_flag=yes
3041 ac_cv_prog_cc_g=no
3042 CFLAGS="-g"
3043 cat >conftest.$ac_ext <<_ACEOF
3044 /* confdefs.h. */
3045 _ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3051 main ()
3055 return 0;
3057 _ACEOF
3058 rm -f conftest.$ac_objext
3059 if { (ac_try="$ac_compile"
3060 case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3065 $as_echo "$ac_try_echo") >&5
3066 (eval "$ac_compile") 2>conftest.er1
3067 ac_status=$?
3068 grep -v '^ *+' conftest.er1 >conftest.err
3069 rm -f conftest.er1
3070 cat conftest.err >&5
3071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } && {
3073 test -z "$ac_c_werror_flag" ||
3074 test ! -s conftest.err
3075 } && test -s conftest.$ac_objext; then
3076 ac_cv_prog_cc_g=yes
3077 else
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 CFLAGS=""
3082 cat >conftest.$ac_ext <<_ACEOF
3083 /* confdefs.h. */
3084 _ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3090 main ()
3094 return 0;
3096 _ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3099 case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3104 $as_echo "$ac_try_echo") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3106 ac_status=$?
3107 grep -v '^ *+' conftest.er1 >conftest.err
3108 rm -f conftest.er1
3109 cat conftest.err >&5
3110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_c_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3116 else
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 ac_c_werror_flag=$ac_save_c_werror_flag
3121 CFLAGS="-g"
3122 cat >conftest.$ac_ext <<_ACEOF
3123 /* confdefs.h. */
3124 _ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3130 main ()
3134 return 0;
3136 _ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3139 case "(($ac_try" in
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3142 esac
3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144 $as_echo "$ac_try_echo") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3146 ac_status=$?
3147 grep -v '^ *+' conftest.er1 >conftest.err
3148 rm -f conftest.er1
3149 cat conftest.err >&5
3150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cc_g=yes
3156 else
3157 $as_echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170 ac_c_werror_flag=$ac_save_c_werror_flag
3172 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3173 $as_echo "$ac_cv_prog_cc_g" >&6; }
3174 if test "$ac_test_CFLAGS" = set; then
3175 CFLAGS=$ac_save_CFLAGS
3176 elif test $ac_cv_prog_cc_g = yes; then
3177 if test "$GCC" = yes; then
3178 CFLAGS="-g -O2"
3179 else
3180 CFLAGS="-g"
3182 else
3183 if test "$GCC" = yes; then
3184 CFLAGS="-O2"
3185 else
3186 CFLAGS=
3189 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3191 if test "${ac_cv_prog_cc_c89+set}" = set; then
3192 $as_echo_n "(cached) " >&6
3193 else
3194 ac_cv_prog_cc_c89=no
3195 ac_save_CC=$CC
3196 cat >conftest.$ac_ext <<_ACEOF
3197 /* confdefs.h. */
3198 _ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3202 #include <stdarg.h>
3203 #include <stdio.h>
3204 #include <sys/types.h>
3205 #include <sys/stat.h>
3206 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3207 struct buf { int x; };
3208 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3209 static char *e (p, i)
3210 char **p;
3211 int i;
3213 return p[i];
3215 static char *f (char * (*g) (char **, int), char **p, ...)
3217 char *s;
3218 va_list v;
3219 va_start (v,p);
3220 s = g (p, va_arg (v,int));
3221 va_end (v);
3222 return s;
3225 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3226 function prototypes and stuff, but not '\xHH' hex character constants.
3227 These don't provoke an error unfortunately, instead are silently treated
3228 as 'x'. The following induces an error, until -std is added to get
3229 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3230 array size at least. It's necessary to write '\x00'==0 to get something
3231 that's true only with -std. */
3232 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3234 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3235 inside strings and character constants. */
3236 #define FOO(x) 'x'
3237 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3239 int test (int i, double x);
3240 struct s1 {int (*f) (int a);};
3241 struct s2 {int (*f) (double a);};
3242 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3243 int argc;
3244 char **argv;
3246 main ()
3248 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3250 return 0;
3252 _ACEOF
3253 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3254 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3256 CC="$ac_save_CC $ac_arg"
3257 rm -f conftest.$ac_objext
3258 if { (ac_try="$ac_compile"
3259 case "(($ac_try" in
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3262 esac
3263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3264 $as_echo "$ac_try_echo") >&5
3265 (eval "$ac_compile") 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } && {
3272 test -z "$ac_c_werror_flag" ||
3273 test ! -s conftest.err
3274 } && test -s conftest.$ac_objext; then
3275 ac_cv_prog_cc_c89=$ac_arg
3276 else
3277 $as_echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext
3284 test "x$ac_cv_prog_cc_c89" != "xno" && break
3285 done
3286 rm -f conftest.$ac_ext
3287 CC=$ac_save_CC
3290 # AC_CACHE_VAL
3291 case "x$ac_cv_prog_cc_c89" in
3293 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3294 $as_echo "none needed" >&6; } ;;
3295 xno)
3296 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3297 $as_echo "unsupported" >&6; } ;;
3299 CC="$CC $ac_cv_prog_cc_c89"
3300 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3301 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3302 esac
3305 ac_ext=c
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 depcc="$CC" am_compiler_list=
3313 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3314 $as_echo_n "checking dependency style of $depcc... " >&6; }
3315 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3316 $as_echo_n "(cached) " >&6
3317 else
3318 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3319 # We make a subdir and do the tests there. Otherwise we can end up
3320 # making bogus files that we don't know about and never remove. For
3321 # instance it was reported that on HP-UX the gcc test will end up
3322 # making a dummy file named `D' -- because `-MD' means `put the output
3323 # in D'.
3324 mkdir conftest.dir
3325 # Copy depcomp to subdir because otherwise we won't find it if we're
3326 # using a relative directory.
3327 cp "$am_depcomp" conftest.dir
3328 cd conftest.dir
3329 # We will build objects and dependencies in a subdirectory because
3330 # it helps to detect inapplicable dependency modes. For instance
3331 # both Tru64's cc and ICC support -MD to output dependencies as a
3332 # side effect of compilation, but ICC will put the dependencies in
3333 # the current directory while Tru64 will put them in the object
3334 # directory.
3335 mkdir sub
3337 am_cv_CC_dependencies_compiler_type=none
3338 if test "$am_compiler_list" = ""; then
3339 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3341 am__universal=false
3342 case " $depcc " in #(
3343 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3344 esac
3346 for depmode in $am_compiler_list; do
3347 # Setup a source with many dependencies, because some compilers
3348 # like to wrap large dependency lists on column 80 (with \), and
3349 # we should not choose a depcomp mode which is confused by this.
3351 # We need to recreate these files for each test, as the compiler may
3352 # overwrite some of them when testing with obscure command lines.
3353 # This happens at least with the AIX C compiler.
3354 : > sub/conftest.c
3355 for i in 1 2 3 4 5 6; do
3356 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3357 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3358 # Solaris 8's {/usr,}/bin/sh.
3359 touch sub/conftst$i.h
3360 done
3361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3363 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3364 # mode. It turns out that the SunPro C++ compiler does not properly
3365 # handle `-M -o', and we need to detect this. Also, some Intel
3366 # versions had trouble with output in subdirs
3367 am__obj=sub/conftest.${OBJEXT-o}
3368 am__minus_obj="-o $am__obj"
3369 case $depmode in
3370 gcc)
3371 # This depmode causes a compiler race in universal mode.
3372 test "$am__universal" = false || continue
3374 nosideeffect)
3375 # after this tag, mechanisms are not by side-effect, so they'll
3376 # only be used when explicitly requested
3377 if test "x$enable_dependency_tracking" = xyes; then
3378 continue
3379 else
3380 break
3383 msvisualcpp | msvcmsys)
3384 # This compiler won't grok `-c -o', but also, the minuso test has
3385 # not run yet. These depmodes are late enough in the game, and
3386 # so weak that their functioning should not be impacted.
3387 am__obj=conftest.${OBJEXT-o}
3388 am__minus_obj=
3390 none) break ;;
3391 esac
3392 if depmode=$depmode \
3393 source=sub/conftest.c object=$am__obj \
3394 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3395 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3396 >/dev/null 2>conftest.err &&
3397 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3398 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3399 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3400 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3401 # icc doesn't choke on unknown options, it will just issue warnings
3402 # or remarks (even with -Werror). So we grep stderr for any message
3403 # that says an option was ignored or not supported.
3404 # When given -MP, icc 7.0 and 7.1 complain thusly:
3405 # icc: Command line warning: ignoring option '-M'; no argument required
3406 # The diagnosis changed in icc 8.0:
3407 # icc: Command line remark: option '-MP' not supported
3408 if (grep 'ignoring option' conftest.err ||
3409 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3410 am_cv_CC_dependencies_compiler_type=$depmode
3411 break
3414 done
3416 cd ..
3417 rm -rf conftest.dir
3418 else
3419 am_cv_CC_dependencies_compiler_type=none
3423 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3424 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3425 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3428 test "x$enable_dependency_tracking" != xno \
3429 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3430 am__fastdepCC_TRUE=
3431 am__fastdepCC_FALSE='#'
3432 else
3433 am__fastdepCC_TRUE='#'
3434 am__fastdepCC_FALSE=
3438 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3439 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3440 if test "${ac_cv_prog_cc_c99+set}" = set; then
3441 $as_echo_n "(cached) " >&6
3442 else
3443 ac_cv_prog_cc_c99=no
3444 ac_save_CC=$CC
3445 cat >conftest.$ac_ext <<_ACEOF
3446 /* confdefs.h. */
3447 _ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451 #include <stdarg.h>
3452 #include <stdbool.h>
3453 #include <stdlib.h>
3454 #include <wchar.h>
3455 #include <stdio.h>
3457 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3458 #define debug(...) fprintf (stderr, __VA_ARGS__)
3459 #define showlist(...) puts (#__VA_ARGS__)
3460 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3461 static void
3462 test_varargs_macros (void)
3464 int x = 1234;
3465 int y = 5678;
3466 debug ("Flag");
3467 debug ("X = %d\n", x);
3468 showlist (The first, second, and third items.);
3469 report (x>y, "x is %d but y is %d", x, y);
3472 // Check long long types.
3473 #define BIG64 18446744073709551615ull
3474 #define BIG32 4294967295ul
3475 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3476 #if !BIG_OK
3477 your preprocessor is broken;
3478 #endif
3479 #if BIG_OK
3480 #else
3481 your preprocessor is broken;
3482 #endif
3483 static long long int bignum = -9223372036854775807LL;
3484 static unsigned long long int ubignum = BIG64;
3486 struct incomplete_array
3488 int datasize;
3489 double data[];
3492 struct named_init {
3493 int number;
3494 const wchar_t *name;
3495 double average;
3498 typedef const char *ccp;
3500 static inline int
3501 test_restrict (ccp restrict text)
3503 // See if C++-style comments work.
3504 // Iterate through items via the restricted pointer.
3505 // Also check for declarations in for loops.
3506 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3507 continue;
3508 return 0;
3511 // Check varargs and va_copy.
3512 static void
3513 test_varargs (const char *format, ...)
3515 va_list args;
3516 va_start (args, format);
3517 va_list args_copy;
3518 va_copy (args_copy, args);
3520 const char *str;
3521 int number;
3522 float fnumber;
3524 while (*format)
3526 switch (*format++)
3528 case 's': // string
3529 str = va_arg (args_copy, const char *);
3530 break;
3531 case 'd': // int
3532 number = va_arg (args_copy, int);
3533 break;
3534 case 'f': // float
3535 fnumber = va_arg (args_copy, double);
3536 break;
3537 default:
3538 break;
3541 va_end (args_copy);
3542 va_end (args);
3546 main ()
3549 // Check bool.
3550 _Bool success = false;
3552 // Check restrict.
3553 if (test_restrict ("String literal") == 0)
3554 success = true;
3555 char *restrict newvar = "Another string";
3557 // Check varargs.
3558 test_varargs ("s, d' f .", "string", 65, 34.234);
3559 test_varargs_macros ();
3561 // Check flexible array members.
3562 struct incomplete_array *ia =
3563 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3564 ia->datasize = 10;
3565 for (int i = 0; i < ia->datasize; ++i)
3566 ia->data[i] = i * 1.234;
3568 // Check named initializers.
3569 struct named_init ni = {
3570 .number = 34,
3571 .name = L"Test wide string",
3572 .average = 543.34343,
3575 ni.number = 58;
3577 int dynamic_array[ni.number];
3578 dynamic_array[ni.number - 1] = 543;
3580 // work around unused variable warnings
3581 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3582 || dynamic_array[ni.number - 1] != 543);
3585 return 0;
3587 _ACEOF
3588 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3590 CC="$ac_save_CC $ac_arg"
3591 rm -f conftest.$ac_objext
3592 if { (ac_try="$ac_compile"
3593 case "(($ac_try" in
3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3596 esac
3597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3598 $as_echo "$ac_try_echo") >&5
3599 (eval "$ac_compile") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } && {
3606 test -z "$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 } && test -s conftest.$ac_objext; then
3609 ac_cv_prog_cc_c99=$ac_arg
3610 else
3611 $as_echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3617 rm -f core conftest.err conftest.$ac_objext
3618 test "x$ac_cv_prog_cc_c99" != "xno" && break
3619 done
3620 rm -f conftest.$ac_ext
3621 CC=$ac_save_CC
3624 # AC_CACHE_VAL
3625 case "x$ac_cv_prog_cc_c99" in
3627 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3628 $as_echo "none needed" >&6; } ;;
3629 xno)
3630 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3631 $as_echo "unsupported" >&6; } ;;
3633 CC="$CC $ac_cv_prog_cc_c99"
3634 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3635 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3636 esac
3641 # Make sure we can run config.sub.
3642 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3643 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3644 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3645 { (exit 1); exit 1; }; }
3647 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3648 $as_echo_n "checking build system type... " >&6; }
3649 if test "${ac_cv_build+set}" = set; then
3650 $as_echo_n "(cached) " >&6
3651 else
3652 ac_build_alias=$build_alias
3653 test "x$ac_build_alias" = x &&
3654 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3655 test "x$ac_build_alias" = x &&
3656 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3657 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3658 { (exit 1); exit 1; }; }
3659 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3660 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3661 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3662 { (exit 1); exit 1; }; }
3665 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3666 $as_echo "$ac_cv_build" >&6; }
3667 case $ac_cv_build in
3668 *-*-*) ;;
3669 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3670 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3671 { (exit 1); exit 1; }; };;
3672 esac
3673 build=$ac_cv_build
3674 ac_save_IFS=$IFS; IFS='-'
3675 set x $ac_cv_build
3676 shift
3677 build_cpu=$1
3678 build_vendor=$2
3679 shift; shift
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
3682 build_os=$*
3683 IFS=$ac_save_IFS
3684 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3687 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3688 $as_echo_n "checking host system type... " >&6; }
3689 if test "${ac_cv_host+set}" = set; then
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test "x$host_alias" = x; then
3693 ac_cv_host=$ac_cv_build
3694 else
3695 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3696 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3697 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3698 { (exit 1); exit 1; }; }
3702 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3703 $as_echo "$ac_cv_host" >&6; }
3704 case $ac_cv_host in
3705 *-*-*) ;;
3706 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3707 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3708 { (exit 1); exit 1; }; };;
3709 esac
3710 host=$ac_cv_host
3711 ac_save_IFS=$IFS; IFS='-'
3712 set x $ac_cv_host
3713 shift
3714 host_cpu=$1
3715 host_vendor=$2
3716 shift; shift
3717 # Remember, the first character of IFS is used to create $*,
3718 # except with old shells:
3719 host_os=$*
3720 IFS=$ac_save_IFS
3721 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3724 case $host_os in
3725 linux*) os=linux;;
3726 freebsd*) os=freebsd;;
3727 netbsd*) os=netbsd;;
3728 openbsd*) os=openbsd;;
3729 dragonfly*) os=dragonfly;;
3730 *) { { $as_echo "$as_me:$LINENO: error: OS $host_os is not supported" >&5
3731 $as_echo "$as_me: error: OS $host_os is not supported" >&2;}
3732 { (exit 1); exit 1; }; };;
3733 esac
3734 ac_config_links="$ac_config_links src/os.h:src/os-${os}.h"
3738 { $as_echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
3739 $as_echo_n "checking for struct sockaddr.sa_len... " >&6; }
3740 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3742 else
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3750 #include <sys/types.h>
3751 #include <sys/socket.h>
3755 main ()
3757 static struct sockaddr ac_aggr;
3758 if (ac_aggr.sa_len)
3759 return 0;
3761 return 0;
3763 _ACEOF
3764 rm -f conftest.$ac_objext
3765 if { (ac_try="$ac_compile"
3766 case "(($ac_try" in
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3769 esac
3770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3771 $as_echo "$ac_try_echo") >&5
3772 (eval "$ac_compile") 2>conftest.er1
3773 ac_status=$?
3774 grep -v '^ *+' conftest.er1 >conftest.err
3775 rm -f conftest.er1
3776 cat conftest.err >&5
3777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } && {
3779 test -z "$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3781 } && test -s conftest.$ac_objext; then
3782 ac_cv_member_struct_sockaddr_sa_len=yes
3783 else
3784 $as_echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3787 cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h. */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3794 #include <sys/types.h>
3795 #include <sys/socket.h>
3799 main ()
3801 static struct sockaddr ac_aggr;
3802 if (sizeof ac_aggr.sa_len)
3803 return 0;
3805 return 0;
3807 _ACEOF
3808 rm -f conftest.$ac_objext
3809 if { (ac_try="$ac_compile"
3810 case "(($ac_try" in
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3813 esac
3814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3815 $as_echo "$ac_try_echo") >&5
3816 (eval "$ac_compile") 2>conftest.er1
3817 ac_status=$?
3818 grep -v '^ *+' conftest.er1 >conftest.err
3819 rm -f conftest.er1
3820 cat conftest.err >&5
3821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } && {
3823 test -z "$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3825 } && test -s conftest.$ac_objext; then
3826 ac_cv_member_struct_sockaddr_sa_len=yes
3827 else
3828 $as_echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.$ac_ext >&5
3831 ac_cv_member_struct_sockaddr_sa_len=no
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
3840 $as_echo "$ac_cv_member_struct_sockaddr_sa_len" >&6; }
3841 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then
3843 cat >>confdefs.h <<_ACEOF
3844 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
3845 _ACEOF
3850 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
3851 $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
3852 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
3853 $as_echo_n "(cached) " >&6
3854 else
3855 cat >conftest.$ac_ext <<_ACEOF
3856 /* confdefs.h. */
3857 _ACEOF
3858 cat confdefs.h >>conftest.$ac_ext
3859 cat >>conftest.$ac_ext <<_ACEOF
3860 /* end confdefs.h. */
3862 #include <sys/types.h>
3863 #include <netinet/in.h>
3867 main ()
3869 static struct sockaddr_in ac_aggr;
3870 if (ac_aggr.sin_len)
3871 return 0;
3873 return 0;
3875 _ACEOF
3876 rm -f conftest.$ac_objext
3877 if { (ac_try="$ac_compile"
3878 case "(($ac_try" in
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3881 esac
3882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3883 $as_echo "$ac_try_echo") >&5
3884 (eval "$ac_compile") 2>conftest.er1
3885 ac_status=$?
3886 grep -v '^ *+' conftest.er1 >conftest.err
3887 rm -f conftest.er1
3888 cat conftest.err >&5
3889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && {
3891 test -z "$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3893 } && test -s conftest.$ac_objext; then
3894 ac_cv_member_struct_sockaddr_in_sin_len=yes
3895 else
3896 $as_echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3899 cat >conftest.$ac_ext <<_ACEOF
3900 /* confdefs.h. */
3901 _ACEOF
3902 cat confdefs.h >>conftest.$ac_ext
3903 cat >>conftest.$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3906 #include <sys/types.h>
3907 #include <netinet/in.h>
3911 main ()
3913 static struct sockaddr_in ac_aggr;
3914 if (sizeof ac_aggr.sin_len)
3915 return 0;
3917 return 0;
3919 _ACEOF
3920 rm -f conftest.$ac_objext
3921 if { (ac_try="$ac_compile"
3922 case "(($ac_try" in
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3925 esac
3926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3927 $as_echo "$ac_try_echo") >&5
3928 (eval "$ac_compile") 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
3932 cat conftest.err >&5
3933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } && {
3935 test -z "$ac_c_werror_flag" ||
3936 test ! -s conftest.err
3937 } && test -s conftest.$ac_objext; then
3938 ac_cv_member_struct_sockaddr_in_sin_len=yes
3939 else
3940 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5
3943 ac_cv_member_struct_sockaddr_in_sin_len=no
3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
3952 $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
3953 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
3955 cat >>confdefs.h <<_ACEOF
3956 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
3957 _ACEOF
3963 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile doc/igmpproxy.8 doc/igmpproxy.conf.5"
3965 cat >confcache <<\_ACEOF
3966 # This file is a shell script that caches the results of configure
3967 # tests run on this system so they can be shared between configure
3968 # scripts and configure runs, see configure's option --config-cache.
3969 # It is not useful on other systems. If it contains results you don't
3970 # want to keep, you may remove or edit it.
3972 # config.status only pays attention to the cache file if you give it
3973 # the --recheck option to rerun configure.
3975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3977 # following values.
3979 _ACEOF
3981 # The following way of writing the cache mishandles newlines in values,
3982 # but we know of no workaround that is simple, portable, and efficient.
3983 # So, we kill variables containing newlines.
3984 # Ultrix sh set writes to stderr and can't be redirected directly,
3985 # and sets the high bit in the cache file unless we assign to the vars.
3987 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3988 eval ac_val=\$$ac_var
3989 case $ac_val in #(
3990 *${as_nl}*)
3991 case $ac_var in #(
3992 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3994 esac
3995 case $ac_var in #(
3996 _ | IFS | as_nl) ;; #(
3997 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3998 *) $as_unset $ac_var ;;
3999 esac ;;
4000 esac
4001 done
4003 (set) 2>&1 |
4004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4005 *${as_nl}ac_space=\ *)
4006 # `set' does not quote correctly, so add quotes (double-quote
4007 # substitution turns \\\\ into \\, and sed turns \\ into \).
4008 sed -n \
4009 "s/'/'\\\\''/g;
4010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4011 ;; #(
4013 # `set' quotes correctly as required by POSIX, so do not add quotes.
4014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4016 esac |
4017 sort
4019 sed '
4020 /^ac_cv_env_/b end
4021 t clear
4022 :clear
4023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4024 t end
4025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4026 :end' >>confcache
4027 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4028 if test -w "$cache_file"; then
4029 test "x$cache_file" != "x/dev/null" &&
4030 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4031 $as_echo "$as_me: updating cache $cache_file" >&6;}
4032 cat confcache >$cache_file
4033 else
4034 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4035 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4038 rm -f confcache
4040 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4041 # Let make expand exec_prefix.
4042 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4044 DEFS=-DHAVE_CONFIG_H
4046 ac_libobjs=
4047 ac_ltlibobjs=
4048 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4049 # 1. Remove the extension, and $U if already installed.
4050 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4051 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4052 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4053 # will be set to the directory where LIBOBJS objects are built.
4054 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4055 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4056 done
4057 LIBOBJS=$ac_libobjs
4059 LTLIBOBJS=$ac_ltlibobjs
4062 if test -n "$EXEEXT"; then
4063 am__EXEEXT_TRUE=
4064 am__EXEEXT_FALSE='#'
4065 else
4066 am__EXEEXT_TRUE='#'
4067 am__EXEEXT_FALSE=
4070 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4071 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4072 Usually this means the macro was only invoked conditionally." >&5
4073 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4074 Usually this means the macro was only invoked conditionally." >&2;}
4075 { (exit 1); exit 1; }; }
4077 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4078 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4079 Usually this means the macro was only invoked conditionally." >&5
4080 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4081 Usually this means the macro was only invoked conditionally." >&2;}
4082 { (exit 1); exit 1; }; }
4085 : ${CONFIG_STATUS=./config.status}
4086 ac_write_fail=0
4087 ac_clean_files_save=$ac_clean_files
4088 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4089 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4090 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4091 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4092 #! $SHELL
4093 # Generated by $as_me.
4094 # Run this file to recreate the current configuration.
4095 # Compiler output produced by configure, useful for debugging
4096 # configure, is in config.log if it exists.
4098 debug=false
4099 ac_cs_recheck=false
4100 ac_cs_silent=false
4101 SHELL=\${CONFIG_SHELL-$SHELL}
4102 _ACEOF
4104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4105 ## --------------------- ##
4106 ## M4sh Initialization. ##
4107 ## --------------------- ##
4109 # Be more Bourne compatible
4110 DUALCASE=1; export DUALCASE # for MKS sh
4111 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4112 emulate sh
4113 NULLCMD=:
4114 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4115 # is contrary to our usage. Disable this feature.
4116 alias -g '${1+"$@"}'='"$@"'
4117 setopt NO_GLOB_SUBST
4118 else
4119 case `(set -o) 2>/dev/null` in
4120 *posix*) set -o posix ;;
4121 esac
4128 # PATH needs CR
4129 # Avoid depending upon Character Ranges.
4130 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4131 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4132 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4133 as_cr_digits='0123456789'
4134 as_cr_alnum=$as_cr_Letters$as_cr_digits
4136 as_nl='
4138 export as_nl
4139 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4140 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4141 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4142 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4143 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4144 as_echo='printf %s\n'
4145 as_echo_n='printf %s'
4146 else
4147 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4148 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4149 as_echo_n='/usr/ucb/echo -n'
4150 else
4151 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4152 as_echo_n_body='eval
4153 arg=$1;
4154 case $arg in
4155 *"$as_nl"*)
4156 expr "X$arg" : "X\\(.*\\)$as_nl";
4157 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4158 esac;
4159 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4161 export as_echo_n_body
4162 as_echo_n='sh -c $as_echo_n_body as_echo'
4164 export as_echo_body
4165 as_echo='sh -c $as_echo_body as_echo'
4168 # The user is always right.
4169 if test "${PATH_SEPARATOR+set}" != set; then
4170 PATH_SEPARATOR=:
4171 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4172 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4173 PATH_SEPARATOR=';'
4177 # Support unset when possible.
4178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4179 as_unset=unset
4180 else
4181 as_unset=false
4185 # IFS
4186 # We need space, tab and new line, in precisely that order. Quoting is
4187 # there to prevent editors from complaining about space-tab.
4188 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4189 # splitting by setting IFS to empty value.)
4190 IFS=" "" $as_nl"
4192 # Find who we are. Look in the path if we contain no directory separator.
4193 case $0 in
4194 *[\\/]* ) as_myself=$0 ;;
4195 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4196 for as_dir in $PATH
4198 IFS=$as_save_IFS
4199 test -z "$as_dir" && as_dir=.
4200 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4201 done
4202 IFS=$as_save_IFS
4205 esac
4206 # We did not find ourselves, most probably we were run as `sh COMMAND'
4207 # in which case we are not to be found in the path.
4208 if test "x$as_myself" = x; then
4209 as_myself=$0
4211 if test ! -f "$as_myself"; then
4212 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4213 { (exit 1); exit 1; }
4216 # Work around bugs in pre-3.0 UWIN ksh.
4217 for as_var in ENV MAIL MAILPATH
4218 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4219 done
4220 PS1='$ '
4221 PS2='> '
4222 PS4='+ '
4224 # NLS nuisances.
4225 LC_ALL=C
4226 export LC_ALL
4227 LANGUAGE=C
4228 export LANGUAGE
4230 # Required to use basename.
4231 if expr a : '\(a\)' >/dev/null 2>&1 &&
4232 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4233 as_expr=expr
4234 else
4235 as_expr=false
4238 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4239 as_basename=basename
4240 else
4241 as_basename=false
4245 # Name of the executable.
4246 as_me=`$as_basename -- "$0" ||
4247 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4248 X"$0" : 'X\(//\)$' \| \
4249 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4250 $as_echo X/"$0" |
4251 sed '/^.*\/\([^/][^/]*\)\/*$/{
4252 s//\1/
4255 /^X\/\(\/\/\)$/{
4256 s//\1/
4259 /^X\/\(\/\).*/{
4260 s//\1/
4263 s/.*/./; q'`
4265 # CDPATH.
4266 $as_unset CDPATH
4270 as_lineno_1=$LINENO
4271 as_lineno_2=$LINENO
4272 test "x$as_lineno_1" != "x$as_lineno_2" &&
4273 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4275 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4276 # uniformly replaced by the line number. The first 'sed' inserts a
4277 # line-number line after each line using $LINENO; the second 'sed'
4278 # does the real work. The second script uses 'N' to pair each
4279 # line-number line with the line containing $LINENO, and appends
4280 # trailing '-' during substitution so that $LINENO is not a special
4281 # case at line end.
4282 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4283 # scripts with optimization help from Paolo Bonzini. Blame Lee
4284 # E. McMahon (1931-1989) for sed's syntax. :-)
4285 sed -n '
4287 /[$]LINENO/=
4288 ' <$as_myself |
4289 sed '
4290 s/[$]LINENO.*/&-/
4291 t lineno
4293 :lineno
4295 :loop
4296 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4297 t loop
4298 s/-\n.*//
4299 ' >$as_me.lineno &&
4300 chmod +x "$as_me.lineno" ||
4301 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4302 { (exit 1); exit 1; }; }
4304 # Don't try to exec as it changes $[0], causing all sort of problems
4305 # (the dirname of $[0] is not the place where we might find the
4306 # original and so on. Autoconf is especially sensitive to this).
4307 . "./$as_me.lineno"
4308 # Exit status is that of the last command.
4309 exit
4313 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4314 as_dirname=dirname
4315 else
4316 as_dirname=false
4319 ECHO_C= ECHO_N= ECHO_T=
4320 case `echo -n x` in
4321 -n*)
4322 case `echo 'x\c'` in
4323 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4324 *) ECHO_C='\c';;
4325 esac;;
4327 ECHO_N='-n';;
4328 esac
4329 if expr a : '\(a\)' >/dev/null 2>&1 &&
4330 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4331 as_expr=expr
4332 else
4333 as_expr=false
4336 rm -f conf$$ conf$$.exe conf$$.file
4337 if test -d conf$$.dir; then
4338 rm -f conf$$.dir/conf$$.file
4339 else
4340 rm -f conf$$.dir
4341 mkdir conf$$.dir 2>/dev/null
4343 if (echo >conf$$.file) 2>/dev/null; then
4344 if ln -s conf$$.file conf$$ 2>/dev/null; then
4345 as_ln_s='ln -s'
4346 # ... but there are two gotchas:
4347 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4348 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4349 # In both cases, we have to default to `cp -p'.
4350 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4351 as_ln_s='cp -p'
4352 elif ln conf$$.file conf$$ 2>/dev/null; then
4353 as_ln_s=ln
4354 else
4355 as_ln_s='cp -p'
4357 else
4358 as_ln_s='cp -p'
4360 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4361 rmdir conf$$.dir 2>/dev/null
4363 if mkdir -p . 2>/dev/null; then
4364 as_mkdir_p=:
4365 else
4366 test -d ./-p && rmdir ./-p
4367 as_mkdir_p=false
4370 if test -x / >/dev/null 2>&1; then
4371 as_test_x='test -x'
4372 else
4373 if ls -dL / >/dev/null 2>&1; then
4374 as_ls_L_option=L
4375 else
4376 as_ls_L_option=
4378 as_test_x='
4379 eval sh -c '\''
4380 if test -d "$1"; then
4381 test -d "$1/.";
4382 else
4383 case $1 in
4384 -*)set "./$1";;
4385 esac;
4386 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4387 ???[sx]*):;;*)false;;esac;fi
4388 '\'' sh
4391 as_executable_p=$as_test_x
4393 # Sed expression to map a string onto a valid CPP name.
4394 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4396 # Sed expression to map a string onto a valid variable name.
4397 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4400 exec 6>&1
4402 # Save the log message, to keep $[0] and so on meaningful, and to
4403 # report actual input values of CONFIG_FILES etc. instead of their
4404 # values after options handling.
4405 ac_log="
4406 This file was extended by igmpproxy $as_me 0.1, which was
4407 generated by GNU Autoconf 2.63. Invocation command line was
4409 CONFIG_FILES = $CONFIG_FILES
4410 CONFIG_HEADERS = $CONFIG_HEADERS
4411 CONFIG_LINKS = $CONFIG_LINKS
4412 CONFIG_COMMANDS = $CONFIG_COMMANDS
4413 $ $0 $@
4415 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4418 _ACEOF
4420 case $ac_config_files in *"
4421 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4422 esac
4424 case $ac_config_headers in *"
4425 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4426 esac
4429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4430 # Files that config.status was made for.
4431 config_files="$ac_config_files"
4432 config_headers="$ac_config_headers"
4433 config_links="$ac_config_links"
4434 config_commands="$ac_config_commands"
4436 _ACEOF
4438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4439 ac_cs_usage="\
4440 \`$as_me' instantiates files from templates according to the
4441 current configuration.
4443 Usage: $0 [OPTION]... [FILE]...
4445 -h, --help print this help, then exit
4446 -V, --version print version number and configuration settings, then exit
4447 -q, --quiet, --silent
4448 do not print progress messages
4449 -d, --debug don't remove temporary files
4450 --recheck update $as_me by reconfiguring in the same conditions
4451 --file=FILE[:TEMPLATE]
4452 instantiate the configuration file FILE
4453 --header=FILE[:TEMPLATE]
4454 instantiate the configuration header FILE
4456 Configuration files:
4457 $config_files
4459 Configuration headers:
4460 $config_headers
4462 Configuration links:
4463 $config_links
4465 Configuration commands:
4466 $config_commands
4468 Report bugs to <bug-autoconf@gnu.org>."
4470 _ACEOF
4471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4472 ac_cs_version="\\
4473 igmpproxy config.status 0.1
4474 configured by $0, generated by GNU Autoconf 2.63,
4475 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4477 Copyright (C) 2008 Free Software Foundation, Inc.
4478 This config.status script is free software; the Free Software Foundation
4479 gives unlimited permission to copy, distribute and modify it."
4481 ac_pwd='$ac_pwd'
4482 srcdir='$srcdir'
4483 INSTALL='$INSTALL'
4484 MKDIR_P='$MKDIR_P'
4485 AWK='$AWK'
4486 test -n "\$AWK" || AWK=awk
4487 _ACEOF
4489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4490 # The default lists apply if the user does not specify any file.
4491 ac_need_defaults=:
4492 while test $# != 0
4494 case $1 in
4495 --*=*)
4496 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4497 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4498 ac_shift=:
4501 ac_option=$1
4502 ac_optarg=$2
4503 ac_shift=shift
4505 esac
4507 case $ac_option in
4508 # Handling of the options.
4509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4510 ac_cs_recheck=: ;;
4511 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4512 $as_echo "$ac_cs_version"; exit ;;
4513 --debug | --debu | --deb | --de | --d | -d )
4514 debug=: ;;
4515 --file | --fil | --fi | --f )
4516 $ac_shift
4517 case $ac_optarg in
4518 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4519 esac
4520 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4521 ac_need_defaults=false;;
4522 --header | --heade | --head | --hea )
4523 $ac_shift
4524 case $ac_optarg in
4525 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4526 esac
4527 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4528 ac_need_defaults=false;;
4529 --he | --h)
4530 # Conflict between --help and --header
4531 { $as_echo "$as_me: error: ambiguous option: $1
4532 Try \`$0 --help' for more information." >&2
4533 { (exit 1); exit 1; }; };;
4534 --help | --hel | -h )
4535 $as_echo "$ac_cs_usage"; exit ;;
4536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4538 ac_cs_silent=: ;;
4540 # This is an error.
4541 -*) { $as_echo "$as_me: error: unrecognized option: $1
4542 Try \`$0 --help' for more information." >&2
4543 { (exit 1); exit 1; }; } ;;
4545 *) ac_config_targets="$ac_config_targets $1"
4546 ac_need_defaults=false ;;
4548 esac
4549 shift
4550 done
4552 ac_configure_extra_args=
4554 if $ac_cs_silent; then
4555 exec 6>/dev/null
4556 ac_configure_extra_args="$ac_configure_extra_args --silent"
4559 _ACEOF
4560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4561 if \$ac_cs_recheck; then
4562 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4563 shift
4564 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4565 CONFIG_SHELL='$SHELL'
4566 export CONFIG_SHELL
4567 exec "\$@"
4570 _ACEOF
4571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4572 exec 5>>config.log
4574 echo
4575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4576 ## Running $as_me. ##
4577 _ASBOX
4578 $as_echo "$ac_log"
4579 } >&5
4581 _ACEOF
4582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4584 # INIT-COMMANDS
4586 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4588 _ACEOF
4590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4592 # Handling of arguments.
4593 for ac_config_target in $ac_config_targets
4595 case $ac_config_target in
4596 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4597 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4598 "src/os.h") CONFIG_LINKS="$CONFIG_LINKS src/os.h:src/os-${os}.h" ;;
4599 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4600 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4601 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4602 "doc/igmpproxy.8") CONFIG_FILES="$CONFIG_FILES doc/igmpproxy.8" ;;
4603 "doc/igmpproxy.conf.5") CONFIG_FILES="$CONFIG_FILES doc/igmpproxy.conf.5" ;;
4605 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4606 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4607 { (exit 1); exit 1; }; };;
4608 esac
4609 done
4612 # If the user did not use the arguments to specify the items to instantiate,
4613 # then the envvar interface is used. Set only those that are not.
4614 # We use the long form for the default assignment because of an extremely
4615 # bizarre bug on SunOS 4.1.3.
4616 if $ac_need_defaults; then
4617 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4618 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4619 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
4620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4623 # Have a temporary directory for convenience. Make it in the build tree
4624 # simply because there is no reason against having it here, and in addition,
4625 # creating and moving files from /tmp can sometimes cause problems.
4626 # Hook for its removal unless debugging.
4627 # Note that there is a small window in which the directory will not be cleaned:
4628 # after its creation but before its name has been assigned to `$tmp'.
4629 $debug ||
4631 tmp=
4632 trap 'exit_status=$?
4633 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4635 trap '{ (exit 1); exit 1; }' 1 2 13 15
4637 # Create a (secure) tmp directory for tmp files.
4640 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4641 test -n "$tmp" && test -d "$tmp"
4642 } ||
4644 tmp=./conf$$-$RANDOM
4645 (umask 077 && mkdir "$tmp")
4646 } ||
4648 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4649 { (exit 1); exit 1; }
4652 # Set up the scripts for CONFIG_FILES section.
4653 # No need to generate them if there are no CONFIG_FILES.
4654 # This happens for instance with `./config.status config.h'.
4655 if test -n "$CONFIG_FILES"; then
4658 ac_cr=' '
4659 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4660 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4661 ac_cs_awk_cr='\\r'
4662 else
4663 ac_cs_awk_cr=$ac_cr
4666 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4667 _ACEOF
4671 echo "cat >conf$$subs.awk <<_ACEOF" &&
4672 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4673 echo "_ACEOF"
4674 } >conf$$subs.sh ||
4675 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4676 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4677 { (exit 1); exit 1; }; }
4678 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4679 ac_delim='%!_!# '
4680 for ac_last_try in false false false false false :; do
4681 . ./conf$$subs.sh ||
4682 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4683 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4684 { (exit 1); exit 1; }; }
4686 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4687 if test $ac_delim_n = $ac_delim_num; then
4688 break
4689 elif $ac_last_try; then
4690 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4691 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4692 { (exit 1); exit 1; }; }
4693 else
4694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4696 done
4697 rm -f conf$$subs.sh
4699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4700 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4701 _ACEOF
4702 sed -n '
4704 s/^/S["/; s/!.*/"]=/
4707 s/^[^!]*!//
4708 :repl
4709 t repl
4710 s/'"$ac_delim"'$//
4711 t delim
4714 s/\(.\{148\}\).*/\1/
4715 t more1
4716 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4719 b repl
4720 :more1
4721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4724 s/.\{148\}//
4725 t nl
4726 :delim
4728 s/\(.\{148\}\).*/\1/
4729 t more2
4730 s/["\\]/\\&/g; s/^/"/; s/$/"/
4733 :more2
4734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4737 s/.\{148\}//
4738 t delim
4739 ' <conf$$subs.awk | sed '
4740 /^[^""]/{
4742 s/\n//
4744 ' >>$CONFIG_STATUS || ac_write_fail=1
4745 rm -f conf$$subs.awk
4746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4747 _ACAWK
4748 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4749 for (key in S) S_is_set[key] = 1
4750 FS = "\a"
4754 line = $ 0
4755 nfields = split(line, field, "@")
4756 substed = 0
4757 len = length(field[1])
4758 for (i = 2; i < nfields; i++) {
4759 key = field[i]
4760 keylen = length(key)
4761 if (S_is_set[key]) {
4762 value = S[key]
4763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4764 len += length(value) + length(field[++i])
4765 substed = 1
4766 } else
4767 len += 1 + keylen
4770 print line
4773 _ACAWK
4774 _ACEOF
4775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4776 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4777 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4778 else
4780 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4781 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4782 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4783 { (exit 1); exit 1; }; }
4784 _ACEOF
4786 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4787 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4788 # trailing colons and then remove the whole line if VPATH becomes empty
4789 # (actually we leave an empty line to preserve line numbers).
4790 if test "x$srcdir" = x.; then
4791 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4792 s/:*\$(srcdir):*/:/
4793 s/:*\${srcdir}:*/:/
4794 s/:*@srcdir@:*/:/
4795 s/^\([^=]*=[ ]*\):*/\1/
4796 s/:*$//
4797 s/^[^=]*=[ ]*$//
4801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4802 fi # test -n "$CONFIG_FILES"
4804 # Set up the scripts for CONFIG_HEADERS section.
4805 # No need to generate them if there are no CONFIG_HEADERS.
4806 # This happens for instance with `./config.status Makefile'.
4807 if test -n "$CONFIG_HEADERS"; then
4808 cat >"$tmp/defines.awk" <<\_ACAWK ||
4809 BEGIN {
4810 _ACEOF
4812 # Transform confdefs.h into an awk script `defines.awk', embedded as
4813 # here-document in config.status, that substitutes the proper values into
4814 # config.h.in to produce config.h.
4816 # Create a delimiter string that does not exist in confdefs.h, to ease
4817 # handling of long lines.
4818 ac_delim='%!_!# '
4819 for ac_last_try in false false :; do
4820 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4821 if test -z "$ac_t"; then
4822 break
4823 elif $ac_last_try; then
4824 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
4825 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
4826 { (exit 1); exit 1; }; }
4827 else
4828 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4830 done
4832 # For the awk script, D is an array of macro values keyed by name,
4833 # likewise P contains macro parameters if any. Preserve backslash
4834 # newline sequences.
4836 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4837 sed -n '
4838 s/.\{148\}/&'"$ac_delim"'/g
4839 t rset
4840 :rset
4841 s/^[ ]*#[ ]*define[ ][ ]*/ /
4842 t def
4844 :def
4845 s/\\$//
4846 t bsnl
4847 s/["\\]/\\&/g
4848 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4849 D["\1"]=" \3"/p
4850 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4852 :bsnl
4853 s/["\\]/\\&/g
4854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4855 D["\1"]=" \3\\\\\\n"\\/p
4856 t cont
4857 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4858 t cont
4860 :cont
4862 s/.\{148\}/&'"$ac_delim"'/g
4863 t clear
4864 :clear
4865 s/\\$//
4866 t bsnlc
4867 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4869 :bsnlc
4870 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4871 b cont
4872 ' <confdefs.h | sed '
4873 s/'"$ac_delim"'/"\\\
4874 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4877 for (key in D) D_is_set[key] = 1
4878 FS = "\a"
4880 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4881 line = \$ 0
4882 split(line, arg, " ")
4883 if (arg[1] == "#") {
4884 defundef = arg[2]
4885 mac1 = arg[3]
4886 } else {
4887 defundef = substr(arg[1], 2)
4888 mac1 = arg[2]
4890 split(mac1, mac2, "(") #)
4891 macro = mac2[1]
4892 prefix = substr(line, 1, index(line, defundef) - 1)
4893 if (D_is_set[macro]) {
4894 # Preserve the white space surrounding the "#".
4895 print prefix "define", macro P[macro] D[macro]
4896 next
4897 } else {
4898 # Replace #undef with comments. This is necessary, for example,
4899 # in the case of _POSIX_SOURCE, which is predefined and required
4900 # on some systems where configure will not decide to define it.
4901 if (defundef == "undef") {
4902 print "/*", prefix defundef, macro, "*/"
4903 next
4907 { print }
4908 _ACAWK
4909 _ACEOF
4910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4911 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
4912 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
4913 { (exit 1); exit 1; }; }
4914 fi # test -n "$CONFIG_HEADERS"
4917 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
4918 shift
4919 for ac_tag
4921 case $ac_tag in
4922 :[FHLC]) ac_mode=$ac_tag; continue;;
4923 esac
4924 case $ac_mode$ac_tag in
4925 :[FHL]*:*);;
4926 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4927 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4928 { (exit 1); exit 1; }; };;
4929 :[FH]-) ac_tag=-:-;;
4930 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4931 esac
4932 ac_save_IFS=$IFS
4933 IFS=:
4934 set x $ac_tag
4935 IFS=$ac_save_IFS
4936 shift
4937 ac_file=$1
4938 shift
4940 case $ac_mode in
4941 :L) ac_source=$1;;
4942 :[FH])
4943 ac_file_inputs=
4944 for ac_f
4946 case $ac_f in
4947 -) ac_f="$tmp/stdin";;
4948 *) # Look for the file first in the build tree, then in the source tree
4949 # (if the path is not absolute). The absolute path cannot be DOS-style,
4950 # because $ac_f cannot contain `:'.
4951 test -f "$ac_f" ||
4952 case $ac_f in
4953 [\\/$]*) false;;
4954 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4955 esac ||
4956 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4957 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4958 { (exit 1); exit 1; }; };;
4959 esac
4960 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4961 ac_file_inputs="$ac_file_inputs '$ac_f'"
4962 done
4964 # Let's still pretend it is `configure' which instantiates (i.e., don't
4965 # use $as_me), people would be surprised to read:
4966 # /* config.h. Generated by config.status. */
4967 configure_input='Generated from '`
4968 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4969 `' by configure.'
4970 if test x"$ac_file" != x-; then
4971 configure_input="$ac_file. $configure_input"
4972 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4973 $as_echo "$as_me: creating $ac_file" >&6;}
4975 # Neutralize special characters interpreted by sed in replacement strings.
4976 case $configure_input in #(
4977 *\&* | *\|* | *\\* )
4978 ac_sed_conf_input=`$as_echo "$configure_input" |
4979 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4980 *) ac_sed_conf_input=$configure_input;;
4981 esac
4983 case $ac_tag in
4984 *:-:* | *:-) cat >"$tmp/stdin" \
4985 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4986 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4987 { (exit 1); exit 1; }; } ;;
4988 esac
4990 esac
4992 ac_dir=`$as_dirname -- "$ac_file" ||
4993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4994 X"$ac_file" : 'X\(//\)[^/]' \| \
4995 X"$ac_file" : 'X\(//\)$' \| \
4996 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4997 $as_echo X"$ac_file" |
4998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4999 s//\1/
5002 /^X\(\/\/\)[^/].*/{
5003 s//\1/
5006 /^X\(\/\/\)$/{
5007 s//\1/
5010 /^X\(\/\).*/{
5011 s//\1/
5014 s/.*/./; q'`
5015 { as_dir="$ac_dir"
5016 case $as_dir in #(
5017 -*) as_dir=./$as_dir;;
5018 esac
5019 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5020 as_dirs=
5021 while :; do
5022 case $as_dir in #(
5023 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5024 *) as_qdir=$as_dir;;
5025 esac
5026 as_dirs="'$as_qdir' $as_dirs"
5027 as_dir=`$as_dirname -- "$as_dir" ||
5028 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5029 X"$as_dir" : 'X\(//\)[^/]' \| \
5030 X"$as_dir" : 'X\(//\)$' \| \
5031 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5032 $as_echo X"$as_dir" |
5033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5034 s//\1/
5037 /^X\(\/\/\)[^/].*/{
5038 s//\1/
5041 /^X\(\/\/\)$/{
5042 s//\1/
5045 /^X\(\/\).*/{
5046 s//\1/
5049 s/.*/./; q'`
5050 test -d "$as_dir" && break
5051 done
5052 test -z "$as_dirs" || eval "mkdir $as_dirs"
5053 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5054 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5055 { (exit 1); exit 1; }; }; }
5056 ac_builddir=.
5058 case "$ac_dir" in
5059 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5061 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5062 # A ".." for each directory in $ac_dir_suffix.
5063 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5064 case $ac_top_builddir_sub in
5065 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5066 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5067 esac ;;
5068 esac
5069 ac_abs_top_builddir=$ac_pwd
5070 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5071 # for backward compatibility:
5072 ac_top_builddir=$ac_top_build_prefix
5074 case $srcdir in
5075 .) # We are building in place.
5076 ac_srcdir=.
5077 ac_top_srcdir=$ac_top_builddir_sub
5078 ac_abs_top_srcdir=$ac_pwd ;;
5079 [\\/]* | ?:[\\/]* ) # Absolute name.
5080 ac_srcdir=$srcdir$ac_dir_suffix;
5081 ac_top_srcdir=$srcdir
5082 ac_abs_top_srcdir=$srcdir ;;
5083 *) # Relative name.
5084 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5085 ac_top_srcdir=$ac_top_build_prefix$srcdir
5086 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5087 esac
5088 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5091 case $ac_mode in
5094 # CONFIG_FILE
5097 case $INSTALL in
5098 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5099 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5100 esac
5101 ac_MKDIR_P=$MKDIR_P
5102 case $MKDIR_P in
5103 [\\/$]* | ?:[\\/]* ) ;;
5104 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5105 esac
5106 _ACEOF
5108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5109 # If the template does not know about datarootdir, expand it.
5110 # FIXME: This hack should be removed a few years after 2.60.
5111 ac_datarootdir_hack=; ac_datarootdir_seen=
5113 ac_sed_dataroot='
5114 /datarootdir/ {
5118 /@datadir@/p
5119 /@docdir@/p
5120 /@infodir@/p
5121 /@localedir@/p
5122 /@mandir@/p
5124 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5125 *datarootdir*) ac_datarootdir_seen=yes;;
5126 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5127 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5128 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5129 _ACEOF
5130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5131 ac_datarootdir_hack='
5132 s&@datadir@&$datadir&g
5133 s&@docdir@&$docdir&g
5134 s&@infodir@&$infodir&g
5135 s&@localedir@&$localedir&g
5136 s&@mandir@&$mandir&g
5137 s&\\\${datarootdir}&$datarootdir&g' ;;
5138 esac
5139 _ACEOF
5141 # Neutralize VPATH when `$srcdir' = `.'.
5142 # Shell code in configure.ac might set extrasub.
5143 # FIXME: do we really want to maintain this feature?
5144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145 ac_sed_extra="$ac_vpsub
5146 $extrasub
5147 _ACEOF
5148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5151 s|@configure_input@|$ac_sed_conf_input|;t t
5152 s&@top_builddir@&$ac_top_builddir_sub&;t t
5153 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5154 s&@srcdir@&$ac_srcdir&;t t
5155 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5156 s&@top_srcdir@&$ac_top_srcdir&;t t
5157 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5158 s&@builddir@&$ac_builddir&;t t
5159 s&@abs_builddir@&$ac_abs_builddir&;t t
5160 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5161 s&@INSTALL@&$ac_INSTALL&;t t
5162 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5163 $ac_datarootdir_hack
5165 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5166 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5167 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5168 { (exit 1); exit 1; }; }
5170 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5171 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5172 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5173 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5174 which seems to be undefined. Please make sure it is defined." >&5
5175 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5176 which seems to be undefined. Please make sure it is defined." >&2;}
5178 rm -f "$tmp/stdin"
5179 case $ac_file in
5180 -) cat "$tmp/out" && rm -f "$tmp/out";;
5181 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5182 esac \
5183 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5184 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5185 { (exit 1); exit 1; }; }
5189 # CONFIG_HEADER
5191 if test x"$ac_file" != x-; then
5193 $as_echo "/* $configure_input */" \
5194 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5195 } >"$tmp/config.h" \
5196 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5197 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5198 { (exit 1); exit 1; }; }
5199 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5200 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5201 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5202 else
5203 rm -f "$ac_file"
5204 mv "$tmp/config.h" "$ac_file" \
5205 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5206 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5207 { (exit 1); exit 1; }; }
5209 else
5210 $as_echo "/* $configure_input */" \
5211 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5212 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5213 $as_echo "$as_me: error: could not create -" >&2;}
5214 { (exit 1); exit 1; }; }
5216 # Compute "$ac_file"'s index in $config_headers.
5217 _am_arg="$ac_file"
5218 _am_stamp_count=1
5219 for _am_header in $config_headers :; do
5220 case $_am_header in
5221 $_am_arg | $_am_arg:* )
5222 break ;;
5224 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5225 esac
5226 done
5227 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5228 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5229 X"$_am_arg" : 'X\(//\)[^/]' \| \
5230 X"$_am_arg" : 'X\(//\)$' \| \
5231 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5232 $as_echo X"$_am_arg" |
5233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5234 s//\1/
5237 /^X\(\/\/\)[^/].*/{
5238 s//\1/
5241 /^X\(\/\/\)$/{
5242 s//\1/
5245 /^X\(\/\).*/{
5246 s//\1/
5249 s/.*/./; q'`/stamp-h$_am_stamp_count
5253 # CONFIG_LINK
5256 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
5258 else
5259 # Prefer the file from the source tree if names are identical.
5260 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5261 ac_source=$srcdir/$ac_source
5264 { $as_echo "$as_me:$LINENO: linking $ac_source to $ac_file" >&5
5265 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5267 if test ! -r "$ac_source"; then
5268 { { $as_echo "$as_me:$LINENO: error: $ac_source: file not found" >&5
5269 $as_echo "$as_me: error: $ac_source: file not found" >&2;}
5270 { (exit 1); exit 1; }; }
5272 rm -f "$ac_file"
5274 # Try a relative symlink, then a hard link, then a copy.
5275 case $srcdir in
5276 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5277 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5278 esac
5279 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5280 ln "$ac_source" "$ac_file" 2>/dev/null ||
5281 cp -p "$ac_source" "$ac_file" ||
5282 { { $as_echo "$as_me:$LINENO: error: cannot link or copy $ac_source to $ac_file" >&5
5283 $as_echo "$as_me: error: cannot link or copy $ac_source to $ac_file" >&2;}
5284 { (exit 1); exit 1; }; }
5287 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5288 $as_echo "$as_me: executing $ac_file commands" >&6;}
5290 esac
5293 case $ac_file$ac_mode in
5294 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5295 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5296 # are listed without --file. Let's play safe and only enable the eval
5297 # if we detect the quoting.
5298 case $CONFIG_FILES in
5299 *\'*) eval set x "$CONFIG_FILES" ;;
5300 *) set x $CONFIG_FILES ;;
5301 esac
5302 shift
5303 for mf
5305 # Strip MF so we end up with the name of the file.
5306 mf=`echo "$mf" | sed -e 's/:.*$//'`
5307 # Check whether this is an Automake generated Makefile or not.
5308 # We used to match only the files named `Makefile.in', but
5309 # some people rename them; so instead we look at the file content.
5310 # Grep'ing the first line is not enough: some people post-process
5311 # each Makefile.in and add a new line on top of each file to say so.
5312 # Grep'ing the whole file is not good either: AIX grep has a line
5313 # limit of 2048, but all sed's we know have understand at least 4000.
5314 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5315 dirpart=`$as_dirname -- "$mf" ||
5316 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5317 X"$mf" : 'X\(//\)[^/]' \| \
5318 X"$mf" : 'X\(//\)$' \| \
5319 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5320 $as_echo X"$mf" |
5321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5322 s//\1/
5325 /^X\(\/\/\)[^/].*/{
5326 s//\1/
5329 /^X\(\/\/\)$/{
5330 s//\1/
5333 /^X\(\/\).*/{
5334 s//\1/
5337 s/.*/./; q'`
5338 else
5339 continue
5341 # Extract the definition of DEPDIR, am__include, and am__quote
5342 # from the Makefile without running `make'.
5343 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5344 test -z "$DEPDIR" && continue
5345 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5346 test -z "am__include" && continue
5347 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5348 # When using ansi2knr, U may be empty or an underscore; expand it
5349 U=`sed -n 's/^U = //p' < "$mf"`
5350 # Find all dependency output files, they are included files with
5351 # $(DEPDIR) in their names. We invoke sed twice because it is the
5352 # simplest approach to changing $(DEPDIR) to its actual value in the
5353 # expansion.
5354 for file in `sed -n "
5355 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5356 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5357 # Make sure the directory exists.
5358 test -f "$dirpart/$file" && continue
5359 fdir=`$as_dirname -- "$file" ||
5360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5361 X"$file" : 'X\(//\)[^/]' \| \
5362 X"$file" : 'X\(//\)$' \| \
5363 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5364 $as_echo X"$file" |
5365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5366 s//\1/
5369 /^X\(\/\/\)[^/].*/{
5370 s//\1/
5373 /^X\(\/\/\)$/{
5374 s//\1/
5377 /^X\(\/\).*/{
5378 s//\1/
5381 s/.*/./; q'`
5382 { as_dir=$dirpart/$fdir
5383 case $as_dir in #(
5384 -*) as_dir=./$as_dir;;
5385 esac
5386 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5387 as_dirs=
5388 while :; do
5389 case $as_dir in #(
5390 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5391 *) as_qdir=$as_dir;;
5392 esac
5393 as_dirs="'$as_qdir' $as_dirs"
5394 as_dir=`$as_dirname -- "$as_dir" ||
5395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5396 X"$as_dir" : 'X\(//\)[^/]' \| \
5397 X"$as_dir" : 'X\(//\)$' \| \
5398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5399 $as_echo X"$as_dir" |
5400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5401 s//\1/
5404 /^X\(\/\/\)[^/].*/{
5405 s//\1/
5408 /^X\(\/\/\)$/{
5409 s//\1/
5412 /^X\(\/\).*/{
5413 s//\1/
5416 s/.*/./; q'`
5417 test -d "$as_dir" && break
5418 done
5419 test -z "$as_dirs" || eval "mkdir $as_dirs"
5420 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5421 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5422 { (exit 1); exit 1; }; }; }
5423 # echo "creating $dirpart/$file"
5424 echo '# dummy' > "$dirpart/$file"
5425 done
5426 done
5430 esac
5431 done # for ac_tag
5434 { (exit 0); exit 0; }
5435 _ACEOF
5436 chmod +x $CONFIG_STATUS
5437 ac_clean_files=$ac_clean_files_save
5439 test $ac_write_fail = 0 ||
5440 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5441 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5442 { (exit 1); exit 1; }; }
5445 # configure is writing to config.log, and then calls config.status.
5446 # config.status does its own redirection, appending to config.log.
5447 # Unfortunately, on DOS this fails, as config.log is still kept open
5448 # by configure, so config.status won't be able to write to it; its
5449 # output is simply discarded. So we exec the FD to /dev/null,
5450 # effectively closing config.log, so it can be properly (re)opened and
5451 # appended to by config.status. When coming back to configure, we
5452 # need to make the FD available again.
5453 if test "$no_create" != yes; then
5454 ac_cs_success=:
5455 ac_config_status_args=
5456 test "$silent" = yes &&
5457 ac_config_status_args="$ac_config_status_args --quiet"
5458 exec 5>/dev/null
5459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5460 exec 5>>config.log
5461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5462 # would make configure fail if this is the last instruction.
5463 $ac_cs_success || { (exit 1); exit 1; }
5465 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5466 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5467 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}