use.username.instead.of.owner
[tfs.git] / configure
blob72a7b3ddbf0a338ede75135b12f91dfad490cdc8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for tf4mono 0.4.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='tf4mono'
574 PACKAGE_TARNAME='tf4mono'
575 PACKAGE_VERSION='0.4'
576 PACKAGE_STRING='tf4mono 0.4'
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
618 CFLAGS
619 LDFLAGS
620 CPPFLAGS
621 ac_ct_CC
622 EXEEXT
623 OBJEXT'
624 ac_subst_files=''
625 ac_precious_vars='build_alias
626 host_alias
627 target_alias
628 PKG_CONFIG
630 CFLAGS
631 LDFLAGS
632 LIBS
633 CPPFLAGS'
636 # Initialize some variables set by options.
637 ac_init_help=
638 ac_init_version=false
639 # The variables have the same names as the options, with
640 # dashes changed to underlines.
641 cache_file=/dev/null
642 exec_prefix=NONE
643 no_create=
644 no_recursion=
645 prefix=NONE
646 program_prefix=NONE
647 program_suffix=NONE
648 program_transform_name=s,x,x,
649 silent=
650 site=
651 srcdir=
652 verbose=
653 x_includes=NONE
654 x_libraries=NONE
656 # Installation directory options.
657 # These are left unexpanded so users can "make install exec_prefix=/foo"
658 # and all the variables that are supposed to be based on exec_prefix
659 # by default will actually change.
660 # Use braces instead of parens because sh, perl, etc. also accept them.
661 # (The list follows the same order as the GNU Coding Standards.)
662 bindir='${exec_prefix}/bin'
663 sbindir='${exec_prefix}/sbin'
664 libexecdir='${exec_prefix}/libexec'
665 datarootdir='${prefix}/share'
666 datadir='${datarootdir}'
667 sysconfdir='${prefix}/etc'
668 sharedstatedir='${prefix}/com'
669 localstatedir='${prefix}/var'
670 includedir='${prefix}/include'
671 oldincludedir='/usr/include'
672 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
673 infodir='${datarootdir}/info'
674 htmldir='${docdir}'
675 dvidir='${docdir}'
676 pdfdir='${docdir}'
677 psdir='${docdir}'
678 libdir='${exec_prefix}/lib'
679 localedir='${datarootdir}/locale'
680 mandir='${datarootdir}/man'
682 ac_prev=
683 ac_dashdash=
684 for ac_option
686 # If the previous option needs an argument, assign it.
687 if test -n "$ac_prev"; then
688 eval $ac_prev=\$ac_option
689 ac_prev=
690 continue
693 case $ac_option in
694 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
695 *) ac_optarg=yes ;;
696 esac
698 # Accept the important Cygnus configure options, so we can diagnose typos.
700 case $ac_dashdash$ac_option in
702 ac_dashdash=yes ;;
704 -bindir | --bindir | --bindi | --bind | --bin | --bi)
705 ac_prev=bindir ;;
706 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
707 bindir=$ac_optarg ;;
709 -build | --build | --buil | --bui | --bu)
710 ac_prev=build_alias ;;
711 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
712 build_alias=$ac_optarg ;;
714 -cache-file | --cache-file | --cache-fil | --cache-fi \
715 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
716 ac_prev=cache_file ;;
717 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
718 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
719 cache_file=$ac_optarg ;;
721 --config-cache | -C)
722 cache_file=config.cache ;;
724 -datadir | --datadir | --datadi | --datad)
725 ac_prev=datadir ;;
726 -datadir=* | --datadir=* | --datadi=* | --datad=*)
727 datadir=$ac_optarg ;;
729 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
730 | --dataroo | --dataro | --datar)
731 ac_prev=datarootdir ;;
732 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
733 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
734 datarootdir=$ac_optarg ;;
736 -disable-* | --disable-*)
737 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
741 { (exit 1); exit 1; }; }
742 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
743 eval enable_$ac_feature=no ;;
745 -docdir | --docdir | --docdi | --doc | --do)
746 ac_prev=docdir ;;
747 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
748 docdir=$ac_optarg ;;
750 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
751 ac_prev=dvidir ;;
752 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
753 dvidir=$ac_optarg ;;
755 -enable-* | --enable-*)
756 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760 { (exit 1); exit 1; }; }
761 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
762 eval enable_$ac_feature=\$ac_optarg ;;
764 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
765 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
766 | --exec | --exe | --ex)
767 ac_prev=exec_prefix ;;
768 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
769 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
770 | --exec=* | --exe=* | --ex=*)
771 exec_prefix=$ac_optarg ;;
773 -gas | --gas | --ga | --g)
774 # Obsolete; use --with-gas.
775 with_gas=yes ;;
777 -help | --help | --hel | --he | -h)
778 ac_init_help=long ;;
779 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
780 ac_init_help=recursive ;;
781 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
782 ac_init_help=short ;;
784 -host | --host | --hos | --ho)
785 ac_prev=host_alias ;;
786 -host=* | --host=* | --hos=* | --ho=*)
787 host_alias=$ac_optarg ;;
789 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
790 ac_prev=htmldir ;;
791 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
792 | --ht=*)
793 htmldir=$ac_optarg ;;
795 -includedir | --includedir | --includedi | --included | --include \
796 | --includ | --inclu | --incl | --inc)
797 ac_prev=includedir ;;
798 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
799 | --includ=* | --inclu=* | --incl=* | --inc=*)
800 includedir=$ac_optarg ;;
802 -infodir | --infodir | --infodi | --infod | --info | --inf)
803 ac_prev=infodir ;;
804 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
805 infodir=$ac_optarg ;;
807 -libdir | --libdir | --libdi | --libd)
808 ac_prev=libdir ;;
809 -libdir=* | --libdir=* | --libdi=* | --libd=*)
810 libdir=$ac_optarg ;;
812 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
813 | --libexe | --libex | --libe)
814 ac_prev=libexecdir ;;
815 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
816 | --libexe=* | --libex=* | --libe=*)
817 libexecdir=$ac_optarg ;;
819 -localedir | --localedir | --localedi | --localed | --locale)
820 ac_prev=localedir ;;
821 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
822 localedir=$ac_optarg ;;
824 -localstatedir | --localstatedir | --localstatedi | --localstated \
825 | --localstate | --localstat | --localsta | --localst | --locals)
826 ac_prev=localstatedir ;;
827 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
828 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
829 localstatedir=$ac_optarg ;;
831 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
832 ac_prev=mandir ;;
833 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
834 mandir=$ac_optarg ;;
836 -nfp | --nfp | --nf)
837 # Obsolete; use --without-fp.
838 with_fp=no ;;
840 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
841 | --no-cr | --no-c | -n)
842 no_create=yes ;;
844 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
845 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
846 no_recursion=yes ;;
848 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
849 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
850 | --oldin | --oldi | --old | --ol | --o)
851 ac_prev=oldincludedir ;;
852 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
853 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
854 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
855 oldincludedir=$ac_optarg ;;
857 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
858 ac_prev=prefix ;;
859 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
860 prefix=$ac_optarg ;;
862 -program-prefix | --program-prefix | --program-prefi | --program-pref \
863 | --program-pre | --program-pr | --program-p)
864 ac_prev=program_prefix ;;
865 -program-prefix=* | --program-prefix=* | --program-prefi=* \
866 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
867 program_prefix=$ac_optarg ;;
869 -program-suffix | --program-suffix | --program-suffi | --program-suff \
870 | --program-suf | --program-su | --program-s)
871 ac_prev=program_suffix ;;
872 -program-suffix=* | --program-suffix=* | --program-suffi=* \
873 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
874 program_suffix=$ac_optarg ;;
876 -program-transform-name | --program-transform-name \
877 | --program-transform-nam | --program-transform-na \
878 | --program-transform-n | --program-transform- \
879 | --program-transform | --program-transfor \
880 | --program-transfo | --program-transf \
881 | --program-trans | --program-tran \
882 | --progr-tra | --program-tr | --program-t)
883 ac_prev=program_transform_name ;;
884 -program-transform-name=* | --program-transform-name=* \
885 | --program-transform-nam=* | --program-transform-na=* \
886 | --program-transform-n=* | --program-transform-=* \
887 | --program-transform=* | --program-transfor=* \
888 | --program-transfo=* | --program-transf=* \
889 | --program-trans=* | --program-tran=* \
890 | --progr-tra=* | --program-tr=* | --program-t=*)
891 program_transform_name=$ac_optarg ;;
893 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
894 ac_prev=pdfdir ;;
895 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
896 pdfdir=$ac_optarg ;;
898 -psdir | --psdir | --psdi | --psd | --ps)
899 ac_prev=psdir ;;
900 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
901 psdir=$ac_optarg ;;
903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
904 | -silent | --silent | --silen | --sile | --sil)
905 silent=yes ;;
907 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
908 ac_prev=sbindir ;;
909 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
910 | --sbi=* | --sb=*)
911 sbindir=$ac_optarg ;;
913 -sharedstatedir | --sharedstatedir | --sharedstatedi \
914 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
915 | --sharedst | --shareds | --shared | --share | --shar \
916 | --sha | --sh)
917 ac_prev=sharedstatedir ;;
918 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
919 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
920 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
921 | --sha=* | --sh=*)
922 sharedstatedir=$ac_optarg ;;
924 -site | --site | --sit)
925 ac_prev=site ;;
926 -site=* | --site=* | --sit=*)
927 site=$ac_optarg ;;
929 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
930 ac_prev=srcdir ;;
931 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
932 srcdir=$ac_optarg ;;
934 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
935 | --syscon | --sysco | --sysc | --sys | --sy)
936 ac_prev=sysconfdir ;;
937 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
938 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
939 sysconfdir=$ac_optarg ;;
941 -target | --target | --targe | --targ | --tar | --ta | --t)
942 ac_prev=target_alias ;;
943 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
944 target_alias=$ac_optarg ;;
946 -v | -verbose | --verbose | --verbos | --verbo | --verb)
947 verbose=yes ;;
949 -version | --version | --versio | --versi | --vers | -V)
950 ac_init_version=: ;;
952 -with-* | --with-*)
953 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
956 { echo "$as_me: error: invalid package name: $ac_package" >&2
957 { (exit 1); exit 1; }; }
958 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
959 eval with_$ac_package=\$ac_optarg ;;
961 -without-* | --without-*)
962 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
965 { echo "$as_me: error: invalid package name: $ac_package" >&2
966 { (exit 1); exit 1; }; }
967 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
968 eval with_$ac_package=no ;;
970 --x)
971 # Obsolete; use --with-x.
972 with_x=yes ;;
974 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
975 | --x-incl | --x-inc | --x-in | --x-i)
976 ac_prev=x_includes ;;
977 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
978 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
979 x_includes=$ac_optarg ;;
981 -x-libraries | --x-libraries | --x-librarie | --x-librari \
982 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
983 ac_prev=x_libraries ;;
984 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
985 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
986 x_libraries=$ac_optarg ;;
988 -*) { echo "$as_me: error: unrecognized option: $ac_option
989 Try \`$0 --help' for more information." >&2
990 { (exit 1); exit 1; }; }
993 *=*)
994 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
997 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
998 { (exit 1); exit 1; }; }
999 eval $ac_envvar=\$ac_optarg
1000 export $ac_envvar ;;
1003 # FIXME: should be removed in autoconf 3.0.
1004 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1005 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1006 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1007 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1010 esac
1011 done
1013 if test -n "$ac_prev"; then
1014 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1015 { echo "$as_me: error: missing argument to $ac_option" >&2
1016 { (exit 1); exit 1; }; }
1019 # Be sure to have absolute directory names.
1020 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1021 datadir sysconfdir sharedstatedir localstatedir includedir \
1022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1023 libdir localedir mandir
1025 eval ac_val=\$$ac_var
1026 case $ac_val in
1027 [\\/$]* | ?:[\\/]* ) continue;;
1028 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1029 esac
1030 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1031 { (exit 1); exit 1; }; }
1032 done
1034 # There might be people who depend on the old broken behavior: `$host'
1035 # used to hold the argument of --host etc.
1036 # FIXME: To remove some day.
1037 build=$build_alias
1038 host=$host_alias
1039 target=$target_alias
1041 # FIXME: To remove some day.
1042 if test "x$host_alias" != x; then
1043 if test "x$build_alias" = x; then
1044 cross_compiling=maybe
1045 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1046 If a cross compiler is detected then cross compile mode will be used." >&2
1047 elif test "x$build_alias" != "x$host_alias"; then
1048 cross_compiling=yes
1052 ac_tool_prefix=
1053 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1055 test "$silent" = yes && exec 6>/dev/null
1058 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1059 ac_ls_di=`ls -di .` &&
1060 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1061 { echo "$as_me: error: Working directory cannot be determined" >&2
1062 { (exit 1); exit 1; }; }
1063 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1064 { echo "$as_me: error: pwd does not report name of working directory" >&2
1065 { (exit 1); exit 1; }; }
1068 # Find the source files, if location was not specified.
1069 if test -z "$srcdir"; then
1070 ac_srcdir_defaulted=yes
1071 # Try the directory containing this script, then the parent directory.
1072 ac_confdir=`$as_dirname -- "$0" ||
1073 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1074 X"$0" : 'X\(//\)[^/]' \| \
1075 X"$0" : 'X\(//\)$' \| \
1076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1077 echo X"$0" |
1078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1079 s//\1/
1082 /^X\(\/\/\)[^/].*/{
1083 s//\1/
1086 /^X\(\/\/\)$/{
1087 s//\1/
1090 /^X\(\/\).*/{
1091 s//\1/
1094 s/.*/./; q'`
1095 srcdir=$ac_confdir
1096 if test ! -r "$srcdir/$ac_unique_file"; then
1097 srcdir=..
1099 else
1100 ac_srcdir_defaulted=no
1102 if test ! -r "$srcdir/$ac_unique_file"; then
1103 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1104 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1105 { (exit 1); exit 1; }; }
1107 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1108 ac_abs_confdir=`(
1109 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1110 { (exit 1); exit 1; }; }
1111 pwd)`
1112 # When building in place, set srcdir=.
1113 if test "$ac_abs_confdir" = "$ac_pwd"; then
1114 srcdir=.
1116 # Remove unnecessary trailing slashes from srcdir.
1117 # Double slashes in file names in object file debugging info
1118 # mess up M-x gdb in Emacs.
1119 case $srcdir in
1120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1121 esac
1122 for ac_var in $ac_precious_vars; do
1123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1124 eval ac_env_${ac_var}_value=\$${ac_var}
1125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1127 done
1130 # Report the --help message.
1132 if test "$ac_init_help" = "long"; then
1133 # Omit some internal or obsolete options to make the list less imposing.
1134 # This message is too long to be a string in the A/UX 3.1 sh.
1135 cat <<_ACEOF
1136 \`configure' configures tf4mono 0.4 to adapt to many kinds of systems.
1138 Usage: $0 [OPTION]... [VAR=VALUE]...
1140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1141 VAR=VALUE. See below for descriptions of some of the useful variables.
1143 Defaults for the options are specified in brackets.
1145 Configuration:
1146 -h, --help display this help and exit
1147 --help=short display options specific to this package
1148 --help=recursive display the short help of all the included packages
1149 -V, --version display version information and exit
1150 -q, --quiet, --silent do not print \`checking...' messages
1151 --cache-file=FILE cache test results in FILE [disabled]
1152 -C, --config-cache alias for \`--cache-file=config.cache'
1153 -n, --no-create do not create output files
1154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1156 Installation directories:
1157 --prefix=PREFIX install architecture-independent files in PREFIX
1158 [$ac_default_prefix]
1159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1160 [PREFIX]
1162 By default, \`make install' will install all the files in
1163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1165 for instance \`--prefix=\$HOME'.
1167 For better control, use the options below.
1169 Fine tuning of the installation directories:
1170 --bindir=DIR user executables [EPREFIX/bin]
1171 --sbindir=DIR system admin executables [EPREFIX/sbin]
1172 --libexecdir=DIR program executables [EPREFIX/libexec]
1173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1176 --libdir=DIR object code libraries [EPREFIX/lib]
1177 --includedir=DIR C header files [PREFIX/include]
1178 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1179 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1180 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1181 --infodir=DIR info documentation [DATAROOTDIR/info]
1182 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1183 --mandir=DIR man documentation [DATAROOTDIR/man]
1184 --docdir=DIR documentation root [DATAROOTDIR/doc/tf4mono]
1185 --htmldir=DIR html documentation [DOCDIR]
1186 --dvidir=DIR dvi documentation [DOCDIR]
1187 --pdfdir=DIR pdf documentation [DOCDIR]
1188 --psdir=DIR ps documentation [DOCDIR]
1189 _ACEOF
1191 cat <<\_ACEOF
1192 _ACEOF
1195 if test -n "$ac_init_help"; then
1196 case $ac_init_help in
1197 short | recursive ) echo "Configuration of tf4mono 0.4:";;
1198 esac
1199 cat <<\_ACEOF
1201 Some influential environment variables:
1202 PKG_CONFIG path to pkg-config utility
1203 CC C compiler command
1204 CFLAGS C compiler flags
1205 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1206 nonstandard directory <lib dir>
1207 LIBS libraries to pass to the linker, e.g. -l<library>
1208 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1209 you have headers in a nonstandard directory <include dir>
1211 Use these variables to override the choices made by `configure' or to help
1212 it to find libraries and programs with nonstandard names/locations.
1214 _ACEOF
1215 ac_status=$?
1218 if test "$ac_init_help" = "recursive"; then
1219 # If there are subdirs, report their specific --help.
1220 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1221 test -d "$ac_dir" || continue
1222 ac_builddir=.
1224 case "$ac_dir" in
1225 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1227 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1228 # A ".." for each directory in $ac_dir_suffix.
1229 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1230 case $ac_top_builddir_sub in
1231 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1232 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1233 esac ;;
1234 esac
1235 ac_abs_top_builddir=$ac_pwd
1236 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1237 # for backward compatibility:
1238 ac_top_builddir=$ac_top_build_prefix
1240 case $srcdir in
1241 .) # We are building in place.
1242 ac_srcdir=.
1243 ac_top_srcdir=$ac_top_builddir_sub
1244 ac_abs_top_srcdir=$ac_pwd ;;
1245 [\\/]* | ?:[\\/]* ) # Absolute name.
1246 ac_srcdir=$srcdir$ac_dir_suffix;
1247 ac_top_srcdir=$srcdir
1248 ac_abs_top_srcdir=$srcdir ;;
1249 *) # Relative name.
1250 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1251 ac_top_srcdir=$ac_top_build_prefix$srcdir
1252 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1253 esac
1254 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1256 cd "$ac_dir" || { ac_status=$?; continue; }
1257 # Check for guested configure.
1258 if test -f "$ac_srcdir/configure.gnu"; then
1259 echo &&
1260 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1261 elif test -f "$ac_srcdir/configure"; then
1262 echo &&
1263 $SHELL "$ac_srcdir/configure" --help=recursive
1264 else
1265 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1266 fi || ac_status=$?
1267 cd "$ac_pwd" || { ac_status=$?; break; }
1268 done
1271 test -n "$ac_init_help" && exit $ac_status
1272 if $ac_init_version; then
1273 cat <<\_ACEOF
1274 tf4mono configure 0.4
1275 generated by GNU Autoconf 2.61
1277 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1278 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1279 This configure script is free software; the Free Software Foundation
1280 gives unlimited permission to copy, distribute and modify it.
1281 _ACEOF
1282 exit
1284 cat >config.log <<_ACEOF
1285 This file contains any messages produced by compilers while
1286 running configure, to aid debugging if configure makes a mistake.
1288 It was created by tf4mono $as_me 0.4, which was
1289 generated by GNU Autoconf 2.61. Invocation command line was
1291 $ $0 $@
1293 _ACEOF
1294 exec 5>>config.log
1296 cat <<_ASUNAME
1297 ## --------- ##
1298 ## Platform. ##
1299 ## --------- ##
1301 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1302 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1303 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1304 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1305 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1307 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1308 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1310 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1311 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1312 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1313 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1314 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1315 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1316 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1318 _ASUNAME
1320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1321 for as_dir in $PATH
1323 IFS=$as_save_IFS
1324 test -z "$as_dir" && as_dir=.
1325 echo "PATH: $as_dir"
1326 done
1327 IFS=$as_save_IFS
1329 } >&5
1331 cat >&5 <<_ACEOF
1334 ## ----------- ##
1335 ## Core tests. ##
1336 ## ----------- ##
1338 _ACEOF
1341 # Keep a trace of the command line.
1342 # Strip out --no-create and --no-recursion so they do not pile up.
1343 # Strip out --silent because we don't want to record it for future runs.
1344 # Also quote any args containing shell meta-characters.
1345 # Make two passes to allow for proper duplicate-argument suppression.
1346 ac_configure_args=
1347 ac_configure_args0=
1348 ac_configure_args1=
1349 ac_must_keep_next=false
1350 for ac_pass in 1 2
1352 for ac_arg
1354 case $ac_arg in
1355 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1357 | -silent | --silent | --silen | --sile | --sil)
1358 continue ;;
1359 *\'*)
1360 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1361 esac
1362 case $ac_pass in
1363 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1365 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1366 if test $ac_must_keep_next = true; then
1367 ac_must_keep_next=false # Got value, back to normal.
1368 else
1369 case $ac_arg in
1370 *=* | --config-cache | -C | -disable-* | --disable-* \
1371 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1372 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1373 | -with-* | --with-* | -without-* | --without-* | --x)
1374 case "$ac_configure_args0 " in
1375 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1376 esac
1378 -* ) ac_must_keep_next=true ;;
1379 esac
1381 ac_configure_args="$ac_configure_args '$ac_arg'"
1383 esac
1384 done
1385 done
1386 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1387 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1389 # When interrupted or exit'd, cleanup temporary files, and complete
1390 # config.log. We remove comments because anyway the quotes in there
1391 # would cause problems or look ugly.
1392 # WARNING: Use '\'' to represent an apostrophe within the trap.
1393 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1394 trap 'exit_status=$?
1395 # Save into config.log some information that might help in debugging.
1397 echo
1399 cat <<\_ASBOX
1400 ## ---------------- ##
1401 ## Cache variables. ##
1402 ## ---------------- ##
1403 _ASBOX
1404 echo
1405 # The following way of writing the cache mishandles newlines in values,
1407 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1408 eval ac_val=\$$ac_var
1409 case $ac_val in #(
1410 *${as_nl}*)
1411 case $ac_var in #(
1412 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1413 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1414 esac
1415 case $ac_var in #(
1416 _ | IFS | as_nl) ;; #(
1417 *) $as_unset $ac_var ;;
1418 esac ;;
1419 esac
1420 done
1421 (set) 2>&1 |
1422 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1423 *${as_nl}ac_space=\ *)
1424 sed -n \
1425 "s/'\''/'\''\\\\'\'''\''/g;
1426 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1427 ;; #(
1429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1431 esac |
1432 sort
1434 echo
1436 cat <<\_ASBOX
1437 ## ----------------- ##
1438 ## Output variables. ##
1439 ## ----------------- ##
1440 _ASBOX
1441 echo
1442 for ac_var in $ac_subst_vars
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1447 esac
1448 echo "$ac_var='\''$ac_val'\''"
1449 done | sort
1450 echo
1452 if test -n "$ac_subst_files"; then
1453 cat <<\_ASBOX
1454 ## ------------------- ##
1455 ## File substitutions. ##
1456 ## ------------------- ##
1457 _ASBOX
1458 echo
1459 for ac_var in $ac_subst_files
1461 eval ac_val=\$$ac_var
1462 case $ac_val in
1463 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1464 esac
1465 echo "$ac_var='\''$ac_val'\''"
1466 done | sort
1467 echo
1470 if test -s confdefs.h; then
1471 cat <<\_ASBOX
1472 ## ----------- ##
1473 ## confdefs.h. ##
1474 ## ----------- ##
1475 _ASBOX
1476 echo
1477 cat confdefs.h
1478 echo
1480 test "$ac_signal" != 0 &&
1481 echo "$as_me: caught signal $ac_signal"
1482 echo "$as_me: exit $exit_status"
1483 } >&5
1484 rm -f core *.core core.conftest.* &&
1485 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1486 exit $exit_status
1488 for ac_signal in 1 2 13 15; do
1489 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1490 done
1491 ac_signal=0
1493 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1494 rm -f -r conftest* confdefs.h
1496 # Predefined preprocessor variables.
1498 cat >>confdefs.h <<_ACEOF
1499 #define PACKAGE_NAME "$PACKAGE_NAME"
1500 _ACEOF
1503 cat >>confdefs.h <<_ACEOF
1504 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1505 _ACEOF
1508 cat >>confdefs.h <<_ACEOF
1509 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1510 _ACEOF
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_STRING "$PACKAGE_STRING"
1515 _ACEOF
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1520 _ACEOF
1523 # Let the site file select an alternate cache file if it wants to.
1524 # Prefer explicitly selected file to automatically selected ones.
1525 if test -n "$CONFIG_SITE"; then
1526 set x "$CONFIG_SITE"
1527 elif test "x$prefix" != xNONE; then
1528 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1529 else
1530 set x "$ac_default_prefix/share/config.site" \
1531 "$ac_default_prefix/etc/config.site"
1533 shift
1534 for ac_site_file
1536 if test -r "$ac_site_file"; then
1537 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1538 echo "$as_me: loading site script $ac_site_file" >&6;}
1539 sed 's/^/| /' "$ac_site_file" >&5
1540 . "$ac_site_file"
1542 done
1544 if test -r "$cache_file"; then
1545 # Some versions of bash will fail to source /dev/null (special
1546 # files actually), so we avoid doing that.
1547 if test -f "$cache_file"; then
1548 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1549 echo "$as_me: loading cache $cache_file" >&6;}
1550 case $cache_file in
1551 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1552 *) . "./$cache_file";;
1553 esac
1555 else
1556 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1557 echo "$as_me: creating cache $cache_file" >&6;}
1558 >$cache_file
1561 # Check that the precious variables saved in the cache have kept the same
1562 # value.
1563 ac_cache_corrupted=false
1564 for ac_var in $ac_precious_vars; do
1565 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1566 eval ac_new_set=\$ac_env_${ac_var}_set
1567 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1568 eval ac_new_val=\$ac_env_${ac_var}_value
1569 case $ac_old_set,$ac_new_set in
1570 set,)
1571 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1572 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1573 ac_cache_corrupted=: ;;
1574 ,set)
1575 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1576 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1577 ac_cache_corrupted=: ;;
1578 ,);;
1580 if test "x$ac_old_val" != "x$ac_new_val"; then
1581 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1582 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1583 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1584 echo "$as_me: former value: $ac_old_val" >&2;}
1585 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1586 echo "$as_me: current value: $ac_new_val" >&2;}
1587 ac_cache_corrupted=:
1588 fi;;
1589 esac
1590 # Pass precious variables to config.status.
1591 if test "$ac_new_set" = set; then
1592 case $ac_new_val in
1593 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1594 *) ac_arg=$ac_var=$ac_new_val ;;
1595 esac
1596 case " $ac_configure_args " in
1597 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1598 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1599 esac
1601 done
1602 if $ac_cache_corrupted; then
1603 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1604 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1605 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1606 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1607 { (exit 1); exit 1; }; }
1634 ac_ext=c
1635 ac_cpp='$CPP $CPPFLAGS'
1636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1644 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1645 if test -n "$ac_tool_prefix"; then
1646 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1647 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1650 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1651 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 else
1653 case $PKG_CONFIG in
1654 [\\/]* | ?:[\\/]*)
1655 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659 for as_dir in $PATH
1661 IFS=$as_save_IFS
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1665 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 break 2
1669 done
1670 done
1671 IFS=$as_save_IFS
1674 esac
1676 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1677 if test -n "$PKG_CONFIG"; then
1678 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1679 echo "${ECHO_T}$PKG_CONFIG" >&6; }
1680 else
1681 { echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6; }
1687 if test -z "$ac_cv_path_PKG_CONFIG"; then
1688 ac_pt_PKG_CONFIG=$PKG_CONFIG
1689 # Extract the first word of "pkg-config", so it can be a program name with args.
1690 set dummy pkg-config; ac_word=$2
1691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1693 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 else
1696 case $ac_pt_PKG_CONFIG in
1697 [\\/]* | ?:[\\/]*)
1698 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 for as_dir in $PATH
1704 IFS=$as_save_IFS
1705 test -z "$as_dir" && as_dir=.
1706 for ac_exec_ext in '' $ac_executable_extensions; do
1707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1708 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1710 break 2
1712 done
1713 done
1714 IFS=$as_save_IFS
1717 esac
1719 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1720 if test -n "$ac_pt_PKG_CONFIG"; then
1721 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
1722 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
1723 else
1724 { echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6; }
1728 if test "x$ac_pt_PKG_CONFIG" = x; then
1729 PKG_CONFIG=""
1730 else
1731 case $cross_compiling:$ac_tool_warned in
1732 yes:)
1733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1734 whose name does not start with the host triplet. If you think this
1735 configuration is useful to you, please write to autoconf@gnu.org." >&5
1736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1737 whose name does not start with the host triplet. If you think this
1738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1739 ac_tool_warned=yes ;;
1740 esac
1741 PKG_CONFIG=$ac_pt_PKG_CONFIG
1743 else
1744 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
1748 if test -n "$PKG_CONFIG"; then
1749 _pkg_min_version=0.9.0
1750 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
1751 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
1752 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1753 { echo "$as_me:$LINENO: result: yes" >&5
1754 echo "${ECHO_T}yes" >&6; }
1755 else
1756 { echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6; }
1758 PKG_CONFIG=""
1762 if test -n "$PKG_CONFIG" && \
1763 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5
1764 ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5
1765 ac_status=$?
1766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767 (exit $ac_status); }; then
1768 HAVE_GLADE=yes
1769 else
1770 HAVE_GLADE=no
1772 if test -n "$PKG_CONFIG" && \
1773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monodevelop\"") >&5
1774 ($PKG_CONFIG --exists --print-errors "monodevelop") 2>&5
1775 ac_status=$?
1776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1777 (exit $ac_status); }; then
1778 HAVE_MD=yes
1779 else
1780 HAVE_MD=no
1783 MONO_VERSION=`pkg-config --modversion mono`
1784 MD_LIBPATH=`pkg-config monodevelop --variable libdir`
1786 ac_ext=c
1787 ac_cpp='$CPP $CPPFLAGS'
1788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1791 if test -n "$ac_tool_prefix"; then
1792 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1793 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1796 if test "${ac_cv_prog_CC+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 else
1799 if test -n "$CC"; then
1800 ac_cv_prog_CC="$CC" # Let the user override the test.
1801 else
1802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 for as_dir in $PATH
1805 IFS=$as_save_IFS
1806 test -z "$as_dir" && as_dir=.
1807 for ac_exec_ext in '' $ac_executable_extensions; do
1808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1809 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811 break 2
1813 done
1814 done
1815 IFS=$as_save_IFS
1819 CC=$ac_cv_prog_CC
1820 if test -n "$CC"; then
1821 { echo "$as_me:$LINENO: result: $CC" >&5
1822 echo "${ECHO_T}$CC" >&6; }
1823 else
1824 { echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6; }
1830 if test -z "$ac_cv_prog_CC"; then
1831 ac_ct_CC=$CC
1832 # Extract the first word of "gcc", so it can be a program name with args.
1833 set dummy gcc; ac_word=$2
1834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 else
1839 if test -n "$ac_ct_CC"; then
1840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1841 else
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843 for as_dir in $PATH
1845 IFS=$as_save_IFS
1846 test -z "$as_dir" && as_dir=.
1847 for ac_exec_ext in '' $ac_executable_extensions; do
1848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1849 ac_cv_prog_ac_ct_CC="gcc"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851 break 2
1853 done
1854 done
1855 IFS=$as_save_IFS
1859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1860 if test -n "$ac_ct_CC"; then
1861 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1862 echo "${ECHO_T}$ac_ct_CC" >&6; }
1863 else
1864 { echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6; }
1868 if test "x$ac_ct_CC" = x; then
1869 CC=""
1870 else
1871 case $cross_compiling:$ac_tool_warned in
1872 yes:)
1873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1874 whose name does not start with the host triplet. If you think this
1875 configuration is useful to you, please write to autoconf@gnu.org." >&5
1876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1877 whose name does not start with the host triplet. If you think this
1878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1879 ac_tool_warned=yes ;;
1880 esac
1881 CC=$ac_ct_CC
1883 else
1884 CC="$ac_cv_prog_CC"
1887 if test -z "$CC"; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}cc; ac_word=$2
1891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893 if test "${ac_cv_prog_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1906 ac_cv_prog_CC="${ac_tool_prefix}cc"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1912 IFS=$as_save_IFS
1916 CC=$ac_cv_prog_CC
1917 if test -n "$CC"; then
1918 { echo "$as_me:$LINENO: result: $CC" >&5
1919 echo "${ECHO_T}$CC" >&6; }
1920 else
1921 { echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6; }
1928 if test -z "$CC"; then
1929 # Extract the first word of "cc", so it can be a program name with args.
1930 set dummy cc; ac_word=$2
1931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933 if test "${ac_cv_prog_CC+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 else
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 else
1939 ac_prog_rejected=no
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1948 ac_prog_rejected=yes
1949 continue
1951 ac_cv_prog_CC="cc"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 break 2
1955 done
1956 done
1957 IFS=$as_save_IFS
1959 if test $ac_prog_rejected = yes; then
1960 # We found a bogon in the path, so make sure we never use it.
1961 set dummy $ac_cv_prog_CC
1962 shift
1963 if test $# != 0; then
1964 # We chose a different compiler from the bogus one.
1965 # However, it has the same basename, so the bogon will be chosen
1966 # first if we set CC to just the basename; use the full file name.
1967 shift
1968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1973 CC=$ac_cv_prog_CC
1974 if test -n "$CC"; then
1975 { echo "$as_me:$LINENO: result: $CC" >&5
1976 echo "${ECHO_T}$CC" >&6; }
1977 else
1978 { echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6; }
1984 if test -z "$CC"; then
1985 if test -n "$ac_tool_prefix"; then
1986 for ac_prog in cl.exe
1988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1992 if test "${ac_cv_prog_CC+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 else
1995 if test -n "$CC"; then
1996 ac_cv_prog_CC="$CC" # Let the user override the test.
1997 else
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 for as_dir in $PATH
2001 IFS=$as_save_IFS
2002 test -z "$as_dir" && as_dir=.
2003 for ac_exec_ext in '' $ac_executable_extensions; do
2004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 break 2
2009 done
2010 done
2011 IFS=$as_save_IFS
2015 CC=$ac_cv_prog_CC
2016 if test -n "$CC"; then
2017 { echo "$as_me:$LINENO: result: $CC" >&5
2018 echo "${ECHO_T}$CC" >&6; }
2019 else
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2025 test -n "$CC" && break
2026 done
2028 if test -z "$CC"; then
2029 ac_ct_CC=$CC
2030 for ac_prog in cl.exe
2032 # Extract the first word of "$ac_prog", so it can be a program name with args.
2033 set dummy $ac_prog; ac_word=$2
2034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 else
2039 if test -n "$ac_ct_CC"; then
2040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2041 else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_ac_ct_CC="$ac_prog"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 2
2053 done
2054 done
2055 IFS=$as_save_IFS
2059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2060 if test -n "$ac_ct_CC"; then
2061 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2062 echo "${ECHO_T}$ac_ct_CC" >&6; }
2063 else
2064 { echo "$as_me:$LINENO: result: no" >&5
2065 echo "${ECHO_T}no" >&6; }
2069 test -n "$ac_ct_CC" && break
2070 done
2072 if test "x$ac_ct_CC" = x; then
2073 CC=""
2074 else
2075 case $cross_compiling:$ac_tool_warned in
2076 yes:)
2077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2078 whose name does not start with the host triplet. If you think this
2079 configuration is useful to you, please write to autoconf@gnu.org." >&5
2080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2081 whose name does not start with the host triplet. If you think this
2082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2083 ac_tool_warned=yes ;;
2084 esac
2085 CC=$ac_ct_CC
2092 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2093 See \`config.log' for more details." >&5
2094 echo "$as_me: error: no acceptable C compiler found in \$PATH
2095 See \`config.log' for more details." >&2;}
2096 { (exit 1); exit 1; }; }
2098 # Provide some information about the compiler.
2099 echo "$as_me:$LINENO: checking for C compiler version" >&5
2100 ac_compiler=`set X $ac_compile; echo $2`
2101 { (ac_try="$ac_compiler --version >&5"
2102 case "(($ac_try" in
2103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2104 *) ac_try_echo=$ac_try;;
2105 esac
2106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2107 (eval "$ac_compiler --version >&5") 2>&5
2108 ac_status=$?
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }
2111 { (ac_try="$ac_compiler -v >&5"
2112 case "(($ac_try" in
2113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2114 *) ac_try_echo=$ac_try;;
2115 esac
2116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2117 (eval "$ac_compiler -v >&5") 2>&5
2118 ac_status=$?
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }
2121 { (ac_try="$ac_compiler -V >&5"
2122 case "(($ac_try" in
2123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2124 *) ac_try_echo=$ac_try;;
2125 esac
2126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2127 (eval "$ac_compiler -V >&5") 2>&5
2128 ac_status=$?
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }
2132 cat >conftest.$ac_ext <<_ACEOF
2133 /* confdefs.h. */
2134 _ACEOF
2135 cat confdefs.h >>conftest.$ac_ext
2136 cat >>conftest.$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2140 main ()
2144 return 0;
2146 _ACEOF
2147 ac_clean_files_save=$ac_clean_files
2148 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2149 # Try to create an executable without -o first, disregard a.out.
2150 # It will help us diagnose broken compilers, and finding out an intuition
2151 # of exeext.
2152 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2153 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2154 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2156 # List of possible output files, starting from the most likely.
2157 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2158 # only as a last resort. b.out is created by i960 compilers.
2159 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2161 # The IRIX 6 linker writes into existing files which may not be
2162 # executable, retaining their permissions. Remove them first so a
2163 # subsequent execution test works.
2164 ac_rmfiles=
2165 for ac_file in $ac_files
2167 case $ac_file in
2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2170 esac
2171 done
2172 rm -f $ac_rmfiles
2174 if { (ac_try="$ac_link_default"
2175 case "(($ac_try" in
2176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2177 *) ac_try_echo=$ac_try;;
2178 esac
2179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2180 (eval "$ac_link_default") 2>&5
2181 ac_status=$?
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; then
2184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2187 # so that the user can short-circuit this test for compilers unknown to
2188 # Autoconf.
2189 for ac_file in $ac_files ''
2191 test -f "$ac_file" || continue
2192 case $ac_file in
2193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2195 [ab].out )
2196 # We found the default executable, but exeext='' is most
2197 # certainly right.
2198 break;;
2199 *.* )
2200 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2201 then :; else
2202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2204 # We set ac_cv_exeext here because the later test for it is not
2205 # safe: cross compilers may not add the suffix if given an `-o'
2206 # argument, so we may need to know it at that point already.
2207 # Even if this section looks crufty: it has the advantage of
2208 # actually working.
2209 break;;
2211 break;;
2212 esac
2213 done
2214 test "$ac_cv_exeext" = no && ac_cv_exeext=
2216 else
2217 ac_file=''
2220 { echo "$as_me:$LINENO: result: $ac_file" >&5
2221 echo "${ECHO_T}$ac_file" >&6; }
2222 if test -z "$ac_file"; then
2223 echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.$ac_ext >&5
2226 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: C compiler cannot create executables
2229 See \`config.log' for more details." >&2;}
2230 { (exit 77); exit 77; }; }
2233 ac_exeext=$ac_cv_exeext
2235 # Check that the compiler produces executables we can run. If not, either
2236 # the compiler is broken, or we cross compile.
2237 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2238 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2239 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2240 # If not cross compiling, check that we can run a simple program.
2241 if test "$cross_compiling" != yes; then
2242 if { ac_try='./$ac_file'
2243 { (case "(($ac_try" in
2244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2245 *) ac_try_echo=$ac_try;;
2246 esac
2247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2248 (eval "$ac_try") 2>&5
2249 ac_status=$?
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; }; then
2252 cross_compiling=no
2253 else
2254 if test "$cross_compiling" = maybe; then
2255 cross_compiling=yes
2256 else
2257 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2258 If you meant to cross compile, use \`--host'.
2259 See \`config.log' for more details." >&5
2260 echo "$as_me: error: cannot run C compiled programs.
2261 If you meant to cross compile, use \`--host'.
2262 See \`config.log' for more details." >&2;}
2263 { (exit 1); exit 1; }; }
2267 { echo "$as_me:$LINENO: result: yes" >&5
2268 echo "${ECHO_T}yes" >&6; }
2270 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2271 ac_clean_files=$ac_clean_files_save
2272 # Check that the compiler produces executables we can run. If not, either
2273 # the compiler is broken, or we cross compile.
2274 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2275 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2276 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2277 echo "${ECHO_T}$cross_compiling" >&6; }
2279 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2280 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2281 if { (ac_try="$ac_link"
2282 case "(($ac_try" in
2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284 *) ac_try_echo=$ac_try;;
2285 esac
2286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2287 (eval "$ac_link") 2>&5
2288 ac_status=$?
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; then
2291 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2292 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2293 # work properly (i.e., refer to `conftest.exe'), while it won't with
2294 # `rm'.
2295 for ac_file in conftest.exe conftest conftest.*; do
2296 test -f "$ac_file" || continue
2297 case $ac_file in
2298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2299 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2300 break;;
2301 * ) break;;
2302 esac
2303 done
2304 else
2305 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2306 See \`config.log' for more details." >&5
2307 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2308 See \`config.log' for more details." >&2;}
2309 { (exit 1); exit 1; }; }
2312 rm -f conftest$ac_cv_exeext
2313 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2314 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2316 rm -f conftest.$ac_ext
2317 EXEEXT=$ac_cv_exeext
2318 ac_exeext=$EXEEXT
2319 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2320 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2321 if test "${ac_cv_objext+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 else
2324 cat >conftest.$ac_ext <<_ACEOF
2325 /* confdefs.h. */
2326 _ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2332 main ()
2336 return 0;
2338 _ACEOF
2339 rm -f conftest.o conftest.obj
2340 if { (ac_try="$ac_compile"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2346 (eval "$ac_compile") 2>&5
2347 ac_status=$?
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; then
2350 for ac_file in conftest.o conftest.obj conftest.*; do
2351 test -f "$ac_file" || continue;
2352 case $ac_file in
2353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2355 break;;
2356 esac
2357 done
2358 else
2359 echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2365 See \`config.log' for more details." >&2;}
2366 { (exit 1); exit 1; }; }
2369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2371 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2372 echo "${ECHO_T}$ac_cv_objext" >&6; }
2373 OBJEXT=$ac_cv_objext
2374 ac_objext=$OBJEXT
2375 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2376 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2377 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 else
2380 cat >conftest.$ac_ext <<_ACEOF
2381 /* confdefs.h. */
2382 _ACEOF
2383 cat confdefs.h >>conftest.$ac_ext
2384 cat >>conftest.$ac_ext <<_ACEOF
2385 /* end confdefs.h. */
2388 main ()
2390 #ifndef __GNUC__
2391 choke me
2392 #endif
2395 return 0;
2397 _ACEOF
2398 rm -f conftest.$ac_objext
2399 if { (ac_try="$ac_compile"
2400 case "(($ac_try" in
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2403 esac
2404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2405 (eval "$ac_compile") 2>conftest.er1
2406 ac_status=$?
2407 grep -v '^ *+' conftest.er1 >conftest.err
2408 rm -f conftest.er1
2409 cat conftest.err >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } && {
2412 test -z "$ac_c_werror_flag" ||
2413 test ! -s conftest.err
2414 } && test -s conftest.$ac_objext; then
2415 ac_compiler_gnu=yes
2416 else
2417 echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.$ac_ext >&5
2420 ac_compiler_gnu=no
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2427 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2428 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2429 GCC=`test $ac_compiler_gnu = yes && echo yes`
2430 ac_test_CFLAGS=${CFLAGS+set}
2431 ac_save_CFLAGS=$CFLAGS
2432 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2433 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_cc_g+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437 ac_save_c_werror_flag=$ac_c_werror_flag
2438 ac_c_werror_flag=yes
2439 ac_cv_prog_cc_g=no
2440 CFLAGS="-g"
2441 cat >conftest.$ac_ext <<_ACEOF
2442 /* confdefs.h. */
2443 _ACEOF
2444 cat confdefs.h >>conftest.$ac_ext
2445 cat >>conftest.$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2449 main ()
2453 return 0;
2455 _ACEOF
2456 rm -f conftest.$ac_objext
2457 if { (ac_try="$ac_compile"
2458 case "(($ac_try" in
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2461 esac
2462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2463 (eval "$ac_compile") 2>conftest.er1
2464 ac_status=$?
2465 grep -v '^ *+' conftest.er1 >conftest.err
2466 rm -f conftest.er1
2467 cat conftest.err >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } && {
2470 test -z "$ac_c_werror_flag" ||
2471 test ! -s conftest.err
2472 } && test -s conftest.$ac_objext; then
2473 ac_cv_prog_cc_g=yes
2474 else
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 CFLAGS=""
2479 cat >conftest.$ac_ext <<_ACEOF
2480 /* confdefs.h. */
2481 _ACEOF
2482 cat confdefs.h >>conftest.$ac_ext
2483 cat >>conftest.$ac_ext <<_ACEOF
2484 /* end confdefs.h. */
2487 main ()
2491 return 0;
2493 _ACEOF
2494 rm -f conftest.$ac_objext
2495 if { (ac_try="$ac_compile"
2496 case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_compile") 2>conftest.er1
2502 ac_status=$?
2503 grep -v '^ *+' conftest.er1 >conftest.err
2504 rm -f conftest.er1
2505 cat conftest.err >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } && {
2508 test -z "$ac_c_werror_flag" ||
2509 test ! -s conftest.err
2510 } && test -s conftest.$ac_objext; then
2512 else
2513 echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.$ac_ext >&5
2516 ac_c_werror_flag=$ac_save_c_werror_flag
2517 CFLAGS="-g"
2518 cat >conftest.$ac_ext <<_ACEOF
2519 /* confdefs.h. */
2520 _ACEOF
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2526 main ()
2530 return 0;
2532 _ACEOF
2533 rm -f conftest.$ac_objext
2534 if { (ac_try="$ac_compile"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_compile") 2>conftest.er1
2541 ac_status=$?
2542 grep -v '^ *+' conftest.er1 >conftest.err
2543 rm -f conftest.er1
2544 cat conftest.err >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } && {
2547 test -z "$ac_c_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.$ac_objext; then
2550 ac_cv_prog_cc_g=yes
2551 else
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2565 ac_c_werror_flag=$ac_save_c_werror_flag
2567 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2568 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2569 if test "$ac_test_CFLAGS" = set; then
2570 CFLAGS=$ac_save_CFLAGS
2571 elif test $ac_cv_prog_cc_g = yes; then
2572 if test "$GCC" = yes; then
2573 CFLAGS="-g -O2"
2574 else
2575 CFLAGS="-g"
2577 else
2578 if test "$GCC" = yes; then
2579 CFLAGS="-O2"
2580 else
2581 CFLAGS=
2584 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2585 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2586 if test "${ac_cv_prog_cc_c89+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 else
2589 ac_cv_prog_cc_c89=no
2590 ac_save_CC=$CC
2591 cat >conftest.$ac_ext <<_ACEOF
2592 /* confdefs.h. */
2593 _ACEOF
2594 cat confdefs.h >>conftest.$ac_ext
2595 cat >>conftest.$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2597 #include <stdarg.h>
2598 #include <stdio.h>
2599 #include <sys/types.h>
2600 #include <sys/stat.h>
2601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2602 struct buf { int x; };
2603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2604 static char *e (p, i)
2605 char **p;
2606 int i;
2608 return p[i];
2610 static char *f (char * (*g) (char **, int), char **p, ...)
2612 char *s;
2613 va_list v;
2614 va_start (v,p);
2615 s = g (p, va_arg (v,int));
2616 va_end (v);
2617 return s;
2620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2621 function prototypes and stuff, but not '\xHH' hex character constants.
2622 These don't provoke an error unfortunately, instead are silently treated
2623 as 'x'. The following induces an error, until -std is added to get
2624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2625 array size at least. It's necessary to write '\x00'==0 to get something
2626 that's true only with -std. */
2627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2630 inside strings and character constants. */
2631 #define FOO(x) 'x'
2632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2634 int test (int i, double x);
2635 struct s1 {int (*f) (int a);};
2636 struct s2 {int (*f) (double a);};
2637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2638 int argc;
2639 char **argv;
2641 main ()
2643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2645 return 0;
2647 _ACEOF
2648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2651 CC="$ac_save_CC $ac_arg"
2652 rm -f conftest.$ac_objext
2653 if { (ac_try="$ac_compile"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2660 ac_status=$?
2661 grep -v '^ *+' conftest.er1 >conftest.err
2662 rm -f conftest.er1
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2669 ac_cv_prog_cc_c89=$ac_arg
2670 else
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2677 rm -f core conftest.err conftest.$ac_objext
2678 test "x$ac_cv_prog_cc_c89" != "xno" && break
2679 done
2680 rm -f conftest.$ac_ext
2681 CC=$ac_save_CC
2684 # AC_CACHE_VAL
2685 case "x$ac_cv_prog_cc_c89" in
2687 { echo "$as_me:$LINENO: result: none needed" >&5
2688 echo "${ECHO_T}none needed" >&6; } ;;
2689 xno)
2690 { echo "$as_me:$LINENO: result: unsupported" >&5
2691 echo "${ECHO_T}unsupported" >&6; } ;;
2693 CC="$CC $ac_cv_prog_cc_c89"
2694 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2695 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2696 esac
2699 ac_ext=c
2700 ac_cpp='$CPP $CPPFLAGS'
2701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2706 { echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
2707 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6; }
2708 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 else
2711 ac_check_lib_save_LIBS=$LIBS
2712 LIBS="-lmagic $LIBS"
2713 cat >conftest.$ac_ext <<_ACEOF
2714 /* confdefs.h. */
2715 _ACEOF
2716 cat confdefs.h >>conftest.$ac_ext
2717 cat >>conftest.$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2720 /* Override any GCC internal prototype to avoid an error.
2721 Use char because int might match the return type of a GCC
2722 builtin and then its argument prototype would still apply. */
2723 #ifdef __cplusplus
2724 extern "C"
2725 #endif
2726 char magic_open ();
2728 main ()
2730 return magic_open ();
2732 return 0;
2734 _ACEOF
2735 rm -f conftest.$ac_objext conftest$ac_exeext
2736 if { (ac_try="$ac_link"
2737 case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_link") 2>conftest.er1
2743 ac_status=$?
2744 grep -v '^ *+' conftest.er1 >conftest.err
2745 rm -f conftest.er1
2746 cat conftest.err >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } && {
2749 test -z "$ac_c_werror_flag" ||
2750 test ! -s conftest.err
2751 } && test -s conftest$ac_exeext &&
2752 $as_test_x conftest$ac_exeext; then
2753 ac_cv_lib_magic_magic_open=yes
2754 else
2755 echo "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2758 ac_cv_lib_magic_magic_open=no
2761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2762 conftest$ac_exeext conftest.$ac_ext
2763 LIBS=$ac_check_lib_save_LIBS
2765 { echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
2766 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6; }
2767 if test $ac_cv_lib_magic_magic_open = yes; then
2768 HAVE_MAGIC=yes
2769 else
2770 HAVE_MAGIC=no
2774 if test "x$prefix" = "xNONE"; then
2775 prefix=/usr/local
2778 # assume on windows for now
2779 if test "x$MONO_VERSION" = "x"; then
2780 MONO_VERSION=csc-2.0
2783 echo "prefix=$prefix" > build/config.make
2784 echo "exec_prefix=\${prefix}" >> build/config.make
2785 echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
2786 echo "RUNTIME=mono" >> build/config.make
2787 echo "MONO_VERSION=$MONO_VERSION" >> build/config.make
2788 echo "MONODEVELOP_LIBPATH=$MD_LIBPATH" >> build/config.make
2789 echo "MCS_FLAGS=-debug+" >> build/config.make
2790 echo "HAVE_GLADE=$HAVE_GLADE" >> build/config.make
2791 echo "HAVE_MAGIC=$HAVE_MAGIC" >> build/config.make
2792 echo "HAVE_MONODEVELOP=$HAVE_MD" >> build/config.make
2793 echo "Done"
2795 echo
2796 echo "Configuration Summary"
2797 echo "----------------------------------"
2798 echo
2799 echo " File Type Support: " $HAVE_MAGIC
2800 echo " Gui Support: " $HAVE_GLADE
2801 echo " Monodevelop Addin: " $HAVE_MD
2802 echo