add.brief.option.add.gnome.vfs.binary.helper
[tfs.git] / configure
blobb8c9ece99e7a778b5a50f6ae87c9212abd236da2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for opentf 0.6.0.
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='opentf'
574 PACKAGE_TARNAME='opentf'
575 PACKAGE_VERSION='0.6.0'
576 PACKAGE_STRING='opentf 0.6.0'
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
619 MONO
621 CFLAGS
622 LDFLAGS
623 CPPFLAGS
624 ac_ct_CC
625 EXEEXT
626 OBJEXT
627 LIBOBJS
628 LTLIBOBJS'
629 ac_subst_files=''
630 ac_precious_vars='build_alias
631 host_alias
632 target_alias
633 PKG_CONFIG
635 CFLAGS
636 LDFLAGS
637 LIBS
638 CPPFLAGS'
641 # Initialize some variables set by options.
642 ac_init_help=
643 ac_init_version=false
644 # The variables have the same names as the options, with
645 # dashes changed to underlines.
646 cache_file=/dev/null
647 exec_prefix=NONE
648 no_create=
649 no_recursion=
650 prefix=NONE
651 program_prefix=NONE
652 program_suffix=NONE
653 program_transform_name=s,x,x,
654 silent=
655 site=
656 srcdir=
657 verbose=
658 x_includes=NONE
659 x_libraries=NONE
661 # Installation directory options.
662 # These are left unexpanded so users can "make install exec_prefix=/foo"
663 # and all the variables that are supposed to be based on exec_prefix
664 # by default will actually change.
665 # Use braces instead of parens because sh, perl, etc. also accept them.
666 # (The list follows the same order as the GNU Coding Standards.)
667 bindir='${exec_prefix}/bin'
668 sbindir='${exec_prefix}/sbin'
669 libexecdir='${exec_prefix}/libexec'
670 datarootdir='${prefix}/share'
671 datadir='${datarootdir}'
672 sysconfdir='${prefix}/etc'
673 sharedstatedir='${prefix}/com'
674 localstatedir='${prefix}/var'
675 includedir='${prefix}/include'
676 oldincludedir='/usr/include'
677 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
678 infodir='${datarootdir}/info'
679 htmldir='${docdir}'
680 dvidir='${docdir}'
681 pdfdir='${docdir}'
682 psdir='${docdir}'
683 libdir='${exec_prefix}/lib'
684 localedir='${datarootdir}/locale'
685 mandir='${datarootdir}/man'
687 ac_prev=
688 ac_dashdash=
689 for ac_option
691 # If the previous option needs an argument, assign it.
692 if test -n "$ac_prev"; then
693 eval $ac_prev=\$ac_option
694 ac_prev=
695 continue
698 case $ac_option in
699 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
700 *) ac_optarg=yes ;;
701 esac
703 # Accept the important Cygnus configure options, so we can diagnose typos.
705 case $ac_dashdash$ac_option in
707 ac_dashdash=yes ;;
709 -bindir | --bindir | --bindi | --bind | --bin | --bi)
710 ac_prev=bindir ;;
711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
712 bindir=$ac_optarg ;;
714 -build | --build | --buil | --bui | --bu)
715 ac_prev=build_alias ;;
716 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717 build_alias=$ac_optarg ;;
719 -cache-file | --cache-file | --cache-fil | --cache-fi \
720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
721 ac_prev=cache_file ;;
722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
724 cache_file=$ac_optarg ;;
726 --config-cache | -C)
727 cache_file=config.cache ;;
729 -datadir | --datadir | --datadi | --datad)
730 ac_prev=datadir ;;
731 -datadir=* | --datadir=* | --datadi=* | --datad=*)
732 datadir=$ac_optarg ;;
734 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
735 | --dataroo | --dataro | --datar)
736 ac_prev=datarootdir ;;
737 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
738 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
739 datarootdir=$ac_optarg ;;
741 -disable-* | --disable-*)
742 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
746 { (exit 1); exit 1; }; }
747 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
748 eval enable_$ac_feature=no ;;
750 -docdir | --docdir | --docdi | --doc | --do)
751 ac_prev=docdir ;;
752 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
753 docdir=$ac_optarg ;;
755 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
756 ac_prev=dvidir ;;
757 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
758 dvidir=$ac_optarg ;;
760 -enable-* | --enable-*)
761 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
762 # Reject names that are not valid shell variable names.
763 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
764 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
765 { (exit 1); exit 1; }; }
766 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
767 eval enable_$ac_feature=\$ac_optarg ;;
769 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
770 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
771 | --exec | --exe | --ex)
772 ac_prev=exec_prefix ;;
773 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
774 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
775 | --exec=* | --exe=* | --ex=*)
776 exec_prefix=$ac_optarg ;;
778 -gas | --gas | --ga | --g)
779 # Obsolete; use --with-gas.
780 with_gas=yes ;;
782 -help | --help | --hel | --he | -h)
783 ac_init_help=long ;;
784 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
785 ac_init_help=recursive ;;
786 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
787 ac_init_help=short ;;
789 -host | --host | --hos | --ho)
790 ac_prev=host_alias ;;
791 -host=* | --host=* | --hos=* | --ho=*)
792 host_alias=$ac_optarg ;;
794 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
795 ac_prev=htmldir ;;
796 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
797 | --ht=*)
798 htmldir=$ac_optarg ;;
800 -includedir | --includedir | --includedi | --included | --include \
801 | --includ | --inclu | --incl | --inc)
802 ac_prev=includedir ;;
803 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
804 | --includ=* | --inclu=* | --incl=* | --inc=*)
805 includedir=$ac_optarg ;;
807 -infodir | --infodir | --infodi | --infod | --info | --inf)
808 ac_prev=infodir ;;
809 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
810 infodir=$ac_optarg ;;
812 -libdir | --libdir | --libdi | --libd)
813 ac_prev=libdir ;;
814 -libdir=* | --libdir=* | --libdi=* | --libd=*)
815 libdir=$ac_optarg ;;
817 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
818 | --libexe | --libex | --libe)
819 ac_prev=libexecdir ;;
820 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
821 | --libexe=* | --libex=* | --libe=*)
822 libexecdir=$ac_optarg ;;
824 -localedir | --localedir | --localedi | --localed | --locale)
825 ac_prev=localedir ;;
826 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
827 localedir=$ac_optarg ;;
829 -localstatedir | --localstatedir | --localstatedi | --localstated \
830 | --localstate | --localstat | --localsta | --localst | --locals)
831 ac_prev=localstatedir ;;
832 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
833 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
834 localstatedir=$ac_optarg ;;
836 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
837 ac_prev=mandir ;;
838 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
839 mandir=$ac_optarg ;;
841 -nfp | --nfp | --nf)
842 # Obsolete; use --without-fp.
843 with_fp=no ;;
845 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
846 | --no-cr | --no-c | -n)
847 no_create=yes ;;
849 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
850 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
851 no_recursion=yes ;;
853 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
854 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
855 | --oldin | --oldi | --old | --ol | --o)
856 ac_prev=oldincludedir ;;
857 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
858 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
859 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
860 oldincludedir=$ac_optarg ;;
862 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
863 ac_prev=prefix ;;
864 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
865 prefix=$ac_optarg ;;
867 -program-prefix | --program-prefix | --program-prefi | --program-pref \
868 | --program-pre | --program-pr | --program-p)
869 ac_prev=program_prefix ;;
870 -program-prefix=* | --program-prefix=* | --program-prefi=* \
871 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
872 program_prefix=$ac_optarg ;;
874 -program-suffix | --program-suffix | --program-suffi | --program-suff \
875 | --program-suf | --program-su | --program-s)
876 ac_prev=program_suffix ;;
877 -program-suffix=* | --program-suffix=* | --program-suffi=* \
878 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
879 program_suffix=$ac_optarg ;;
881 -program-transform-name | --program-transform-name \
882 | --program-transform-nam | --program-transform-na \
883 | --program-transform-n | --program-transform- \
884 | --program-transform | --program-transfor \
885 | --program-transfo | --program-transf \
886 | --program-trans | --program-tran \
887 | --progr-tra | --program-tr | --program-t)
888 ac_prev=program_transform_name ;;
889 -program-transform-name=* | --program-transform-name=* \
890 | --program-transform-nam=* | --program-transform-na=* \
891 | --program-transform-n=* | --program-transform-=* \
892 | --program-transform=* | --program-transfor=* \
893 | --program-transfo=* | --program-transf=* \
894 | --program-trans=* | --program-tran=* \
895 | --progr-tra=* | --program-tr=* | --program-t=*)
896 program_transform_name=$ac_optarg ;;
898 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
899 ac_prev=pdfdir ;;
900 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
901 pdfdir=$ac_optarg ;;
903 -psdir | --psdir | --psdi | --psd | --ps)
904 ac_prev=psdir ;;
905 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
906 psdir=$ac_optarg ;;
908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
909 | -silent | --silent | --silen | --sile | --sil)
910 silent=yes ;;
912 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
913 ac_prev=sbindir ;;
914 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
915 | --sbi=* | --sb=*)
916 sbindir=$ac_optarg ;;
918 -sharedstatedir | --sharedstatedir | --sharedstatedi \
919 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
920 | --sharedst | --shareds | --shared | --share | --shar \
921 | --sha | --sh)
922 ac_prev=sharedstatedir ;;
923 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
924 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
925 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
926 | --sha=* | --sh=*)
927 sharedstatedir=$ac_optarg ;;
929 -site | --site | --sit)
930 ac_prev=site ;;
931 -site=* | --site=* | --sit=*)
932 site=$ac_optarg ;;
934 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
935 ac_prev=srcdir ;;
936 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
937 srcdir=$ac_optarg ;;
939 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
940 | --syscon | --sysco | --sysc | --sys | --sy)
941 ac_prev=sysconfdir ;;
942 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
943 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
944 sysconfdir=$ac_optarg ;;
946 -target | --target | --targe | --targ | --tar | --ta | --t)
947 ac_prev=target_alias ;;
948 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
949 target_alias=$ac_optarg ;;
951 -v | -verbose | --verbose | --verbos | --verbo | --verb)
952 verbose=yes ;;
954 -version | --version | --versio | --versi | --vers | -V)
955 ac_init_version=: ;;
957 -with-* | --with-*)
958 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
961 { echo "$as_me: error: invalid package name: $ac_package" >&2
962 { (exit 1); exit 1; }; }
963 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
964 eval with_$ac_package=\$ac_optarg ;;
966 -without-* | --without-*)
967 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
970 { echo "$as_me: error: invalid package name: $ac_package" >&2
971 { (exit 1); exit 1; }; }
972 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
973 eval with_$ac_package=no ;;
975 --x)
976 # Obsolete; use --with-x.
977 with_x=yes ;;
979 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
980 | --x-incl | --x-inc | --x-in | --x-i)
981 ac_prev=x_includes ;;
982 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
983 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
984 x_includes=$ac_optarg ;;
986 -x-libraries | --x-libraries | --x-librarie | --x-librari \
987 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
988 ac_prev=x_libraries ;;
989 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
990 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
991 x_libraries=$ac_optarg ;;
993 -*) { echo "$as_me: error: unrecognized option: $ac_option
994 Try \`$0 --help' for more information." >&2
995 { (exit 1); exit 1; }; }
998 *=*)
999 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1002 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1003 { (exit 1); exit 1; }; }
1004 eval $ac_envvar=\$ac_optarg
1005 export $ac_envvar ;;
1008 # FIXME: should be removed in autoconf 3.0.
1009 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1010 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1011 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1012 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1015 esac
1016 done
1018 if test -n "$ac_prev"; then
1019 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1020 { echo "$as_me: error: missing argument to $ac_option" >&2
1021 { (exit 1); exit 1; }; }
1024 # Be sure to have absolute directory names.
1025 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1026 datadir sysconfdir sharedstatedir localstatedir includedir \
1027 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1028 libdir localedir mandir
1030 eval ac_val=\$$ac_var
1031 case $ac_val in
1032 [\\/$]* | ?:[\\/]* ) continue;;
1033 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1034 esac
1035 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1036 { (exit 1); exit 1; }; }
1037 done
1039 # There might be people who depend on the old broken behavior: `$host'
1040 # used to hold the argument of --host etc.
1041 # FIXME: To remove some day.
1042 build=$build_alias
1043 host=$host_alias
1044 target=$target_alias
1046 # FIXME: To remove some day.
1047 if test "x$host_alias" != x; then
1048 if test "x$build_alias" = x; then
1049 cross_compiling=maybe
1050 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1051 If a cross compiler is detected then cross compile mode will be used." >&2
1052 elif test "x$build_alias" != "x$host_alias"; then
1053 cross_compiling=yes
1057 ac_tool_prefix=
1058 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1060 test "$silent" = yes && exec 6>/dev/null
1063 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1064 ac_ls_di=`ls -di .` &&
1065 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1066 { echo "$as_me: error: Working directory cannot be determined" >&2
1067 { (exit 1); exit 1; }; }
1068 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1069 { echo "$as_me: error: pwd does not report name of working directory" >&2
1070 { (exit 1); exit 1; }; }
1073 # Find the source files, if location was not specified.
1074 if test -z "$srcdir"; then
1075 ac_srcdir_defaulted=yes
1076 # Try the directory containing this script, then the parent directory.
1077 ac_confdir=`$as_dirname -- "$0" ||
1078 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1079 X"$0" : 'X\(//\)[^/]' \| \
1080 X"$0" : 'X\(//\)$' \| \
1081 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1082 echo X"$0" |
1083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1084 s//\1/
1087 /^X\(\/\/\)[^/].*/{
1088 s//\1/
1091 /^X\(\/\/\)$/{
1092 s//\1/
1095 /^X\(\/\).*/{
1096 s//\1/
1099 s/.*/./; q'`
1100 srcdir=$ac_confdir
1101 if test ! -r "$srcdir/$ac_unique_file"; then
1102 srcdir=..
1104 else
1105 ac_srcdir_defaulted=no
1107 if test ! -r "$srcdir/$ac_unique_file"; then
1108 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1109 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1110 { (exit 1); exit 1; }; }
1112 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1113 ac_abs_confdir=`(
1114 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1115 { (exit 1); exit 1; }; }
1116 pwd)`
1117 # When building in place, set srcdir=.
1118 if test "$ac_abs_confdir" = "$ac_pwd"; then
1119 srcdir=.
1121 # Remove unnecessary trailing slashes from srcdir.
1122 # Double slashes in file names in object file debugging info
1123 # mess up M-x gdb in Emacs.
1124 case $srcdir in
1125 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1126 esac
1127 for ac_var in $ac_precious_vars; do
1128 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1129 eval ac_env_${ac_var}_value=\$${ac_var}
1130 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1131 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1132 done
1135 # Report the --help message.
1137 if test "$ac_init_help" = "long"; then
1138 # Omit some internal or obsolete options to make the list less imposing.
1139 # This message is too long to be a string in the A/UX 3.1 sh.
1140 cat <<_ACEOF
1141 \`configure' configures opentf 0.6.0 to adapt to many kinds of systems.
1143 Usage: $0 [OPTION]... [VAR=VALUE]...
1145 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1146 VAR=VALUE. See below for descriptions of some of the useful variables.
1148 Defaults for the options are specified in brackets.
1150 Configuration:
1151 -h, --help display this help and exit
1152 --help=short display options specific to this package
1153 --help=recursive display the short help of all the included packages
1154 -V, --version display version information and exit
1155 -q, --quiet, --silent do not print \`checking...' messages
1156 --cache-file=FILE cache test results in FILE [disabled]
1157 -C, --config-cache alias for \`--cache-file=config.cache'
1158 -n, --no-create do not create output files
1159 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1161 Installation directories:
1162 --prefix=PREFIX install architecture-independent files in PREFIX
1163 [$ac_default_prefix]
1164 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1165 [PREFIX]
1167 By default, \`make install' will install all the files in
1168 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1169 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1170 for instance \`--prefix=\$HOME'.
1172 For better control, use the options below.
1174 Fine tuning of the installation directories:
1175 --bindir=DIR user executables [EPREFIX/bin]
1176 --sbindir=DIR system admin executables [EPREFIX/sbin]
1177 --libexecdir=DIR program executables [EPREFIX/libexec]
1178 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1179 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1180 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1181 --libdir=DIR object code libraries [EPREFIX/lib]
1182 --includedir=DIR C header files [PREFIX/include]
1183 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1184 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1185 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1186 --infodir=DIR info documentation [DATAROOTDIR/info]
1187 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1188 --mandir=DIR man documentation [DATAROOTDIR/man]
1189 --docdir=DIR documentation root [DATAROOTDIR/doc/opentf]
1190 --htmldir=DIR html documentation [DOCDIR]
1191 --dvidir=DIR dvi documentation [DOCDIR]
1192 --pdfdir=DIR pdf documentation [DOCDIR]
1193 --psdir=DIR ps documentation [DOCDIR]
1194 _ACEOF
1196 cat <<\_ACEOF
1197 _ACEOF
1200 if test -n "$ac_init_help"; then
1201 case $ac_init_help in
1202 short | recursive ) echo "Configuration of opentf 0.6.0:";;
1203 esac
1204 cat <<\_ACEOF
1206 Optional Features:
1207 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1208 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1209 --disable-gtk disable gtk gui support
1210 --disable-md disable monodevelop support
1211 --enable-highlight enable syntax highlighting support
1212 --disable-keyring disable gnome keyring support
1213 --disable-magic disable libmagic file attributes
1215 Optional Packages:
1216 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1217 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1218 --with-mslibs=<dir> location of Microsoft's Team Foundation Assemblies
1220 Some influential environment variables:
1221 PKG_CONFIG path to pkg-config utility
1222 CC C compiler command
1223 CFLAGS C compiler flags
1224 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1225 nonstandard directory <lib dir>
1226 LIBS libraries to pass to the linker, e.g. -l<library>
1227 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1228 you have headers in a nonstandard directory <include dir>
1230 Use these variables to override the choices made by `configure' or to help
1231 it to find libraries and programs with nonstandard names/locations.
1233 _ACEOF
1234 ac_status=$?
1237 if test "$ac_init_help" = "recursive"; then
1238 # If there are subdirs, report their specific --help.
1239 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1240 test -d "$ac_dir" || continue
1241 ac_builddir=.
1243 case "$ac_dir" in
1244 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1246 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1247 # A ".." for each directory in $ac_dir_suffix.
1248 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1249 case $ac_top_builddir_sub in
1250 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1251 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1252 esac ;;
1253 esac
1254 ac_abs_top_builddir=$ac_pwd
1255 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1256 # for backward compatibility:
1257 ac_top_builddir=$ac_top_build_prefix
1259 case $srcdir in
1260 .) # We are building in place.
1261 ac_srcdir=.
1262 ac_top_srcdir=$ac_top_builddir_sub
1263 ac_abs_top_srcdir=$ac_pwd ;;
1264 [\\/]* | ?:[\\/]* ) # Absolute name.
1265 ac_srcdir=$srcdir$ac_dir_suffix;
1266 ac_top_srcdir=$srcdir
1267 ac_abs_top_srcdir=$srcdir ;;
1268 *) # Relative name.
1269 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1270 ac_top_srcdir=$ac_top_build_prefix$srcdir
1271 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1272 esac
1273 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1275 cd "$ac_dir" || { ac_status=$?; continue; }
1276 # Check for guested configure.
1277 if test -f "$ac_srcdir/configure.gnu"; then
1278 echo &&
1279 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1280 elif test -f "$ac_srcdir/configure"; then
1281 echo &&
1282 $SHELL "$ac_srcdir/configure" --help=recursive
1283 else
1284 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1285 fi || ac_status=$?
1286 cd "$ac_pwd" || { ac_status=$?; break; }
1287 done
1290 test -n "$ac_init_help" && exit $ac_status
1291 if $ac_init_version; then
1292 cat <<\_ACEOF
1293 opentf configure 0.6.0
1294 generated by GNU Autoconf 2.61
1296 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1297 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1298 This configure script is free software; the Free Software Foundation
1299 gives unlimited permission to copy, distribute and modify it.
1300 _ACEOF
1301 exit
1303 cat >config.log <<_ACEOF
1304 This file contains any messages produced by compilers while
1305 running configure, to aid debugging if configure makes a mistake.
1307 It was created by opentf $as_me 0.6.0, which was
1308 generated by GNU Autoconf 2.61. Invocation command line was
1310 $ $0 $@
1312 _ACEOF
1313 exec 5>>config.log
1315 cat <<_ASUNAME
1316 ## --------- ##
1317 ## Platform. ##
1318 ## --------- ##
1320 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1321 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1322 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1323 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1324 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1326 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1327 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1329 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1330 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1331 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1332 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1333 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1334 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1335 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1337 _ASUNAME
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 for as_dir in $PATH
1342 IFS=$as_save_IFS
1343 test -z "$as_dir" && as_dir=.
1344 echo "PATH: $as_dir"
1345 done
1346 IFS=$as_save_IFS
1348 } >&5
1350 cat >&5 <<_ACEOF
1353 ## ----------- ##
1354 ## Core tests. ##
1355 ## ----------- ##
1357 _ACEOF
1360 # Keep a trace of the command line.
1361 # Strip out --no-create and --no-recursion so they do not pile up.
1362 # Strip out --silent because we don't want to record it for future runs.
1363 # Also quote any args containing shell meta-characters.
1364 # Make two passes to allow for proper duplicate-argument suppression.
1365 ac_configure_args=
1366 ac_configure_args0=
1367 ac_configure_args1=
1368 ac_must_keep_next=false
1369 for ac_pass in 1 2
1371 for ac_arg
1373 case $ac_arg in
1374 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1375 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1376 | -silent | --silent | --silen | --sile | --sil)
1377 continue ;;
1378 *\'*)
1379 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1380 esac
1381 case $ac_pass in
1382 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1384 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1385 if test $ac_must_keep_next = true; then
1386 ac_must_keep_next=false # Got value, back to normal.
1387 else
1388 case $ac_arg in
1389 *=* | --config-cache | -C | -disable-* | --disable-* \
1390 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1391 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1392 | -with-* | --with-* | -without-* | --without-* | --x)
1393 case "$ac_configure_args0 " in
1394 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1395 esac
1397 -* ) ac_must_keep_next=true ;;
1398 esac
1400 ac_configure_args="$ac_configure_args '$ac_arg'"
1402 esac
1403 done
1404 done
1405 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1406 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1408 # When interrupted or exit'd, cleanup temporary files, and complete
1409 # config.log. We remove comments because anyway the quotes in there
1410 # would cause problems or look ugly.
1411 # WARNING: Use '\'' to represent an apostrophe within the trap.
1412 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1413 trap 'exit_status=$?
1414 # Save into config.log some information that might help in debugging.
1416 echo
1418 cat <<\_ASBOX
1419 ## ---------------- ##
1420 ## Cache variables. ##
1421 ## ---------------- ##
1422 _ASBOX
1423 echo
1424 # The following way of writing the cache mishandles newlines in values,
1426 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1427 eval ac_val=\$$ac_var
1428 case $ac_val in #(
1429 *${as_nl}*)
1430 case $ac_var in #(
1431 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1432 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1433 esac
1434 case $ac_var in #(
1435 _ | IFS | as_nl) ;; #(
1436 *) $as_unset $ac_var ;;
1437 esac ;;
1438 esac
1439 done
1440 (set) 2>&1 |
1441 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1442 *${as_nl}ac_space=\ *)
1443 sed -n \
1444 "s/'\''/'\''\\\\'\'''\''/g;
1445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1446 ;; #(
1448 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1450 esac |
1451 sort
1453 echo
1455 cat <<\_ASBOX
1456 ## ----------------- ##
1457 ## Output variables. ##
1458 ## ----------------- ##
1459 _ASBOX
1460 echo
1461 for ac_var in $ac_subst_vars
1463 eval ac_val=\$$ac_var
1464 case $ac_val in
1465 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1466 esac
1467 echo "$ac_var='\''$ac_val'\''"
1468 done | sort
1469 echo
1471 if test -n "$ac_subst_files"; then
1472 cat <<\_ASBOX
1473 ## ------------------- ##
1474 ## File substitutions. ##
1475 ## ------------------- ##
1476 _ASBOX
1477 echo
1478 for ac_var in $ac_subst_files
1480 eval ac_val=\$$ac_var
1481 case $ac_val in
1482 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1483 esac
1484 echo "$ac_var='\''$ac_val'\''"
1485 done | sort
1486 echo
1489 if test -s confdefs.h; then
1490 cat <<\_ASBOX
1491 ## ----------- ##
1492 ## confdefs.h. ##
1493 ## ----------- ##
1494 _ASBOX
1495 echo
1496 cat confdefs.h
1497 echo
1499 test "$ac_signal" != 0 &&
1500 echo "$as_me: caught signal $ac_signal"
1501 echo "$as_me: exit $exit_status"
1502 } >&5
1503 rm -f core *.core core.conftest.* &&
1504 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1505 exit $exit_status
1507 for ac_signal in 1 2 13 15; do
1508 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1509 done
1510 ac_signal=0
1512 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1513 rm -f -r conftest* confdefs.h
1515 # Predefined preprocessor variables.
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_NAME "$PACKAGE_NAME"
1519 _ACEOF
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1524 _ACEOF
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1529 _ACEOF
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_STRING "$PACKAGE_STRING"
1534 _ACEOF
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1539 _ACEOF
1542 # Let the site file select an alternate cache file if it wants to.
1543 # Prefer explicitly selected file to automatically selected ones.
1544 if test -n "$CONFIG_SITE"; then
1545 set x "$CONFIG_SITE"
1546 elif test "x$prefix" != xNONE; then
1547 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1548 else
1549 set x "$ac_default_prefix/share/config.site" \
1550 "$ac_default_prefix/etc/config.site"
1552 shift
1553 for ac_site_file
1555 if test -r "$ac_site_file"; then
1556 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1557 echo "$as_me: loading site script $ac_site_file" >&6;}
1558 sed 's/^/| /' "$ac_site_file" >&5
1559 . "$ac_site_file"
1561 done
1563 if test -r "$cache_file"; then
1564 # Some versions of bash will fail to source /dev/null (special
1565 # files actually), so we avoid doing that.
1566 if test -f "$cache_file"; then
1567 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1568 echo "$as_me: loading cache $cache_file" >&6;}
1569 case $cache_file in
1570 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1571 *) . "./$cache_file";;
1572 esac
1574 else
1575 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1576 echo "$as_me: creating cache $cache_file" >&6;}
1577 >$cache_file
1580 # Check that the precious variables saved in the cache have kept the same
1581 # value.
1582 ac_cache_corrupted=false
1583 for ac_var in $ac_precious_vars; do
1584 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1585 eval ac_new_set=\$ac_env_${ac_var}_set
1586 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1587 eval ac_new_val=\$ac_env_${ac_var}_value
1588 case $ac_old_set,$ac_new_set in
1589 set,)
1590 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1591 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1592 ac_cache_corrupted=: ;;
1593 ,set)
1594 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1595 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1596 ac_cache_corrupted=: ;;
1597 ,);;
1599 if test "x$ac_old_val" != "x$ac_new_val"; then
1600 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1601 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1602 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1603 echo "$as_me: former value: $ac_old_val" >&2;}
1604 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1605 echo "$as_me: current value: $ac_new_val" >&2;}
1606 ac_cache_corrupted=:
1607 fi;;
1608 esac
1609 # Pass precious variables to config.status.
1610 if test "$ac_new_set" = set; then
1611 case $ac_new_val in
1612 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1613 *) ac_arg=$ac_var=$ac_new_val ;;
1614 esac
1615 case " $ac_configure_args " in
1616 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1617 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1618 esac
1620 done
1621 if $ac_cache_corrupted; then
1622 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1623 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1624 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1625 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1626 { (exit 1); exit 1; }; }
1653 ac_ext=c
1654 ac_cpp='$CPP $CPPFLAGS'
1655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1664 if test -n "$ac_tool_prefix"; then
1665 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1666 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672 case $PKG_CONFIG in
1673 [\\/]* | ?:[\\/]*)
1674 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1678 for as_dir in $PATH
1680 IFS=$as_save_IFS
1681 test -z "$as_dir" && as_dir=.
1682 for ac_exec_ext in '' $ac_executable_extensions; do
1683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1684 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686 break 2
1688 done
1689 done
1690 IFS=$as_save_IFS
1693 esac
1695 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1696 if test -n "$PKG_CONFIG"; then
1697 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1698 echo "${ECHO_T}$PKG_CONFIG" >&6; }
1699 else
1700 { echo "$as_me:$LINENO: result: no" >&5
1701 echo "${ECHO_T}no" >&6; }
1706 if test -z "$ac_cv_path_PKG_CONFIG"; then
1707 ac_pt_PKG_CONFIG=$PKG_CONFIG
1708 # Extract the first word of "pkg-config", so it can be a program name with args.
1709 set dummy pkg-config; ac_word=$2
1710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1712 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1714 else
1715 case $ac_pt_PKG_CONFIG in
1716 [\\/]* | ?:[\\/]*)
1717 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721 for as_dir in $PATH
1723 IFS=$as_save_IFS
1724 test -z "$as_dir" && as_dir=.
1725 for ac_exec_ext in '' $ac_executable_extensions; do
1726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1727 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 break 2
1731 done
1732 done
1733 IFS=$as_save_IFS
1736 esac
1738 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1739 if test -n "$ac_pt_PKG_CONFIG"; then
1740 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
1741 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
1742 else
1743 { echo "$as_me:$LINENO: result: no" >&5
1744 echo "${ECHO_T}no" >&6; }
1747 if test "x$ac_pt_PKG_CONFIG" = x; then
1748 PKG_CONFIG=""
1749 else
1750 case $cross_compiling:$ac_tool_warned in
1751 yes:)
1752 { echo "$as_me:$LINENO: 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." >&5
1755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1756 whose name does not start with the host triplet. If you think this
1757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1758 ac_tool_warned=yes ;;
1759 esac
1760 PKG_CONFIG=$ac_pt_PKG_CONFIG
1762 else
1763 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
1767 if test -n "$PKG_CONFIG"; then
1768 _pkg_min_version=0.9.0
1769 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
1770 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
1771 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1772 { echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6; }
1774 else
1775 { echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6; }
1777 PKG_CONFIG=""
1782 # Check whether --enable-gtk was given.
1783 if test "${enable_gtk+set}" = set; then
1784 enableval=$enable_gtk; HAVE_GTK=no
1785 else
1786 if test -n "$PKG_CONFIG" && \
1787 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5
1788 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5
1789 ac_status=$?
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; then
1792 HAVE_GTK=yes
1793 else
1794 HAVE_GTK=no
1800 # Check whether --enable-md was given.
1801 if test "${enable_md+set}" = set; then
1802 enableval=$enable_md; HAVE_MD=no
1803 else
1804 if test -n "$PKG_CONFIG" && \
1805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monodevelop\"") >&5
1806 ($PKG_CONFIG --exists --print-errors "monodevelop") 2>&5
1807 ac_status=$?
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); }; then
1810 HAVE_MD=yes
1811 else
1812 HAVE_MD=no
1818 HAVE_DOC_TOOLS=no
1819 # Extract the first word of "asciidoc", so it can be a program name with args.
1820 set dummy asciidoc; ac_word=$2
1821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1823 if test "${ac_cv_prog_ASCIIDOC+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 else
1826 if test -n "$ASCIIDOC"; then
1827 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
1828 else
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 for as_dir in $PATH
1832 IFS=$as_save_IFS
1833 test -z "$as_dir" && as_dir=.
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1836 ac_cv_prog_ASCIIDOC="yes"
1837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1838 break 2
1840 done
1841 done
1842 IFS=$as_save_IFS
1846 ASCIIDOC=$ac_cv_prog_ASCIIDOC
1847 if test -n "$ASCIIDOC"; then
1848 { echo "$as_me:$LINENO: result: $ASCIIDOC" >&5
1849 echo "${ECHO_T}$ASCIIDOC" >&6; }
1850 else
1851 { echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6; }
1856 # Extract the first word of "xmlto", so it can be a program name with args.
1857 set dummy xmlto; ac_word=$2
1858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1860 if test "${ac_cv_prog_XMLTO+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1862 else
1863 if test -n "$XMLTO"; then
1864 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
1865 else
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 for as_dir in $PATH
1869 IFS=$as_save_IFS
1870 test -z "$as_dir" && as_dir=.
1871 for ac_exec_ext in '' $ac_executable_extensions; do
1872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1873 ac_cv_prog_XMLTO="yes"
1874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 break 2
1877 done
1878 done
1879 IFS=$as_save_IFS
1883 XMLTO=$ac_cv_prog_XMLTO
1884 if test -n "$XMLTO"; then
1885 { echo "$as_me:$LINENO: result: $XMLTO" >&5
1886 echo "${ECHO_T}$XMLTO" >&6; }
1887 else
1888 { echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6; }
1894 if test "x$ASCIIDOC" = "xyes"; then
1895 if test "x$XMLTO" = "xyes"; then
1896 HAVE_DOC_TOOLS=yes
1900 # Check whether --enable-highlight was given.
1901 if test "${enable_highlight+set}" = set; then
1902 enableval=$enable_highlight; if test -n "$PKG_CONFIG" && \
1903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0\"") >&5
1904 ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0") 2>&5
1905 ac_status=$?
1906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1907 (exit $ac_status); }; then
1908 HAVE_GNOME_VFS=yes
1909 else
1910 HAVE_GNOME_VFS=no
1912 if test -n "$PKG_CONFIG" && \
1913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtksourceview-sharp-2.0\"") >&5
1914 ($PKG_CONFIG --exists --print-errors "gtksourceview-sharp-2.0") 2>&5
1915 ac_status=$?
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }; then
1918 HAVE_GTK_SOURCEVIEW=yes
1919 else
1920 HAVE_GTK_SOURCEVIEW=no
1926 # Check whether --enable-keyring was given.
1927 if test "${enable_keyring+set}" = set; then
1928 enableval=$enable_keyring; HAVE_GNOME_KEYRING=no
1929 else
1930 if test -n "$PKG_CONFIG" && \
1931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-sharp\"") >&5
1932 ($PKG_CONFIG --exists --print-errors "gnome-keyring-sharp") 2>&5
1933 ac_status=$?
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; then
1936 HAVE_GNOME_KEYRING=yes
1937 else
1938 HAVE_GNOME_KEYRING=no
1945 # Check whether --with-mslibs was given.
1946 if test "${with_mslibs+set}" = set; then
1947 withval=$with_mslibs; HAVE_MSLIBS=$withval
1948 else
1949 HAVE_MSLIBS=no
1954 # Extract the first word of "mono", so it can be a program name with args.
1955 set dummy mono; ac_word=$2
1956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1958 if test "${ac_cv_path_MONO+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 else
1961 case $MONO in
1962 [\\/]* | ?:[\\/]*)
1963 ac_cv_path_MONO="$MONO" # Let the user override the test with a path.
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 for as_dir in $PATH
1969 IFS=$as_save_IFS
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973 ac_cv_path_MONO="$as_dir/$ac_word$ac_exec_ext"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 break 2
1977 done
1978 done
1979 IFS=$as_save_IFS
1982 esac
1984 MONO=$ac_cv_path_MONO
1985 if test -n "$MONO"; then
1986 { echo "$as_me:$LINENO: result: $MONO" >&5
1987 echo "${ECHO_T}$MONO" >&6; }
1988 else
1989 { echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6; }
1996 MONO_VERSION=`pkg-config --modversion mono`
1997 HAVE_ATLEAST_GTK_210=`pkg-config --atleast-version=2.10 gtk-sharp-2.0 && echo 1`
1998 MD_LIBPATH=`pkg-config monodevelop --variable libdir`
2000 HAVE_MAGIC=maybe
2002 # Check whether --enable-magic was given.
2003 if test "${enable_magic+set}" = set; then
2004 enableval=$enable_magic; HAVE_MAGIC=no
2008 if test "x$HAVE_MAGIC" = "xmaybe"; then
2009 ac_ext=c
2010 ac_cpp='$CPP $CPPFLAGS'
2011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2014 if test -n "$ac_tool_prefix"; then
2015 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2016 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2019 if test "${ac_cv_prog_CC+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 else
2022 if test -n "$CC"; then
2023 ac_cv_prog_CC="$CC" # Let the user override the test.
2024 else
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 for as_dir in $PATH
2028 IFS=$as_save_IFS
2029 test -z "$as_dir" && as_dir=.
2030 for ac_exec_ext in '' $ac_executable_extensions; do
2031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2032 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 break 2
2036 done
2037 done
2038 IFS=$as_save_IFS
2042 CC=$ac_cv_prog_CC
2043 if test -n "$CC"; then
2044 { echo "$as_me:$LINENO: result: $CC" >&5
2045 echo "${ECHO_T}$CC" >&6; }
2046 else
2047 { echo "$as_me:$LINENO: result: no" >&5
2048 echo "${ECHO_T}no" >&6; }
2053 if test -z "$ac_cv_prog_CC"; then
2054 ac_ct_CC=$CC
2055 # Extract the first word of "gcc", so it can be a program name with args.
2056 set dummy gcc; ac_word=$2
2057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2059 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 else
2062 if test -n "$ac_ct_CC"; then
2063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2064 else
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 for as_dir in $PATH
2068 IFS=$as_save_IFS
2069 test -z "$as_dir" && as_dir=.
2070 for ac_exec_ext in '' $ac_executable_extensions; do
2071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2072 ac_cv_prog_ac_ct_CC="gcc"
2073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 break 2
2076 done
2077 done
2078 IFS=$as_save_IFS
2082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2083 if test -n "$ac_ct_CC"; then
2084 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2085 echo "${ECHO_T}$ac_ct_CC" >&6; }
2086 else
2087 { echo "$as_me:$LINENO: result: no" >&5
2088 echo "${ECHO_T}no" >&6; }
2091 if test "x$ac_ct_CC" = x; then
2092 CC=""
2093 else
2094 case $cross_compiling:$ac_tool_warned in
2095 yes:)
2096 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2097 whose name does not start with the host triplet. If you think this
2098 configuration is useful to you, please write to autoconf@gnu.org." >&5
2099 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2100 whose name does not start with the host triplet. If you think this
2101 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2102 ac_tool_warned=yes ;;
2103 esac
2104 CC=$ac_ct_CC
2106 else
2107 CC="$ac_cv_prog_CC"
2110 if test -z "$CC"; then
2111 if test -n "$ac_tool_prefix"; then
2112 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2113 set dummy ${ac_tool_prefix}cc; ac_word=$2
2114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2116 if test "${ac_cv_prog_CC+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119 if test -n "$CC"; then
2120 ac_cv_prog_CC="$CC" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_CC="${ac_tool_prefix}cc"
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 break 2
2133 done
2134 done
2135 IFS=$as_save_IFS
2139 CC=$ac_cv_prog_CC
2140 if test -n "$CC"; then
2141 { echo "$as_me:$LINENO: result: $CC" >&5
2142 echo "${ECHO_T}$CC" >&6; }
2143 else
2144 { echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6; }
2151 if test -z "$CC"; then
2152 # Extract the first word of "cc", so it can be a program name with args.
2153 set dummy cc; ac_word=$2
2154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156 if test "${ac_cv_prog_CC+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 else
2159 if test -n "$CC"; then
2160 ac_cv_prog_CC="$CC" # Let the user override the test.
2161 else
2162 ac_prog_rejected=no
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2166 IFS=$as_save_IFS
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2171 ac_prog_rejected=yes
2172 continue
2174 ac_cv_prog_CC="cc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2176 break 2
2178 done
2179 done
2180 IFS=$as_save_IFS
2182 if test $ac_prog_rejected = yes; then
2183 # We found a bogon in the path, so make sure we never use it.
2184 set dummy $ac_cv_prog_CC
2185 shift
2186 if test $# != 0; then
2187 # We chose a different compiler from the bogus one.
2188 # However, it has the same basename, so the bogon will be chosen
2189 # first if we set CC to just the basename; use the full file name.
2190 shift
2191 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2196 CC=$ac_cv_prog_CC
2197 if test -n "$CC"; then
2198 { echo "$as_me:$LINENO: result: $CC" >&5
2199 echo "${ECHO_T}$CC" >&6; }
2200 else
2201 { echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6; }
2207 if test -z "$CC"; then
2208 if test -n "$ac_tool_prefix"; then
2209 for ac_prog in cl.exe
2211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2212 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2215 if test "${ac_cv_prog_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 else
2218 if test -n "$CC"; then
2219 ac_cv_prog_CC="$CC" # Let the user override the test.
2220 else
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 for as_dir in $PATH
2224 IFS=$as_save_IFS
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2228 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 break 2
2232 done
2233 done
2234 IFS=$as_save_IFS
2238 CC=$ac_cv_prog_CC
2239 if test -n "$CC"; then
2240 { echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6; }
2242 else
2243 { echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6; }
2248 test -n "$CC" && break
2249 done
2251 if test -z "$CC"; then
2252 ac_ct_CC=$CC
2253 for ac_prog in cl.exe
2255 # Extract the first word of "$ac_prog", so it can be a program name with args.
2256 set dummy $ac_prog; ac_word=$2
2257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$ac_ct_CC"; then
2263 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_prog_ac_ct_CC="$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2278 IFS=$as_save_IFS
2282 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2285 echo "${ECHO_T}$ac_ct_CC" >&6; }
2286 else
2287 { echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6; }
2292 test -n "$ac_ct_CC" && break
2293 done
2295 if test "x$ac_ct_CC" = x; then
2296 CC=""
2297 else
2298 case $cross_compiling:$ac_tool_warned in
2299 yes:)
2300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2301 whose name does not start with the host triplet. If you think this
2302 configuration is useful to you, please write to autoconf@gnu.org." >&5
2303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2304 whose name does not start with the host triplet. If you think this
2305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2306 ac_tool_warned=yes ;;
2307 esac
2308 CC=$ac_ct_CC
2315 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2316 See \`config.log' for more details." >&5
2317 echo "$as_me: error: no acceptable C compiler found in \$PATH
2318 See \`config.log' for more details." >&2;}
2319 { (exit 1); exit 1; }; }
2321 # Provide some information about the compiler.
2322 echo "$as_me:$LINENO: checking for C compiler version" >&5
2323 ac_compiler=`set X $ac_compile; echo $2`
2324 { (ac_try="$ac_compiler --version >&5"
2325 case "(($ac_try" in
2326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2327 *) ac_try_echo=$ac_try;;
2328 esac
2329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2330 (eval "$ac_compiler --version >&5") 2>&5
2331 ac_status=$?
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2334 { (ac_try="$ac_compiler -v >&5"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340 (eval "$ac_compiler -v >&5") 2>&5
2341 ac_status=$?
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2344 { (ac_try="$ac_compiler -V >&5"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2350 (eval "$ac_compiler -V >&5") 2>&5
2351 ac_status=$?
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2355 cat >conftest.$ac_ext <<_ACEOF
2356 /* confdefs.h. */
2357 _ACEOF
2358 cat confdefs.h >>conftest.$ac_ext
2359 cat >>conftest.$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2363 main ()
2367 return 0;
2369 _ACEOF
2370 ac_clean_files_save=$ac_clean_files
2371 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2372 # Try to create an executable without -o first, disregard a.out.
2373 # It will help us diagnose broken compilers, and finding out an intuition
2374 # of exeext.
2375 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2376 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2377 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2379 # List of possible output files, starting from the most likely.
2380 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2381 # only as a last resort. b.out is created by i960 compilers.
2382 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2384 # The IRIX 6 linker writes into existing files which may not be
2385 # executable, retaining their permissions. Remove them first so a
2386 # subsequent execution test works.
2387 ac_rmfiles=
2388 for ac_file in $ac_files
2390 case $ac_file in
2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2392 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2393 esac
2394 done
2395 rm -f $ac_rmfiles
2397 if { (ac_try="$ac_link_default"
2398 case "(($ac_try" in
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2401 esac
2402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_link_default") 2>&5
2404 ac_status=$?
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; then
2407 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2409 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2410 # so that the user can short-circuit this test for compilers unknown to
2411 # Autoconf.
2412 for ac_file in $ac_files ''
2414 test -f "$ac_file" || continue
2415 case $ac_file in
2416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2418 [ab].out )
2419 # We found the default executable, but exeext='' is most
2420 # certainly right.
2421 break;;
2422 *.* )
2423 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2424 then :; else
2425 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2427 # We set ac_cv_exeext here because the later test for it is not
2428 # safe: cross compilers may not add the suffix if given an `-o'
2429 # argument, so we may need to know it at that point already.
2430 # Even if this section looks crufty: it has the advantage of
2431 # actually working.
2432 break;;
2434 break;;
2435 esac
2436 done
2437 test "$ac_cv_exeext" = no && ac_cv_exeext=
2439 else
2440 ac_file=''
2443 { echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6; }
2445 if test -z "$ac_file"; then
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: C compiler cannot create executables
2452 See \`config.log' for more details." >&2;}
2453 { (exit 77); exit 77; }; }
2456 ac_exeext=$ac_cv_exeext
2458 # Check that the compiler produces executables we can run. If not, either
2459 # the compiler is broken, or we cross compile.
2460 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2461 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2462 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2463 # If not cross compiling, check that we can run a simple program.
2464 if test "$cross_compiling" != yes; then
2465 if { ac_try='./$ac_file'
2466 { (case "(($ac_try" in
2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2469 esac
2470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2471 (eval "$ac_try") 2>&5
2472 ac_status=$?
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2475 cross_compiling=no
2476 else
2477 if test "$cross_compiling" = maybe; then
2478 cross_compiling=yes
2479 else
2480 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2481 If you meant to cross compile, use \`--host'.
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: cannot run C compiled programs.
2484 If you meant to cross compile, use \`--host'.
2485 See \`config.log' for more details." >&2;}
2486 { (exit 1); exit 1; }; }
2490 { echo "$as_me:$LINENO: result: yes" >&5
2491 echo "${ECHO_T}yes" >&6; }
2493 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2494 ac_clean_files=$ac_clean_files_save
2495 # Check that the compiler produces executables we can run. If not, either
2496 # the compiler is broken, or we cross compile.
2497 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2498 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2499 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2500 echo "${ECHO_T}$cross_compiling" >&6; }
2502 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2503 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2504 if { (ac_try="$ac_link"
2505 case "(($ac_try" in
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2508 esac
2509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2510 (eval "$ac_link") 2>&5
2511 ac_status=$?
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; then
2514 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2515 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2516 # work properly (i.e., refer to `conftest.exe'), while it won't with
2517 # `rm'.
2518 for ac_file in conftest.exe conftest conftest.*; do
2519 test -f "$ac_file" || continue
2520 case $ac_file in
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2522 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2523 break;;
2524 * ) break;;
2525 esac
2526 done
2527 else
2528 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2535 rm -f conftest$ac_cv_exeext
2536 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2537 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2539 rm -f conftest.$ac_ext
2540 EXEEXT=$ac_cv_exeext
2541 ac_exeext=$EXEEXT
2542 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2543 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2544 if test "${ac_cv_objext+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547 cat >conftest.$ac_ext <<_ACEOF
2548 /* confdefs.h. */
2549 _ACEOF
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2555 main ()
2559 return 0;
2561 _ACEOF
2562 rm -f conftest.o conftest.obj
2563 if { (ac_try="$ac_compile"
2564 case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2567 esac
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compile") 2>&5
2570 ac_status=$?
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; then
2573 for ac_file in conftest.o conftest.obj conftest.*; do
2574 test -f "$ac_file" || continue;
2575 case $ac_file in
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2578 break;;
2579 esac
2580 done
2581 else
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2592 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2594 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2595 echo "${ECHO_T}$ac_cv_objext" >&6; }
2596 OBJEXT=$ac_cv_objext
2597 ac_objext=$OBJEXT
2598 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2599 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2600 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 else
2603 cat >conftest.$ac_ext <<_ACEOF
2604 /* confdefs.h. */
2605 _ACEOF
2606 cat confdefs.h >>conftest.$ac_ext
2607 cat >>conftest.$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2611 main ()
2613 #ifndef __GNUC__
2614 choke me
2615 #endif
2618 return 0;
2620 _ACEOF
2621 rm -f conftest.$ac_objext
2622 if { (ac_try="$ac_compile"
2623 case "(($ac_try" in
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2626 esac
2627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2628 (eval "$ac_compile") 2>conftest.er1
2629 ac_status=$?
2630 grep -v '^ *+' conftest.er1 >conftest.err
2631 rm -f conftest.er1
2632 cat conftest.err >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } && {
2635 test -z "$ac_c_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest.$ac_objext; then
2638 ac_compiler_gnu=yes
2639 else
2640 echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 ac_compiler_gnu=no
2646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2650 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2651 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2652 GCC=`test $ac_compiler_gnu = yes && echo yes`
2653 ac_test_CFLAGS=${CFLAGS+set}
2654 ac_save_CFLAGS=$CFLAGS
2655 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2656 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2657 if test "${ac_cv_prog_cc_g+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 else
2660 ac_save_c_werror_flag=$ac_c_werror_flag
2661 ac_c_werror_flag=yes
2662 ac_cv_prog_cc_g=no
2663 CFLAGS="-g"
2664 cat >conftest.$ac_ext <<_ACEOF
2665 /* confdefs.h. */
2666 _ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2672 main ()
2676 return 0;
2678 _ACEOF
2679 rm -f conftest.$ac_objext
2680 if { (ac_try="$ac_compile"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_compile") 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && {
2693 test -z "$ac_c_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest.$ac_objext; then
2696 ac_cv_prog_cc_g=yes
2697 else
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2701 CFLAGS=""
2702 cat >conftest.$ac_ext <<_ACEOF
2703 /* confdefs.h. */
2704 _ACEOF
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2710 main ()
2714 return 0;
2716 _ACEOF
2717 rm -f conftest.$ac_objext
2718 if { (ac_try="$ac_compile"
2719 case "(($ac_try" in
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2722 esac
2723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_compile") 2>conftest.er1
2725 ac_status=$?
2726 grep -v '^ *+' conftest.er1 >conftest.err
2727 rm -f conftest.er1
2728 cat conftest.err >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } && {
2731 test -z "$ac_c_werror_flag" ||
2732 test ! -s conftest.err
2733 } && test -s conftest.$ac_objext; then
2735 else
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 ac_c_werror_flag=$ac_save_c_werror_flag
2740 CFLAGS="-g"
2741 cat >conftest.$ac_ext <<_ACEOF
2742 /* confdefs.h. */
2743 _ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2749 main ()
2753 return 0;
2755 _ACEOF
2756 rm -f conftest.$ac_objext
2757 if { (ac_try="$ac_compile"
2758 case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2763 (eval "$ac_compile") 2>conftest.er1
2764 ac_status=$?
2765 grep -v '^ *+' conftest.er1 >conftest.err
2766 rm -f conftest.er1
2767 cat conftest.err >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then
2773 ac_cv_prog_cc_g=yes
2774 else
2775 echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 ac_c_werror_flag=$ac_save_c_werror_flag
2790 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2791 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2792 if test "$ac_test_CFLAGS" = set; then
2793 CFLAGS=$ac_save_CFLAGS
2794 elif test $ac_cv_prog_cc_g = yes; then
2795 if test "$GCC" = yes; then
2796 CFLAGS="-g -O2"
2797 else
2798 CFLAGS="-g"
2800 else
2801 if test "$GCC" = yes; then
2802 CFLAGS="-O2"
2803 else
2804 CFLAGS=
2807 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2808 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2809 if test "${ac_cv_prog_cc_c89+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 else
2812 ac_cv_prog_cc_c89=no
2813 ac_save_CC=$CC
2814 cat >conftest.$ac_ext <<_ACEOF
2815 /* confdefs.h. */
2816 _ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2820 #include <stdarg.h>
2821 #include <stdio.h>
2822 #include <sys/types.h>
2823 #include <sys/stat.h>
2824 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2825 struct buf { int x; };
2826 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2827 static char *e (p, i)
2828 char **p;
2829 int i;
2831 return p[i];
2833 static char *f (char * (*g) (char **, int), char **p, ...)
2835 char *s;
2836 va_list v;
2837 va_start (v,p);
2838 s = g (p, va_arg (v,int));
2839 va_end (v);
2840 return s;
2843 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2844 function prototypes and stuff, but not '\xHH' hex character constants.
2845 These don't provoke an error unfortunately, instead are silently treated
2846 as 'x'. The following induces an error, until -std is added to get
2847 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2848 array size at least. It's necessary to write '\x00'==0 to get something
2849 that's true only with -std. */
2850 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2852 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2853 inside strings and character constants. */
2854 #define FOO(x) 'x'
2855 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2857 int test (int i, double x);
2858 struct s1 {int (*f) (int a);};
2859 struct s2 {int (*f) (double a);};
2860 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2861 int argc;
2862 char **argv;
2864 main ()
2866 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2868 return 0;
2870 _ACEOF
2871 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2872 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2874 CC="$ac_save_CC $ac_arg"
2875 rm -f conftest.$ac_objext
2876 if { (ac_try="$ac_compile"
2877 case "(($ac_try" in
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2880 esac
2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } && {
2889 test -z "$ac_c_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then
2892 ac_cv_prog_cc_c89=$ac_arg
2893 else
2894 echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2900 rm -f core conftest.err conftest.$ac_objext
2901 test "x$ac_cv_prog_cc_c89" != "xno" && break
2902 done
2903 rm -f conftest.$ac_ext
2904 CC=$ac_save_CC
2907 # AC_CACHE_VAL
2908 case "x$ac_cv_prog_cc_c89" in
2910 { echo "$as_me:$LINENO: result: none needed" >&5
2911 echo "${ECHO_T}none needed" >&6; } ;;
2912 xno)
2913 { echo "$as_me:$LINENO: result: unsupported" >&5
2914 echo "${ECHO_T}unsupported" >&6; } ;;
2916 CC="$CC $ac_cv_prog_cc_c89"
2917 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2918 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2919 esac
2922 ac_ext=c
2923 ac_cpp='$CPP $CPPFLAGS'
2924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2929 { echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
2930 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6; }
2931 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 else
2934 ac_check_lib_save_LIBS=$LIBS
2935 LIBS="-lmagic $LIBS"
2936 cat >conftest.$ac_ext <<_ACEOF
2937 /* confdefs.h. */
2938 _ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 /* Override any GCC internal prototype to avoid an error.
2944 Use char because int might match the return type of a GCC
2945 builtin and then its argument prototype would still apply. */
2946 #ifdef __cplusplus
2947 extern "C"
2948 #endif
2949 char magic_open ();
2951 main ()
2953 return magic_open ();
2955 return 0;
2957 _ACEOF
2958 rm -f conftest.$ac_objext conftest$ac_exeext
2959 if { (ac_try="$ac_link"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_link") 2>conftest.er1
2966 ac_status=$?
2967 grep -v '^ *+' conftest.er1 >conftest.err
2968 rm -f conftest.er1
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } && {
2972 test -z "$ac_c_werror_flag" ||
2973 test ! -s conftest.err
2974 } && test -s conftest$ac_exeext &&
2975 $as_test_x conftest$ac_exeext; then
2976 ac_cv_lib_magic_magic_open=yes
2977 else
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2981 ac_cv_lib_magic_magic_open=no
2984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2985 conftest$ac_exeext conftest.$ac_ext
2986 LIBS=$ac_check_lib_save_LIBS
2988 { echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
2989 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6; }
2990 if test $ac_cv_lib_magic_magic_open = yes; then
2991 HAVE_MAGIC=yes
2992 else
2993 HAVE_MAGIC=no
2998 if test "x$prefix" = "xNONE"; then
2999 prefix=/usr/local
3002 # assume on windows for now
3003 if test "x$MONO_VERSION" = "x"; then
3004 MONO_VERSION=csc-2.0
3007 HAVE_SYNTAX_HIGHLIGHTING=no
3008 if test "x$HAVE_GNOME_VFS" = "xyes" && test "x$HAVE_GTK_SOURCEVIEW" = "xyes"; then
3009 HAVE_SYNTAX_HIGHLIGHTING=yes
3012 echo "prefix=$prefix" > build/config.make
3013 echo "exec_prefix=\${prefix}" >> build/config.make
3014 echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
3015 echo "RUNTIME=mono" >> build/config.make
3016 echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> build/config.make
3017 echo "MONO_VERSION=$MONO_VERSION" >> build/config.make
3018 echo "MONODEVELOP_LIBPATH=$MD_LIBPATH" >> build/config.make
3019 echo "MCS_FLAGS=-debug+" >> build/config.make
3020 echo "HAVE_GTK=$HAVE_GTK" >> build/config.make
3021 echo "HAVE_SYNTAX_HIGHLIGHTING=$HAVE_SYNTAX_HIGHLIGHTING" >> build/config.make
3022 echo "HAVE_ATLEAST_GTK_210=$HAVE_ATLEAST_GTK_210" >> build/config.make
3023 echo "HAVE_MAGIC=$HAVE_MAGIC" >> build/config.make
3024 echo "HAVE_MONODEVELOP=$HAVE_MD" >> build/config.make
3025 echo "HAVE_GNOME_KEYRING=$HAVE_GNOME_KEYRING" >> build/config.make
3026 echo "HAVE_GNOME_VFS=$HAVE_GNOME_VFS" >> build/config.make
3027 echo "HAVE_DOC_TOOLS=$HAVE_DOC_TOOLS" >> build/config.make
3028 echo "HAVE_MSLIBS=$HAVE_MSLIBS" >> build/config.make
3030 ac_config_files="$ac_config_files tools/opentf/tf.sh tools/wit/wit.sh tfs.spec"
3033 cat >confcache <<\_ACEOF
3034 # This file is a shell script that caches the results of configure
3035 # tests run on this system so they can be shared between configure
3036 # scripts and configure runs, see configure's option --config-cache.
3037 # It is not useful on other systems. If it contains results you don't
3038 # want to keep, you may remove or edit it.
3040 # config.status only pays attention to the cache file if you give it
3041 # the --recheck option to rerun configure.
3043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3045 # following values.
3047 _ACEOF
3049 # The following way of writing the cache mishandles newlines in values,
3050 # but we know of no workaround that is simple, portable, and efficient.
3051 # So, we kill variables containing newlines.
3052 # Ultrix sh set writes to stderr and can't be redirected directly,
3053 # and sets the high bit in the cache file unless we assign to the vars.
3055 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3056 eval ac_val=\$$ac_var
3057 case $ac_val in #(
3058 *${as_nl}*)
3059 case $ac_var in #(
3060 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3061 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3062 esac
3063 case $ac_var in #(
3064 _ | IFS | as_nl) ;; #(
3065 *) $as_unset $ac_var ;;
3066 esac ;;
3067 esac
3068 done
3070 (set) 2>&1 |
3071 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3072 *${as_nl}ac_space=\ *)
3073 # `set' does not quote correctly, so add quotes (double-quote
3074 # substitution turns \\\\ into \\, and sed turns \\ into \).
3075 sed -n \
3076 "s/'/'\\\\''/g;
3077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3078 ;; #(
3080 # `set' quotes correctly as required by POSIX, so do not add quotes.
3081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3083 esac |
3084 sort
3086 sed '
3087 /^ac_cv_env_/b end
3088 t clear
3089 :clear
3090 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3091 t end
3092 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3093 :end' >>confcache
3094 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3095 if test -w "$cache_file"; then
3096 test "x$cache_file" != "x/dev/null" &&
3097 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3098 echo "$as_me: updating cache $cache_file" >&6;}
3099 cat confcache >$cache_file
3100 else
3101 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3102 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3105 rm -f confcache
3107 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3108 # Let make expand exec_prefix.
3109 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3111 # Transform confdefs.h into DEFS.
3112 # Protect against shell expansion while executing Makefile rules.
3113 # Protect against Makefile macro expansion.
3115 # If the first sed substitution is executed (which looks for macros that
3116 # take arguments), then branch to the quote section. Otherwise,
3117 # look for a macro that doesn't take arguments.
3118 ac_script='
3119 t clear
3120 :clear
3121 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3122 t quote
3123 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3124 t quote
3125 b any
3126 :quote
3127 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3128 s/\[/\\&/g
3129 s/\]/\\&/g
3130 s/\$/$$/g
3132 :any
3135 s/^\n//
3136 s/\n/ /g
3140 DEFS=`sed -n "$ac_script" confdefs.h`
3143 ac_libobjs=
3144 ac_ltlibobjs=
3145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3146 # 1. Remove the extension, and $U if already installed.
3147 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3148 ac_i=`echo "$ac_i" | sed "$ac_script"`
3149 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3150 # will be set to the directory where LIBOBJS objects are built.
3151 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3152 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3153 done
3154 LIBOBJS=$ac_libobjs
3156 LTLIBOBJS=$ac_ltlibobjs
3160 : ${CONFIG_STATUS=./config.status}
3161 ac_clean_files_save=$ac_clean_files
3162 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3163 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3164 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3165 cat >$CONFIG_STATUS <<_ACEOF
3166 #! $SHELL
3167 # Generated by $as_me.
3168 # Run this file to recreate the current configuration.
3169 # Compiler output produced by configure, useful for debugging
3170 # configure, is in config.log if it exists.
3172 debug=false
3173 ac_cs_recheck=false
3174 ac_cs_silent=false
3175 SHELL=\${CONFIG_SHELL-$SHELL}
3176 _ACEOF
3178 cat >>$CONFIG_STATUS <<\_ACEOF
3179 ## --------------------- ##
3180 ## M4sh Initialization. ##
3181 ## --------------------- ##
3183 # Be more Bourne compatible
3184 DUALCASE=1; export DUALCASE # for MKS sh
3185 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3186 emulate sh
3187 NULLCMD=:
3188 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3189 # is contrary to our usage. Disable this feature.
3190 alias -g '${1+"$@"}'='"$@"'
3191 setopt NO_GLOB_SUBST
3192 else
3193 case `(set -o) 2>/dev/null` in
3194 *posix*) set -o posix ;;
3195 esac
3202 # PATH needs CR
3203 # Avoid depending upon Character Ranges.
3204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3207 as_cr_digits='0123456789'
3208 as_cr_alnum=$as_cr_Letters$as_cr_digits
3210 # The user is always right.
3211 if test "${PATH_SEPARATOR+set}" != set; then
3212 echo "#! /bin/sh" >conf$$.sh
3213 echo "exit 0" >>conf$$.sh
3214 chmod +x conf$$.sh
3215 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3216 PATH_SEPARATOR=';'
3217 else
3218 PATH_SEPARATOR=:
3220 rm -f conf$$.sh
3223 # Support unset when possible.
3224 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3225 as_unset=unset
3226 else
3227 as_unset=false
3231 # IFS
3232 # We need space, tab and new line, in precisely that order. Quoting is
3233 # there to prevent editors from complaining about space-tab.
3234 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3235 # splitting by setting IFS to empty value.)
3236 as_nl='
3238 IFS=" "" $as_nl"
3240 # Find who we are. Look in the path if we contain no directory separator.
3241 case $0 in
3242 *[\\/]* ) as_myself=$0 ;;
3243 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 for as_dir in $PATH
3246 IFS=$as_save_IFS
3247 test -z "$as_dir" && as_dir=.
3248 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3249 done
3250 IFS=$as_save_IFS
3253 esac
3254 # We did not find ourselves, most probably we were run as `sh COMMAND'
3255 # in which case we are not to be found in the path.
3256 if test "x$as_myself" = x; then
3257 as_myself=$0
3259 if test ! -f "$as_myself"; then
3260 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3261 { (exit 1); exit 1; }
3264 # Work around bugs in pre-3.0 UWIN ksh.
3265 for as_var in ENV MAIL MAILPATH
3266 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3267 done
3268 PS1='$ '
3269 PS2='> '
3270 PS4='+ '
3272 # NLS nuisances.
3273 for as_var in \
3274 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3275 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3276 LC_TELEPHONE LC_TIME
3278 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3279 eval $as_var=C; export $as_var
3280 else
3281 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3283 done
3285 # Required to use basename.
3286 if expr a : '\(a\)' >/dev/null 2>&1 &&
3287 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3288 as_expr=expr
3289 else
3290 as_expr=false
3293 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3294 as_basename=basename
3295 else
3296 as_basename=false
3300 # Name of the executable.
3301 as_me=`$as_basename -- "$0" ||
3302 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3303 X"$0" : 'X\(//\)$' \| \
3304 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3305 echo X/"$0" |
3306 sed '/^.*\/\([^/][^/]*\)\/*$/{
3307 s//\1/
3310 /^X\/\(\/\/\)$/{
3311 s//\1/
3314 /^X\/\(\/\).*/{
3315 s//\1/
3318 s/.*/./; q'`
3320 # CDPATH.
3321 $as_unset CDPATH
3325 as_lineno_1=$LINENO
3326 as_lineno_2=$LINENO
3327 test "x$as_lineno_1" != "x$as_lineno_2" &&
3328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3330 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3331 # uniformly replaced by the line number. The first 'sed' inserts a
3332 # line-number line after each line using $LINENO; the second 'sed'
3333 # does the real work. The second script uses 'N' to pair each
3334 # line-number line with the line containing $LINENO, and appends
3335 # trailing '-' during substitution so that $LINENO is not a special
3336 # case at line end.
3337 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3338 # scripts with optimization help from Paolo Bonzini. Blame Lee
3339 # E. McMahon (1931-1989) for sed's syntax. :-)
3340 sed -n '
3342 /[$]LINENO/=
3343 ' <$as_myself |
3344 sed '
3345 s/[$]LINENO.*/&-/
3346 t lineno
3348 :lineno
3350 :loop
3351 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3352 t loop
3353 s/-\n.*//
3354 ' >$as_me.lineno &&
3355 chmod +x "$as_me.lineno" ||
3356 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3357 { (exit 1); exit 1; }; }
3359 # Don't try to exec as it changes $[0], causing all sort of problems
3360 # (the dirname of $[0] is not the place where we might find the
3361 # original and so on. Autoconf is especially sensitive to this).
3362 . "./$as_me.lineno"
3363 # Exit status is that of the last command.
3364 exit
3368 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3369 as_dirname=dirname
3370 else
3371 as_dirname=false
3374 ECHO_C= ECHO_N= ECHO_T=
3375 case `echo -n x` in
3376 -n*)
3377 case `echo 'x\c'` in
3378 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3379 *) ECHO_C='\c';;
3380 esac;;
3382 ECHO_N='-n';;
3383 esac
3385 if expr a : '\(a\)' >/dev/null 2>&1 &&
3386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3387 as_expr=expr
3388 else
3389 as_expr=false
3392 rm -f conf$$ conf$$.exe conf$$.file
3393 if test -d conf$$.dir; then
3394 rm -f conf$$.dir/conf$$.file
3395 else
3396 rm -f conf$$.dir
3397 mkdir conf$$.dir
3399 echo >conf$$.file
3400 if ln -s conf$$.file conf$$ 2>/dev/null; then
3401 as_ln_s='ln -s'
3402 # ... but there are two gotchas:
3403 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3404 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3405 # In both cases, we have to default to `cp -p'.
3406 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3407 as_ln_s='cp -p'
3408 elif ln conf$$.file conf$$ 2>/dev/null; then
3409 as_ln_s=ln
3410 else
3411 as_ln_s='cp -p'
3413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3414 rmdir conf$$.dir 2>/dev/null
3416 if mkdir -p . 2>/dev/null; then
3417 as_mkdir_p=:
3418 else
3419 test -d ./-p && rmdir ./-p
3420 as_mkdir_p=false
3423 if test -x / >/dev/null 2>&1; then
3424 as_test_x='test -x'
3425 else
3426 if ls -dL / >/dev/null 2>&1; then
3427 as_ls_L_option=L
3428 else
3429 as_ls_L_option=
3431 as_test_x='
3432 eval sh -c '\''
3433 if test -d "$1"; then
3434 test -d "$1/.";
3435 else
3436 case $1 in
3437 -*)set "./$1";;
3438 esac;
3439 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3440 ???[sx]*):;;*)false;;esac;fi
3441 '\'' sh
3444 as_executable_p=$as_test_x
3446 # Sed expression to map a string onto a valid CPP name.
3447 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3449 # Sed expression to map a string onto a valid variable name.
3450 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3453 exec 6>&1
3455 # Save the log message, to keep $[0] and so on meaningful, and to
3456 # report actual input values of CONFIG_FILES etc. instead of their
3457 # values after options handling.
3458 ac_log="
3459 This file was extended by opentf $as_me 0.6.0, which was
3460 generated by GNU Autoconf 2.61. Invocation command line was
3462 CONFIG_FILES = $CONFIG_FILES
3463 CONFIG_HEADERS = $CONFIG_HEADERS
3464 CONFIG_LINKS = $CONFIG_LINKS
3465 CONFIG_COMMANDS = $CONFIG_COMMANDS
3466 $ $0 $@
3468 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3471 _ACEOF
3473 cat >>$CONFIG_STATUS <<_ACEOF
3474 # Files that config.status was made for.
3475 config_files="$ac_config_files"
3477 _ACEOF
3479 cat >>$CONFIG_STATUS <<\_ACEOF
3480 ac_cs_usage="\
3481 \`$as_me' instantiates files from templates according to the
3482 current configuration.
3484 Usage: $0 [OPTIONS] [FILE]...
3486 -h, --help print this help, then exit
3487 -V, --version print version number and configuration settings, then exit
3488 -q, --quiet do not print progress messages
3489 -d, --debug don't remove temporary files
3490 --recheck update $as_me by reconfiguring in the same conditions
3491 --file=FILE[:TEMPLATE]
3492 instantiate the configuration file FILE
3494 Configuration files:
3495 $config_files
3497 Report bugs to <bug-autoconf@gnu.org>."
3499 _ACEOF
3500 cat >>$CONFIG_STATUS <<_ACEOF
3501 ac_cs_version="\\
3502 opentf config.status 0.6.0
3503 configured by $0, generated by GNU Autoconf 2.61,
3504 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3506 Copyright (C) 2006 Free Software Foundation, Inc.
3507 This config.status script is free software; the Free Software Foundation
3508 gives unlimited permission to copy, distribute and modify it."
3510 ac_pwd='$ac_pwd'
3511 srcdir='$srcdir'
3512 _ACEOF
3514 cat >>$CONFIG_STATUS <<\_ACEOF
3515 # If no file are specified by the user, then we need to provide default
3516 # value. By we need to know if files were specified by the user.
3517 ac_need_defaults=:
3518 while test $# != 0
3520 case $1 in
3521 --*=*)
3522 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3523 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3524 ac_shift=:
3527 ac_option=$1
3528 ac_optarg=$2
3529 ac_shift=shift
3531 esac
3533 case $ac_option in
3534 # Handling of the options.
3535 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3536 ac_cs_recheck=: ;;
3537 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3538 echo "$ac_cs_version"; exit ;;
3539 --debug | --debu | --deb | --de | --d | -d )
3540 debug=: ;;
3541 --file | --fil | --fi | --f )
3542 $ac_shift
3543 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3544 ac_need_defaults=false;;
3545 --he | --h | --help | --hel | -h )
3546 echo "$ac_cs_usage"; exit ;;
3547 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3548 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3549 ac_cs_silent=: ;;
3551 # This is an error.
3552 -*) { echo "$as_me: error: unrecognized option: $1
3553 Try \`$0 --help' for more information." >&2
3554 { (exit 1); exit 1; }; } ;;
3556 *) ac_config_targets="$ac_config_targets $1"
3557 ac_need_defaults=false ;;
3559 esac
3560 shift
3561 done
3563 ac_configure_extra_args=
3565 if $ac_cs_silent; then
3566 exec 6>/dev/null
3567 ac_configure_extra_args="$ac_configure_extra_args --silent"
3570 _ACEOF
3571 cat >>$CONFIG_STATUS <<_ACEOF
3572 if \$ac_cs_recheck; then
3573 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3574 CONFIG_SHELL=$SHELL
3575 export CONFIG_SHELL
3576 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3579 _ACEOF
3580 cat >>$CONFIG_STATUS <<\_ACEOF
3581 exec 5>>config.log
3583 echo
3584 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3585 ## Running $as_me. ##
3586 _ASBOX
3587 echo "$ac_log"
3588 } >&5
3590 _ACEOF
3591 cat >>$CONFIG_STATUS <<_ACEOF
3592 _ACEOF
3594 cat >>$CONFIG_STATUS <<\_ACEOF
3596 # Handling of arguments.
3597 for ac_config_target in $ac_config_targets
3599 case $ac_config_target in
3600 "tools/opentf/tf.sh") CONFIG_FILES="$CONFIG_FILES tools/opentf/tf.sh" ;;
3601 "tools/wit/wit.sh") CONFIG_FILES="$CONFIG_FILES tools/wit/wit.sh" ;;
3602 "tfs.spec") CONFIG_FILES="$CONFIG_FILES tfs.spec" ;;
3604 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3605 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3606 { (exit 1); exit 1; }; };;
3607 esac
3608 done
3611 # If the user did not use the arguments to specify the items to instantiate,
3612 # then the envvar interface is used. Set only those that are not.
3613 # We use the long form for the default assignment because of an extremely
3614 # bizarre bug on SunOS 4.1.3.
3615 if $ac_need_defaults; then
3616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3619 # Have a temporary directory for convenience. Make it in the build tree
3620 # simply because there is no reason against having it here, and in addition,
3621 # creating and moving files from /tmp can sometimes cause problems.
3622 # Hook for its removal unless debugging.
3623 # Note that there is a small window in which the directory will not be cleaned:
3624 # after its creation but before its name has been assigned to `$tmp'.
3625 $debug ||
3627 tmp=
3628 trap 'exit_status=$?
3629 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3631 trap '{ (exit 1); exit 1; }' 1 2 13 15
3633 # Create a (secure) tmp directory for tmp files.
3636 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3637 test -n "$tmp" && test -d "$tmp"
3638 } ||
3640 tmp=./conf$$-$RANDOM
3641 (umask 077 && mkdir "$tmp")
3642 } ||
3644 echo "$me: cannot create a temporary directory in ." >&2
3645 { (exit 1); exit 1; }
3649 # Set up the sed scripts for CONFIG_FILES section.
3652 # No need to generate the scripts if there are no CONFIG_FILES.
3653 # This happens for instance when ./config.status config.h
3654 if test -n "$CONFIG_FILES"; then
3656 _ACEOF
3660 ac_delim='%!_!# '
3661 for ac_last_try in false false false false false :; do
3662 cat >conf$$subs.sed <<_ACEOF
3663 SHELL!$SHELL$ac_delim
3664 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3665 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3666 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3667 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3668 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3669 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3670 exec_prefix!$exec_prefix$ac_delim
3671 prefix!$prefix$ac_delim
3672 program_transform_name!$program_transform_name$ac_delim
3673 bindir!$bindir$ac_delim
3674 sbindir!$sbindir$ac_delim
3675 libexecdir!$libexecdir$ac_delim
3676 datarootdir!$datarootdir$ac_delim
3677 datadir!$datadir$ac_delim
3678 sysconfdir!$sysconfdir$ac_delim
3679 sharedstatedir!$sharedstatedir$ac_delim
3680 localstatedir!$localstatedir$ac_delim
3681 includedir!$includedir$ac_delim
3682 oldincludedir!$oldincludedir$ac_delim
3683 docdir!$docdir$ac_delim
3684 infodir!$infodir$ac_delim
3685 htmldir!$htmldir$ac_delim
3686 dvidir!$dvidir$ac_delim
3687 pdfdir!$pdfdir$ac_delim
3688 psdir!$psdir$ac_delim
3689 libdir!$libdir$ac_delim
3690 localedir!$localedir$ac_delim
3691 mandir!$mandir$ac_delim
3692 DEFS!$DEFS$ac_delim
3693 ECHO_C!$ECHO_C$ac_delim
3694 ECHO_N!$ECHO_N$ac_delim
3695 ECHO_T!$ECHO_T$ac_delim
3696 LIBS!$LIBS$ac_delim
3697 build_alias!$build_alias$ac_delim
3698 host_alias!$host_alias$ac_delim
3699 target_alias!$target_alias$ac_delim
3700 PKG_CONFIG!$PKG_CONFIG$ac_delim
3701 ASCIIDOC!$ASCIIDOC$ac_delim
3702 XMLTO!$XMLTO$ac_delim
3703 MONO!$MONO$ac_delim
3704 CC!$CC$ac_delim
3705 CFLAGS!$CFLAGS$ac_delim
3706 LDFLAGS!$LDFLAGS$ac_delim
3707 CPPFLAGS!$CPPFLAGS$ac_delim
3708 ac_ct_CC!$ac_ct_CC$ac_delim
3709 EXEEXT!$EXEEXT$ac_delim
3710 OBJEXT!$OBJEXT$ac_delim
3711 LIBOBJS!$LIBOBJS$ac_delim
3712 LTLIBOBJS!$LTLIBOBJS$ac_delim
3713 _ACEOF
3715 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
3716 break
3717 elif $ac_last_try; then
3718 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3719 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3720 { (exit 1); exit 1; }; }
3721 else
3722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3724 done
3726 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3727 if test -n "$ac_eof"; then
3728 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3729 ac_eof=`expr $ac_eof + 1`
3732 cat >>$CONFIG_STATUS <<_ACEOF
3733 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3735 _ACEOF
3736 sed '
3737 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3738 s/^/s,@/; s/!/@,|#_!!_#|/
3741 s/'"$ac_delim"'$/,g/; t
3742 s/$/\\/; p
3743 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3744 ' >>$CONFIG_STATUS <conf$$subs.sed
3745 rm -f conf$$subs.sed
3746 cat >>$CONFIG_STATUS <<_ACEOF
3747 :end
3748 s/|#_!!_#|//g
3749 CEOF$ac_eof
3750 _ACEOF
3753 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3754 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3755 # trailing colons and then remove the whole line if VPATH becomes empty
3756 # (actually we leave an empty line to preserve line numbers).
3757 if test "x$srcdir" = x.; then
3758 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3759 s/:*\$(srcdir):*/:/
3760 s/:*\${srcdir}:*/:/
3761 s/:*@srcdir@:*/:/
3762 s/^\([^=]*=[ ]*\):*/\1/
3763 s/:*$//
3764 s/^[^=]*=[ ]*$//
3768 cat >>$CONFIG_STATUS <<\_ACEOF
3769 fi # test -n "$CONFIG_FILES"
3772 for ac_tag in :F $CONFIG_FILES
3774 case $ac_tag in
3775 :[FHLC]) ac_mode=$ac_tag; continue;;
3776 esac
3777 case $ac_mode$ac_tag in
3778 :[FHL]*:*);;
3779 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3780 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3781 { (exit 1); exit 1; }; };;
3782 :[FH]-) ac_tag=-:-;;
3783 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3784 esac
3785 ac_save_IFS=$IFS
3786 IFS=:
3787 set x $ac_tag
3788 IFS=$ac_save_IFS
3789 shift
3790 ac_file=$1
3791 shift
3793 case $ac_mode in
3794 :L) ac_source=$1;;
3795 :[FH])
3796 ac_file_inputs=
3797 for ac_f
3799 case $ac_f in
3800 -) ac_f="$tmp/stdin";;
3801 *) # Look for the file first in the build tree, then in the source tree
3802 # (if the path is not absolute). The absolute path cannot be DOS-style,
3803 # because $ac_f cannot contain `:'.
3804 test -f "$ac_f" ||
3805 case $ac_f in
3806 [\\/$]*) false;;
3807 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3808 esac ||
3809 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3810 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3811 { (exit 1); exit 1; }; };;
3812 esac
3813 ac_file_inputs="$ac_file_inputs $ac_f"
3814 done
3816 # Let's still pretend it is `configure' which instantiates (i.e., don't
3817 # use $as_me), people would be surprised to read:
3818 # /* config.h. Generated by config.status. */
3819 configure_input="Generated from "`IFS=:
3820 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3821 if test x"$ac_file" != x-; then
3822 configure_input="$ac_file. $configure_input"
3823 { echo "$as_me:$LINENO: creating $ac_file" >&5
3824 echo "$as_me: creating $ac_file" >&6;}
3827 case $ac_tag in
3828 *:-:* | *:-) cat >"$tmp/stdin";;
3829 esac
3831 esac
3833 ac_dir=`$as_dirname -- "$ac_file" ||
3834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3835 X"$ac_file" : 'X\(//\)[^/]' \| \
3836 X"$ac_file" : 'X\(//\)$' \| \
3837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3838 echo X"$ac_file" |
3839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3840 s//\1/
3843 /^X\(\/\/\)[^/].*/{
3844 s//\1/
3847 /^X\(\/\/\)$/{
3848 s//\1/
3851 /^X\(\/\).*/{
3852 s//\1/
3855 s/.*/./; q'`
3856 { as_dir="$ac_dir"
3857 case $as_dir in #(
3858 -*) as_dir=./$as_dir;;
3859 esac
3860 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3861 as_dirs=
3862 while :; do
3863 case $as_dir in #(
3864 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3865 *) as_qdir=$as_dir;;
3866 esac
3867 as_dirs="'$as_qdir' $as_dirs"
3868 as_dir=`$as_dirname -- "$as_dir" ||
3869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3870 X"$as_dir" : 'X\(//\)[^/]' \| \
3871 X"$as_dir" : 'X\(//\)$' \| \
3872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3873 echo X"$as_dir" |
3874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3875 s//\1/
3878 /^X\(\/\/\)[^/].*/{
3879 s//\1/
3882 /^X\(\/\/\)$/{
3883 s//\1/
3886 /^X\(\/\).*/{
3887 s//\1/
3890 s/.*/./; q'`
3891 test -d "$as_dir" && break
3892 done
3893 test -z "$as_dirs" || eval "mkdir $as_dirs"
3894 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3895 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3896 { (exit 1); exit 1; }; }; }
3897 ac_builddir=.
3899 case "$ac_dir" in
3900 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3903 # A ".." for each directory in $ac_dir_suffix.
3904 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3905 case $ac_top_builddir_sub in
3906 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3907 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3908 esac ;;
3909 esac
3910 ac_abs_top_builddir=$ac_pwd
3911 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3912 # for backward compatibility:
3913 ac_top_builddir=$ac_top_build_prefix
3915 case $srcdir in
3916 .) # We are building in place.
3917 ac_srcdir=.
3918 ac_top_srcdir=$ac_top_builddir_sub
3919 ac_abs_top_srcdir=$ac_pwd ;;
3920 [\\/]* | ?:[\\/]* ) # Absolute name.
3921 ac_srcdir=$srcdir$ac_dir_suffix;
3922 ac_top_srcdir=$srcdir
3923 ac_abs_top_srcdir=$srcdir ;;
3924 *) # Relative name.
3925 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3926 ac_top_srcdir=$ac_top_build_prefix$srcdir
3927 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3928 esac
3929 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3932 case $ac_mode in
3935 # CONFIG_FILE
3938 _ACEOF
3940 cat >>$CONFIG_STATUS <<\_ACEOF
3941 # If the template does not know about datarootdir, expand it.
3942 # FIXME: This hack should be removed a few years after 2.60.
3943 ac_datarootdir_hack=; ac_datarootdir_seen=
3945 case `sed -n '/datarootdir/ {
3949 /@datadir@/p
3950 /@docdir@/p
3951 /@infodir@/p
3952 /@localedir@/p
3953 /@mandir@/p
3954 ' $ac_file_inputs` in
3955 *datarootdir*) ac_datarootdir_seen=yes;;
3956 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3957 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3958 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3959 _ACEOF
3960 cat >>$CONFIG_STATUS <<_ACEOF
3961 ac_datarootdir_hack='
3962 s&@datadir@&$datadir&g
3963 s&@docdir@&$docdir&g
3964 s&@infodir@&$infodir&g
3965 s&@localedir@&$localedir&g
3966 s&@mandir@&$mandir&g
3967 s&\\\${datarootdir}&$datarootdir&g' ;;
3968 esac
3969 _ACEOF
3971 # Neutralize VPATH when `$srcdir' = `.'.
3972 # Shell code in configure.ac might set extrasub.
3973 # FIXME: do we really want to maintain this feature?
3974 cat >>$CONFIG_STATUS <<_ACEOF
3975 sed "$ac_vpsub
3976 $extrasub
3977 _ACEOF
3978 cat >>$CONFIG_STATUS <<\_ACEOF
3980 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3981 s&@configure_input@&$configure_input&;t t
3982 s&@top_builddir@&$ac_top_builddir_sub&;t t
3983 s&@srcdir@&$ac_srcdir&;t t
3984 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3985 s&@top_srcdir@&$ac_top_srcdir&;t t
3986 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3987 s&@builddir@&$ac_builddir&;t t
3988 s&@abs_builddir@&$ac_abs_builddir&;t t
3989 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3990 $ac_datarootdir_hack
3991 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3993 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3994 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3995 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3996 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3997 which seems to be undefined. Please make sure it is defined." >&5
3998 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3999 which seems to be undefined. Please make sure it is defined." >&2;}
4001 rm -f "$tmp/stdin"
4002 case $ac_file in
4003 -) cat "$tmp/out"; rm -f "$tmp/out";;
4004 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4005 esac
4010 esac
4012 done # for ac_tag
4015 { (exit 0); exit 0; }
4016 _ACEOF
4017 chmod +x $CONFIG_STATUS
4018 ac_clean_files=$ac_clean_files_save
4021 # configure is writing to config.log, and then calls config.status.
4022 # config.status does its own redirection, appending to config.log.
4023 # Unfortunately, on DOS this fails, as config.log is still kept open
4024 # by configure, so config.status won't be able to write to it; its
4025 # output is simply discarded. So we exec the FD to /dev/null,
4026 # effectively closing config.log, so it can be properly (re)opened and
4027 # appended to by config.status. When coming back to configure, we
4028 # need to make the FD available again.
4029 if test "$no_create" != yes; then
4030 ac_cs_success=:
4031 ac_config_status_args=
4032 test "$silent" = yes &&
4033 ac_config_status_args="$ac_config_status_args --quiet"
4034 exec 5>/dev/null
4035 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4036 exec 5>>config.log
4037 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4038 # would make configure fail if this is the last instruction.
4039 $ac_cs_success || { (exit 1); exit 1; }
4043 echo
4044 echo "Configuration Summary"
4045 echo "----------------------------------"
4046 echo
4047 echo " File Type Support: " $HAVE_MAGIC
4048 echo " Man Page Generation: " $HAVE_DOC_TOOLS
4049 echo " MonoDevelop Addin: " $HAVE_MD
4050 echo " Gnome Keyring Support: " $HAVE_GNOME_KEYRING
4051 echo " Gui Support: " $HAVE_GTK
4052 echo " Syntax Highlighting: " $HAVE_SYNTAX_HIGHLIGHTING
4053 echo
4055 if test "${enable_highlight+set}" = set; then
4056 if test "x$HAVE_SYNTAX_HIGHLIGHTING" = "xno"; then
4057 echo Note: install libgnome-vfs2.0-cil and libgtksourceview2.0-cil
4058 echo for syntax highlighting support in the "explore" command
4062 if test "x$HAVE_MAGIC" = "xno"; then
4063 echo Note: Team Foundation does not natively track file attributes.
4064 echo Install libmagic on debian-based systems, or file-devel on suse-based
4065 echo for automagic file attribute support.
4066 echo
4069 if test "x$HAVE_DOC_TOOLS" = "xno"; then
4070 echo Note: install asciidoc and xmlto for man page generation.
4071 echo