fileview and dirview
[tfs.git] / configure
blobe18dd802c0d15dbcd6bd2cb7aafccf2c1a68fbba
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for tf4mono 0.5.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='tf4mono'
574 PACKAGE_TARNAME='tf4mono'
575 PACKAGE_VERSION='0.5.1'
576 PACKAGE_STRING='tf4mono 0.5.1'
577 PACKAGE_BUGREPORT=''
579 ac_subst_vars='SHELL
580 PATH_SEPARATOR
581 PACKAGE_NAME
582 PACKAGE_TARNAME
583 PACKAGE_VERSION
584 PACKAGE_STRING
585 PACKAGE_BUGREPORT
586 exec_prefix
587 prefix
588 program_transform_name
589 bindir
590 sbindir
591 libexecdir
592 datarootdir
593 datadir
594 sysconfdir
595 sharedstatedir
596 localstatedir
597 includedir
598 oldincludedir
599 docdir
600 infodir
601 htmldir
602 dvidir
603 pdfdir
604 psdir
605 libdir
606 localedir
607 mandir
608 DEFS
609 ECHO_C
610 ECHO_N
611 ECHO_T
612 LIBS
613 build_alias
614 host_alias
615 target_alias
616 PKG_CONFIG
617 ASCIIDOC
618 XMLTO
620 CFLAGS
621 LDFLAGS
622 CPPFLAGS
623 ac_ct_CC
624 EXEEXT
625 OBJEXT
626 LIBOBJS
627 LTLIBOBJS'
628 ac_subst_files=''
629 ac_precious_vars='build_alias
630 host_alias
631 target_alias
632 PKG_CONFIG
634 CFLAGS
635 LDFLAGS
636 LIBS
637 CPPFLAGS'
640 # Initialize some variables set by options.
641 ac_init_help=
642 ac_init_version=false
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
645 cache_file=/dev/null
646 exec_prefix=NONE
647 no_create=
648 no_recursion=
649 prefix=NONE
650 program_prefix=NONE
651 program_suffix=NONE
652 program_transform_name=s,x,x,
653 silent=
654 site=
655 srcdir=
656 verbose=
657 x_includes=NONE
658 x_libraries=NONE
660 # Installation directory options.
661 # These are left unexpanded so users can "make install exec_prefix=/foo"
662 # and all the variables that are supposed to be based on exec_prefix
663 # by default will actually change.
664 # Use braces instead of parens because sh, perl, etc. also accept them.
665 # (The list follows the same order as the GNU Coding Standards.)
666 bindir='${exec_prefix}/bin'
667 sbindir='${exec_prefix}/sbin'
668 libexecdir='${exec_prefix}/libexec'
669 datarootdir='${prefix}/share'
670 datadir='${datarootdir}'
671 sysconfdir='${prefix}/etc'
672 sharedstatedir='${prefix}/com'
673 localstatedir='${prefix}/var'
674 includedir='${prefix}/include'
675 oldincludedir='/usr/include'
676 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
677 infodir='${datarootdir}/info'
678 htmldir='${docdir}'
679 dvidir='${docdir}'
680 pdfdir='${docdir}'
681 psdir='${docdir}'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
686 ac_prev=
687 ac_dashdash=
688 for ac_option
690 # If the previous option needs an argument, assign it.
691 if test -n "$ac_prev"; then
692 eval $ac_prev=\$ac_option
693 ac_prev=
694 continue
697 case $ac_option in
698 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699 *) ac_optarg=yes ;;
700 esac
702 # Accept the important Cygnus configure options, so we can diagnose typos.
704 case $ac_dashdash$ac_option in
706 ac_dashdash=yes ;;
708 -bindir | --bindir | --bindi | --bind | --bin | --bi)
709 ac_prev=bindir ;;
710 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
711 bindir=$ac_optarg ;;
713 -build | --build | --buil | --bui | --bu)
714 ac_prev=build_alias ;;
715 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
716 build_alias=$ac_optarg ;;
718 -cache-file | --cache-file | --cache-fil | --cache-fi \
719 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
720 ac_prev=cache_file ;;
721 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
722 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
723 cache_file=$ac_optarg ;;
725 --config-cache | -C)
726 cache_file=config.cache ;;
728 -datadir | --datadir | --datadi | --datad)
729 ac_prev=datadir ;;
730 -datadir=* | --datadir=* | --datadi=* | --datad=*)
731 datadir=$ac_optarg ;;
733 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
734 | --dataroo | --dataro | --datar)
735 ac_prev=datarootdir ;;
736 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
737 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
738 datarootdir=$ac_optarg ;;
740 -disable-* | --disable-*)
741 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
745 { (exit 1); exit 1; }; }
746 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
747 eval enable_$ac_feature=no ;;
749 -docdir | --docdir | --docdi | --doc | --do)
750 ac_prev=docdir ;;
751 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
752 docdir=$ac_optarg ;;
754 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
755 ac_prev=dvidir ;;
756 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
757 dvidir=$ac_optarg ;;
759 -enable-* | --enable-*)
760 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
761 # Reject names that are not valid shell variable names.
762 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
763 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
764 { (exit 1); exit 1; }; }
765 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
766 eval enable_$ac_feature=\$ac_optarg ;;
768 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
769 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
770 | --exec | --exe | --ex)
771 ac_prev=exec_prefix ;;
772 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
773 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
774 | --exec=* | --exe=* | --ex=*)
775 exec_prefix=$ac_optarg ;;
777 -gas | --gas | --ga | --g)
778 # Obsolete; use --with-gas.
779 with_gas=yes ;;
781 -help | --help | --hel | --he | -h)
782 ac_init_help=long ;;
783 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
784 ac_init_help=recursive ;;
785 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
786 ac_init_help=short ;;
788 -host | --host | --hos | --ho)
789 ac_prev=host_alias ;;
790 -host=* | --host=* | --hos=* | --ho=*)
791 host_alias=$ac_optarg ;;
793 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
794 ac_prev=htmldir ;;
795 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
796 | --ht=*)
797 htmldir=$ac_optarg ;;
799 -includedir | --includedir | --includedi | --included | --include \
800 | --includ | --inclu | --incl | --inc)
801 ac_prev=includedir ;;
802 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
803 | --includ=* | --inclu=* | --incl=* | --inc=*)
804 includedir=$ac_optarg ;;
806 -infodir | --infodir | --infodi | --infod | --info | --inf)
807 ac_prev=infodir ;;
808 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
809 infodir=$ac_optarg ;;
811 -libdir | --libdir | --libdi | --libd)
812 ac_prev=libdir ;;
813 -libdir=* | --libdir=* | --libdi=* | --libd=*)
814 libdir=$ac_optarg ;;
816 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
817 | --libexe | --libex | --libe)
818 ac_prev=libexecdir ;;
819 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
820 | --libexe=* | --libex=* | --libe=*)
821 libexecdir=$ac_optarg ;;
823 -localedir | --localedir | --localedi | --localed | --locale)
824 ac_prev=localedir ;;
825 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
826 localedir=$ac_optarg ;;
828 -localstatedir | --localstatedir | --localstatedi | --localstated \
829 | --localstate | --localstat | --localsta | --localst | --locals)
830 ac_prev=localstatedir ;;
831 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
832 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
833 localstatedir=$ac_optarg ;;
835 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
836 ac_prev=mandir ;;
837 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
838 mandir=$ac_optarg ;;
840 -nfp | --nfp | --nf)
841 # Obsolete; use --without-fp.
842 with_fp=no ;;
844 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
845 | --no-cr | --no-c | -n)
846 no_create=yes ;;
848 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
849 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
850 no_recursion=yes ;;
852 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
853 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
854 | --oldin | --oldi | --old | --ol | --o)
855 ac_prev=oldincludedir ;;
856 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
857 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
858 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
859 oldincludedir=$ac_optarg ;;
861 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
862 ac_prev=prefix ;;
863 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
864 prefix=$ac_optarg ;;
866 -program-prefix | --program-prefix | --program-prefi | --program-pref \
867 | --program-pre | --program-pr | --program-p)
868 ac_prev=program_prefix ;;
869 -program-prefix=* | --program-prefix=* | --program-prefi=* \
870 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
871 program_prefix=$ac_optarg ;;
873 -program-suffix | --program-suffix | --program-suffi | --program-suff \
874 | --program-suf | --program-su | --program-s)
875 ac_prev=program_suffix ;;
876 -program-suffix=* | --program-suffix=* | --program-suffi=* \
877 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
878 program_suffix=$ac_optarg ;;
880 -program-transform-name | --program-transform-name \
881 | --program-transform-nam | --program-transform-na \
882 | --program-transform-n | --program-transform- \
883 | --program-transform | --program-transfor \
884 | --program-transfo | --program-transf \
885 | --program-trans | --program-tran \
886 | --progr-tra | --program-tr | --program-t)
887 ac_prev=program_transform_name ;;
888 -program-transform-name=* | --program-transform-name=* \
889 | --program-transform-nam=* | --program-transform-na=* \
890 | --program-transform-n=* | --program-transform-=* \
891 | --program-transform=* | --program-transfor=* \
892 | --program-transfo=* | --program-transf=* \
893 | --program-trans=* | --program-tran=* \
894 | --progr-tra=* | --program-tr=* | --program-t=*)
895 program_transform_name=$ac_optarg ;;
897 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
898 ac_prev=pdfdir ;;
899 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
900 pdfdir=$ac_optarg ;;
902 -psdir | --psdir | --psdi | --psd | --ps)
903 ac_prev=psdir ;;
904 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
905 psdir=$ac_optarg ;;
907 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
908 | -silent | --silent | --silen | --sile | --sil)
909 silent=yes ;;
911 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
912 ac_prev=sbindir ;;
913 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
914 | --sbi=* | --sb=*)
915 sbindir=$ac_optarg ;;
917 -sharedstatedir | --sharedstatedir | --sharedstatedi \
918 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
919 | --sharedst | --shareds | --shared | --share | --shar \
920 | --sha | --sh)
921 ac_prev=sharedstatedir ;;
922 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
923 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
924 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
925 | --sha=* | --sh=*)
926 sharedstatedir=$ac_optarg ;;
928 -site | --site | --sit)
929 ac_prev=site ;;
930 -site=* | --site=* | --sit=*)
931 site=$ac_optarg ;;
933 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
934 ac_prev=srcdir ;;
935 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
936 srcdir=$ac_optarg ;;
938 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
939 | --syscon | --sysco | --sysc | --sys | --sy)
940 ac_prev=sysconfdir ;;
941 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
942 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
943 sysconfdir=$ac_optarg ;;
945 -target | --target | --targe | --targ | --tar | --ta | --t)
946 ac_prev=target_alias ;;
947 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
948 target_alias=$ac_optarg ;;
950 -v | -verbose | --verbose | --verbos | --verbo | --verb)
951 verbose=yes ;;
953 -version | --version | --versio | --versi | --vers | -V)
954 ac_init_version=: ;;
956 -with-* | --with-*)
957 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
960 { echo "$as_me: error: invalid package name: $ac_package" >&2
961 { (exit 1); exit 1; }; }
962 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
963 eval with_$ac_package=\$ac_optarg ;;
965 -without-* | --without-*)
966 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
969 { echo "$as_me: error: invalid package name: $ac_package" >&2
970 { (exit 1); exit 1; }; }
971 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
972 eval with_$ac_package=no ;;
974 --x)
975 # Obsolete; use --with-x.
976 with_x=yes ;;
978 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
979 | --x-incl | --x-inc | --x-in | --x-i)
980 ac_prev=x_includes ;;
981 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
982 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
983 x_includes=$ac_optarg ;;
985 -x-libraries | --x-libraries | --x-librarie | --x-librari \
986 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
987 ac_prev=x_libraries ;;
988 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
989 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
990 x_libraries=$ac_optarg ;;
992 -*) { echo "$as_me: error: unrecognized option: $ac_option
993 Try \`$0 --help' for more information." >&2
994 { (exit 1); exit 1; }; }
997 *=*)
998 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1001 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1002 { (exit 1); exit 1; }; }
1003 eval $ac_envvar=\$ac_optarg
1004 export $ac_envvar ;;
1007 # FIXME: should be removed in autoconf 3.0.
1008 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1009 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1010 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1011 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1014 esac
1015 done
1017 if test -n "$ac_prev"; then
1018 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1019 { echo "$as_me: error: missing argument to $ac_option" >&2
1020 { (exit 1); exit 1; }; }
1023 # Be sure to have absolute directory names.
1024 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1025 datadir sysconfdir sharedstatedir localstatedir includedir \
1026 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1027 libdir localedir mandir
1029 eval ac_val=\$$ac_var
1030 case $ac_val in
1031 [\\/$]* | ?:[\\/]* ) continue;;
1032 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1033 esac
1034 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1035 { (exit 1); exit 1; }; }
1036 done
1038 # There might be people who depend on the old broken behavior: `$host'
1039 # used to hold the argument of --host etc.
1040 # FIXME: To remove some day.
1041 build=$build_alias
1042 host=$host_alias
1043 target=$target_alias
1045 # FIXME: To remove some day.
1046 if test "x$host_alias" != x; then
1047 if test "x$build_alias" = x; then
1048 cross_compiling=maybe
1049 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1050 If a cross compiler is detected then cross compile mode will be used." >&2
1051 elif test "x$build_alias" != "x$host_alias"; then
1052 cross_compiling=yes
1056 ac_tool_prefix=
1057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1059 test "$silent" = yes && exec 6>/dev/null
1062 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1063 ac_ls_di=`ls -di .` &&
1064 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1065 { echo "$as_me: error: Working directory cannot be determined" >&2
1066 { (exit 1); exit 1; }; }
1067 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1068 { echo "$as_me: error: pwd does not report name of working directory" >&2
1069 { (exit 1); exit 1; }; }
1072 # Find the source files, if location was not specified.
1073 if test -z "$srcdir"; then
1074 ac_srcdir_defaulted=yes
1075 # Try the directory containing this script, then the parent directory.
1076 ac_confdir=`$as_dirname -- "$0" ||
1077 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1078 X"$0" : 'X\(//\)[^/]' \| \
1079 X"$0" : 'X\(//\)$' \| \
1080 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1081 echo X"$0" |
1082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1083 s//\1/
1086 /^X\(\/\/\)[^/].*/{
1087 s//\1/
1090 /^X\(\/\/\)$/{
1091 s//\1/
1094 /^X\(\/\).*/{
1095 s//\1/
1098 s/.*/./; q'`
1099 srcdir=$ac_confdir
1100 if test ! -r "$srcdir/$ac_unique_file"; then
1101 srcdir=..
1103 else
1104 ac_srcdir_defaulted=no
1106 if test ! -r "$srcdir/$ac_unique_file"; then
1107 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1108 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1109 { (exit 1); exit 1; }; }
1111 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1112 ac_abs_confdir=`(
1113 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1114 { (exit 1); exit 1; }; }
1115 pwd)`
1116 # When building in place, set srcdir=.
1117 if test "$ac_abs_confdir" = "$ac_pwd"; then
1118 srcdir=.
1120 # Remove unnecessary trailing slashes from srcdir.
1121 # Double slashes in file names in object file debugging info
1122 # mess up M-x gdb in Emacs.
1123 case $srcdir in
1124 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1125 esac
1126 for ac_var in $ac_precious_vars; do
1127 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1128 eval ac_env_${ac_var}_value=\$${ac_var}
1129 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1130 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1131 done
1134 # Report the --help message.
1136 if test "$ac_init_help" = "long"; then
1137 # Omit some internal or obsolete options to make the list less imposing.
1138 # This message is too long to be a string in the A/UX 3.1 sh.
1139 cat <<_ACEOF
1140 \`configure' configures tf4mono 0.5.1 to adapt to many kinds of systems.
1142 Usage: $0 [OPTION]... [VAR=VALUE]...
1144 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1145 VAR=VALUE. See below for descriptions of some of the useful variables.
1147 Defaults for the options are specified in brackets.
1149 Configuration:
1150 -h, --help display this help and exit
1151 --help=short display options specific to this package
1152 --help=recursive display the short help of all the included packages
1153 -V, --version display version information and exit
1154 -q, --quiet, --silent do not print \`checking...' messages
1155 --cache-file=FILE cache test results in FILE [disabled]
1156 -C, --config-cache alias for \`--cache-file=config.cache'
1157 -n, --no-create do not create output files
1158 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1160 Installation directories:
1161 --prefix=PREFIX install architecture-independent files in PREFIX
1162 [$ac_default_prefix]
1163 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1164 [PREFIX]
1166 By default, \`make install' will install all the files in
1167 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1168 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1169 for instance \`--prefix=\$HOME'.
1171 For better control, use the options below.
1173 Fine tuning of the installation directories:
1174 --bindir=DIR user executables [EPREFIX/bin]
1175 --sbindir=DIR system admin executables [EPREFIX/sbin]
1176 --libexecdir=DIR program executables [EPREFIX/libexec]
1177 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1178 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1179 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1180 --libdir=DIR object code libraries [EPREFIX/lib]
1181 --includedir=DIR C header files [PREFIX/include]
1182 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1183 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1184 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1185 --infodir=DIR info documentation [DATAROOTDIR/info]
1186 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1187 --mandir=DIR man documentation [DATAROOTDIR/man]
1188 --docdir=DIR documentation root [DATAROOTDIR/doc/tf4mono]
1189 --htmldir=DIR html documentation [DOCDIR]
1190 --dvidir=DIR dvi documentation [DOCDIR]
1191 --pdfdir=DIR pdf documentation [DOCDIR]
1192 --psdir=DIR ps documentation [DOCDIR]
1193 _ACEOF
1195 cat <<\_ACEOF
1196 _ACEOF
1199 if test -n "$ac_init_help"; then
1200 case $ac_init_help in
1201 short | recursive ) echo "Configuration of tf4mono 0.5.1:";;
1202 esac
1203 cat <<\_ACEOF
1205 Optional Features:
1206 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1207 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1208 --disable-keyring disable gnome keyring support
1209 --disable-magic disable libmagic file attributes
1211 Optional Packages:
1212 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1213 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1214 --with-mslibs=<dir> location of Microsoft's Team Foundation Assemblies
1216 Some influential environment variables:
1217 PKG_CONFIG path to pkg-config utility
1218 CC C compiler command
1219 CFLAGS C compiler flags
1220 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1221 nonstandard directory <lib dir>
1222 LIBS libraries to pass to the linker, e.g. -l<library>
1223 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1224 you have headers in a nonstandard directory <include dir>
1226 Use these variables to override the choices made by `configure' or to help
1227 it to find libraries and programs with nonstandard names/locations.
1229 _ACEOF
1230 ac_status=$?
1233 if test "$ac_init_help" = "recursive"; then
1234 # If there are subdirs, report their specific --help.
1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1236 test -d "$ac_dir" || continue
1237 ac_builddir=.
1239 case "$ac_dir" in
1240 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1242 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1243 # A ".." for each directory in $ac_dir_suffix.
1244 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1245 case $ac_top_builddir_sub in
1246 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1247 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1248 esac ;;
1249 esac
1250 ac_abs_top_builddir=$ac_pwd
1251 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1252 # for backward compatibility:
1253 ac_top_builddir=$ac_top_build_prefix
1255 case $srcdir in
1256 .) # We are building in place.
1257 ac_srcdir=.
1258 ac_top_srcdir=$ac_top_builddir_sub
1259 ac_abs_top_srcdir=$ac_pwd ;;
1260 [\\/]* | ?:[\\/]* ) # Absolute name.
1261 ac_srcdir=$srcdir$ac_dir_suffix;
1262 ac_top_srcdir=$srcdir
1263 ac_abs_top_srcdir=$srcdir ;;
1264 *) # Relative name.
1265 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1266 ac_top_srcdir=$ac_top_build_prefix$srcdir
1267 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1268 esac
1269 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1271 cd "$ac_dir" || { ac_status=$?; continue; }
1272 # Check for guested configure.
1273 if test -f "$ac_srcdir/configure.gnu"; then
1274 echo &&
1275 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1276 elif test -f "$ac_srcdir/configure"; then
1277 echo &&
1278 $SHELL "$ac_srcdir/configure" --help=recursive
1279 else
1280 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1281 fi || ac_status=$?
1282 cd "$ac_pwd" || { ac_status=$?; break; }
1283 done
1286 test -n "$ac_init_help" && exit $ac_status
1287 if $ac_init_version; then
1288 cat <<\_ACEOF
1289 tf4mono configure 0.5.1
1290 generated by GNU Autoconf 2.61
1292 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1293 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1294 This configure script is free software; the Free Software Foundation
1295 gives unlimited permission to copy, distribute and modify it.
1296 _ACEOF
1297 exit
1299 cat >config.log <<_ACEOF
1300 This file contains any messages produced by compilers while
1301 running configure, to aid debugging if configure makes a mistake.
1303 It was created by tf4mono $as_me 0.5.1, which was
1304 generated by GNU Autoconf 2.61. Invocation command line was
1306 $ $0 $@
1308 _ACEOF
1309 exec 5>>config.log
1311 cat <<_ASUNAME
1312 ## --------- ##
1313 ## Platform. ##
1314 ## --------- ##
1316 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1317 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1318 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1319 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1320 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1322 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1323 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1325 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1326 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1327 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1328 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1329 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1330 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1331 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1333 _ASUNAME
1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 for as_dir in $PATH
1338 IFS=$as_save_IFS
1339 test -z "$as_dir" && as_dir=.
1340 echo "PATH: $as_dir"
1341 done
1342 IFS=$as_save_IFS
1344 } >&5
1346 cat >&5 <<_ACEOF
1349 ## ----------- ##
1350 ## Core tests. ##
1351 ## ----------- ##
1353 _ACEOF
1356 # Keep a trace of the command line.
1357 # Strip out --no-create and --no-recursion so they do not pile up.
1358 # Strip out --silent because we don't want to record it for future runs.
1359 # Also quote any args containing shell meta-characters.
1360 # Make two passes to allow for proper duplicate-argument suppression.
1361 ac_configure_args=
1362 ac_configure_args0=
1363 ac_configure_args1=
1364 ac_must_keep_next=false
1365 for ac_pass in 1 2
1367 for ac_arg
1369 case $ac_arg in
1370 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1372 | -silent | --silent | --silen | --sile | --sil)
1373 continue ;;
1374 *\'*)
1375 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1376 esac
1377 case $ac_pass in
1378 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1380 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1381 if test $ac_must_keep_next = true; then
1382 ac_must_keep_next=false # Got value, back to normal.
1383 else
1384 case $ac_arg in
1385 *=* | --config-cache | -C | -disable-* | --disable-* \
1386 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1387 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1388 | -with-* | --with-* | -without-* | --without-* | --x)
1389 case "$ac_configure_args0 " in
1390 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1391 esac
1393 -* ) ac_must_keep_next=true ;;
1394 esac
1396 ac_configure_args="$ac_configure_args '$ac_arg'"
1398 esac
1399 done
1400 done
1401 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1402 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1404 # When interrupted or exit'd, cleanup temporary files, and complete
1405 # config.log. We remove comments because anyway the quotes in there
1406 # would cause problems or look ugly.
1407 # WARNING: Use '\'' to represent an apostrophe within the trap.
1408 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1409 trap 'exit_status=$?
1410 # Save into config.log some information that might help in debugging.
1412 echo
1414 cat <<\_ASBOX
1415 ## ---------------- ##
1416 ## Cache variables. ##
1417 ## ---------------- ##
1418 _ASBOX
1419 echo
1420 # The following way of writing the cache mishandles newlines in values,
1422 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1423 eval ac_val=\$$ac_var
1424 case $ac_val in #(
1425 *${as_nl}*)
1426 case $ac_var in #(
1427 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1428 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1429 esac
1430 case $ac_var in #(
1431 _ | IFS | as_nl) ;; #(
1432 *) $as_unset $ac_var ;;
1433 esac ;;
1434 esac
1435 done
1436 (set) 2>&1 |
1437 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1438 *${as_nl}ac_space=\ *)
1439 sed -n \
1440 "s/'\''/'\''\\\\'\'''\''/g;
1441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1442 ;; #(
1444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1446 esac |
1447 sort
1449 echo
1451 cat <<\_ASBOX
1452 ## ----------------- ##
1453 ## Output variables. ##
1454 ## ----------------- ##
1455 _ASBOX
1456 echo
1457 for ac_var in $ac_subst_vars
1459 eval ac_val=\$$ac_var
1460 case $ac_val in
1461 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1462 esac
1463 echo "$ac_var='\''$ac_val'\''"
1464 done | sort
1465 echo
1467 if test -n "$ac_subst_files"; then
1468 cat <<\_ASBOX
1469 ## ------------------- ##
1470 ## File substitutions. ##
1471 ## ------------------- ##
1472 _ASBOX
1473 echo
1474 for ac_var in $ac_subst_files
1476 eval ac_val=\$$ac_var
1477 case $ac_val in
1478 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1479 esac
1480 echo "$ac_var='\''$ac_val'\''"
1481 done | sort
1482 echo
1485 if test -s confdefs.h; then
1486 cat <<\_ASBOX
1487 ## ----------- ##
1488 ## confdefs.h. ##
1489 ## ----------- ##
1490 _ASBOX
1491 echo
1492 cat confdefs.h
1493 echo
1495 test "$ac_signal" != 0 &&
1496 echo "$as_me: caught signal $ac_signal"
1497 echo "$as_me: exit $exit_status"
1498 } >&5
1499 rm -f core *.core core.conftest.* &&
1500 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1501 exit $exit_status
1503 for ac_signal in 1 2 13 15; do
1504 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505 done
1506 ac_signal=0
1508 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1509 rm -f -r conftest* confdefs.h
1511 # Predefined preprocessor variables.
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 _ACEOF
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520 _ACEOF
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1525 _ACEOF
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_STRING "$PACKAGE_STRING"
1530 _ACEOF
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1535 _ACEOF
1538 # Let the site file select an alternate cache file if it wants to.
1539 # Prefer explicitly selected file to automatically selected ones.
1540 if test -n "$CONFIG_SITE"; then
1541 set x "$CONFIG_SITE"
1542 elif test "x$prefix" != xNONE; then
1543 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1544 else
1545 set x "$ac_default_prefix/share/config.site" \
1546 "$ac_default_prefix/etc/config.site"
1548 shift
1549 for ac_site_file
1551 if test -r "$ac_site_file"; then
1552 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1553 echo "$as_me: loading site script $ac_site_file" >&6;}
1554 sed 's/^/| /' "$ac_site_file" >&5
1555 . "$ac_site_file"
1557 done
1559 if test -r "$cache_file"; then
1560 # Some versions of bash will fail to source /dev/null (special
1561 # files actually), so we avoid doing that.
1562 if test -f "$cache_file"; then
1563 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1564 echo "$as_me: loading cache $cache_file" >&6;}
1565 case $cache_file in
1566 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1567 *) . "./$cache_file";;
1568 esac
1570 else
1571 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1572 echo "$as_me: creating cache $cache_file" >&6;}
1573 >$cache_file
1576 # Check that the precious variables saved in the cache have kept the same
1577 # value.
1578 ac_cache_corrupted=false
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1581 eval ac_new_set=\$ac_env_${ac_var}_set
1582 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1583 eval ac_new_val=\$ac_env_${ac_var}_value
1584 case $ac_old_set,$ac_new_set in
1585 set,)
1586 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1587 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1588 ac_cache_corrupted=: ;;
1589 ,set)
1590 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1591 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1592 ac_cache_corrupted=: ;;
1593 ,);;
1595 if test "x$ac_old_val" != "x$ac_new_val"; then
1596 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1597 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1598 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1599 echo "$as_me: former value: $ac_old_val" >&2;}
1600 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1601 echo "$as_me: current value: $ac_new_val" >&2;}
1602 ac_cache_corrupted=:
1603 fi;;
1604 esac
1605 # Pass precious variables to config.status.
1606 if test "$ac_new_set" = set; then
1607 case $ac_new_val in
1608 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1609 *) ac_arg=$ac_var=$ac_new_val ;;
1610 esac
1611 case " $ac_configure_args " in
1612 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1613 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1614 esac
1616 done
1617 if $ac_cache_corrupted; then
1618 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1619 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1620 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1621 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1622 { (exit 1); exit 1; }; }
1649 ac_ext=c
1650 ac_cpp='$CPP $CPPFLAGS'
1651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1657 # disable this experimental stuff for now
1660 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1661 if test -n "$ac_tool_prefix"; then
1662 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1666 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 else
1669 case $PKG_CONFIG in
1670 [\\/]* | ?:[\\/]*)
1671 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 for as_dir in $PATH
1677 IFS=$as_save_IFS
1678 test -z "$as_dir" && as_dir=.
1679 for ac_exec_ext in '' $ac_executable_extensions; do
1680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1681 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 break 2
1685 done
1686 done
1687 IFS=$as_save_IFS
1690 esac
1692 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1693 if test -n "$PKG_CONFIG"; then
1694 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1695 echo "${ECHO_T}$PKG_CONFIG" >&6; }
1696 else
1697 { echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6; }
1703 if test -z "$ac_cv_path_PKG_CONFIG"; then
1704 ac_pt_PKG_CONFIG=$PKG_CONFIG
1705 # Extract the first word of "pkg-config", so it can be a program name with args.
1706 set dummy pkg-config; ac_word=$2
1707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1709 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 case $ac_pt_PKG_CONFIG in
1713 [\\/]* | ?:[\\/]*)
1714 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 for as_dir in $PATH
1720 IFS=$as_save_IFS
1721 test -z "$as_dir" && as_dir=.
1722 for ac_exec_ext in '' $ac_executable_extensions; do
1723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1724 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726 break 2
1728 done
1729 done
1730 IFS=$as_save_IFS
1733 esac
1735 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1736 if test -n "$ac_pt_PKG_CONFIG"; then
1737 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
1738 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
1739 else
1740 { echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6; }
1744 if test "x$ac_pt_PKG_CONFIG" = x; then
1745 PKG_CONFIG=""
1746 else
1747 case $cross_compiling:$ac_tool_warned in
1748 yes:)
1749 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1750 whose name does not start with the host triplet. If you think this
1751 configuration is useful to you, please write to autoconf@gnu.org." >&5
1752 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1753 whose name does not start with the host triplet. If you think this
1754 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1755 ac_tool_warned=yes ;;
1756 esac
1757 PKG_CONFIG=$ac_pt_PKG_CONFIG
1759 else
1760 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
1764 if test -n "$PKG_CONFIG"; then
1765 _pkg_min_version=0.9.0
1766 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
1767 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
1768 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1769 { echo "$as_me:$LINENO: result: yes" >&5
1770 echo "${ECHO_T}yes" >&6; }
1771 else
1772 { echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6; }
1774 PKG_CONFIG=""
1778 if test -n "$PKG_CONFIG" && \
1779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5
1780 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5
1781 ac_status=$?
1782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1783 (exit $ac_status); }; then
1784 HAVE_GTK=yes
1785 else
1786 HAVE_GTK=no
1788 if test -n "$PKG_CONFIG" && \
1789 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monodevelop\"") >&5
1790 ($PKG_CONFIG --exists --print-errors "monodevelop") 2>&5
1791 ac_status=$?
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }; then
1794 HAVE_MD=no
1795 else
1796 HAVE_MD=no
1799 HAVE_DOC_TOOLS=no
1800 # Extract the first word of "asciidoc", so it can be a program name with args.
1801 set dummy asciidoc; ac_word=$2
1802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1804 if test "${ac_cv_prog_ASCIIDOC+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807 if test -n "$ASCIIDOC"; then
1808 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
1809 else
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1813 IFS=$as_save_IFS
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1817 ac_cv_prog_ASCIIDOC="yes"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 break 2
1821 done
1822 done
1823 IFS=$as_save_IFS
1827 ASCIIDOC=$ac_cv_prog_ASCIIDOC
1828 if test -n "$ASCIIDOC"; then
1829 { echo "$as_me:$LINENO: result: $ASCIIDOC" >&5
1830 echo "${ECHO_T}$ASCIIDOC" >&6; }
1831 else
1832 { echo "$as_me:$LINENO: result: no" >&5
1833 echo "${ECHO_T}no" >&6; }
1837 # Extract the first word of "xmlto", so it can be a program name with args.
1838 set dummy xmlto; ac_word=$2
1839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1841 if test "${ac_cv_prog_XMLTO+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 else
1844 if test -n "$XMLTO"; then
1845 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1850 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1854 ac_cv_prog_XMLTO="yes"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2
1858 done
1859 done
1860 IFS=$as_save_IFS
1864 XMLTO=$ac_cv_prog_XMLTO
1865 if test -n "$XMLTO"; then
1866 { echo "$as_me:$LINENO: result: $XMLTO" >&5
1867 echo "${ECHO_T}$XMLTO" >&6; }
1868 else
1869 { echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6; }
1875 if test "x$ASCIIDOC" = "xyes"; then
1876 if test "x$XMLTO" = "xyes"; then
1877 HAVE_DOC_TOOLS=yes
1881 # Check whether --enable-keyring was given.
1882 if test "${enable_keyring+set}" = set; then
1883 enableval=$enable_keyring; HAVE_GNOME_KEYRING=no
1884 else
1885 if test -n "$PKG_CONFIG" && \
1886 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-sharp\"") >&5
1887 ($PKG_CONFIG --exists --print-errors "gnome-keyring-sharp") 2>&5
1888 ac_status=$?
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; then
1891 HAVE_GNOME_KEYRING=yes
1892 else
1893 HAVE_GNOME_KEYRING=no
1900 # Check whether --with-mslibs was given.
1901 if test "${with_mslibs+set}" = set; then
1902 withval=$with_mslibs; HAVE_MSLIBS=$withval
1903 else
1904 HAVE_MSLIBS=no
1909 MONO_VERSION=`pkg-config --modversion mono`
1910 HAVE_ATLEAST_GTK_210=`pkg-config --atleast-version=2.10 gtk-sharp-2.0 && echo 1`
1911 MD_LIBPATH=`pkg-config monodevelop --variable libdir`
1913 HAVE_MAGIC=maybe
1915 # Check whether --enable-magic was given.
1916 if test "${enable_magic+set}" = set; then
1917 enableval=$enable_magic; HAVE_MAGIC=no
1921 if test "x$HAVE_MAGIC" = "xmaybe"; then
1922 ac_ext=c
1923 ac_cpp='$CPP $CPPFLAGS'
1924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927 if test -n "$ac_tool_prefix"; then
1928 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1929 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1932 if test "${ac_cv_prog_CC+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935 if test -n "$CC"; then
1936 ac_cv_prog_CC="$CC" # Let the user override the test.
1937 else
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1945 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 break 2
1949 done
1950 done
1951 IFS=$as_save_IFS
1955 CC=$ac_cv_prog_CC
1956 if test -n "$CC"; then
1957 { echo "$as_me:$LINENO: result: $CC" >&5
1958 echo "${ECHO_T}$CC" >&6; }
1959 else
1960 { echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6; }
1966 if test -z "$ac_cv_prog_CC"; then
1967 ac_ct_CC=$CC
1968 # Extract the first word of "gcc", so it can be a program name with args.
1969 set dummy gcc; ac_word=$2
1970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 else
1975 if test -n "$ac_ct_CC"; then
1976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1977 else
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 for as_dir in $PATH
1981 IFS=$as_save_IFS
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1985 ac_cv_prog_ac_ct_CC="gcc"
1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 break 2
1989 done
1990 done
1991 IFS=$as_save_IFS
1995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1996 if test -n "$ac_ct_CC"; then
1997 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1998 echo "${ECHO_T}$ac_ct_CC" >&6; }
1999 else
2000 { echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6; }
2004 if test "x$ac_ct_CC" = x; then
2005 CC=""
2006 else
2007 case $cross_compiling:$ac_tool_warned in
2008 yes:)
2009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2010 whose name does not start with the host triplet. If you think this
2011 configuration is useful to you, please write to autoconf@gnu.org." >&5
2012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2013 whose name does not start with the host triplet. If you think this
2014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2015 ac_tool_warned=yes ;;
2016 esac
2017 CC=$ac_ct_CC
2019 else
2020 CC="$ac_cv_prog_CC"
2023 if test -z "$CC"; then
2024 if test -n "$ac_tool_prefix"; then
2025 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2026 set dummy ${ac_tool_prefix}cc; ac_word=$2
2027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2029 if test "${ac_cv_prog_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 else
2032 if test -n "$CC"; then
2033 ac_cv_prog_CC="$CC" # Let the user override the test.
2034 else
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2038 IFS=$as_save_IFS
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042 ac_cv_prog_CC="${ac_tool_prefix}cc"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044 break 2
2046 done
2047 done
2048 IFS=$as_save_IFS
2052 CC=$ac_cv_prog_CC
2053 if test -n "$CC"; then
2054 { echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6; }
2056 else
2057 { echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6; }
2064 if test -z "$CC"; then
2065 # Extract the first word of "cc", so it can be a program name with args.
2066 set dummy cc; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 else
2075 ac_prog_rejected=no
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2084 ac_prog_rejected=yes
2085 continue
2087 ac_cv_prog_CC="cc"
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 break 2
2091 done
2092 done
2093 IFS=$as_save_IFS
2095 if test $ac_prog_rejected = yes; then
2096 # We found a bogon in the path, so make sure we never use it.
2097 set dummy $ac_cv_prog_CC
2098 shift
2099 if test $# != 0; then
2100 # We chose a different compiler from the bogus one.
2101 # However, it has the same basename, so the bogon will be chosen
2102 # first if we set CC to just the basename; use the full file name.
2103 shift
2104 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2109 CC=$ac_cv_prog_CC
2110 if test -n "$CC"; then
2111 { echo "$as_me:$LINENO: result: $CC" >&5
2112 echo "${ECHO_T}$CC" >&6; }
2113 else
2114 { echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6; }
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 for ac_prog in cl.exe
2124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2128 if test "${ac_cv_prog_CC+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 else
2131 if test -n "$CC"; then
2132 ac_cv_prog_CC="$CC" # Let the user override the test.
2133 else
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 for as_dir in $PATH
2137 IFS=$as_save_IFS
2138 test -z "$as_dir" && as_dir=.
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 break 2
2145 done
2146 done
2147 IFS=$as_save_IFS
2151 CC=$ac_cv_prog_CC
2152 if test -n "$CC"; then
2153 { echo "$as_me:$LINENO: result: $CC" >&5
2154 echo "${ECHO_T}$CC" >&6; }
2155 else
2156 { echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6; }
2161 test -n "$CC" && break
2162 done
2164 if test -z "$CC"; then
2165 ac_ct_CC=$CC
2166 for ac_prog in cl.exe
2168 # Extract the first word of "$ac_prog", so it can be a program name with args.
2169 set dummy $ac_prog; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 if test -n "$ac_ct_CC"; then
2176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2177 else
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_ac_ct_CC="$ac_prog"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 break 2
2189 done
2190 done
2191 IFS=$as_save_IFS
2195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2196 if test -n "$ac_ct_CC"; then
2197 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2198 echo "${ECHO_T}$ac_ct_CC" >&6; }
2199 else
2200 { echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6; }
2205 test -n "$ac_ct_CC" && break
2206 done
2208 if test "x$ac_ct_CC" = x; then
2209 CC=""
2210 else
2211 case $cross_compiling:$ac_tool_warned in
2212 yes:)
2213 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2214 whose name does not start with the host triplet. If you think this
2215 configuration is useful to you, please write to autoconf@gnu.org." >&5
2216 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2217 whose name does not start with the host triplet. If you think this
2218 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2219 ac_tool_warned=yes ;;
2220 esac
2221 CC=$ac_ct_CC
2228 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2229 See \`config.log' for more details." >&5
2230 echo "$as_me: error: no acceptable C compiler found in \$PATH
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }
2234 # Provide some information about the compiler.
2235 echo "$as_me:$LINENO: checking for C compiler version" >&5
2236 ac_compiler=`set X $ac_compile; echo $2`
2237 { (ac_try="$ac_compiler --version >&5"
2238 case "(($ac_try" in
2239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240 *) ac_try_echo=$ac_try;;
2241 esac
2242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2243 (eval "$ac_compiler --version >&5") 2>&5
2244 ac_status=$?
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }
2247 { (ac_try="$ac_compiler -v >&5"
2248 case "(($ac_try" in
2249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250 *) ac_try_echo=$ac_try;;
2251 esac
2252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2253 (eval "$ac_compiler -v >&5") 2>&5
2254 ac_status=$?
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }
2257 { (ac_try="$ac_compiler -V >&5"
2258 case "(($ac_try" in
2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2261 esac
2262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2263 (eval "$ac_compiler -V >&5") 2>&5
2264 ac_status=$?
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }
2268 cat >conftest.$ac_ext <<_ACEOF
2269 /* confdefs.h. */
2270 _ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h. */
2276 main ()
2280 return 0;
2282 _ACEOF
2283 ac_clean_files_save=$ac_clean_files
2284 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2285 # Try to create an executable without -o first, disregard a.out.
2286 # It will help us diagnose broken compilers, and finding out an intuition
2287 # of exeext.
2288 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2289 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2290 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2292 # List of possible output files, starting from the most likely.
2293 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2294 # only as a last resort. b.out is created by i960 compilers.
2295 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2297 # The IRIX 6 linker writes into existing files which may not be
2298 # executable, retaining their permissions. Remove them first so a
2299 # subsequent execution test works.
2300 ac_rmfiles=
2301 for ac_file in $ac_files
2303 case $ac_file in
2304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2305 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2306 esac
2307 done
2308 rm -f $ac_rmfiles
2310 if { (ac_try="$ac_link_default"
2311 case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2314 esac
2315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2316 (eval "$ac_link_default") 2>&5
2317 ac_status=$?
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; then
2320 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2321 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2322 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2323 # so that the user can short-circuit this test for compilers unknown to
2324 # Autoconf.
2325 for ac_file in $ac_files ''
2327 test -f "$ac_file" || continue
2328 case $ac_file in
2329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2331 [ab].out )
2332 # We found the default executable, but exeext='' is most
2333 # certainly right.
2334 break;;
2335 *.* )
2336 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2337 then :; else
2338 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340 # We set ac_cv_exeext here because the later test for it is not
2341 # safe: cross compilers may not add the suffix if given an `-o'
2342 # argument, so we may need to know it at that point already.
2343 # Even if this section looks crufty: it has the advantage of
2344 # actually working.
2345 break;;
2347 break;;
2348 esac
2349 done
2350 test "$ac_cv_exeext" = no && ac_cv_exeext=
2352 else
2353 ac_file=''
2356 { echo "$as_me:$LINENO: result: $ac_file" >&5
2357 echo "${ECHO_T}$ac_file" >&6; }
2358 if test -z "$ac_file"; then
2359 echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: C compiler cannot create executables
2365 See \`config.log' for more details." >&2;}
2366 { (exit 77); exit 77; }; }
2369 ac_exeext=$ac_cv_exeext
2371 # Check that the compiler produces executables we can run. If not, either
2372 # the compiler is broken, or we cross compile.
2373 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2374 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2375 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2376 # If not cross compiling, check that we can run a simple program.
2377 if test "$cross_compiling" != yes; then
2378 if { ac_try='./$ac_file'
2379 { (case "(($ac_try" in
2380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381 *) ac_try_echo=$ac_try;;
2382 esac
2383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2384 (eval "$ac_try") 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; }; then
2388 cross_compiling=no
2389 else
2390 if test "$cross_compiling" = maybe; then
2391 cross_compiling=yes
2392 else
2393 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2394 If you meant to cross compile, use \`--host'.
2395 See \`config.log' for more details." >&5
2396 echo "$as_me: error: cannot run C compiled programs.
2397 If you meant to cross compile, use \`--host'.
2398 See \`config.log' for more details." >&2;}
2399 { (exit 1); exit 1; }; }
2403 { echo "$as_me:$LINENO: result: yes" >&5
2404 echo "${ECHO_T}yes" >&6; }
2406 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2407 ac_clean_files=$ac_clean_files_save
2408 # Check that the compiler produces executables we can run. If not, either
2409 # the compiler is broken, or we cross compile.
2410 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2411 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2412 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2413 echo "${ECHO_T}$cross_compiling" >&6; }
2415 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2416 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2417 if { (ac_try="$ac_link"
2418 case "(($ac_try" in
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2421 esac
2422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2423 (eval "$ac_link") 2>&5
2424 ac_status=$?
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; then
2427 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2428 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2429 # work properly (i.e., refer to `conftest.exe'), while it won't with
2430 # `rm'.
2431 for ac_file in conftest.exe conftest conftest.*; do
2432 test -f "$ac_file" || continue
2433 case $ac_file in
2434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2435 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2436 break;;
2437 * ) break;;
2438 esac
2439 done
2440 else
2441 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2444 See \`config.log' for more details." >&2;}
2445 { (exit 1); exit 1; }; }
2448 rm -f conftest$ac_cv_exeext
2449 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2450 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2452 rm -f conftest.$ac_ext
2453 EXEEXT=$ac_cv_exeext
2454 ac_exeext=$EXEEXT
2455 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2456 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2457 if test "${ac_cv_objext+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 else
2460 cat >conftest.$ac_ext <<_ACEOF
2461 /* confdefs.h. */
2462 _ACEOF
2463 cat confdefs.h >>conftest.$ac_ext
2464 cat >>conftest.$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2468 main ()
2472 return 0;
2474 _ACEOF
2475 rm -f conftest.o conftest.obj
2476 if { (ac_try="$ac_compile"
2477 case "(($ac_try" in
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2480 esac
2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2482 (eval "$ac_compile") 2>&5
2483 ac_status=$?
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; then
2486 for ac_file in conftest.o conftest.obj conftest.*; do
2487 test -f "$ac_file" || continue;
2488 case $ac_file in
2489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2490 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2491 break;;
2492 esac
2493 done
2494 else
2495 echo "$as_me: failed program was:" >&5
2496 sed 's/^/| /' conftest.$ac_ext >&5
2498 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2507 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2508 echo "${ECHO_T}$ac_cv_objext" >&6; }
2509 OBJEXT=$ac_cv_objext
2510 ac_objext=$OBJEXT
2511 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2512 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2513 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 cat >conftest.$ac_ext <<_ACEOF
2517 /* confdefs.h. */
2518 _ACEOF
2519 cat confdefs.h >>conftest.$ac_ext
2520 cat >>conftest.$ac_ext <<_ACEOF
2521 /* end confdefs.h. */
2524 main ()
2526 #ifndef __GNUC__
2527 choke me
2528 #endif
2531 return 0;
2533 _ACEOF
2534 rm -f conftest.$ac_objext
2535 if { (ac_try="$ac_compile"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_compile") 2>conftest.er1
2542 ac_status=$?
2543 grep -v '^ *+' conftest.er1 >conftest.err
2544 rm -f conftest.er1
2545 cat conftest.err >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } && {
2548 test -z "$ac_c_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.$ac_objext; then
2551 ac_compiler_gnu=yes
2552 else
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2556 ac_compiler_gnu=no
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2563 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2564 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2565 GCC=`test $ac_compiler_gnu = yes && echo yes`
2566 ac_test_CFLAGS=${CFLAGS+set}
2567 ac_save_CFLAGS=$CFLAGS
2568 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2569 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2570 if test "${ac_cv_prog_cc_g+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573 ac_save_c_werror_flag=$ac_c_werror_flag
2574 ac_c_werror_flag=yes
2575 ac_cv_prog_cc_g=no
2576 CFLAGS="-g"
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.$ac_objext
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>conftest.er1
2600 ac_status=$?
2601 grep -v '^ *+' conftest.er1 >conftest.err
2602 rm -f conftest.er1
2603 cat conftest.err >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } && {
2606 test -z "$ac_c_werror_flag" ||
2607 test ! -s conftest.err
2608 } && test -s conftest.$ac_objext; then
2609 ac_cv_prog_cc_g=yes
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 CFLAGS=""
2615 cat >conftest.$ac_ext <<_ACEOF
2616 /* confdefs.h. */
2617 _ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2623 main ()
2627 return 0;
2629 _ACEOF
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2638 ac_status=$?
2639 grep -v '^ *+' conftest.er1 >conftest.err
2640 rm -f conftest.er1
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } && {
2644 test -z "$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 } && test -s conftest.$ac_objext; then
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_c_werror_flag=$ac_save_c_werror_flag
2653 CFLAGS="-g"
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2662 main ()
2666 return 0;
2668 _ACEOF
2669 rm -f conftest.$ac_objext
2670 if { (ac_try="$ac_compile"
2671 case "(($ac_try" in
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2674 esac
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_compile") 2>conftest.er1
2677 ac_status=$?
2678 grep -v '^ *+' conftest.er1 >conftest.err
2679 rm -f conftest.er1
2680 cat conftest.err >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); } && {
2683 test -z "$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest.$ac_objext; then
2686 ac_cv_prog_cc_g=yes
2687 else
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 ac_c_werror_flag=$ac_save_c_werror_flag
2703 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2704 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2705 if test "$ac_test_CFLAGS" = set; then
2706 CFLAGS=$ac_save_CFLAGS
2707 elif test $ac_cv_prog_cc_g = yes; then
2708 if test "$GCC" = yes; then
2709 CFLAGS="-g -O2"
2710 else
2711 CFLAGS="-g"
2713 else
2714 if test "$GCC" = yes; then
2715 CFLAGS="-O2"
2716 else
2717 CFLAGS=
2720 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2721 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2722 if test "${ac_cv_prog_cc_c89+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 else
2725 ac_cv_prog_cc_c89=no
2726 ac_save_CC=$CC
2727 cat >conftest.$ac_ext <<_ACEOF
2728 /* confdefs.h. */
2729 _ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2733 #include <stdarg.h>
2734 #include <stdio.h>
2735 #include <sys/types.h>
2736 #include <sys/stat.h>
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2741 char **p;
2742 int i;
2744 return p[i];
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2748 char *s;
2749 va_list v;
2750 va_start (v,p);
2751 s = g (p, va_arg (v,int));
2752 va_end (v);
2753 return s;
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2766 inside strings and character constants. */
2767 #define FOO(x) 'x'
2768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2770 int test (int i, double x);
2771 struct s1 {int (*f) (int a);};
2772 struct s2 {int (*f) (double a);};
2773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2774 int argc;
2775 char **argv;
2777 main ()
2779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2781 return 0;
2783 _ACEOF
2784 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2787 CC="$ac_save_CC $ac_arg"
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2796 ac_status=$?
2797 grep -v '^ *+' conftest.er1 >conftest.err
2798 rm -f conftest.er1
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2805 ac_cv_prog_cc_c89=$ac_arg
2806 else
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext
2814 test "x$ac_cv_prog_cc_c89" != "xno" && break
2815 done
2816 rm -f conftest.$ac_ext
2817 CC=$ac_save_CC
2820 # AC_CACHE_VAL
2821 case "x$ac_cv_prog_cc_c89" in
2823 { echo "$as_me:$LINENO: result: none needed" >&5
2824 echo "${ECHO_T}none needed" >&6; } ;;
2825 xno)
2826 { echo "$as_me:$LINENO: result: unsupported" >&5
2827 echo "${ECHO_T}unsupported" >&6; } ;;
2829 CC="$CC $ac_cv_prog_cc_c89"
2830 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2831 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2832 esac
2835 ac_ext=c
2836 ac_cpp='$CPP $CPPFLAGS'
2837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842 { echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
2843 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6; }
2844 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 else
2847 ac_check_lib_save_LIBS=$LIBS
2848 LIBS="-lmagic $LIBS"
2849 cat >conftest.$ac_ext <<_ACEOF
2850 /* confdefs.h. */
2851 _ACEOF
2852 cat confdefs.h >>conftest.$ac_ext
2853 cat >>conftest.$ac_ext <<_ACEOF
2854 /* end confdefs.h. */
2856 /* Override any GCC internal prototype to avoid an error.
2857 Use char because int might match the return type of a GCC
2858 builtin and then its argument prototype would still apply. */
2859 #ifdef __cplusplus
2860 extern "C"
2861 #endif
2862 char magic_open ();
2864 main ()
2866 return magic_open ();
2868 return 0;
2870 _ACEOF
2871 rm -f conftest.$ac_objext conftest$ac_exeext
2872 if { (ac_try="$ac_link"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_link") 2>conftest.er1
2879 ac_status=$?
2880 grep -v '^ *+' conftest.er1 >conftest.err
2881 rm -f conftest.er1
2882 cat conftest.err >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); } && {
2885 test -z "$ac_c_werror_flag" ||
2886 test ! -s conftest.err
2887 } && test -s conftest$ac_exeext &&
2888 $as_test_x conftest$ac_exeext; then
2889 ac_cv_lib_magic_magic_open=yes
2890 else
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_cv_lib_magic_magic_open=no
2897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2898 conftest$ac_exeext conftest.$ac_ext
2899 LIBS=$ac_check_lib_save_LIBS
2901 { echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
2902 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6; }
2903 if test $ac_cv_lib_magic_magic_open = yes; then
2904 HAVE_MAGIC=yes
2905 else
2906 HAVE_MAGIC=no
2911 if test "x$prefix" = "xNONE"; then
2912 prefix=/usr/local
2915 # assume on windows for now
2916 if test "x$MONO_VERSION" = "x"; then
2917 MONO_VERSION=csc-2.0
2920 echo "prefix=$prefix" > build/config.make
2921 echo "exec_prefix=\${prefix}" >> build/config.make
2922 echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
2923 echo "RUNTIME=mono" >> build/config.make
2924 echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> build/config.make
2925 echo "MONO_VERSION=$MONO_VERSION" >> build/config.make
2926 echo "MONODEVELOP_LIBPATH=$MD_LIBPATH" >> build/config.make
2927 echo "MCS_FLAGS=-debug+" >> build/config.make
2928 echo "HAVE_GTK=$HAVE_GTK" >> build/config.make
2929 echo "HAVE_ATLEAST_GTK_210=$HAVE_ATLEAST_GTK_210" >> build/config.make
2930 echo "HAVE_MAGIC=$HAVE_MAGIC" >> build/config.make
2931 echo "HAVE_MONODEVELOP=$HAVE_MD" >> build/config.make
2932 echo "HAVE_GNOME_KEYRING=$HAVE_GNOME_KEYRING" >> build/config.make
2933 echo "HAVE_DOC_TOOLS=$HAVE_DOC_TOOLS" >> build/config.make
2934 echo "HAVE_MSLIBS=$HAVE_MSLIBS" >> build/config.make
2936 ac_config_files="$ac_config_files tools/tf/tf.sh"
2939 cat >confcache <<\_ACEOF
2940 # This file is a shell script that caches the results of configure
2941 # tests run on this system so they can be shared between configure
2942 # scripts and configure runs, see configure's option --config-cache.
2943 # It is not useful on other systems. If it contains results you don't
2944 # want to keep, you may remove or edit it.
2946 # config.status only pays attention to the cache file if you give it
2947 # the --recheck option to rerun configure.
2949 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2950 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2951 # following values.
2953 _ACEOF
2955 # The following way of writing the cache mishandles newlines in values,
2956 # but we know of no workaround that is simple, portable, and efficient.
2957 # So, we kill variables containing newlines.
2958 # Ultrix sh set writes to stderr and can't be redirected directly,
2959 # and sets the high bit in the cache file unless we assign to the vars.
2961 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2962 eval ac_val=\$$ac_var
2963 case $ac_val in #(
2964 *${as_nl}*)
2965 case $ac_var in #(
2966 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2967 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2968 esac
2969 case $ac_var in #(
2970 _ | IFS | as_nl) ;; #(
2971 *) $as_unset $ac_var ;;
2972 esac ;;
2973 esac
2974 done
2976 (set) 2>&1 |
2977 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2978 *${as_nl}ac_space=\ *)
2979 # `set' does not quote correctly, so add quotes (double-quote
2980 # substitution turns \\\\ into \\, and sed turns \\ into \).
2981 sed -n \
2982 "s/'/'\\\\''/g;
2983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2984 ;; #(
2986 # `set' quotes correctly as required by POSIX, so do not add quotes.
2987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2989 esac |
2990 sort
2992 sed '
2993 /^ac_cv_env_/b end
2994 t clear
2995 :clear
2996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2997 t end
2998 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2999 :end' >>confcache
3000 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3001 if test -w "$cache_file"; then
3002 test "x$cache_file" != "x/dev/null" &&
3003 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3004 echo "$as_me: updating cache $cache_file" >&6;}
3005 cat confcache >$cache_file
3006 else
3007 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3008 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3011 rm -f confcache
3013 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3014 # Let make expand exec_prefix.
3015 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3017 # Transform confdefs.h into DEFS.
3018 # Protect against shell expansion while executing Makefile rules.
3019 # Protect against Makefile macro expansion.
3021 # If the first sed substitution is executed (which looks for macros that
3022 # take arguments), then branch to the quote section. Otherwise,
3023 # look for a macro that doesn't take arguments.
3024 ac_script='
3025 t clear
3026 :clear
3027 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3028 t quote
3029 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3030 t quote
3031 b any
3032 :quote
3033 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3034 s/\[/\\&/g
3035 s/\]/\\&/g
3036 s/\$/$$/g
3038 :any
3041 s/^\n//
3042 s/\n/ /g
3046 DEFS=`sed -n "$ac_script" confdefs.h`
3049 ac_libobjs=
3050 ac_ltlibobjs=
3051 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3052 # 1. Remove the extension, and $U if already installed.
3053 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3054 ac_i=`echo "$ac_i" | sed "$ac_script"`
3055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3056 # will be set to the directory where LIBOBJS objects are built.
3057 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3058 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3059 done
3060 LIBOBJS=$ac_libobjs
3062 LTLIBOBJS=$ac_ltlibobjs
3066 : ${CONFIG_STATUS=./config.status}
3067 ac_clean_files_save=$ac_clean_files
3068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3069 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3070 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3071 cat >$CONFIG_STATUS <<_ACEOF
3072 #! $SHELL
3073 # Generated by $as_me.
3074 # Run this file to recreate the current configuration.
3075 # Compiler output produced by configure, useful for debugging
3076 # configure, is in config.log if it exists.
3078 debug=false
3079 ac_cs_recheck=false
3080 ac_cs_silent=false
3081 SHELL=\${CONFIG_SHELL-$SHELL}
3082 _ACEOF
3084 cat >>$CONFIG_STATUS <<\_ACEOF
3085 ## --------------------- ##
3086 ## M4sh Initialization. ##
3087 ## --------------------- ##
3089 # Be more Bourne compatible
3090 DUALCASE=1; export DUALCASE # for MKS sh
3091 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3092 emulate sh
3093 NULLCMD=:
3094 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3095 # is contrary to our usage. Disable this feature.
3096 alias -g '${1+"$@"}'='"$@"'
3097 setopt NO_GLOB_SUBST
3098 else
3099 case `(set -o) 2>/dev/null` in
3100 *posix*) set -o posix ;;
3101 esac
3108 # PATH needs CR
3109 # Avoid depending upon Character Ranges.
3110 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3111 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3112 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3113 as_cr_digits='0123456789'
3114 as_cr_alnum=$as_cr_Letters$as_cr_digits
3116 # The user is always right.
3117 if test "${PATH_SEPARATOR+set}" != set; then
3118 echo "#! /bin/sh" >conf$$.sh
3119 echo "exit 0" >>conf$$.sh
3120 chmod +x conf$$.sh
3121 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3122 PATH_SEPARATOR=';'
3123 else
3124 PATH_SEPARATOR=:
3126 rm -f conf$$.sh
3129 # Support unset when possible.
3130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3131 as_unset=unset
3132 else
3133 as_unset=false
3137 # IFS
3138 # We need space, tab and new line, in precisely that order. Quoting is
3139 # there to prevent editors from complaining about space-tab.
3140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3141 # splitting by setting IFS to empty value.)
3142 as_nl='
3144 IFS=" "" $as_nl"
3146 # Find who we are. Look in the path if we contain no directory separator.
3147 case $0 in
3148 *[\\/]* ) as_myself=$0 ;;
3149 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3152 IFS=$as_save_IFS
3153 test -z "$as_dir" && as_dir=.
3154 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3155 done
3156 IFS=$as_save_IFS
3159 esac
3160 # We did not find ourselves, most probably we were run as `sh COMMAND'
3161 # in which case we are not to be found in the path.
3162 if test "x$as_myself" = x; then
3163 as_myself=$0
3165 if test ! -f "$as_myself"; then
3166 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3167 { (exit 1); exit 1; }
3170 # Work around bugs in pre-3.0 UWIN ksh.
3171 for as_var in ENV MAIL MAILPATH
3172 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3173 done
3174 PS1='$ '
3175 PS2='> '
3176 PS4='+ '
3178 # NLS nuisances.
3179 for as_var in \
3180 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3181 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3182 LC_TELEPHONE LC_TIME
3184 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3185 eval $as_var=C; export $as_var
3186 else
3187 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3189 done
3191 # Required to use basename.
3192 if expr a : '\(a\)' >/dev/null 2>&1 &&
3193 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3194 as_expr=expr
3195 else
3196 as_expr=false
3199 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3200 as_basename=basename
3201 else
3202 as_basename=false
3206 # Name of the executable.
3207 as_me=`$as_basename -- "$0" ||
3208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3209 X"$0" : 'X\(//\)$' \| \
3210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3211 echo X/"$0" |
3212 sed '/^.*\/\([^/][^/]*\)\/*$/{
3213 s//\1/
3216 /^X\/\(\/\/\)$/{
3217 s//\1/
3220 /^X\/\(\/\).*/{
3221 s//\1/
3224 s/.*/./; q'`
3226 # CDPATH.
3227 $as_unset CDPATH
3231 as_lineno_1=$LINENO
3232 as_lineno_2=$LINENO
3233 test "x$as_lineno_1" != "x$as_lineno_2" &&
3234 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3236 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3237 # uniformly replaced by the line number. The first 'sed' inserts a
3238 # line-number line after each line using $LINENO; the second 'sed'
3239 # does the real work. The second script uses 'N' to pair each
3240 # line-number line with the line containing $LINENO, and appends
3241 # trailing '-' during substitution so that $LINENO is not a special
3242 # case at line end.
3243 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3244 # scripts with optimization help from Paolo Bonzini. Blame Lee
3245 # E. McMahon (1931-1989) for sed's syntax. :-)
3246 sed -n '
3248 /[$]LINENO/=
3249 ' <$as_myself |
3250 sed '
3251 s/[$]LINENO.*/&-/
3252 t lineno
3254 :lineno
3256 :loop
3257 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3258 t loop
3259 s/-\n.*//
3260 ' >$as_me.lineno &&
3261 chmod +x "$as_me.lineno" ||
3262 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3263 { (exit 1); exit 1; }; }
3265 # Don't try to exec as it changes $[0], causing all sort of problems
3266 # (the dirname of $[0] is not the place where we might find the
3267 # original and so on. Autoconf is especially sensitive to this).
3268 . "./$as_me.lineno"
3269 # Exit status is that of the last command.
3270 exit
3274 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3275 as_dirname=dirname
3276 else
3277 as_dirname=false
3280 ECHO_C= ECHO_N= ECHO_T=
3281 case `echo -n x` in
3282 -n*)
3283 case `echo 'x\c'` in
3284 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3285 *) ECHO_C='\c';;
3286 esac;;
3288 ECHO_N='-n';;
3289 esac
3291 if expr a : '\(a\)' >/dev/null 2>&1 &&
3292 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3293 as_expr=expr
3294 else
3295 as_expr=false
3298 rm -f conf$$ conf$$.exe conf$$.file
3299 if test -d conf$$.dir; then
3300 rm -f conf$$.dir/conf$$.file
3301 else
3302 rm -f conf$$.dir
3303 mkdir conf$$.dir
3305 echo >conf$$.file
3306 if ln -s conf$$.file conf$$ 2>/dev/null; then
3307 as_ln_s='ln -s'
3308 # ... but there are two gotchas:
3309 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3310 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3311 # In both cases, we have to default to `cp -p'.
3312 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3313 as_ln_s='cp -p'
3314 elif ln conf$$.file conf$$ 2>/dev/null; then
3315 as_ln_s=ln
3316 else
3317 as_ln_s='cp -p'
3319 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3320 rmdir conf$$.dir 2>/dev/null
3322 if mkdir -p . 2>/dev/null; then
3323 as_mkdir_p=:
3324 else
3325 test -d ./-p && rmdir ./-p
3326 as_mkdir_p=false
3329 if test -x / >/dev/null 2>&1; then
3330 as_test_x='test -x'
3331 else
3332 if ls -dL / >/dev/null 2>&1; then
3333 as_ls_L_option=L
3334 else
3335 as_ls_L_option=
3337 as_test_x='
3338 eval sh -c '\''
3339 if test -d "$1"; then
3340 test -d "$1/.";
3341 else
3342 case $1 in
3343 -*)set "./$1";;
3344 esac;
3345 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3346 ???[sx]*):;;*)false;;esac;fi
3347 '\'' sh
3350 as_executable_p=$as_test_x
3352 # Sed expression to map a string onto a valid CPP name.
3353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3355 # Sed expression to map a string onto a valid variable name.
3356 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3359 exec 6>&1
3361 # Save the log message, to keep $[0] and so on meaningful, and to
3362 # report actual input values of CONFIG_FILES etc. instead of their
3363 # values after options handling.
3364 ac_log="
3365 This file was extended by tf4mono $as_me 0.5.1, which was
3366 generated by GNU Autoconf 2.61. Invocation command line was
3368 CONFIG_FILES = $CONFIG_FILES
3369 CONFIG_HEADERS = $CONFIG_HEADERS
3370 CONFIG_LINKS = $CONFIG_LINKS
3371 CONFIG_COMMANDS = $CONFIG_COMMANDS
3372 $ $0 $@
3374 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3377 _ACEOF
3379 cat >>$CONFIG_STATUS <<_ACEOF
3380 # Files that config.status was made for.
3381 config_files="$ac_config_files"
3383 _ACEOF
3385 cat >>$CONFIG_STATUS <<\_ACEOF
3386 ac_cs_usage="\
3387 \`$as_me' instantiates files from templates according to the
3388 current configuration.
3390 Usage: $0 [OPTIONS] [FILE]...
3392 -h, --help print this help, then exit
3393 -V, --version print version number and configuration settings, then exit
3394 -q, --quiet do not print progress messages
3395 -d, --debug don't remove temporary files
3396 --recheck update $as_me by reconfiguring in the same conditions
3397 --file=FILE[:TEMPLATE]
3398 instantiate the configuration file FILE
3400 Configuration files:
3401 $config_files
3403 Report bugs to <bug-autoconf@gnu.org>."
3405 _ACEOF
3406 cat >>$CONFIG_STATUS <<_ACEOF
3407 ac_cs_version="\\
3408 tf4mono config.status 0.5.1
3409 configured by $0, generated by GNU Autoconf 2.61,
3410 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3412 Copyright (C) 2006 Free Software Foundation, Inc.
3413 This config.status script is free software; the Free Software Foundation
3414 gives unlimited permission to copy, distribute and modify it."
3416 ac_pwd='$ac_pwd'
3417 srcdir='$srcdir'
3418 _ACEOF
3420 cat >>$CONFIG_STATUS <<\_ACEOF
3421 # If no file are specified by the user, then we need to provide default
3422 # value. By we need to know if files were specified by the user.
3423 ac_need_defaults=:
3424 while test $# != 0
3426 case $1 in
3427 --*=*)
3428 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3429 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3430 ac_shift=:
3433 ac_option=$1
3434 ac_optarg=$2
3435 ac_shift=shift
3437 esac
3439 case $ac_option in
3440 # Handling of the options.
3441 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3442 ac_cs_recheck=: ;;
3443 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3444 echo "$ac_cs_version"; exit ;;
3445 --debug | --debu | --deb | --de | --d | -d )
3446 debug=: ;;
3447 --file | --fil | --fi | --f )
3448 $ac_shift
3449 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3450 ac_need_defaults=false;;
3451 --he | --h | --help | --hel | -h )
3452 echo "$ac_cs_usage"; exit ;;
3453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3454 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3455 ac_cs_silent=: ;;
3457 # This is an error.
3458 -*) { echo "$as_me: error: unrecognized option: $1
3459 Try \`$0 --help' for more information." >&2
3460 { (exit 1); exit 1; }; } ;;
3462 *) ac_config_targets="$ac_config_targets $1"
3463 ac_need_defaults=false ;;
3465 esac
3466 shift
3467 done
3469 ac_configure_extra_args=
3471 if $ac_cs_silent; then
3472 exec 6>/dev/null
3473 ac_configure_extra_args="$ac_configure_extra_args --silent"
3476 _ACEOF
3477 cat >>$CONFIG_STATUS <<_ACEOF
3478 if \$ac_cs_recheck; then
3479 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3480 CONFIG_SHELL=$SHELL
3481 export CONFIG_SHELL
3482 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3485 _ACEOF
3486 cat >>$CONFIG_STATUS <<\_ACEOF
3487 exec 5>>config.log
3489 echo
3490 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3491 ## Running $as_me. ##
3492 _ASBOX
3493 echo "$ac_log"
3494 } >&5
3496 _ACEOF
3497 cat >>$CONFIG_STATUS <<_ACEOF
3498 _ACEOF
3500 cat >>$CONFIG_STATUS <<\_ACEOF
3502 # Handling of arguments.
3503 for ac_config_target in $ac_config_targets
3505 case $ac_config_target in
3506 "tools/tf/tf.sh") CONFIG_FILES="$CONFIG_FILES tools/tf/tf.sh" ;;
3508 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3509 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3510 { (exit 1); exit 1; }; };;
3511 esac
3512 done
3515 # If the user did not use the arguments to specify the items to instantiate,
3516 # then the envvar interface is used. Set only those that are not.
3517 # We use the long form for the default assignment because of an extremely
3518 # bizarre bug on SunOS 4.1.3.
3519 if $ac_need_defaults; then
3520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3523 # Have a temporary directory for convenience. Make it in the build tree
3524 # simply because there is no reason against having it here, and in addition,
3525 # creating and moving files from /tmp can sometimes cause problems.
3526 # Hook for its removal unless debugging.
3527 # Note that there is a small window in which the directory will not be cleaned:
3528 # after its creation but before its name has been assigned to `$tmp'.
3529 $debug ||
3531 tmp=
3532 trap 'exit_status=$?
3533 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3535 trap '{ (exit 1); exit 1; }' 1 2 13 15
3537 # Create a (secure) tmp directory for tmp files.
3540 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3541 test -n "$tmp" && test -d "$tmp"
3542 } ||
3544 tmp=./conf$$-$RANDOM
3545 (umask 077 && mkdir "$tmp")
3546 } ||
3548 echo "$me: cannot create a temporary directory in ." >&2
3549 { (exit 1); exit 1; }
3553 # Set up the sed scripts for CONFIG_FILES section.
3556 # No need to generate the scripts if there are no CONFIG_FILES.
3557 # This happens for instance when ./config.status config.h
3558 if test -n "$CONFIG_FILES"; then
3560 _ACEOF
3564 ac_delim='%!_!# '
3565 for ac_last_try in false false false false false :; do
3566 cat >conf$$subs.sed <<_ACEOF
3567 SHELL!$SHELL$ac_delim
3568 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3569 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3570 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3571 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3572 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3573 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3574 exec_prefix!$exec_prefix$ac_delim
3575 prefix!$prefix$ac_delim
3576 program_transform_name!$program_transform_name$ac_delim
3577 bindir!$bindir$ac_delim
3578 sbindir!$sbindir$ac_delim
3579 libexecdir!$libexecdir$ac_delim
3580 datarootdir!$datarootdir$ac_delim
3581 datadir!$datadir$ac_delim
3582 sysconfdir!$sysconfdir$ac_delim
3583 sharedstatedir!$sharedstatedir$ac_delim
3584 localstatedir!$localstatedir$ac_delim
3585 includedir!$includedir$ac_delim
3586 oldincludedir!$oldincludedir$ac_delim
3587 docdir!$docdir$ac_delim
3588 infodir!$infodir$ac_delim
3589 htmldir!$htmldir$ac_delim
3590 dvidir!$dvidir$ac_delim
3591 pdfdir!$pdfdir$ac_delim
3592 psdir!$psdir$ac_delim
3593 libdir!$libdir$ac_delim
3594 localedir!$localedir$ac_delim
3595 mandir!$mandir$ac_delim
3596 DEFS!$DEFS$ac_delim
3597 ECHO_C!$ECHO_C$ac_delim
3598 ECHO_N!$ECHO_N$ac_delim
3599 ECHO_T!$ECHO_T$ac_delim
3600 LIBS!$LIBS$ac_delim
3601 build_alias!$build_alias$ac_delim
3602 host_alias!$host_alias$ac_delim
3603 target_alias!$target_alias$ac_delim
3604 PKG_CONFIG!$PKG_CONFIG$ac_delim
3605 ASCIIDOC!$ASCIIDOC$ac_delim
3606 XMLTO!$XMLTO$ac_delim
3607 CC!$CC$ac_delim
3608 CFLAGS!$CFLAGS$ac_delim
3609 LDFLAGS!$LDFLAGS$ac_delim
3610 CPPFLAGS!$CPPFLAGS$ac_delim
3611 ac_ct_CC!$ac_ct_CC$ac_delim
3612 EXEEXT!$EXEEXT$ac_delim
3613 OBJEXT!$OBJEXT$ac_delim
3614 LIBOBJS!$LIBOBJS$ac_delim
3615 LTLIBOBJS!$LTLIBOBJS$ac_delim
3616 _ACEOF
3618 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
3619 break
3620 elif $ac_last_try; then
3621 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3622 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3623 { (exit 1); exit 1; }; }
3624 else
3625 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3627 done
3629 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3630 if test -n "$ac_eof"; then
3631 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3632 ac_eof=`expr $ac_eof + 1`
3635 cat >>$CONFIG_STATUS <<_ACEOF
3636 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3637 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3638 _ACEOF
3639 sed '
3640 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3641 s/^/s,@/; s/!/@,|#_!!_#|/
3644 s/'"$ac_delim"'$/,g/; t
3645 s/$/\\/; p
3646 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3647 ' >>$CONFIG_STATUS <conf$$subs.sed
3648 rm -f conf$$subs.sed
3649 cat >>$CONFIG_STATUS <<_ACEOF
3650 :end
3651 s/|#_!!_#|//g
3652 CEOF$ac_eof
3653 _ACEOF
3656 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3657 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3658 # trailing colons and then remove the whole line if VPATH becomes empty
3659 # (actually we leave an empty line to preserve line numbers).
3660 if test "x$srcdir" = x.; then
3661 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3662 s/:*\$(srcdir):*/:/
3663 s/:*\${srcdir}:*/:/
3664 s/:*@srcdir@:*/:/
3665 s/^\([^=]*=[ ]*\):*/\1/
3666 s/:*$//
3667 s/^[^=]*=[ ]*$//
3671 cat >>$CONFIG_STATUS <<\_ACEOF
3672 fi # test -n "$CONFIG_FILES"
3675 for ac_tag in :F $CONFIG_FILES
3677 case $ac_tag in
3678 :[FHLC]) ac_mode=$ac_tag; continue;;
3679 esac
3680 case $ac_mode$ac_tag in
3681 :[FHL]*:*);;
3682 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3683 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3684 { (exit 1); exit 1; }; };;
3685 :[FH]-) ac_tag=-:-;;
3686 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3687 esac
3688 ac_save_IFS=$IFS
3689 IFS=:
3690 set x $ac_tag
3691 IFS=$ac_save_IFS
3692 shift
3693 ac_file=$1
3694 shift
3696 case $ac_mode in
3697 :L) ac_source=$1;;
3698 :[FH])
3699 ac_file_inputs=
3700 for ac_f
3702 case $ac_f in
3703 -) ac_f="$tmp/stdin";;
3704 *) # Look for the file first in the build tree, then in the source tree
3705 # (if the path is not absolute). The absolute path cannot be DOS-style,
3706 # because $ac_f cannot contain `:'.
3707 test -f "$ac_f" ||
3708 case $ac_f in
3709 [\\/$]*) false;;
3710 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3711 esac ||
3712 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3713 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3714 { (exit 1); exit 1; }; };;
3715 esac
3716 ac_file_inputs="$ac_file_inputs $ac_f"
3717 done
3719 # Let's still pretend it is `configure' which instantiates (i.e., don't
3720 # use $as_me), people would be surprised to read:
3721 # /* config.h. Generated by config.status. */
3722 configure_input="Generated from "`IFS=:
3723 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3724 if test x"$ac_file" != x-; then
3725 configure_input="$ac_file. $configure_input"
3726 { echo "$as_me:$LINENO: creating $ac_file" >&5
3727 echo "$as_me: creating $ac_file" >&6;}
3730 case $ac_tag in
3731 *:-:* | *:-) cat >"$tmp/stdin";;
3732 esac
3734 esac
3736 ac_dir=`$as_dirname -- "$ac_file" ||
3737 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3738 X"$ac_file" : 'X\(//\)[^/]' \| \
3739 X"$ac_file" : 'X\(//\)$' \| \
3740 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3741 echo X"$ac_file" |
3742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3743 s//\1/
3746 /^X\(\/\/\)[^/].*/{
3747 s//\1/
3750 /^X\(\/\/\)$/{
3751 s//\1/
3754 /^X\(\/\).*/{
3755 s//\1/
3758 s/.*/./; q'`
3759 { as_dir="$ac_dir"
3760 case $as_dir in #(
3761 -*) as_dir=./$as_dir;;
3762 esac
3763 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3764 as_dirs=
3765 while :; do
3766 case $as_dir in #(
3767 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3768 *) as_qdir=$as_dir;;
3769 esac
3770 as_dirs="'$as_qdir' $as_dirs"
3771 as_dir=`$as_dirname -- "$as_dir" ||
3772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3773 X"$as_dir" : 'X\(//\)[^/]' \| \
3774 X"$as_dir" : 'X\(//\)$' \| \
3775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3776 echo X"$as_dir" |
3777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3778 s//\1/
3781 /^X\(\/\/\)[^/].*/{
3782 s//\1/
3785 /^X\(\/\/\)$/{
3786 s//\1/
3789 /^X\(\/\).*/{
3790 s//\1/
3793 s/.*/./; q'`
3794 test -d "$as_dir" && break
3795 done
3796 test -z "$as_dirs" || eval "mkdir $as_dirs"
3797 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3798 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3799 { (exit 1); exit 1; }; }; }
3800 ac_builddir=.
3802 case "$ac_dir" in
3803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3806 # A ".." for each directory in $ac_dir_suffix.
3807 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3808 case $ac_top_builddir_sub in
3809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3811 esac ;;
3812 esac
3813 ac_abs_top_builddir=$ac_pwd
3814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3815 # for backward compatibility:
3816 ac_top_builddir=$ac_top_build_prefix
3818 case $srcdir in
3819 .) # We are building in place.
3820 ac_srcdir=.
3821 ac_top_srcdir=$ac_top_builddir_sub
3822 ac_abs_top_srcdir=$ac_pwd ;;
3823 [\\/]* | ?:[\\/]* ) # Absolute name.
3824 ac_srcdir=$srcdir$ac_dir_suffix;
3825 ac_top_srcdir=$srcdir
3826 ac_abs_top_srcdir=$srcdir ;;
3827 *) # Relative name.
3828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3829 ac_top_srcdir=$ac_top_build_prefix$srcdir
3830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3831 esac
3832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3835 case $ac_mode in
3838 # CONFIG_FILE
3841 _ACEOF
3843 cat >>$CONFIG_STATUS <<\_ACEOF
3844 # If the template does not know about datarootdir, expand it.
3845 # FIXME: This hack should be removed a few years after 2.60.
3846 ac_datarootdir_hack=; ac_datarootdir_seen=
3848 case `sed -n '/datarootdir/ {
3852 /@datadir@/p
3853 /@docdir@/p
3854 /@infodir@/p
3855 /@localedir@/p
3856 /@mandir@/p
3857 ' $ac_file_inputs` in
3858 *datarootdir*) ac_datarootdir_seen=yes;;
3859 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3860 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3861 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3862 _ACEOF
3863 cat >>$CONFIG_STATUS <<_ACEOF
3864 ac_datarootdir_hack='
3865 s&@datadir@&$datadir&g
3866 s&@docdir@&$docdir&g
3867 s&@infodir@&$infodir&g
3868 s&@localedir@&$localedir&g
3869 s&@mandir@&$mandir&g
3870 s&\\\${datarootdir}&$datarootdir&g' ;;
3871 esac
3872 _ACEOF
3874 # Neutralize VPATH when `$srcdir' = `.'.
3875 # Shell code in configure.ac might set extrasub.
3876 # FIXME: do we really want to maintain this feature?
3877 cat >>$CONFIG_STATUS <<_ACEOF
3878 sed "$ac_vpsub
3879 $extrasub
3880 _ACEOF
3881 cat >>$CONFIG_STATUS <<\_ACEOF
3883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3884 s&@configure_input@&$configure_input&;t t
3885 s&@top_builddir@&$ac_top_builddir_sub&;t t
3886 s&@srcdir@&$ac_srcdir&;t t
3887 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3888 s&@top_srcdir@&$ac_top_srcdir&;t t
3889 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3890 s&@builddir@&$ac_builddir&;t t
3891 s&@abs_builddir@&$ac_abs_builddir&;t t
3892 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3893 $ac_datarootdir_hack
3894 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3896 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3897 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3898 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3899 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3900 which seems to be undefined. Please make sure it is defined." >&5
3901 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3902 which seems to be undefined. Please make sure it is defined." >&2;}
3904 rm -f "$tmp/stdin"
3905 case $ac_file in
3906 -) cat "$tmp/out"; rm -f "$tmp/out";;
3907 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3908 esac
3913 esac
3915 done # for ac_tag
3918 { (exit 0); exit 0; }
3919 _ACEOF
3920 chmod +x $CONFIG_STATUS
3921 ac_clean_files=$ac_clean_files_save
3924 # configure is writing to config.log, and then calls config.status.
3925 # config.status does its own redirection, appending to config.log.
3926 # Unfortunately, on DOS this fails, as config.log is still kept open
3927 # by configure, so config.status won't be able to write to it; its
3928 # output is simply discarded. So we exec the FD to /dev/null,
3929 # effectively closing config.log, so it can be properly (re)opened and
3930 # appended to by config.status. When coming back to configure, we
3931 # need to make the FD available again.
3932 if test "$no_create" != yes; then
3933 ac_cs_success=:
3934 ac_config_status_args=
3935 test "$silent" = yes &&
3936 ac_config_status_args="$ac_config_status_args --quiet"
3937 exec 5>/dev/null
3938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3939 exec 5>>config.log
3940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3941 # would make configure fail if this is the last instruction.
3942 $ac_cs_success || { (exit 1); exit 1; }
3946 echo
3947 echo "Configuration Summary"
3948 echo "----------------------------------"
3949 echo
3950 echo " File Type Support: " $HAVE_MAGIC
3951 echo " Man Page Generation: " $HAVE_DOC_TOOLS
3952 echo " Gnome Keyring Support: " $HAVE_GNOME_KEYRING
3953 echo " Gui Support: " $HAVE_GTK
3954 echo " Monodevelop Addin: " $HAVE_MD
3955 echo
3957 if test "x$HAVE_MAGIC" = "xno"; then
3958 echo Note: Team Foundation does not natively track file attributes.
3959 echo Install libmagic for automagic file attribute support.
3960 echo
3963 if test "x$HAVE_DOC_TOOLS" = "xno"; then
3964 echo Note: install asciidoc and xmlto for man page generation.
3965 echo