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
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+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
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
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
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
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
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
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; }
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
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 () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
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.
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
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. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
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
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 ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
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
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`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
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'
601 ac_unique_file
="src/igmpproxy.c"
602 ac_subst_vars
='am__EXEEXT_FALSE
638 INSTALL_STRIP_PROGRAM
680 program_transform_name
692 enable_option_checking
693 enable_dependency_tracking
695 ac_precious_vars
='build_alias
705 # Initialize some variables set by options.
707 ac_init_version
=false
708 ac_unrecognized_opts
=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
719 program_transform_name
=s
,x
,x
,
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'
749 libdir
='${exec_prefix}/lib'
750 localedir
='${datarootdir}/locale'
751 mandir
='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\
$ac_option
765 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769 # Accept the important Cygnus configure options, so we can diagnose typos.
771 case $ac_dashdash$ac_option in
775 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
777 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
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 ;;
793 cache_file
=config.cache
;;
795 -datadir |
--datadir |
--datadi |
--datad)
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
819 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep
=', ';;
822 eval enable_
$ac_useropt=no
;;
824 -docdir |
--docdir |
--docdi |
--doc |
--do)
826 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
829 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
831 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
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
846 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep
=', ';;
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.
864 -help |
--help |
--hel |
--he |
-h)
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)
878 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
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)
891 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
892 infodir
=$ac_optarg ;;
894 -libdir |
--libdir |
--libdi |
--libd)
896 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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)
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)
920 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
924 # Obsolete; use --without-fp.
927 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
928 |
--no-cr |
--no-c |
-n)
931 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
932 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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)
946 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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)
982 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
985 -psdir |
--psdir |
--psdi |
--psd |
--ps)
987 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
990 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
991 |
-silent |
--silent |
--silen |
--sile |
--sil)
994 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
996 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
998 sbindir
=$ac_optarg ;;
1000 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1001 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1002 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1004 ac_prev
=sharedstatedir
;;
1005 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1006 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1007 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1009 sharedstatedir
=$ac_optarg ;;
1011 -site |
--site |
--sit)
1013 -site=* |
--site=* |
--sit=*)
1016 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
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)
1036 -version |
--version |
--versio |
--versi |
--vers |
-V)
1037 ac_init_version
=: ;;
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
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
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
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval with_
$ac_useropt=no
;;
1074 # Obsolete; use --with-x.
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; }; }
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}
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
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 ;;
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.
1141 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\
$ac_val;;
1144 # Be sure to have absolute directory names.
1146 [\\/$
]* | ?
:[\\/]* ) continue;;
1147 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1149 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1150 { (exit 1); exit 1; }; }
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.
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
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215 if test ! -r "$srcdir/$ac_unique_file"; then
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"
1228 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1229 { (exit 1); exit 1; }; }
1231 # When building in place, set srcdir=.
1232 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1239 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
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.
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.
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
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]
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
1318 --build=BUILD configure
for building on BUILD
[guessed
]
1319 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1323 if test -n "$ac_init_help"; then
1324 case $ac_init_help in
1325 short | recursive
) echo "Configuration of igmpproxy 0.1:";;
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.
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"; } ||
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/ ;;
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
1377 .) # We are building in place.
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 ;;
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 ;;
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
1396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397 elif test -f "$ac_srcdir/configure"; then
1399 $SHELL "$ac_srcdir/configure" --help=recursive
1401 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403 cd "$ac_pwd" || { ac_status=$?; break; }
1407 test -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
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.
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
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
`
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 test -z "$as_dir" && as_dir=.
1461 $as_echo "PATH: $as_dir"
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.
1485 ac_must_keep_next=false
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)
1496 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1514 -* ) ac_must_keep_next=true ;;
1517 ac_configure_args="$ac_configure_args '$ac_arg'"
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.
1536 ## ---------------- ##
1537 ## Cache variables. ##
1538 ## ---------------- ##
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
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;} ;;
1552 _ | IFS | as_nl) ;; #(
1553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1554 *) $as_unset $ac_var ;;
1559 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1560 *${as_nl}ac_space=\ *)
1562 "s/'\''/'\''\\\\'\'''\''/g;
1563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1574 ## ----------------- ##
1575 ## Output variables. ##
1576 ## ----------------- ##
1579 for ac_var in $ac_subst_vars
1581 eval ac_val=\$$ac_var
1583 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1585 $as_echo "$ac_var='\''$ac_val'\''"
1589 if test -n "$ac_subst_files"; then
1591 ## ------------------- ##
1592 ## File substitutions. ##
1593 ## ------------------- ##
1596 for ac_var in $ac_subst_files
1598 eval ac_val=\$$ac_var
1600 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1602 $as_echo "$ac_var='\''$ac_val'\''"
1607 if test -s confdefs.h; then
1617 test "$ac_signal" != 0 &&
1618 $as_echo "$as_me: caught signal $ac_signal"
1619 $as_echo "$as_me: exit $exit_status"
1621 rm -f core *.core core.conftest.* &&
1622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1625 for ac_signal in 1 2 13 15; do
1626 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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"
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_STRING "$PACKAGE_STRING"
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1660 # Let the site file select an alternate cache file if it wants to.
1661 # Prefer an explicitly selected file to automatically selected ones.
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
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
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;}
1691 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1692 *) . "./$cache_file";;
1696 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1697 $as_echo "$as_me: creating cache $cache_file" >&6;}
1701 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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;}
1739 # Pass precious variables to config.status.
1740 if test "$ac_new_set" = set; then
1742 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1743 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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'
1795 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1796 if test -f "$ac_dir/install-sh
"; then
1798 ac_install_sh="$ac_aux_dir/install-sh
-c"
1800 elif test -f "$ac_dir/install.sh
"; then
1802 ac_install_sh="$ac_aux_dir/install.sh
-c"
1804 elif test -f "$ac_dir/shtool
"; then
1806 ac_install_sh="$ac_aux_dir/shtool
install -c"
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
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
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir=.
1850 # Account for people who put trailing slashes in PATH elements.
1852 ./ | .// | /cC/* | \
1853 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1854 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
1872 rm -rf conftest.one conftest.two conftest.dir
1873 echo one > conftest.one
1874 echo two > conftest.two
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
1881 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
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
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; }
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.
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; }; };;
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; }; };;
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
1946 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1947 if test "$*" = "X"; then
1949 set X
`ls -t "$srcdir/configure" 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
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
1996 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
1998 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2001 # Use eval to expand $SHELL
2002 if eval "$MISSING --run true"; then
2003 am_missing_run
="$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
2013 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2015 install_sh
="\${SHELL} $am_aux_dir/install-sh"
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
2032 if test -n "$STRIP"; then
2033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
2057 { $as_echo "$as_me:$LINENO: result: no" >&5
2058 $as_echo "no" >&6; }
2063 if test -z "$ac_cv_prog_STRIP"; then
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
2072 if test -n "$ac_ct_STRIP"; then
2073 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
2097 { $as_echo "$as_me:$LINENO: result: no" >&5
2098 $as_echo "no" >&6; }
2101 if test "x$ac_ct_STRIP" = x
; then
2104 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
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
2147 if test "${ac_cv_path_mkdir+set}" = set; then
2148 MKDIR_P
="$ac_cv_path_mkdir -p"
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; }
2163 [\\/$
]* | ?
:[\\/]*) ;;
2164 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
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
2176 if test -n "$AWK"; then
2177 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2197 if test -n "$AWK"; then
2198 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2199 $as_echo "$AWK" >&6; }
2201 { $as_echo "$as_me:$LINENO: result: no" >&5
2202 $as_echo "no" >&6; }
2206 test -n "$AWK" && break
2209 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2210 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
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
2216 cat >conftest.
make <<\_ACEOF
2219 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2222 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2224 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2226 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
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; }
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
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'
2271 # Define the identity of the package.
2276 cat >>confdefs.h
<<_ACEOF
2277 #define PACKAGE "$PACKAGE"
2281 cat >>confdefs.h
<<_ACEOF
2282 #define VERSION "$VERSION"
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
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'
2324 @
echo this is the am__doit target
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; }
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
*)
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
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"
2369 if test "x$enable_dependency_tracking" != xno; then
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
2391 if test -n "$CC"; then
2392 ac_cv_prog_CC
="$CC" # Let the user override the test.
2394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2412 if test -n "$CC"; then
2413 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2414 $as_echo "$CC" >&6; }
2416 { $as_echo "$as_me:$LINENO: result: no" >&5
2417 $as_echo "no" >&6; }
2422 if test -z "$ac_cv_prog_CC"; then
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
2431 if test -n "$ac_ct_CC"; then
2432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
2456 { $as_echo "$as_me:$LINENO: result: no" >&5
2457 $as_echo "no" >&6; }
2460 if test "x$ac_ct_CC" = x
; then
2463 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC
="$CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2505 if test -n "$CC"; then
2506 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2507 $as_echo "$CC" >&6; }
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
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC
="$CC" # Let the user override the test.
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
2556 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2562 if test -n "$CC"; then
2563 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2564 $as_echo "$CC" >&6; }
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
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC
="$CC" # Let the user override the test.
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2604 if test -n "$CC"; then
2605 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2606 $as_echo "$CC" >&6; }
2608 { $as_echo "$as_me:$LINENO: result: no" >&5
2609 $as_echo "no" >&6; }
2613 test -n "$CC" && break
2616 if test -z "$CC"; then
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
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
2652 { $as_echo "$as_me:$LINENO: result: no" >&5
2653 $as_echo "no" >&6; }
2657 test -n "$ac_ct_CC" && break
2660 if test "x$ac_ct_CC" = x
; then
2663 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2688 { (ac_try
="$ac_compiler --version >&5"
2690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
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
2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }
2699 { (ac_try="$ac_compiler -v >&5"
2701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2702 *) ac_try_echo
=$ac_try;;
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
2708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }
2710 { (ac_try
="$ac_compiler -V >&5"
2712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
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
2719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }
2722 cat >conftest.$ac_ext <<_ACEOF
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
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
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.*"
2750 for ac_file in $ac_files
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2754 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2759 if { (ac_try="$ac_link_default"
2761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2762 *) ac_try_echo
=$ac_try;;
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
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
2775 for ac_file
in $ac_files ''
2777 test -f "$ac_file" ||
continue
2779 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2782 # We found the default executable, but exeext='' is most
2786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
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
2800 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
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;;
2835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836 $as_echo "$ac_try_echo") >&5
2837 (eval "$ac_try") 2>&5
2839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; }; then
2843 if test "$cross_compiling" = maybe; then
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"
2874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2875 *) ac_try_echo
=$ac_try;;
2877 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2878 $as_echo "$ac_try_echo") >&5
2879 (eval "$ac_link") 2>&5
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
2887 for ac_file
in conftest.exe conftest conftest.
*; do
2888 test -f "$ac_file" ||
continue
2890 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2891 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
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
2918 cat >conftest.
$ac_ext <<_ACEOF
2921 cat confdefs.h
>>conftest.
$ac_ext
2922 cat >>conftest.
$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2933 rm -f conftest.o conftest.obj
2934 if { (ac_try
="$ac_compile"
2936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2940 $as_echo "$ac_try_echo") >&5
2941 (eval "$ac_compile") 2>&5
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;
2948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2949 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
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
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
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2995 rm -f conftest.$ac_objext
2996 if { (ac_try="$ac_compile"
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
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
3005 grep -v '^
*+' conftest.er1 >conftest.err
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
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's
/^
/|
/' conftest.$ac_ext >&5
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
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
3039 ac_save_c_werror_flag=$ac_c_werror_flag
3040 ac_c_werror_flag=yes
3043 cat >conftest.$ac_ext <<_ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3058 rm -f conftest.$ac_objext
3059 if { (ac_try="$ac_compile"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
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
3068 grep -v '^
*+' conftest.er1 >conftest.err
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
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's
/^
/|
/' conftest.$ac_ext >&5
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
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
3107 grep -v '^
*+' conftest.er1 >conftest.err
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
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
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
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
3147 grep -v '^
*+' conftest.er1 >conftest.err
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
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
3183 if test "$GCC" = yes; then
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
3194 ac_cv_prog_cc_c89=no
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.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
)
3215 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3220 s
= g
(p
, va_arg
(v
,int
));
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. */
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);
3248 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
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
3267 grep -v '^
*+' conftest.er1 >conftest.err
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
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
3286 rm -f conftest.$ac_ext
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; } ;;
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; } ;;
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
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
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
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
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`
3342 case " $depcc " in #(
3343 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
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.
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
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"
3371 # This depmode causes a compiler race in universal mode.
3372 test "$am__universal" = false ||
continue
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
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}
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
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
3431 am__fastdepCC_FALSE
='#'
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
3443 ac_cv_prog_cc_c99
=no
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3452 #include <stdbool.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__))
3462 test_varargs_macros (void)
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)
3477 your preprocessor is broken;
3481 your preprocessor is broken;
3483 static long long int bignum = -9223372036854775807LL;
3484 static unsigned long long int ubignum = BIG64;
3486 struct incomplete_array
3494 const wchar_t *name;
3498 typedef const char *ccp;
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)
3511 // Check varargs and va_copy.
3513 test_varargs (const char *format, ...)
3516 va_start (args, format);
3518 va_copy (args_copy, args);
3529 str = va_arg (args_copy, const char *);
3532 number = va_arg (args_copy, int);
3535 fnumber = va_arg (args_copy, double);
3550 _Bool success = false;
3553 if (test_restrict ("String literal") == 0)
3555 char *restrict newvar = "Another string";
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));
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 = {
3571 .name = L"Test wide string",
3572 .average = 543.34343,
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);
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"
3594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
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
3601 grep -v '^ *+' conftest.er1 >conftest.err
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
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
3620 rm -f conftest.$ac_ext
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; } ;;
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; } ;;
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
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
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; }; };;
3674 ac_save_IFS=$IFS; IFS='-'
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
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
3692 if test "x$host_alias" = x; then
3693 ac_cv_host=$ac_cv_build
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; }
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; }; };;
3711 ac_save_IFS=$IFS; IFS='-'
3717 # Remember, the first character of IFS is used to create $*,
3718 # except with old shells:
3721 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
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; }; };;
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
3743 cat >conftest.$ac_ext <<_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>
3757 static struct sockaddr ac_aggr;
3764 rm -f conftest.$ac_objext
3765 if { (ac_try="$ac_compile"
3767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3768 *) ac_try_echo
=$ac_try;;
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
3774 grep -v '^ *+' conftest.er1
>conftest.err
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
3784 $as_echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.
$ac_ext >&5
3787 cat >conftest.
$ac_ext <<_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>
3801 static struct sockaddr ac_aggr;
3802 if (sizeof ac_aggr.sa_len)
3808 rm -f conftest.
$ac_objext
3809 if { (ac_try
="$ac_compile"
3811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
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
3818 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
3855 cat >conftest.$ac_ext <<_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>
3869 static struct sockaddr_in ac_aggr;
3870 if (ac_aggr.sin_len)
3876 rm -f conftest.$ac_objext
3877 if { (ac_try="$ac_compile"
3879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3880 *) ac_try_echo
=$ac_try;;
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
3886 grep -v '^ *+' conftest.er1
>conftest.err
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
3896 $as_echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.
$ac_ext >&5
3899 cat >conftest.
$ac_ext <<_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>
3913 static struct sockaddr_in ac_aggr;
3914 if (sizeof ac_aggr.sin_len)
3920 rm -f conftest.
$ac_objext
3921 if { (ac_try
="$ac_compile"
3923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
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
3930 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
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
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;} ;;
3996 _ | IFS | as_nl
) ;; #(
3997 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3998 *) $as_unset $ac_var ;;
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 \).
4010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4013 # `set' quotes correctly as required by POSIX, so do not add quotes.
4014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
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
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'
4059 LTLIBOBJS
=$ac_ltlibobjs
4062 if test -n "$EXEEXT"; then
4064 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}
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
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.
4101 SHELL=\${CONFIG_SHELL-$SHELL}
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
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
4119 case `(set -o) 2>/dev/null` in
4120 *posix
*) set -o posix
;;
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
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
'
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'
4151 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4152 as_echo_n_body='eval
4156 expr "X$arg" : "X\\(.*\\)$as_nl";
4157 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
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
'
4165 as_echo='sh
-c $as_echo_body as_echo
'
4168 # The user is always right.
4169 if test "${PATH_SEPARATOR+set}" != set; then
4171 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4172 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4177 # Support unset when possible.
4178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
4192 # Find who we are. Look in the path if we contain no directory separator.
4194 *[\\/]* ) as_myself=$0 ;;
4195 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 test -z "$as_dir" && as_dir=.
4200 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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
4230 # Required to use basename.
4231 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4232 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4238 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4239 as_basename
=basename
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 ||
4251 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
4296 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
4308 # Exit status is that of the last command.
4313 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4319 ECHO_C
= ECHO_N
= ECHO_T
=
4322 case `echo 'x\c'` in
4323 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4329 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4330 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4336 rm -f conf$$ conf$$.exe conf$$.
file
4337 if test -d conf$$.dir
; then
4338 rm -f conf$$.dir
/conf$$.
file
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
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 ||
4352 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
4366 test -d .
/-p && rmdir .
/-p
4370 if test -x / >/dev
/null
2>&1; then
4373 if ls -dL / >/dev
/null
2>&1; then
4380 if test -d "$1"; then
4386 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4387 ???[sx]*):;;*)false;;esac;fi
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'"
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.
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
4415 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4420 case $ac_config_files in *"
4421 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4424 case $ac_config_headers in *"
4425 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
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"
4438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
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:
4459 Configuration headers:
4462 Configuration links:
4465 Configuration commands:
4468 Report bugs to <bug-autoconf@gnu.org>."
4471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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."
4486 test -n "\$AWK" || AWK=awk
4489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4490 # The default lists apply if the user does not specify any file.
4496 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4497 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4508 # Handling of the options.
4509 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4511 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4512 $as_echo "$ac_cs_version"; exit ;;
4513 --debug |
--debu |
--deb |
--de |
--d |
-d )
4515 --file |
--fil |
--fi |
--f )
4518 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4520 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
4521 ac_need_defaults
=false
;;
4522 --header |
--heade |
--head |
--hea )
4525 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4527 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
4528 ac_need_defaults
=false
;;
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)
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
;;
4552 ac_configure_extra_args
=
4554 if $ac_cs_silent; then
4556 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
4564 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4565 CONFIG_SHELL='$SHELL'
4571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4576 ## Running $as_me. ##
4582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4586 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
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; }; };;
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'.
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"
4644 tmp
=.
/conf$$
-$RANDOM
4645 (umask 077 && mkdir
"$tmp")
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
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
4666 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4671 echo "cat >conf$$subs.awk <<_ACEOF" &&
4672 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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 '$'`
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
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; }; }
4694 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4700 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4704 s/^/S["/; s
/!.
*/"]=/
4714 s/\(.\{148\}\).*/\1/
4716 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4721 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4728 s/\(.\{148\}\).*/\1/
4730 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4734 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4739 ' <conf$$subs.awk | sed '
4744 ' >>$CONFIG_STATUS || ac_write_fail=1
4745 rm -f conf$$subs.awk
4746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4748 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4749 for (key in S) S_is_set[key] = 1
4755 nfields = split(line, field, "@
")
4757 len = length(field[1])
4758 for (i = 2; i < nfields; i++) {
4760 keylen = length(key)
4761 if (S_is_set[key]) {
4763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4764 len += length(value) + length(field[++i])
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
"
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; }; }
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[ ]*=/{
4795 s/^\([^=]*=[ ]*\):*/\1/
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 ||
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.
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
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; }; }
4828 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
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]*
4838 s/.\{148\}/&'"$ac_delim"'/g
4841 s/^[ ]*#[ ]*define[ ][ ]*/ /
4848 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
4850 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
4854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
4855 D["\
1"]=" \
3\\\\\\n
"\\/p
4857 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
4862 s/.\{148\}/&'"$ac_delim"'/g
4867 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
4870 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
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
4880 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4882 split(line, arg, " ")
4883 if (arg[1] == "#") {
4887 defundef
= substr
(arg
[1], 2)
4890 split(mac1
, mac2
, "(") #)
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
]
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
, "*/"
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"
4922 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4924 case $ac_mode$ac_tag in
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;;
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 `:'.
4954 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
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; }; };;
4960 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4961 ac_file_inputs
="$ac_file_inputs '$ac_f'"
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'
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;;
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; }; } ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5017 -*) as_dir
=.
/$as_dir;;
5019 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5023 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5024 *) as_qdir
=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5050 test -d "$as_dir" && break
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; }; }; }
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/ ;;
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
5075 .
) # We are building in place.
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 ;;
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 ;;
5088 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5098 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5099 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5103 [\\/$
]* | ?
:[\\/]* ) ;;
5104 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
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
=
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;}
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' ;;
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
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;}
5180 -) cat "$tmp/out" && rm -f "$tmp/out";;
5181 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
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; }; }
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;}
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; }; }
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.
5219 for _am_header
in $config_headers :; do
5221 $_am_arg |
$_am_arg:* )
5224 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5249 s/.*/./; q'`/stamp-h
$_am_stamp_count
5256 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
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; }; }
5274 # Try a relative symlink, then a hard link, then a copy.
5276 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
5277 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
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;}
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 ;;
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 ||
5321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
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
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 ||
5365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5382 { as_dir
=$dirpart/$fdir
5384 -*) as_dir
=.
/$as_dir;;
5386 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5390 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5391 *) as_qdir
=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5417 test -d "$as_dir" && break
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"
5434 { (exit 0); exit 0; }
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
5455 ac_config_status_args
=
5456 test "$silent" = yes &&
5457 ac_config_status_args
="$ac_config_status_args --quiet"
5459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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;}