Make treeview refresh properly when adding nodes.
[straw/fork.git] / configure
blob3b8cf06d83806cda06538d88004048f59c1b9776
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for straw 0.27.90.
5 # Report bugs to <http://bugzilla.gnome.org/simple-bug-guide.cgi?product=straw >.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='straw'
576 PACKAGE_TARNAME='straw'
577 PACKAGE_VERSION='0.27.90'
578 PACKAGE_STRING='straw 0.27.90'
579 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/simple-bug-guide.cgi?product=straw '
581 ac_unique_file="straw/__init__.py"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 INSTALL_PROGRAM
656 INSTALL_SCRIPT
657 INSTALL_DATA
658 am__isrc
659 CYGPATH_W
660 PACKAGE
661 VERSION
662 ACLOCAL
663 AUTOCONF
664 AUTOMAKE
665 AUTOHEADER
666 MAKEINFO
667 install_sh
668 STRIP
669 INSTALL_STRIP_PROGRAM
670 mkdir_p
672 SET_MAKE
673 am__leading_dot
674 AMTAR
675 am__tar
676 am__untar
677 ACLOCAL_AMFLAGS
678 MAINTAINER_MODE_TRUE
679 MAINTAINER_MODE_FALSE
680 MAINT
681 STRAW_HOME
682 INTLTOOL_DESKTOP_RULE
683 INTLTOOL_DIRECTORY_RULE
684 INTLTOOL_KEYS_RULE
685 INTLTOOL_PROP_RULE
686 INTLTOOL_OAF_RULE
687 INTLTOOL_PONG_RULE
688 INTLTOOL_SERVER_RULE
689 INTLTOOL_SHEET_RULE
690 INTLTOOL_SOUNDLIST_RULE
691 INTLTOOL_UI_RULE
692 INTLTOOL_XAM_RULE
693 INTLTOOL_KBD_RULE
694 INTLTOOL_XML_RULE
695 INTLTOOL_XML_NOMERGE_RULE
696 INTLTOOL_CAVES_RULE
697 INTLTOOL_SCHEMAS_RULE
698 INTLTOOL_THEME_RULE
699 INTLTOOL_SERVICE_RULE
700 INTLTOOL_POLICY_RULE
701 INTLTOOL_EXTRACT
702 INTLTOOL_MERGE
703 INTLTOOL_UPDATE
704 INTLTOOL_PERL
705 ALL_LINGUAS
707 CFLAGS
708 LDFLAGS
709 CPPFLAGS
710 ac_ct_CC
711 EXEEXT
712 OBJEXT
713 DEPDIR
714 am__include
715 am__quote
716 AMDEP_TRUE
717 AMDEP_FALSE
718 AMDEPBACKSLASH
719 CCDEPMODE
720 am__fastdepCC_TRUE
721 am__fastdepCC_FALSE
722 DATADIRNAME
723 GETTEXT_PACKAGE
725 GREP
726 EGREP
727 build
728 build_cpu
729 build_vendor
730 build_os
731 host
732 host_cpu
733 host_vendor
734 host_os
735 USE_NLS
736 MSGFMT
737 MSGFMT_OPTS
738 GMSGFMT
739 XGETTEXT
740 CATALOGS
741 CATOBJEXT
742 GMOFILES
743 INSTOBJEXT
744 INTLLIBS
745 PO_IN_DATADIR_TRUE
746 PO_IN_DATADIR_FALSE
747 POFILES
748 POSUB
749 MKINSTALLDIRS
750 PKG_CONFIG
751 HELP_DIR
752 OMF_DIR
753 DOC_USER_FORMATS
754 ENABLE_SK_TRUE
755 ENABLE_SK_FALSE
756 HAVE_GNOME_DOC_UTILS_TRUE
757 HAVE_GNOME_DOC_UTILS_FALSE
758 GCONFTOOL
759 GCONF_SCHEMA_CONFIG_SOURCE
760 GCONF_SCHEMA_FILE_DIR
761 GCONF_SCHEMAS_INSTALL_TRUE
762 GCONF_SCHEMAS_INSTALL_FALSE
763 PYTHON
764 PYTHON_VERSION
765 PYTHON_PREFIX
766 PYTHON_EXEC_PREFIX
767 PYTHON_PLATFORM
768 pythondir
769 pkgpythondir
770 pyexecdir
771 pkgpyexecdir
772 PYTHON_INCLUDES
773 BINDIR
774 DATADIR
775 LIBDIR
776 PYTHONDIR
777 STRAW_CFLAGS
778 STRAW_LIBS
779 LIBOBJS
780 LTLIBOBJS'
781 ac_subst_files=''
782 ac_precious_vars='build_alias
783 host_alias
784 target_alias
786 CFLAGS
787 LDFLAGS
788 LIBS
789 CPPFLAGS
791 PKG_CONFIG
792 STRAW_CFLAGS
793 STRAW_LIBS'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures straw 0.27.90 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/straw]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 Program names:
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1358 System types:
1359 --build=BUILD configure for building on BUILD [guessed]
1360 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1361 _ACEOF
1364 if test -n "$ac_init_help"; then
1365 case $ac_init_help in
1366 short | recursive ) echo "Configuration of straw 0.27.90:";;
1367 esac
1368 cat <<\_ACEOF
1370 Optional Features:
1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1373 --enable-maintainer-mode enable make rules and dependencies not useful
1374 (and sometimes confusing) to the casual installer
1375 --disable-dependency-tracking speeds up one-time build
1376 --enable-dependency-tracking do not reject slow dependency extractors
1377 --disable-scrollkeeper do not make updates to the scrollkeeper database
1378 --disable-schemas-install Disable the schemas installation
1380 Optional Packages:
1381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1383 --with-help-dir=DIR path to help docs
1384 --with-omf-dir=DIR path to OMF files
1385 --with-help-formats=FORMATS
1386 list of formats
1387 --with-gconf-source=sourceaddress Config database for installing schema files.
1388 --with-gconf-schema-file-dir=dir Directory for installing schema files.
1390 Some influential environment variables:
1391 CC C compiler command
1392 CFLAGS C compiler flags
1393 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1394 nonstandard directory <lib dir>
1395 LIBS libraries to pass to the linker, e.g. -l<library>
1396 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1397 you have headers in a nonstandard directory <include dir>
1398 CPP C preprocessor
1399 PKG_CONFIG path to pkg-config utility
1400 STRAW_CFLAGS
1401 C compiler flags for STRAW, overriding pkg-config
1402 STRAW_LIBS linker flags for STRAW, overriding pkg-config
1404 Use these variables to override the choices made by `configure' or to help
1405 it to find libraries and programs with nonstandard names/locations.
1407 Report bugs to <http://bugzilla.gnome.org/simple-bug-guide.cgi?product=straw >.
1408 _ACEOF
1409 ac_status=$?
1412 if test "$ac_init_help" = "recursive"; then
1413 # If there are subdirs, report their specific --help.
1414 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1415 test -d "$ac_dir" || continue
1416 ac_builddir=.
1418 case "$ac_dir" in
1419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1421 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1422 # A ".." for each directory in $ac_dir_suffix.
1423 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1424 case $ac_top_builddir_sub in
1425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427 esac ;;
1428 esac
1429 ac_abs_top_builddir=$ac_pwd
1430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1431 # for backward compatibility:
1432 ac_top_builddir=$ac_top_build_prefix
1434 case $srcdir in
1435 .) # We are building in place.
1436 ac_srcdir=.
1437 ac_top_srcdir=$ac_top_builddir_sub
1438 ac_abs_top_srcdir=$ac_pwd ;;
1439 [\\/]* | ?:[\\/]* ) # Absolute name.
1440 ac_srcdir=$srcdir$ac_dir_suffix;
1441 ac_top_srcdir=$srcdir
1442 ac_abs_top_srcdir=$srcdir ;;
1443 *) # Relative name.
1444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1445 ac_top_srcdir=$ac_top_build_prefix$srcdir
1446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 esac
1448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1450 cd "$ac_dir" || { ac_status=$?; continue; }
1451 # Check for guested configure.
1452 if test -f "$ac_srcdir/configure.gnu"; then
1453 echo &&
1454 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1455 elif test -f "$ac_srcdir/configure"; then
1456 echo &&
1457 $SHELL "$ac_srcdir/configure" --help=recursive
1458 else
1459 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460 fi || ac_status=$?
1461 cd "$ac_pwd" || { ac_status=$?; break; }
1462 done
1465 test -n "$ac_init_help" && exit $ac_status
1466 if $ac_init_version; then
1467 cat <<\_ACEOF
1468 straw configure 0.27.90
1469 generated by GNU Autoconf 2.61
1471 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1472 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1473 This configure script is free software; the Free Software Foundation
1474 gives unlimited permission to copy, distribute and modify it.
1475 _ACEOF
1476 exit
1478 cat >config.log <<_ACEOF
1479 This file contains any messages produced by compilers while
1480 running configure, to aid debugging if configure makes a mistake.
1482 It was created by straw $as_me 0.27.90, which was
1483 generated by GNU Autoconf 2.61. Invocation command line was
1485 $ $0 $@
1487 _ACEOF
1488 exec 5>>config.log
1490 cat <<_ASUNAME
1491 ## --------- ##
1492 ## Platform. ##
1493 ## --------- ##
1495 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1496 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1497 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1498 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1499 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1501 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1502 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1504 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1505 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1506 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1507 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1508 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1509 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1510 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1512 _ASUNAME
1514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 for as_dir in $PATH
1517 IFS=$as_save_IFS
1518 test -z "$as_dir" && as_dir=.
1519 echo "PATH: $as_dir"
1520 done
1521 IFS=$as_save_IFS
1523 } >&5
1525 cat >&5 <<_ACEOF
1528 ## ----------- ##
1529 ## Core tests. ##
1530 ## ----------- ##
1532 _ACEOF
1535 # Keep a trace of the command line.
1536 # Strip out --no-create and --no-recursion so they do not pile up.
1537 # Strip out --silent because we don't want to record it for future runs.
1538 # Also quote any args containing shell meta-characters.
1539 # Make two passes to allow for proper duplicate-argument suppression.
1540 ac_configure_args=
1541 ac_configure_args0=
1542 ac_configure_args1=
1543 ac_must_keep_next=false
1544 for ac_pass in 1 2
1546 for ac_arg
1548 case $ac_arg in
1549 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1551 | -silent | --silent | --silen | --sile | --sil)
1552 continue ;;
1553 *\'*)
1554 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1555 esac
1556 case $ac_pass in
1557 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1559 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1560 if test $ac_must_keep_next = true; then
1561 ac_must_keep_next=false # Got value, back to normal.
1562 else
1563 case $ac_arg in
1564 *=* | --config-cache | -C | -disable-* | --disable-* \
1565 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1566 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1567 | -with-* | --with-* | -without-* | --without-* | --x)
1568 case "$ac_configure_args0 " in
1569 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1570 esac
1572 -* ) ac_must_keep_next=true ;;
1573 esac
1575 ac_configure_args="$ac_configure_args '$ac_arg'"
1577 esac
1578 done
1579 done
1580 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1581 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1583 # When interrupted or exit'd, cleanup temporary files, and complete
1584 # config.log. We remove comments because anyway the quotes in there
1585 # would cause problems or look ugly.
1586 # WARNING: Use '\'' to represent an apostrophe within the trap.
1587 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1588 trap 'exit_status=$?
1589 # Save into config.log some information that might help in debugging.
1591 echo
1593 cat <<\_ASBOX
1594 ## ---------------- ##
1595 ## Cache variables. ##
1596 ## ---------------- ##
1597 _ASBOX
1598 echo
1599 # The following way of writing the cache mishandles newlines in values,
1601 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1602 eval ac_val=\$$ac_var
1603 case $ac_val in #(
1604 *${as_nl}*)
1605 case $ac_var in #(
1606 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1607 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1608 esac
1609 case $ac_var in #(
1610 _ | IFS | as_nl) ;; #(
1611 *) $as_unset $ac_var ;;
1612 esac ;;
1613 esac
1614 done
1615 (set) 2>&1 |
1616 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1617 *${as_nl}ac_space=\ *)
1618 sed -n \
1619 "s/'\''/'\''\\\\'\'''\''/g;
1620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1621 ;; #(
1623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1625 esac |
1626 sort
1628 echo
1630 cat <<\_ASBOX
1631 ## ----------------- ##
1632 ## Output variables. ##
1633 ## ----------------- ##
1634 _ASBOX
1635 echo
1636 for ac_var in $ac_subst_vars
1638 eval ac_val=\$$ac_var
1639 case $ac_val in
1640 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1641 esac
1642 echo "$ac_var='\''$ac_val'\''"
1643 done | sort
1644 echo
1646 if test -n "$ac_subst_files"; then
1647 cat <<\_ASBOX
1648 ## ------------------- ##
1649 ## File substitutions. ##
1650 ## ------------------- ##
1651 _ASBOX
1652 echo
1653 for ac_var in $ac_subst_files
1655 eval ac_val=\$$ac_var
1656 case $ac_val in
1657 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1658 esac
1659 echo "$ac_var='\''$ac_val'\''"
1660 done | sort
1661 echo
1664 if test -s confdefs.h; then
1665 cat <<\_ASBOX
1666 ## ----------- ##
1667 ## confdefs.h. ##
1668 ## ----------- ##
1669 _ASBOX
1670 echo
1671 cat confdefs.h
1672 echo
1674 test "$ac_signal" != 0 &&
1675 echo "$as_me: caught signal $ac_signal"
1676 echo "$as_me: exit $exit_status"
1677 } >&5
1678 rm -f core *.core core.conftest.* &&
1679 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1680 exit $exit_status
1682 for ac_signal in 1 2 13 15; do
1683 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1684 done
1685 ac_signal=0
1687 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1688 rm -f -r conftest* confdefs.h
1690 # Predefined preprocessor variables.
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_NAME "$PACKAGE_NAME"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1704 _ACEOF
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_STRING "$PACKAGE_STRING"
1709 _ACEOF
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1714 _ACEOF
1717 # Let the site file select an alternate cache file if it wants to.
1718 # Prefer explicitly selected file to automatically selected ones.
1719 if test -n "$CONFIG_SITE"; then
1720 set x "$CONFIG_SITE"
1721 elif test "x$prefix" != xNONE; then
1722 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1723 else
1724 set x "$ac_default_prefix/share/config.site" \
1725 "$ac_default_prefix/etc/config.site"
1727 shift
1728 for ac_site_file
1730 if test -r "$ac_site_file"; then
1731 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1732 echo "$as_me: loading site script $ac_site_file" >&6;}
1733 sed 's/^/| /' "$ac_site_file" >&5
1734 . "$ac_site_file"
1736 done
1738 if test -r "$cache_file"; then
1739 # Some versions of bash will fail to source /dev/null (special
1740 # files actually), so we avoid doing that.
1741 if test -f "$cache_file"; then
1742 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1743 echo "$as_me: loading cache $cache_file" >&6;}
1744 case $cache_file in
1745 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1746 *) . "./$cache_file";;
1747 esac
1749 else
1750 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1751 echo "$as_me: creating cache $cache_file" >&6;}
1752 >$cache_file
1755 # Check that the precious variables saved in the cache have kept the same
1756 # value.
1757 ac_cache_corrupted=false
1758 for ac_var in $ac_precious_vars; do
1759 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1760 eval ac_new_set=\$ac_env_${ac_var}_set
1761 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1762 eval ac_new_val=\$ac_env_${ac_var}_value
1763 case $ac_old_set,$ac_new_set in
1764 set,)
1765 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1766 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1768 ,set)
1769 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1770 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1771 ac_cache_corrupted=: ;;
1772 ,);;
1774 if test "x$ac_old_val" != "x$ac_new_val"; then
1775 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1778 echo "$as_me: former value: $ac_old_val" >&2;}
1779 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1780 echo "$as_me: current value: $ac_new_val" >&2;}
1781 ac_cache_corrupted=:
1782 fi;;
1783 esac
1784 # Pass precious variables to config.status.
1785 if test "$ac_new_set" = set; then
1786 case $ac_new_val in
1787 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1788 *) ac_arg=$ac_var=$ac_new_val ;;
1789 esac
1790 case " $ac_configure_args " in
1791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1792 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1793 esac
1795 done
1796 if $ac_cache_corrupted; then
1797 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1798 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1799 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1800 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1801 { (exit 1); exit 1; }; }
1828 ac_ext=c
1829 ac_cpp='$CPP $CPPFLAGS'
1830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836 ac_config_headers="$ac_config_headers config.h"
1840 am__api_version='1.10'
1842 ac_aux_dir=
1843 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1844 if test -f "$ac_dir/install-sh"; then
1845 ac_aux_dir=$ac_dir
1846 ac_install_sh="$ac_aux_dir/install-sh -c"
1847 break
1848 elif test -f "$ac_dir/install.sh"; then
1849 ac_aux_dir=$ac_dir
1850 ac_install_sh="$ac_aux_dir/install.sh -c"
1851 break
1852 elif test -f "$ac_dir/shtool"; then
1853 ac_aux_dir=$ac_dir
1854 ac_install_sh="$ac_aux_dir/shtool install -c"
1855 break
1857 done
1858 if test -z "$ac_aux_dir"; then
1859 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1860 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1861 { (exit 1); exit 1; }; }
1864 # These three variables are undocumented and unsupported,
1865 # and are intended to be withdrawn in a future Autoconf release.
1866 # They can cause serious problems if a builder's source tree is in a directory
1867 # whose full name contains unusual characters.
1868 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1869 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1870 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1873 # Find a good install program. We prefer a C program (faster),
1874 # so one script is as good as another. But avoid the broken or
1875 # incompatible versions:
1876 # SysV /etc/install, /usr/sbin/install
1877 # SunOS /usr/etc/install
1878 # IRIX /sbin/install
1879 # AIX /bin/install
1880 # AmigaOS /C/install, which installs bootblocks on floppy discs
1881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1884 # OS/2's system install, which has a completely different semantic
1885 # ./install, which can be erroneously created by make from ./install.sh.
1886 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1887 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1888 if test -z "$INSTALL"; then
1889 if test "${ac_cv_path_install+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 else
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 for as_dir in $PATH
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 # Account for people who put trailing slashes in PATH elements.
1898 case $as_dir/ in
1899 ./ | .// | /cC/* | \
1900 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1901 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1902 /usr/ucb/* ) ;;
1904 # OSF1 and SCO ODT 3.0 have their own names for install.
1905 # Don't use installbsd from OSF since it installs stuff as root
1906 # by default.
1907 for ac_prog in ginstall scoinst install; do
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1910 if test $ac_prog = install &&
1911 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1912 # AIX install. It has an incompatible calling convention.
1914 elif test $ac_prog = install &&
1915 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1916 # program-specific install script used by HP pwplus--don't use.
1918 else
1919 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1920 break 3
1923 done
1924 done
1926 esac
1927 done
1928 IFS=$as_save_IFS
1932 if test "${ac_cv_path_install+set}" = set; then
1933 INSTALL=$ac_cv_path_install
1934 else
1935 # As a last resort, use the slow shell script. Don't cache a
1936 # value for INSTALL within a source directory, because that will
1937 # break other packages using the cache if that directory is
1938 # removed, or if the value is a relative name.
1939 INSTALL=$ac_install_sh
1942 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1943 echo "${ECHO_T}$INSTALL" >&6; }
1945 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1946 # It thinks the first close brace ends the variable substitution.
1947 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1949 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1951 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1953 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1954 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1955 # Just in case
1956 sleep 1
1957 echo timestamp > conftest.file
1958 # Do `set' in a subshell so we don't clobber the current shell's
1959 # arguments. Must try -L first in case configure is actually a
1960 # symlink; some systems play weird games with the mod time of symlinks
1961 # (eg FreeBSD returns the mod time of the symlink's containing
1962 # directory).
1963 if (
1964 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1965 if test "$*" = "X"; then
1966 # -L didn't work.
1967 set X `ls -t $srcdir/configure conftest.file`
1969 rm -f conftest.file
1970 if test "$*" != "X $srcdir/configure conftest.file" \
1971 && test "$*" != "X conftest.file $srcdir/configure"; then
1973 # If neither matched, then we have a broken ls. This can happen
1974 # if, for instance, CONFIG_SHELL is bash and it inherits a
1975 # broken ls alias from the environment. This has actually
1976 # happened. Such a system could not be considered "sane".
1977 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1978 alias in your environment" >&5
1979 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1980 alias in your environment" >&2;}
1981 { (exit 1); exit 1; }; }
1984 test "$2" = conftest.file
1986 then
1987 # Ok.
1989 else
1990 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1991 Check your system clock" >&5
1992 echo "$as_me: error: newly created file is older than distributed files!
1993 Check your system clock" >&2;}
1994 { (exit 1); exit 1; }; }
1996 { echo "$as_me:$LINENO: result: yes" >&5
1997 echo "${ECHO_T}yes" >&6; }
1998 test "$program_prefix" != NONE &&
1999 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2000 # Use a double $ so make ignores it.
2001 test "$program_suffix" != NONE &&
2002 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2003 # Double any \ or $. echo might interpret backslashes.
2004 # By default was `s,x,x', remove it if useless.
2005 cat <<\_ACEOF >conftest.sed
2006 s/[\\$]/&&/g;s/;s,x,x,$//
2007 _ACEOF
2008 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2009 rm -f conftest.sed
2011 # expand $ac_aux_dir to an absolute path
2012 am_aux_dir=`cd $ac_aux_dir && pwd`
2014 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2015 # Use eval to expand $SHELL
2016 if eval "$MISSING --run true"; then
2017 am_missing_run="$MISSING --run "
2018 else
2019 am_missing_run=
2020 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2021 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2024 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2025 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2026 if test -z "$MKDIR_P"; then
2027 if test "${ac_cv_path_mkdir+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2033 IFS=$as_save_IFS
2034 test -z "$as_dir" && as_dir=.
2035 for ac_prog in mkdir gmkdir; do
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2038 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2039 'mkdir (GNU coreutils) '* | \
2040 'mkdir (coreutils) '* | \
2041 'mkdir (fileutils) '4.1*)
2042 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2043 break 3;;
2044 esac
2045 done
2046 done
2047 done
2048 IFS=$as_save_IFS
2052 if test "${ac_cv_path_mkdir+set}" = set; then
2053 MKDIR_P="$ac_cv_path_mkdir -p"
2054 else
2055 # As a last resort, use the slow shell script. Don't cache a
2056 # value for MKDIR_P within a source directory, because that will
2057 # break other packages using the cache if that directory is
2058 # removed, or if the value is a relative name.
2059 test -d ./--version && rmdir ./--version
2060 MKDIR_P="$ac_install_sh -d"
2063 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2064 echo "${ECHO_T}$MKDIR_P" >&6; }
2066 mkdir_p="$MKDIR_P"
2067 case $mkdir_p in
2068 [\\/$]* | ?:[\\/]*) ;;
2069 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2070 esac
2072 for ac_prog in gawk mawk nawk awk
2074 # Extract the first word of "$ac_prog", so it can be a program name with args.
2075 set dummy $ac_prog; ac_word=$2
2076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2078 if test "${ac_cv_prog_AWK+set}" = set; then
2079 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 else
2081 if test -n "$AWK"; then
2082 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2083 else
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 for as_dir in $PATH
2087 IFS=$as_save_IFS
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2091 ac_cv_prog_AWK="$ac_prog"
2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 break 2
2095 done
2096 done
2097 IFS=$as_save_IFS
2101 AWK=$ac_cv_prog_AWK
2102 if test -n "$AWK"; then
2103 { echo "$as_me:$LINENO: result: $AWK" >&5
2104 echo "${ECHO_T}$AWK" >&6; }
2105 else
2106 { echo "$as_me:$LINENO: result: no" >&5
2107 echo "${ECHO_T}no" >&6; }
2111 test -n "$AWK" && break
2112 done
2114 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2116 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2117 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 else
2120 cat >conftest.make <<\_ACEOF
2121 SHELL = /bin/sh
2122 all:
2123 @echo '@@@%%%=$(MAKE)=@@@%%%'
2124 _ACEOF
2125 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2126 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2127 *@@@%%%=?*=@@@%%%*)
2128 eval ac_cv_prog_make_${ac_make}_set=yes;;
2130 eval ac_cv_prog_make_${ac_make}_set=no;;
2131 esac
2132 rm -f conftest.make
2134 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2135 { echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6; }
2137 SET_MAKE=
2138 else
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2141 SET_MAKE="MAKE=${MAKE-make}"
2144 rm -rf .tst 2>/dev/null
2145 mkdir .tst 2>/dev/null
2146 if test -d .tst; then
2147 am__leading_dot=.
2148 else
2149 am__leading_dot=_
2151 rmdir .tst 2>/dev/null
2153 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2154 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2155 # is not polluted with repeated "-I."
2156 am__isrc=' -I$(srcdir)'
2157 # test to see if srcdir already configured
2158 if test -f $srcdir/config.status; then
2159 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2160 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2161 { (exit 1); exit 1; }; }
2165 # test whether we have cygpath
2166 if test -z "$CYGPATH_W"; then
2167 if (cygpath --version) >/dev/null 2>/dev/null; then
2168 CYGPATH_W='cygpath -w'
2169 else
2170 CYGPATH_W=echo
2175 # Define the identity of the package.
2176 PACKAGE='straw'
2177 VERSION='0.27.90'
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE "$PACKAGE"
2182 _ACEOF
2185 cat >>confdefs.h <<_ACEOF
2186 #define VERSION "$VERSION"
2187 _ACEOF
2189 # Some tools Automake needs.
2191 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2194 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2197 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2200 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2203 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2205 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2207 # Installed binaries are usually stripped using `strip' when the user
2208 # run `make install-strip'. However `strip' might not be the right
2209 # tool to use in cross-compilation environments, therefore Automake
2210 # will honor the `STRIP' environment variable to overrule this program.
2211 if test "$cross_compiling" != no; then
2212 if test -n "$ac_tool_prefix"; then
2213 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2214 set dummy ${ac_tool_prefix}strip; ac_word=$2
2215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2217 if test "${ac_cv_prog_STRIP+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 else
2220 if test -n "$STRIP"; then
2221 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2222 else
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 for as_dir in $PATH
2226 IFS=$as_save_IFS
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 break 2
2234 done
2235 done
2236 IFS=$as_save_IFS
2240 STRIP=$ac_cv_prog_STRIP
2241 if test -n "$STRIP"; then
2242 { echo "$as_me:$LINENO: result: $STRIP" >&5
2243 echo "${ECHO_T}$STRIP" >&6; }
2244 else
2245 { echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6; }
2251 if test -z "$ac_cv_prog_STRIP"; then
2252 ac_ct_STRIP=$STRIP
2253 # Extract the first word of "strip", so it can be a program name with args.
2254 set dummy strip; ac_word=$2
2255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2257 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260 if test -n "$ac_ct_STRIP"; then
2261 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2262 else
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 for as_dir in $PATH
2266 IFS=$as_save_IFS
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270 ac_cv_prog_ac_ct_STRIP="strip"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 break 2
2274 done
2275 done
2276 IFS=$as_save_IFS
2280 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2281 if test -n "$ac_ct_STRIP"; then
2282 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2283 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2284 else
2285 { echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6; }
2289 if test "x$ac_ct_STRIP" = x; then
2290 STRIP=":"
2291 else
2292 case $cross_compiling:$ac_tool_warned in
2293 yes:)
2294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2295 whose name does not start with the host triplet. If you think this
2296 configuration is useful to you, please write to autoconf@gnu.org." >&5
2297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2298 whose name does not start with the host triplet. If you think this
2299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2300 ac_tool_warned=yes ;;
2301 esac
2302 STRIP=$ac_ct_STRIP
2304 else
2305 STRIP="$ac_cv_prog_STRIP"
2309 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2311 # We need awk for the "check" target. The system "awk" is bad on
2312 # some platforms.
2313 # Always define AMTAR for backward compatibility.
2315 AMTAR=${AMTAR-"${am_missing_run}tar"}
2317 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2326 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2327 if test -n "$ac_macro_dir"; then
2328 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
2334 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2335 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2336 # Check whether --enable-maintainer-mode was given.
2337 if test "${enable_maintainer_mode+set}" = set; then
2338 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2339 else
2340 USE_MAINTAINER_MODE=no
2343 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2344 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2345 if test $USE_MAINTAINER_MODE = yes; then
2346 MAINTAINER_MODE_TRUE=
2347 MAINTAINER_MODE_FALSE='#'
2348 else
2349 MAINTAINER_MODE_TRUE='#'
2350 MAINTAINER_MODE_FALSE=
2353 MAINT=$MAINTAINER_MODE_TRUE
2356 ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4"
2359 STRAW_HOME="http://www.gnome.org/projects/straw"
2363 GETTEXT_PACKAGE="straw"
2364 DEPDIR="${am__leading_dot}deps"
2366 ac_config_commands="$ac_config_commands depfiles"
2369 am_make=${MAKE-make}
2370 cat > confinc << 'END'
2371 am__doit:
2372 @echo done
2373 .PHONY: am__doit
2375 # If we don't find an include directive, just comment out the code.
2376 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2377 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2378 am__include="#"
2379 am__quote=
2380 _am_result=none
2381 # First try GNU make style include.
2382 echo "include confinc" > confmf
2383 # We grep out `Entering directory' and `Leaving directory'
2384 # messages which can occur if `w' ends up in MAKEFLAGS.
2385 # In particular we don't look at `^make:' because GNU make might
2386 # be invoked under some other name (usually "gmake"), in which
2387 # case it prints its new name instead of `make'.
2388 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2389 am__include=include
2390 am__quote=
2391 _am_result=GNU
2393 # Now try BSD make style include.
2394 if test "$am__include" = "#"; then
2395 echo '.include "confinc"' > confmf
2396 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2397 am__include=.include
2398 am__quote="\""
2399 _am_result=BSD
2404 { echo "$as_me:$LINENO: result: $_am_result" >&5
2405 echo "${ECHO_T}$_am_result" >&6; }
2406 rm -f confinc confmf
2408 # Check whether --enable-dependency-tracking was given.
2409 if test "${enable_dependency_tracking+set}" = set; then
2410 enableval=$enable_dependency_tracking;
2413 if test "x$enable_dependency_tracking" != xno; then
2414 am_depcomp="$ac_aux_dir/depcomp"
2415 AMDEPBACKSLASH='\'
2417 if test "x$enable_dependency_tracking" != xno; then
2418 AMDEP_TRUE=
2419 AMDEP_FALSE='#'
2420 else
2421 AMDEP_TRUE='#'
2422 AMDEP_FALSE=
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431 if test -n "$ac_tool_prefix"; then
2432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2433 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 if test -n "$CC"; then
2440 ac_cv_prog_CC="$CC" # Let the user override the test.
2441 else
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2453 done
2454 done
2455 IFS=$as_save_IFS
2459 CC=$ac_cv_prog_CC
2460 if test -n "$CC"; then
2461 { echo "$as_me:$LINENO: result: $CC" >&5
2462 echo "${ECHO_T}$CC" >&6; }
2463 else
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2470 if test -z "$ac_cv_prog_CC"; then
2471 ac_ct_CC=$CC
2472 # Extract the first word of "gcc", so it can be a program name with args.
2473 set dummy gcc; ac_word=$2
2474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test -n "$ac_ct_CC"; then
2480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2481 else
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 for as_dir in $PATH
2485 IFS=$as_save_IFS
2486 test -z "$as_dir" && as_dir=.
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489 ac_cv_prog_ac_ct_CC="gcc"
2490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 break 2
2493 done
2494 done
2495 IFS=$as_save_IFS
2499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2500 if test -n "$ac_ct_CC"; then
2501 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2502 echo "${ECHO_T}$ac_ct_CC" >&6; }
2503 else
2504 { echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6; }
2508 if test "x$ac_ct_CC" = x; then
2509 CC=""
2510 else
2511 case $cross_compiling:$ac_tool_warned in
2512 yes:)
2513 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2514 whose name does not start with the host triplet. If you think this
2515 configuration is useful to you, please write to autoconf@gnu.org." >&5
2516 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2517 whose name does not start with the host triplet. If you think this
2518 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2519 ac_tool_warned=yes ;;
2520 esac
2521 CC=$ac_ct_CC
2523 else
2524 CC="$ac_cv_prog_CC"
2527 if test -z "$CC"; then
2528 if test -n "$ac_tool_prefix"; then
2529 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2530 set dummy ${ac_tool_prefix}cc; ac_word=$2
2531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 if test "${ac_cv_prog_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
2538 else
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH
2542 IFS=$as_save_IFS
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546 ac_cv_prog_CC="${ac_tool_prefix}cc"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 break 2
2550 done
2551 done
2552 IFS=$as_save_IFS
2556 CC=$ac_cv_prog_CC
2557 if test -n "$CC"; then
2558 { echo "$as_me:$LINENO: result: $CC" >&5
2559 echo "${ECHO_T}$CC" >&6; }
2560 else
2561 { echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6; }
2568 if test -z "$CC"; then
2569 # Extract the first word of "cc", so it can be a program name with args.
2570 set dummy cc; ac_word=$2
2571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2573 if test "${ac_cv_prog_CC+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC="$CC" # Let the user override the test.
2578 else
2579 ac_prog_rejected=no
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2583 IFS=$as_save_IFS
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2588 ac_prog_rejected=yes
2589 continue
2591 ac_cv_prog_CC="cc"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 break 2
2595 done
2596 done
2597 IFS=$as_save_IFS
2599 if test $ac_prog_rejected = yes; then
2600 # We found a bogon in the path, so make sure we never use it.
2601 set dummy $ac_cv_prog_CC
2602 shift
2603 if test $# != 0; then
2604 # We chose a different compiler from the bogus one.
2605 # However, it has the same basename, so the bogon will be chosen
2606 # first if we set CC to just the basename; use the full file name.
2607 shift
2608 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2613 CC=$ac_cv_prog_CC
2614 if test -n "$CC"; then
2615 { echo "$as_me:$LINENO: result: $CC" >&5
2616 echo "${ECHO_T}$CC" >&6; }
2617 else
2618 { echo "$as_me:$LINENO: result: no" >&5
2619 echo "${ECHO_T}no" >&6; }
2624 if test -z "$CC"; then
2625 if test -n "$ac_tool_prefix"; then
2626 for ac_prog in cl.exe
2628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2632 if test "${ac_cv_prog_CC+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 else
2635 if test -n "$CC"; then
2636 ac_cv_prog_CC="$CC" # Let the user override the test.
2637 else
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 for as_dir in $PATH
2641 IFS=$as_save_IFS
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 break 2
2649 done
2650 done
2651 IFS=$as_save_IFS
2655 CC=$ac_cv_prog_CC
2656 if test -n "$CC"; then
2657 { echo "$as_me:$LINENO: result: $CC" >&5
2658 echo "${ECHO_T}$CC" >&6; }
2659 else
2660 { echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6; }
2665 test -n "$CC" && break
2666 done
2668 if test -z "$CC"; then
2669 ac_ct_CC=$CC
2670 for ac_prog in cl.exe
2672 # Extract the first word of "$ac_prog", so it can be a program name with args.
2673 set dummy $ac_prog; ac_word=$2
2674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 else
2679 if test -n "$ac_ct_CC"; then
2680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2681 else
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2685 IFS=$as_save_IFS
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689 ac_cv_prog_ac_ct_CC="$ac_prog"
2690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 break 2
2693 done
2694 done
2695 IFS=$as_save_IFS
2699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2700 if test -n "$ac_ct_CC"; then
2701 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2702 echo "${ECHO_T}$ac_ct_CC" >&6; }
2703 else
2704 { echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6; }
2709 test -n "$ac_ct_CC" && break
2710 done
2712 if test "x$ac_ct_CC" = x; then
2713 CC=""
2714 else
2715 case $cross_compiling:$ac_tool_warned in
2716 yes:)
2717 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2718 whose name does not start with the host triplet. If you think this
2719 configuration is useful to you, please write to autoconf@gnu.org." >&5
2720 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2721 whose name does not start with the host triplet. If you think this
2722 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2723 ac_tool_warned=yes ;;
2724 esac
2725 CC=$ac_ct_CC
2732 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2733 See \`config.log' for more details." >&5
2734 echo "$as_me: error: no acceptable C compiler found in \$PATH
2735 See \`config.log' for more details." >&2;}
2736 { (exit 1); exit 1; }; }
2738 # Provide some information about the compiler.
2739 echo "$as_me:$LINENO: checking for C compiler version" >&5
2740 ac_compiler=`set X $ac_compile; echo $2`
2741 { (ac_try="$ac_compiler --version >&5"
2742 case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745 esac
2746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747 (eval "$ac_compiler --version >&5") 2>&5
2748 ac_status=$?
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }
2751 { (ac_try="$ac_compiler -v >&5"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757 (eval "$ac_compiler -v >&5") 2>&5
2758 ac_status=$?
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }
2761 { (ac_try="$ac_compiler -V >&5"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_compiler -V >&5") 2>&5
2768 ac_status=$?
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }
2772 cat >conftest.$ac_ext <<_ACEOF
2773 /* confdefs.h. */
2774 _ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2780 main ()
2784 return 0;
2786 _ACEOF
2787 ac_clean_files_save=$ac_clean_files
2788 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2789 # Try to create an executable without -o first, disregard a.out.
2790 # It will help us diagnose broken compilers, and finding out an intuition
2791 # of exeext.
2792 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2793 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2794 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2796 # List of possible output files, starting from the most likely.
2797 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2798 # only as a last resort. b.out is created by i960 compilers.
2799 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2801 # The IRIX 6 linker writes into existing files which may not be
2802 # executable, retaining their permissions. Remove them first so a
2803 # subsequent execution test works.
2804 ac_rmfiles=
2805 for ac_file in $ac_files
2807 case $ac_file in
2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2809 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2810 esac
2811 done
2812 rm -f $ac_rmfiles
2814 if { (ac_try="$ac_link_default"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_link_default") 2>&5
2821 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
2824 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2825 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2826 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2827 # so that the user can short-circuit this test for compilers unknown to
2828 # Autoconf.
2829 for ac_file in $ac_files ''
2831 test -f "$ac_file" || continue
2832 case $ac_file in
2833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2835 [ab].out )
2836 # We found the default executable, but exeext='' is most
2837 # certainly right.
2838 break;;
2839 *.* )
2840 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2841 then :; else
2842 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2844 # We set ac_cv_exeext here because the later test for it is not
2845 # safe: cross compilers may not add the suffix if given an `-o'
2846 # argument, so we may need to know it at that point already.
2847 # Even if this section looks crufty: it has the advantage of
2848 # actually working.
2849 break;;
2851 break;;
2852 esac
2853 done
2854 test "$ac_cv_exeext" = no && ac_cv_exeext=
2856 else
2857 ac_file=''
2860 { echo "$as_me:$LINENO: result: $ac_file" >&5
2861 echo "${ECHO_T}$ac_file" >&6; }
2862 if test -z "$ac_file"; then
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2867 See \`config.log' for more details." >&5
2868 echo "$as_me: error: C compiler cannot create executables
2869 See \`config.log' for more details." >&2;}
2870 { (exit 77); exit 77; }; }
2873 ac_exeext=$ac_cv_exeext
2875 # Check that the compiler produces executables we can run. If not, either
2876 # the compiler is broken, or we cross compile.
2877 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2878 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2879 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2880 # If not cross compiling, check that we can run a simple program.
2881 if test "$cross_compiling" != yes; then
2882 if { ac_try='./$ac_file'
2883 { (case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888 (eval "$ac_try") 2>&5
2889 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then
2892 cross_compiling=no
2893 else
2894 if test "$cross_compiling" = maybe; then
2895 cross_compiling=yes
2896 else
2897 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2898 If you meant to cross compile, use \`--host'.
2899 See \`config.log' for more details." >&5
2900 echo "$as_me: error: cannot run C compiled programs.
2901 If you meant to cross compile, use \`--host'.
2902 See \`config.log' for more details." >&2;}
2903 { (exit 1); exit 1; }; }
2907 { echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6; }
2910 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2911 ac_clean_files=$ac_clean_files_save
2912 # Check that the compiler produces executables we can run. If not, either
2913 # the compiler is broken, or we cross compile.
2914 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2915 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2916 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2917 echo "${ECHO_T}$cross_compiling" >&6; }
2919 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2920 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2921 if { (ac_try="$ac_link"
2922 case "(($ac_try" in
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2925 esac
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_link") 2>&5
2928 ac_status=$?
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; then
2931 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2932 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2933 # work properly (i.e., refer to `conftest.exe'), while it won't with
2934 # `rm'.
2935 for ac_file in conftest.exe conftest conftest.*; do
2936 test -f "$ac_file" || continue
2937 case $ac_file in
2938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2939 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2940 break;;
2941 * ) break;;
2942 esac
2943 done
2944 else
2945 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2946 See \`config.log' for more details." >&5
2947 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2952 rm -f conftest$ac_cv_exeext
2953 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2954 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2956 rm -f conftest.$ac_ext
2957 EXEEXT=$ac_cv_exeext
2958 ac_exeext=$EXEEXT
2959 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2960 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2961 if test "${ac_cv_objext+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 else
2964 cat >conftest.$ac_ext <<_ACEOF
2965 /* confdefs.h. */
2966 _ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2972 main ()
2976 return 0;
2978 _ACEOF
2979 rm -f conftest.o conftest.obj
2980 if { (ac_try="$ac_compile"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then
2990 for ac_file in conftest.o conftest.obj conftest.*; do
2991 test -f "$ac_file" || continue;
2992 case $ac_file in
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2994 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2995 break;;
2996 esac
2997 done
2998 else
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3003 See \`config.log' for more details." >&5
3004 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3005 See \`config.log' for more details." >&2;}
3006 { (exit 1); exit 1; }; }
3009 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3011 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3012 echo "${ECHO_T}$ac_cv_objext" >&6; }
3013 OBJEXT=$ac_cv_objext
3014 ac_objext=$OBJEXT
3015 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3016 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3017 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h. */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3028 main ()
3030 #ifndef __GNUC__
3031 choke me
3032 #endif
3035 return 0;
3037 _ACEOF
3038 rm -f conftest.$ac_objext
3039 if { (ac_try="$ac_compile"
3040 case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043 esac
3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>conftest.er1
3046 ac_status=$?
3047 grep -v '^ *+' conftest.er1 >conftest.err
3048 rm -f conftest.er1
3049 cat conftest.err >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } && {
3052 test -z "$ac_c_werror_flag" ||
3053 test ! -s conftest.err
3054 } && test -s conftest.$ac_objext; then
3055 ac_compiler_gnu=yes
3056 else
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 ac_compiler_gnu=no
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3067 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3068 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3069 GCC=`test $ac_compiler_gnu = yes && echo yes`
3070 ac_test_CFLAGS=${CFLAGS+set}
3071 ac_save_CFLAGS=$CFLAGS
3072 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3073 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3074 if test "${ac_cv_prog_cc_g+set}" = set; then
3075 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 else
3077 ac_save_c_werror_flag=$ac_c_werror_flag
3078 ac_c_werror_flag=yes
3079 ac_cv_prog_cc_g=no
3080 CFLAGS="-g"
3081 cat >conftest.$ac_ext <<_ACEOF
3082 /* confdefs.h. */
3083 _ACEOF
3084 cat confdefs.h >>conftest.$ac_ext
3085 cat >>conftest.$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3089 main ()
3093 return 0;
3095 _ACEOF
3096 rm -f conftest.$ac_objext
3097 if { (ac_try="$ac_compile"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compile") 2>conftest.er1
3104 ac_status=$?
3105 grep -v '^ *+' conftest.er1 >conftest.err
3106 rm -f conftest.er1
3107 cat conftest.err >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } && {
3110 test -z "$ac_c_werror_flag" ||
3111 test ! -s conftest.err
3112 } && test -s conftest.$ac_objext; then
3113 ac_cv_prog_cc_g=yes
3114 else
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3118 CFLAGS=""
3119 cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h. */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3127 main ()
3131 return 0;
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3136 case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3139 esac
3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3142 ac_status=$?
3143 grep -v '^ *+' conftest.er1 >conftest.err
3144 rm -f conftest.er1
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3152 else
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3156 ac_c_werror_flag=$ac_save_c_werror_flag
3157 CFLAGS="-g"
3158 cat >conftest.$ac_ext <<_ACEOF
3159 /* confdefs.h. */
3160 _ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3166 main ()
3170 return 0;
3172 _ACEOF
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3175 case "(($ac_try" in
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3178 esac
3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_compile") 2>conftest.er1
3181 ac_status=$?
3182 grep -v '^ *+' conftest.er1 >conftest.err
3183 rm -f conftest.er1
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } && {
3187 test -z "$ac_c_werror_flag" ||
3188 test ! -s conftest.err
3189 } && test -s conftest.$ac_objext; then
3190 ac_cv_prog_cc_g=yes
3191 else
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 ac_c_werror_flag=$ac_save_c_werror_flag
3207 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3208 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3209 if test "$ac_test_CFLAGS" = set; then
3210 CFLAGS=$ac_save_CFLAGS
3211 elif test $ac_cv_prog_cc_g = yes; then
3212 if test "$GCC" = yes; then
3213 CFLAGS="-g -O2"
3214 else
3215 CFLAGS="-g"
3217 else
3218 if test "$GCC" = yes; then
3219 CFLAGS="-O2"
3220 else
3221 CFLAGS=
3224 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3225 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3226 if test "${ac_cv_prog_cc_c89+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 else
3229 ac_cv_prog_cc_c89=no
3230 ac_save_CC=$CC
3231 cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <stdarg.h>
3238 #include <stdio.h>
3239 #include <sys/types.h>
3240 #include <sys/stat.h>
3241 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3242 struct buf { int x; };
3243 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3244 static char *e (p, i)
3245 char **p;
3246 int i;
3248 return p[i];
3250 static char *f (char * (*g) (char **, int), char **p, ...)
3252 char *s;
3253 va_list v;
3254 va_start (v,p);
3255 s = g (p, va_arg (v,int));
3256 va_end (v);
3257 return s;
3260 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3261 function prototypes and stuff, but not '\xHH' hex character constants.
3262 These don't provoke an error unfortunately, instead are silently treated
3263 as 'x'. The following induces an error, until -std is added to get
3264 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3265 array size at least. It's necessary to write '\x00'==0 to get something
3266 that's true only with -std. */
3267 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3269 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3270 inside strings and character constants. */
3271 #define FOO(x) 'x'
3272 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3274 int test (int i, double x);
3275 struct s1 {int (*f) (int a);};
3276 struct s2 {int (*f) (double a);};
3277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3278 int argc;
3279 char **argv;
3281 main ()
3283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3285 return 0;
3287 _ACEOF
3288 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3289 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3291 CC="$ac_save_CC $ac_arg"
3292 rm -f conftest.$ac_objext
3293 if { (ac_try="$ac_compile"
3294 case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3297 esac
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_compile") 2>conftest.er1
3300 ac_status=$?
3301 grep -v '^ *+' conftest.er1 >conftest.err
3302 rm -f conftest.er1
3303 cat conftest.err >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } && {
3306 test -z "$ac_c_werror_flag" ||
3307 test ! -s conftest.err
3308 } && test -s conftest.$ac_objext; then
3309 ac_cv_prog_cc_c89=$ac_arg
3310 else
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3317 rm -f core conftest.err conftest.$ac_objext
3318 test "x$ac_cv_prog_cc_c89" != "xno" && break
3319 done
3320 rm -f conftest.$ac_ext
3321 CC=$ac_save_CC
3324 # AC_CACHE_VAL
3325 case "x$ac_cv_prog_cc_c89" in
3327 { echo "$as_me:$LINENO: result: none needed" >&5
3328 echo "${ECHO_T}none needed" >&6; } ;;
3329 xno)
3330 { echo "$as_me:$LINENO: result: unsupported" >&5
3331 echo "${ECHO_T}unsupported" >&6; } ;;
3333 CC="$CC $ac_cv_prog_cc_c89"
3334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3335 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3336 esac
3339 ac_ext=c
3340 ac_cpp='$CPP $CPPFLAGS'
3341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345 depcc="$CC" am_compiler_list=
3347 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3348 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3349 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3353 # We make a subdir and do the tests there. Otherwise we can end up
3354 # making bogus files that we don't know about and never remove. For
3355 # instance it was reported that on HP-UX the gcc test will end up
3356 # making a dummy file named `D' -- because `-MD' means `put the output
3357 # in D'.
3358 mkdir conftest.dir
3359 # Copy depcomp to subdir because otherwise we won't find it if we're
3360 # using a relative directory.
3361 cp "$am_depcomp" conftest.dir
3362 cd conftest.dir
3363 # We will build objects and dependencies in a subdirectory because
3364 # it helps to detect inapplicable dependency modes. For instance
3365 # both Tru64's cc and ICC support -MD to output dependencies as a
3366 # side effect of compilation, but ICC will put the dependencies in
3367 # the current directory while Tru64 will put them in the object
3368 # directory.
3369 mkdir sub
3371 am_cv_CC_dependencies_compiler_type=none
3372 if test "$am_compiler_list" = ""; then
3373 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3375 for depmode in $am_compiler_list; do
3376 # Setup a source with many dependencies, because some compilers
3377 # like to wrap large dependency lists on column 80 (with \), and
3378 # we should not choose a depcomp mode which is confused by this.
3380 # We need to recreate these files for each test, as the compiler may
3381 # overwrite some of them when testing with obscure command lines.
3382 # This happens at least with the AIX C compiler.
3383 : > sub/conftest.c
3384 for i in 1 2 3 4 5 6; do
3385 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3386 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3387 # Solaris 8's {/usr,}/bin/sh.
3388 touch sub/conftst$i.h
3389 done
3390 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3392 case $depmode in
3393 nosideeffect)
3394 # after this tag, mechanisms are not by side-effect, so they'll
3395 # only be used when explicitly requested
3396 if test "x$enable_dependency_tracking" = xyes; then
3397 continue
3398 else
3399 break
3402 none) break ;;
3403 esac
3404 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3405 # mode. It turns out that the SunPro C++ compiler does not properly
3406 # handle `-M -o', and we need to detect this.
3407 if depmode=$depmode \
3408 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3409 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3410 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3411 >/dev/null 2>conftest.err &&
3412 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3413 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3414 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3415 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3416 # icc doesn't choke on unknown options, it will just issue warnings
3417 # or remarks (even with -Werror). So we grep stderr for any message
3418 # that says an option was ignored or not supported.
3419 # When given -MP, icc 7.0 and 7.1 complain thusly:
3420 # icc: Command line warning: ignoring option '-M'; no argument required
3421 # The diagnosis changed in icc 8.0:
3422 # icc: Command line remark: option '-MP' not supported
3423 if (grep 'ignoring option' conftest.err ||
3424 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3425 am_cv_CC_dependencies_compiler_type=$depmode
3426 break
3429 done
3431 cd ..
3432 rm -rf conftest.dir
3433 else
3434 am_cv_CC_dependencies_compiler_type=none
3438 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3439 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3440 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3443 test "x$enable_dependency_tracking" != xno \
3444 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3445 am__fastdepCC_TRUE=
3446 am__fastdepCC_FALSE='#'
3447 else
3448 am__fastdepCC_TRUE='#'
3449 am__fastdepCC_FALSE=
3455 case "$am__api_version" in
3456 1.01234)
3457 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3458 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3459 { (exit 1); exit 1; }; }
3463 esac
3465 if test -n "0.35.0"; then
3466 { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
3467 echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
3469 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3470 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3471 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3473 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3474 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3475 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3476 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
3477 echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
3478 { (exit 1); exit 1; }; }
3481 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3482 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3483 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3484 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3485 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3486 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3487 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3488 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3489 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3490 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3491 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3492 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3493 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3494 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3495 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3496 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3497 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3498 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3499 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3521 # Use the tools built into the package, not the ones that are installed.
3522 INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3524 INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3526 INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3529 # Extract the first word of "perl", so it can be a program name with args.
3530 set dummy perl; ac_word=$2
3531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3533 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3535 else
3536 case $INTLTOOL_PERL in
3537 [\\/]* | ?:[\\/]*)
3538 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542 for as_dir in $PATH
3544 IFS=$as_save_IFS
3545 test -z "$as_dir" && as_dir=.
3546 for ac_exec_ext in '' $ac_executable_extensions; do
3547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3548 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 break 2
3552 done
3553 done
3554 IFS=$as_save_IFS
3557 esac
3559 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3560 if test -n "$INTLTOOL_PERL"; then
3561 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3562 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3563 else
3564 { echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6; }
3569 if test -z "$INTLTOOL_PERL"; then
3570 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3571 echo "$as_me: error: perl not found; required for intltool" >&2;}
3572 { (exit 1); exit 1; }; }
3574 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3575 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3576 echo "$as_me: error: perl 5.x required for intltool" >&2;}
3577 { (exit 1); exit 1; }; }
3579 if test "x" != "xno-xml"; then
3580 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3581 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3582 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3583 { echo "$as_me:$LINENO: result: ok" >&5
3584 echo "${ECHO_T}ok" >&6; }
3585 else
3586 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3587 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3588 { (exit 1); exit 1; }; }
3592 # Substitute ALL_LINGUAS so we can use it in po/Makefile
3595 # Set DATADIRNAME correctly if it is not set yet
3596 # (copied from glib-gettext.m4)
3597 if test -z "$DATADIRNAME"; then
3598 cat >conftest.$ac_ext <<_ACEOF
3599 /* confdefs.h. */
3600 _ACEOF
3601 cat confdefs.h >>conftest.$ac_ext
3602 cat >>conftest.$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3606 main ()
3608 extern int _nl_msg_cat_cntr;
3609 return _nl_msg_cat_cntr
3611 return 0;
3613 _ACEOF
3614 rm -f conftest.$ac_objext conftest$ac_exeext
3615 if { (ac_try="$ac_link"
3616 case "(($ac_try" in
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3619 esac
3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_link") 2>conftest.er1
3622 ac_status=$?
3623 grep -v '^ *+' conftest.er1 >conftest.err
3624 rm -f conftest.er1
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } && {
3628 test -z "$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 } && test -s conftest$ac_exeext &&
3631 $as_test_x conftest$ac_exeext; then
3632 DATADIRNAME=share
3633 else
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3637 case $host in
3638 *-*-solaris*)
3639 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3640 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3641 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 else
3644 cat >conftest.$ac_ext <<_ACEOF
3645 /* confdefs.h. */
3646 _ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3652 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3654 /* System header to define __stub macros and hopefully few prototypes,
3655 which can conflict with char bind_textdomain_codeset (); below.
3656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3657 <limits.h> exists even on freestanding compilers. */
3659 #ifdef __STDC__
3660 # include <limits.h>
3661 #else
3662 # include <assert.h>
3663 #endif
3665 #undef bind_textdomain_codeset
3667 /* Override any GCC internal prototype to avoid an error.
3668 Use char because int might match the return type of a GCC
3669 builtin and then its argument prototype would still apply. */
3670 #ifdef __cplusplus
3671 extern "C"
3672 #endif
3673 char bind_textdomain_codeset ();
3674 /* The GNU C library defines this for functions which it implements
3675 to always fail with ENOSYS. Some functions are actually named
3676 something starting with __ and the normal name is an alias. */
3677 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3678 choke me
3679 #endif
3682 main ()
3684 return bind_textdomain_codeset ();
3686 return 0;
3688 _ACEOF
3689 rm -f conftest.$ac_objext conftest$ac_exeext
3690 if { (ac_try="$ac_link"
3691 case "(($ac_try" in
3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3694 esac
3695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696 (eval "$ac_link") 2>conftest.er1
3697 ac_status=$?
3698 grep -v '^ *+' conftest.er1 >conftest.err
3699 rm -f conftest.er1
3700 cat conftest.err >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); } && {
3703 test -z "$ac_c_werror_flag" ||
3704 test ! -s conftest.err
3705 } && test -s conftest$ac_exeext &&
3706 $as_test_x conftest$ac_exeext; then
3707 ac_cv_func_bind_textdomain_codeset=yes
3708 else
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3712 ac_cv_func_bind_textdomain_codeset=no
3715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3716 conftest$ac_exeext conftest.$ac_ext
3718 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
3719 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
3720 if test $ac_cv_func_bind_textdomain_codeset = yes; then
3721 DATADIRNAME=share
3722 else
3723 DATADIRNAME=lib
3728 DATADIRNAME=lib
3730 esac
3733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3734 conftest$ac_exeext conftest.$ac_ext
3741 ac_config_commands="$ac_config_commands intltool"
3748 cat >>confdefs.h <<_ACEOF
3749 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3750 _ACEOF
3752 ac_ext=c
3753 ac_cpp='$CPP $CPPFLAGS'
3754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3757 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3758 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3759 # On Suns, sometimes $CPP names a directory.
3760 if test -n "$CPP" && test -d "$CPP"; then
3761 CPP=
3763 if test -z "$CPP"; then
3764 if test "${ac_cv_prog_CPP+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 else
3767 # Double quotes because CPP needs to be expanded
3768 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3770 ac_preproc_ok=false
3771 for ac_c_preproc_warn_flag in '' yes
3773 # Use a header file that comes with gcc, so configuring glibc
3774 # with a fresh cross-compiler works.
3775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3776 # <limits.h> exists even on freestanding compilers.
3777 # On the NeXT, cc -E runs the code through the compiler's parser,
3778 # not just through cpp. "Syntax error" is here to catch this case.
3779 cat >conftest.$ac_ext <<_ACEOF
3780 /* confdefs.h. */
3781 _ACEOF
3782 cat confdefs.h >>conftest.$ac_ext
3783 cat >>conftest.$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3785 #ifdef __STDC__
3786 # include <limits.h>
3787 #else
3788 # include <assert.h>
3789 #endif
3790 Syntax error
3791 _ACEOF
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796 esac
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 ac_status=$?
3800 grep -v '^ *+' conftest.er1 >conftest.err
3801 rm -f conftest.er1
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3807 }; then
3809 else
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Broken: fails on valid input.
3814 continue
3817 rm -f conftest.err conftest.$ac_ext
3819 # OK, works on sane cases. Now check whether nonexistent headers
3820 # can be detected and how.
3821 cat >conftest.$ac_ext <<_ACEOF
3822 /* confdefs.h. */
3823 _ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3827 #include <ac_nonexistent.h>
3828 _ACEOF
3829 if { (ac_try="$ac_cpp conftest.$ac_ext"
3830 case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3833 esac
3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3836 ac_status=$?
3837 grep -v '^ *+' conftest.er1 >conftest.err
3838 rm -f conftest.er1
3839 cat conftest.err >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } >/dev/null && {
3842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3843 test ! -s conftest.err
3844 }; then
3845 # Broken: success on invalid input.
3846 continue
3847 else
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.$ac_ext >&5
3851 # Passes both tests.
3852 ac_preproc_ok=:
3853 break
3856 rm -f conftest.err conftest.$ac_ext
3858 done
3859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3860 rm -f conftest.err conftest.$ac_ext
3861 if $ac_preproc_ok; then
3862 break
3865 done
3866 ac_cv_prog_CPP=$CPP
3869 CPP=$ac_cv_prog_CPP
3870 else
3871 ac_cv_prog_CPP=$CPP
3873 { echo "$as_me:$LINENO: result: $CPP" >&5
3874 echo "${ECHO_T}$CPP" >&6; }
3875 ac_preproc_ok=false
3876 for ac_c_preproc_warn_flag in '' yes
3878 # Use a header file that comes with gcc, so configuring glibc
3879 # with a fresh cross-compiler works.
3880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3881 # <limits.h> exists even on freestanding compilers.
3882 # On the NeXT, cc -E runs the code through the compiler's parser,
3883 # not just through cpp. "Syntax error" is here to catch this case.
3884 cat >conftest.$ac_ext <<_ACEOF
3885 /* confdefs.h. */
3886 _ACEOF
3887 cat confdefs.h >>conftest.$ac_ext
3888 cat >>conftest.$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3890 #ifdef __STDC__
3891 # include <limits.h>
3892 #else
3893 # include <assert.h>
3894 #endif
3895 Syntax error
3896 _ACEOF
3897 if { (ac_try="$ac_cpp conftest.$ac_ext"
3898 case "(($ac_try" in
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3901 esac
3902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3904 ac_status=$?
3905 grep -v '^ *+' conftest.er1 >conftest.err
3906 rm -f conftest.er1
3907 cat conftest.err >&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } >/dev/null && {
3910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3911 test ! -s conftest.err
3912 }; then
3914 else
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 # Broken: fails on valid input.
3919 continue
3922 rm -f conftest.err conftest.$ac_ext
3924 # OK, works on sane cases. Now check whether nonexistent headers
3925 # can be detected and how.
3926 cat >conftest.$ac_ext <<_ACEOF
3927 /* confdefs.h. */
3928 _ACEOF
3929 cat confdefs.h >>conftest.$ac_ext
3930 cat >>conftest.$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3932 #include <ac_nonexistent.h>
3933 _ACEOF
3934 if { (ac_try="$ac_cpp conftest.$ac_ext"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3941 ac_status=$?
3942 grep -v '^ *+' conftest.er1 >conftest.err
3943 rm -f conftest.er1
3944 cat conftest.err >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); } >/dev/null && {
3947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3948 test ! -s conftest.err
3949 }; then
3950 # Broken: success on invalid input.
3951 continue
3952 else
3953 echo "$as_me: failed program was:" >&5
3954 sed 's/^/| /' conftest.$ac_ext >&5
3956 # Passes both tests.
3957 ac_preproc_ok=:
3958 break
3961 rm -f conftest.err conftest.$ac_ext
3963 done
3964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3965 rm -f conftest.err conftest.$ac_ext
3966 if $ac_preproc_ok; then
3968 else
3969 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3970 See \`config.log' for more details." >&5
3971 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3972 See \`config.log' for more details." >&2;}
3973 { (exit 1); exit 1; }; }
3976 ac_ext=c
3977 ac_cpp='$CPP $CPPFLAGS'
3978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3983 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3984 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3985 if test "${ac_cv_path_GREP+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 else
3988 # Extract the first word of "grep ggrep" to use in msg output
3989 if test -z "$GREP"; then
3990 set dummy grep ggrep; ac_prog_name=$2
3991 if test "${ac_cv_path_GREP+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 else
3994 ac_path_GREP_found=false
3995 # Loop through the user's path and test for each of PROGNAME-LIST
3996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3999 IFS=$as_save_IFS
4000 test -z "$as_dir" && as_dir=.
4001 for ac_prog in grep ggrep; do
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4004 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4005 # Check for GNU ac_path_GREP and select it if it is found.
4006 # Check for GNU $ac_path_GREP
4007 case `"$ac_path_GREP" --version 2>&1` in
4008 *GNU*)
4009 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4011 ac_count=0
4012 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4013 while :
4015 cat "conftest.in" "conftest.in" >"conftest.tmp"
4016 mv "conftest.tmp" "conftest.in"
4017 cp "conftest.in" "conftest.nl"
4018 echo 'GREP' >> "conftest.nl"
4019 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4020 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4021 ac_count=`expr $ac_count + 1`
4022 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4023 # Best one so far, save it but keep looking for a better one
4024 ac_cv_path_GREP="$ac_path_GREP"
4025 ac_path_GREP_max=$ac_count
4027 # 10*(2^10) chars as input seems more than enough
4028 test $ac_count -gt 10 && break
4029 done
4030 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4031 esac
4034 $ac_path_GREP_found && break 3
4035 done
4036 done
4038 done
4039 IFS=$as_save_IFS
4044 GREP="$ac_cv_path_GREP"
4045 if test -z "$GREP"; then
4046 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4047 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4048 { (exit 1); exit 1; }; }
4051 else
4052 ac_cv_path_GREP=$GREP
4057 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4058 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4059 GREP="$ac_cv_path_GREP"
4062 { echo "$as_me:$LINENO: checking for egrep" >&5
4063 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4064 if test "${ac_cv_path_EGREP+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 else
4067 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4068 then ac_cv_path_EGREP="$GREP -E"
4069 else
4070 # Extract the first word of "egrep" to use in msg output
4071 if test -z "$EGREP"; then
4072 set dummy egrep; ac_prog_name=$2
4073 if test "${ac_cv_path_EGREP+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 else
4076 ac_path_EGREP_found=false
4077 # Loop through the user's path and test for each of PROGNAME-LIST
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_prog in egrep; do
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4086 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4087 # Check for GNU ac_path_EGREP and select it if it is found.
4088 # Check for GNU $ac_path_EGREP
4089 case `"$ac_path_EGREP" --version 2>&1` in
4090 *GNU*)
4091 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4093 ac_count=0
4094 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4095 while :
4097 cat "conftest.in" "conftest.in" >"conftest.tmp"
4098 mv "conftest.tmp" "conftest.in"
4099 cp "conftest.in" "conftest.nl"
4100 echo 'EGREP' >> "conftest.nl"
4101 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4102 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4103 ac_count=`expr $ac_count + 1`
4104 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4105 # Best one so far, save it but keep looking for a better one
4106 ac_cv_path_EGREP="$ac_path_EGREP"
4107 ac_path_EGREP_max=$ac_count
4109 # 10*(2^10) chars as input seems more than enough
4110 test $ac_count -gt 10 && break
4111 done
4112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4113 esac
4116 $ac_path_EGREP_found && break 3
4117 done
4118 done
4120 done
4121 IFS=$as_save_IFS
4126 EGREP="$ac_cv_path_EGREP"
4127 if test -z "$EGREP"; then
4128 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4129 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4130 { (exit 1); exit 1; }; }
4133 else
4134 ac_cv_path_EGREP=$EGREP
4140 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4141 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4142 EGREP="$ac_cv_path_EGREP"
4145 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4147 if test "${ac_cv_header_stdc+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 else
4150 cat >conftest.$ac_ext <<_ACEOF
4151 /* confdefs.h. */
4152 _ACEOF
4153 cat confdefs.h >>conftest.$ac_ext
4154 cat >>conftest.$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4156 #include <stdlib.h>
4157 #include <stdarg.h>
4158 #include <string.h>
4159 #include <float.h>
4162 main ()
4166 return 0;
4168 _ACEOF
4169 rm -f conftest.$ac_objext
4170 if { (ac_try="$ac_compile"
4171 case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_compile") 2>conftest.er1
4177 ac_status=$?
4178 grep -v '^ *+' conftest.er1 >conftest.err
4179 rm -f conftest.er1
4180 cat conftest.err >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } && {
4183 test -z "$ac_c_werror_flag" ||
4184 test ! -s conftest.err
4185 } && test -s conftest.$ac_objext; then
4186 ac_cv_header_stdc=yes
4187 else
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 ac_cv_header_stdc=no
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 if test $ac_cv_header_stdc = yes; then
4197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4198 cat >conftest.$ac_ext <<_ACEOF
4199 /* confdefs.h. */
4200 _ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4204 #include <string.h>
4206 _ACEOF
4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4208 $EGREP "memchr" >/dev/null 2>&1; then
4210 else
4211 ac_cv_header_stdc=no
4213 rm -f conftest*
4217 if test $ac_cv_header_stdc = yes; then
4218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4219 cat >conftest.$ac_ext <<_ACEOF
4220 /* confdefs.h. */
4221 _ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 #include <stdlib.h>
4227 _ACEOF
4228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4229 $EGREP "free" >/dev/null 2>&1; then
4231 else
4232 ac_cv_header_stdc=no
4234 rm -f conftest*
4238 if test $ac_cv_header_stdc = yes; then
4239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4240 if test "$cross_compiling" = yes; then
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 #include <ctype.h>
4250 #include <stdlib.h>
4251 #if ((' ' & 0x0FF) == 0x020)
4252 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4253 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4254 #else
4255 # define ISLOWER(c) \
4256 (('a' <= (c) && (c) <= 'i') \
4257 || ('j' <= (c) && (c) <= 'r') \
4258 || ('s' <= (c) && (c) <= 'z'))
4259 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4260 #endif
4262 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4264 main ()
4266 int i;
4267 for (i = 0; i < 256; i++)
4268 if (XOR (islower (i), ISLOWER (i))
4269 || toupper (i) != TOUPPER (i))
4270 return 2;
4271 return 0;
4273 _ACEOF
4274 rm -f conftest$ac_exeext
4275 if { (ac_try="$ac_link"
4276 case "(($ac_try" in
4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278 *) ac_try_echo=$ac_try;;
4279 esac
4280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4281 (eval "$ac_link") 2>&5
4282 ac_status=$?
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4285 { (case "(($ac_try" in
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4288 esac
4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290 (eval "$ac_try") 2>&5
4291 ac_status=$?
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); }; }; then
4295 else
4296 echo "$as_me: program exited with status $ac_status" >&5
4297 echo "$as_me: failed program was:" >&5
4298 sed 's/^/| /' conftest.$ac_ext >&5
4300 ( exit $ac_status )
4301 ac_cv_header_stdc=no
4303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4309 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4310 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4311 if test $ac_cv_header_stdc = yes; then
4313 cat >>confdefs.h <<\_ACEOF
4314 #define STDC_HEADERS 1
4315 _ACEOF
4319 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4329 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4330 inttypes.h stdint.h unistd.h
4332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338 cat >conftest.$ac_ext <<_ACEOF
4339 /* confdefs.h. */
4340 _ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4344 $ac_includes_default
4346 #include <$ac_header>
4347 _ACEOF
4348 rm -f conftest.$ac_objext
4349 if { (ac_try="$ac_compile"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_compile") 2>conftest.er1
4356 ac_status=$?
4357 grep -v '^ *+' conftest.er1 >conftest.err
4358 rm -f conftest.er1
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest.$ac_objext; then
4365 eval "$as_ac_Header=yes"
4366 else
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 eval "$as_ac_Header=no"
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 ac_res=`eval echo '${'$as_ac_Header'}'`
4376 { echo "$as_me:$LINENO: result: $ac_res" >&5
4377 echo "${ECHO_T}$ac_res" >&6; }
4378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4379 cat >>confdefs.h <<_ACEOF
4380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4381 _ACEOF
4385 done
4388 # Make sure we can run config.sub.
4389 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4390 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4391 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4392 { (exit 1); exit 1; }; }
4394 { echo "$as_me:$LINENO: checking build system type" >&5
4395 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4396 if test "${ac_cv_build+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 else
4399 ac_build_alias=$build_alias
4400 test "x$ac_build_alias" = x &&
4401 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4402 test "x$ac_build_alias" = x &&
4403 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4404 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4405 { (exit 1); exit 1; }; }
4406 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4407 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4408 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4409 { (exit 1); exit 1; }; }
4412 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4413 echo "${ECHO_T}$ac_cv_build" >&6; }
4414 case $ac_cv_build in
4415 *-*-*) ;;
4416 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4417 echo "$as_me: error: invalid value of canonical build" >&2;}
4418 { (exit 1); exit 1; }; };;
4419 esac
4420 build=$ac_cv_build
4421 ac_save_IFS=$IFS; IFS='-'
4422 set x $ac_cv_build
4423 shift
4424 build_cpu=$1
4425 build_vendor=$2
4426 shift; shift
4427 # Remember, the first character of IFS is used to create $*,
4428 # except with old shells:
4429 build_os=$*
4430 IFS=$ac_save_IFS
4431 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4434 { echo "$as_me:$LINENO: checking host system type" >&5
4435 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4436 if test "${ac_cv_host+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 else
4439 if test "x$host_alias" = x; then
4440 ac_cv_host=$ac_cv_build
4441 else
4442 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4443 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4444 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4445 { (exit 1); exit 1; }; }
4449 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4450 echo "${ECHO_T}$ac_cv_host" >&6; }
4451 case $ac_cv_host in
4452 *-*-*) ;;
4453 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4454 echo "$as_me: error: invalid value of canonical host" >&2;}
4455 { (exit 1); exit 1; }; };;
4456 esac
4457 host=$ac_cv_host
4458 ac_save_IFS=$IFS; IFS='-'
4459 set x $ac_cv_host
4460 shift
4461 host_cpu=$1
4462 host_vendor=$2
4463 shift; shift
4464 # Remember, the first character of IFS is used to create $*,
4465 # except with old shells:
4466 host_os=$*
4467 IFS=$ac_save_IFS
4468 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4473 for ac_header in locale.h
4475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 ac_res=`eval echo '${'$as_ac_Header'}'`
4483 { echo "$as_me:$LINENO: result: $ac_res" >&5
4484 echo "${ECHO_T}$ac_res" >&6; }
4485 else
4486 # Is the header compilable?
4487 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 $ac_includes_default
4496 #include <$ac_header>
4497 _ACEOF
4498 rm -f conftest.$ac_objext
4499 if { (ac_try="$ac_compile"
4500 case "(($ac_try" in
4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4503 esac
4504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4505 (eval "$ac_compile") 2>conftest.er1
4506 ac_status=$?
4507 grep -v '^ *+' conftest.er1 >conftest.err
4508 rm -f conftest.er1
4509 cat conftest.err >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } && {
4512 test -z "$ac_c_werror_flag" ||
4513 test ! -s conftest.err
4514 } && test -s conftest.$ac_objext; then
4515 ac_header_compiler=yes
4516 else
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.$ac_ext >&5
4520 ac_header_compiler=no
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4525 echo "${ECHO_T}$ac_header_compiler" >&6; }
4527 # Is the header present?
4528 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4530 cat >conftest.$ac_ext <<_ACEOF
4531 /* confdefs.h. */
4532 _ACEOF
4533 cat confdefs.h >>conftest.$ac_ext
4534 cat >>conftest.$ac_ext <<_ACEOF
4535 /* end confdefs.h. */
4536 #include <$ac_header>
4537 _ACEOF
4538 if { (ac_try="$ac_cpp conftest.$ac_ext"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4545 ac_status=$?
4546 grep -v '^ *+' conftest.er1 >conftest.err
4547 rm -f conftest.er1
4548 cat conftest.err >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); } >/dev/null && {
4551 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4552 test ! -s conftest.err
4553 }; then
4554 ac_header_preproc=yes
4555 else
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_header_preproc=no
4562 rm -f conftest.err conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4564 echo "${ECHO_T}$ac_header_preproc" >&6; }
4566 # So? What about this header?
4567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4568 yes:no: )
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4573 ac_header_preproc=yes
4575 no:yes:* )
4576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4588 ( cat <<\_ASBOX
4589 ## ---------------------------------------------------------------------------- ##
4590 ## Report this to http://bugzilla.gnome.org/simple-bug-guide.cgi?product=straw ##
4591 ## ---------------------------------------------------------------------------- ##
4592 _ASBOX
4593 ) | sed "s/^/$as_me: WARNING: /" >&2
4595 esac
4596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 else
4601 eval "$as_ac_Header=\$ac_header_preproc"
4603 ac_res=`eval echo '${'$as_ac_Header'}'`
4604 { echo "$as_me:$LINENO: result: $ac_res" >&5
4605 echo "${ECHO_T}$ac_res" >&6; }
4608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4609 cat >>confdefs.h <<_ACEOF
4610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4611 _ACEOF
4615 done
4617 if test $ac_cv_header_locale_h = yes; then
4618 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4619 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
4620 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623 cat >conftest.$ac_ext <<_ACEOF
4624 /* confdefs.h. */
4625 _ACEOF
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4629 #include <locale.h>
4631 main ()
4633 return LC_MESSAGES
4635 return 0;
4637 _ACEOF
4638 rm -f conftest.$ac_objext conftest$ac_exeext
4639 if { (ac_try="$ac_link"
4640 case "(($ac_try" in
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4643 esac
4644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4645 (eval "$ac_link") 2>conftest.er1
4646 ac_status=$?
4647 grep -v '^ *+' conftest.er1 >conftest.err
4648 rm -f conftest.er1
4649 cat conftest.err >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); } && {
4652 test -z "$ac_c_werror_flag" ||
4653 test ! -s conftest.err
4654 } && test -s conftest$ac_exeext &&
4655 $as_test_x conftest$ac_exeext; then
4656 am_cv_val_LC_MESSAGES=yes
4657 else
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.$ac_ext >&5
4661 am_cv_val_LC_MESSAGES=no
4664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4665 conftest$ac_exeext conftest.$ac_ext
4667 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4668 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
4669 if test $am_cv_val_LC_MESSAGES = yes; then
4671 cat >>confdefs.h <<\_ACEOF
4672 #define HAVE_LC_MESSAGES 1
4673 _ACEOF
4677 USE_NLS=yes
4680 gt_cv_have_gettext=no
4682 CATOBJEXT=NONE
4683 XGETTEXT=:
4684 INTLLIBS=
4686 if test "${ac_cv_header_libintl_h+set}" = set; then
4687 { echo "$as_me:$LINENO: checking for libintl.h" >&5
4688 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4689 if test "${ac_cv_header_libintl_h+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4693 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4694 else
4695 # Is the header compilable?
4696 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
4697 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
4698 cat >conftest.$ac_ext <<_ACEOF
4699 /* confdefs.h. */
4700 _ACEOF
4701 cat confdefs.h >>conftest.$ac_ext
4702 cat >>conftest.$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4704 $ac_includes_default
4705 #include <libintl.h>
4706 _ACEOF
4707 rm -f conftest.$ac_objext
4708 if { (ac_try="$ac_compile"
4709 case "(($ac_try" in
4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711 *) ac_try_echo=$ac_try;;
4712 esac
4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4714 (eval "$ac_compile") 2>conftest.er1
4715 ac_status=$?
4716 grep -v '^ *+' conftest.er1 >conftest.err
4717 rm -f conftest.er1
4718 cat conftest.err >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } && {
4721 test -z "$ac_c_werror_flag" ||
4722 test ! -s conftest.err
4723 } && test -s conftest.$ac_objext; then
4724 ac_header_compiler=yes
4725 else
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.$ac_ext >&5
4729 ac_header_compiler=no
4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4734 echo "${ECHO_T}$ac_header_compiler" >&6; }
4736 # Is the header present?
4737 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
4738 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
4739 cat >conftest.$ac_ext <<_ACEOF
4740 /* confdefs.h. */
4741 _ACEOF
4742 cat confdefs.h >>conftest.$ac_ext
4743 cat >>conftest.$ac_ext <<_ACEOF
4744 /* end confdefs.h. */
4745 #include <libintl.h>
4746 _ACEOF
4747 if { (ac_try="$ac_cpp conftest.$ac_ext"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } >/dev/null && {
4760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 }; then
4763 ac_header_preproc=yes
4764 else
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4768 ac_header_preproc=no
4771 rm -f conftest.err conftest.$ac_ext
4772 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4773 echo "${ECHO_T}$ac_header_preproc" >&6; }
4775 # So? What about this header?
4776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4777 yes:no: )
4778 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4779 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4780 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4781 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4782 ac_header_preproc=yes
4784 no:yes:* )
4785 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4786 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4787 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4788 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4789 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4790 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4791 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4792 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4793 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4794 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4795 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4796 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4797 ( cat <<\_ASBOX
4798 ## ---------------------------------------------------------------------------- ##
4799 ## Report this to http://bugzilla.gnome.org/simple-bug-guide.cgi?product=straw ##
4800 ## ---------------------------------------------------------------------------- ##
4801 _ASBOX
4802 ) | sed "s/^/$as_me: WARNING: /" >&2
4804 esac
4805 { echo "$as_me:$LINENO: checking for libintl.h" >&5
4806 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4807 if test "${ac_cv_header_libintl_h+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 else
4810 ac_cv_header_libintl_h=$ac_header_preproc
4812 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4813 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4816 if test $ac_cv_header_libintl_h = yes; then
4817 gt_cv_func_dgettext_libintl="no"
4818 libintl_extra_libs=""
4821 # First check in libc
4823 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4824 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
4825 if test "${gt_cv_func_ngettext_libc+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 else
4828 cat >conftest.$ac_ext <<_ACEOF
4829 /* confdefs.h. */
4830 _ACEOF
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4835 #include <libintl.h>
4838 main ()
4840 return !ngettext ("","", 1)
4842 return 0;
4844 _ACEOF
4845 rm -f conftest.$ac_objext conftest$ac_exeext
4846 if { (ac_try="$ac_link"
4847 case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4850 esac
4851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4852 (eval "$ac_link") 2>conftest.er1
4853 ac_status=$?
4854 grep -v '^ *+' conftest.er1 >conftest.err
4855 rm -f conftest.er1
4856 cat conftest.err >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); } && {
4859 test -z "$ac_c_werror_flag" ||
4860 test ! -s conftest.err
4861 } && test -s conftest$ac_exeext &&
4862 $as_test_x conftest$ac_exeext; then
4863 gt_cv_func_ngettext_libc=yes
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 gt_cv_func_ngettext_libc=no
4871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4872 conftest$ac_exeext conftest.$ac_ext
4875 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
4876 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
4878 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4879 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4880 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
4881 if test "${gt_cv_func_dgettext_libc+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884 cat >conftest.$ac_ext <<_ACEOF
4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4891 #include <libintl.h>
4894 main ()
4896 return !dgettext ("","")
4898 return 0;
4900 _ACEOF
4901 rm -f conftest.$ac_objext conftest$ac_exeext
4902 if { (ac_try="$ac_link"
4903 case "(($ac_try" in
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4906 esac
4907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4908 (eval "$ac_link") 2>conftest.er1
4909 ac_status=$?
4910 grep -v '^ *+' conftest.er1 >conftest.err
4911 rm -f conftest.er1
4912 cat conftest.err >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } && {
4915 test -z "$ac_c_werror_flag" ||
4916 test ! -s conftest.err
4917 } && test -s conftest$ac_exeext &&
4918 $as_test_x conftest$ac_exeext; then
4919 gt_cv_func_dgettext_libc=yes
4920 else
4921 echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.$ac_ext >&5
4924 gt_cv_func_dgettext_libc=no
4927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4928 conftest$ac_exeext conftest.$ac_ext
4931 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4932 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
4935 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4937 for ac_func in bind_textdomain_codeset
4939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 else
4945 cat >conftest.$ac_ext <<_ACEOF
4946 /* confdefs.h. */
4947 _ACEOF
4948 cat confdefs.h >>conftest.$ac_ext
4949 cat >>conftest.$ac_ext <<_ACEOF
4950 /* end confdefs.h. */
4951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4953 #define $ac_func innocuous_$ac_func
4955 /* System header to define __stub macros and hopefully few prototypes,
4956 which can conflict with char $ac_func (); below.
4957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4958 <limits.h> exists even on freestanding compilers. */
4960 #ifdef __STDC__
4961 # include <limits.h>
4962 #else
4963 # include <assert.h>
4964 #endif
4966 #undef $ac_func
4968 /* Override any GCC internal prototype to avoid an error.
4969 Use char because int might match the return type of a GCC
4970 builtin and then its argument prototype would still apply. */
4971 #ifdef __cplusplus
4972 extern "C"
4973 #endif
4974 char $ac_func ();
4975 /* The GNU C library defines this for functions which it implements
4976 to always fail with ENOSYS. Some functions are actually named
4977 something starting with __ and the normal name is an alias. */
4978 #if defined __stub_$ac_func || defined __stub___$ac_func
4979 choke me
4980 #endif
4983 main ()
4985 return $ac_func ();
4987 return 0;
4989 _ACEOF
4990 rm -f conftest.$ac_objext conftest$ac_exeext
4991 if { (ac_try="$ac_link"
4992 case "(($ac_try" in
4993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4994 *) ac_try_echo=$ac_try;;
4995 esac
4996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4997 (eval "$ac_link") 2>conftest.er1
4998 ac_status=$?
4999 grep -v '^ *+' conftest.er1 >conftest.err
5000 rm -f conftest.er1
5001 cat conftest.err >&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } && {
5004 test -z "$ac_c_werror_flag" ||
5005 test ! -s conftest.err
5006 } && test -s conftest$ac_exeext &&
5007 $as_test_x conftest$ac_exeext; then
5008 eval "$as_ac_var=yes"
5009 else
5010 echo "$as_me: failed program was:" >&5
5011 sed 's/^/| /' conftest.$ac_ext >&5
5013 eval "$as_ac_var=no"
5016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5017 conftest$ac_exeext conftest.$ac_ext
5019 ac_res=`eval echo '${'$as_ac_var'}'`
5020 { echo "$as_me:$LINENO: result: $ac_res" >&5
5021 echo "${ECHO_T}$ac_res" >&6; }
5022 if test `eval echo '${'$as_ac_var'}'` = yes; then
5023 cat >>confdefs.h <<_ACEOF
5024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5025 _ACEOF
5028 done
5033 # If we don't have everything we want, check in libintl
5035 if test "$gt_cv_func_dgettext_libc" != "yes" \
5036 || test "$gt_cv_func_ngettext_libc" != "yes" \
5037 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5039 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5040 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
5041 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5042 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 else
5044 ac_check_lib_save_LIBS=$LIBS
5045 LIBS="-lintl $LIBS"
5046 cat >conftest.$ac_ext <<_ACEOF
5047 /* confdefs.h. */
5048 _ACEOF
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5053 /* Override any GCC internal prototype to avoid an error.
5054 Use char because int might match the return type of a GCC
5055 builtin and then its argument prototype would still apply. */
5056 #ifdef __cplusplus
5057 extern "C"
5058 #endif
5059 char bindtextdomain ();
5061 main ()
5063 return bindtextdomain ();
5065 return 0;
5067 _ACEOF
5068 rm -f conftest.$ac_objext conftest$ac_exeext
5069 if { (ac_try="$ac_link"
5070 case "(($ac_try" in
5071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5073 esac
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_link") 2>conftest.er1
5076 ac_status=$?
5077 grep -v '^ *+' conftest.er1 >conftest.err
5078 rm -f conftest.er1
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } && {
5082 test -z "$ac_c_werror_flag" ||
5083 test ! -s conftest.err
5084 } && test -s conftest$ac_exeext &&
5085 $as_test_x conftest$ac_exeext; then
5086 ac_cv_lib_intl_bindtextdomain=yes
5087 else
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.$ac_ext >&5
5091 ac_cv_lib_intl_bindtextdomain=no
5094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5095 conftest$ac_exeext conftest.$ac_ext
5096 LIBS=$ac_check_lib_save_LIBS
5098 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5099 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
5100 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5101 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5102 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5103 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 else
5106 ac_check_lib_save_LIBS=$LIBS
5107 LIBS="-lintl $LIBS"
5108 cat >conftest.$ac_ext <<_ACEOF
5109 /* confdefs.h. */
5110 _ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5115 /* Override any GCC internal prototype to avoid an error.
5116 Use char because int might match the return type of a GCC
5117 builtin and then its argument prototype would still apply. */
5118 #ifdef __cplusplus
5119 extern "C"
5120 #endif
5121 char ngettext ();
5123 main ()
5125 return ngettext ();
5127 return 0;
5129 _ACEOF
5130 rm -f conftest.$ac_objext conftest$ac_exeext
5131 if { (ac_try="$ac_link"
5132 case "(($ac_try" in
5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134 *) ac_try_echo=$ac_try;;
5135 esac
5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5137 (eval "$ac_link") 2>conftest.er1
5138 ac_status=$?
5139 grep -v '^ *+' conftest.er1 >conftest.err
5140 rm -f conftest.er1
5141 cat conftest.err >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } && {
5144 test -z "$ac_c_werror_flag" ||
5145 test ! -s conftest.err
5146 } && test -s conftest$ac_exeext &&
5147 $as_test_x conftest$ac_exeext; then
5148 ac_cv_lib_intl_ngettext=yes
5149 else
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.$ac_ext >&5
5153 ac_cv_lib_intl_ngettext=no
5156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5157 conftest$ac_exeext conftest.$ac_ext
5158 LIBS=$ac_check_lib_save_LIBS
5160 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5161 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5162 if test $ac_cv_lib_intl_ngettext = yes; then
5163 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5164 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
5165 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 else
5168 ac_check_lib_save_LIBS=$LIBS
5169 LIBS="-lintl $LIBS"
5170 cat >conftest.$ac_ext <<_ACEOF
5171 /* confdefs.h. */
5172 _ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5177 /* Override any GCC internal prototype to avoid an error.
5178 Use char because int might match the return type of a GCC
5179 builtin and then its argument prototype would still apply. */
5180 #ifdef __cplusplus
5181 extern "C"
5182 #endif
5183 char dgettext ();
5185 main ()
5187 return dgettext ();
5189 return 0;
5191 _ACEOF
5192 rm -f conftest.$ac_objext conftest$ac_exeext
5193 if { (ac_try="$ac_link"
5194 case "(($ac_try" in
5195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5196 *) ac_try_echo=$ac_try;;
5197 esac
5198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5199 (eval "$ac_link") 2>conftest.er1
5200 ac_status=$?
5201 grep -v '^ *+' conftest.er1 >conftest.err
5202 rm -f conftest.er1
5203 cat conftest.err >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } && {
5206 test -z "$ac_c_werror_flag" ||
5207 test ! -s conftest.err
5208 } && test -s conftest$ac_exeext &&
5209 $as_test_x conftest$ac_exeext; then
5210 ac_cv_lib_intl_dgettext=yes
5211 else
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.$ac_ext >&5
5215 ac_cv_lib_intl_dgettext=no
5218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5219 conftest$ac_exeext conftest.$ac_ext
5220 LIBS=$ac_check_lib_save_LIBS
5222 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5223 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
5224 if test $ac_cv_lib_intl_dgettext = yes; then
5225 gt_cv_func_dgettext_libintl=yes
5233 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5234 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5235 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
5236 { echo "$as_me:$LINENO: result: " >&5
5237 echo "${ECHO_T}" >&6; }
5238 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5239 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5240 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 else
5243 ac_check_lib_save_LIBS=$LIBS
5244 LIBS="-lintl -liconv $LIBS"
5245 cat >conftest.$ac_ext <<_ACEOF
5246 /* confdefs.h. */
5247 _ACEOF
5248 cat confdefs.h >>conftest.$ac_ext
5249 cat >>conftest.$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5252 /* Override any GCC internal prototype to avoid an error.
5253 Use char because int might match the return type of a GCC
5254 builtin and then its argument prototype would still apply. */
5255 #ifdef __cplusplus
5256 extern "C"
5257 #endif
5258 char ngettext ();
5260 main ()
5262 return ngettext ();
5264 return 0;
5266 _ACEOF
5267 rm -f conftest.$ac_objext conftest$ac_exeext
5268 if { (ac_try="$ac_link"
5269 case "(($ac_try" in
5270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5271 *) ac_try_echo=$ac_try;;
5272 esac
5273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5274 (eval "$ac_link") 2>conftest.er1
5275 ac_status=$?
5276 grep -v '^ *+' conftest.er1 >conftest.err
5277 rm -f conftest.er1
5278 cat conftest.err >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } && {
5281 test -z "$ac_c_werror_flag" ||
5282 test ! -s conftest.err
5283 } && test -s conftest$ac_exeext &&
5284 $as_test_x conftest$ac_exeext; then
5285 ac_cv_lib_intl_ngettext=yes
5286 else
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.$ac_ext >&5
5290 ac_cv_lib_intl_ngettext=no
5293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5294 conftest$ac_exeext conftest.$ac_ext
5295 LIBS=$ac_check_lib_save_LIBS
5297 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5298 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5299 if test $ac_cv_lib_intl_ngettext = yes; then
5300 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5301 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5302 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 else
5305 ac_check_lib_save_LIBS=$LIBS
5306 LIBS="-lintl -liconv $LIBS"
5307 cat >conftest.$ac_ext <<_ACEOF
5308 /* confdefs.h. */
5309 _ACEOF
5310 cat confdefs.h >>conftest.$ac_ext
5311 cat >>conftest.$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5314 /* Override any GCC internal prototype to avoid an error.
5315 Use char because int might match the return type of a GCC
5316 builtin and then its argument prototype would still apply. */
5317 #ifdef __cplusplus
5318 extern "C"
5319 #endif
5320 char dcgettext ();
5322 main ()
5324 return dcgettext ();
5326 return 0;
5328 _ACEOF
5329 rm -f conftest.$ac_objext conftest$ac_exeext
5330 if { (ac_try="$ac_link"
5331 case "(($ac_try" in
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5334 esac
5335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336 (eval "$ac_link") 2>conftest.er1
5337 ac_status=$?
5338 grep -v '^ *+' conftest.er1 >conftest.err
5339 rm -f conftest.er1
5340 cat conftest.err >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } && {
5343 test -z "$ac_c_werror_flag" ||
5344 test ! -s conftest.err
5345 } && test -s conftest$ac_exeext &&
5346 $as_test_x conftest$ac_exeext; then
5347 ac_cv_lib_intl_dcgettext=yes
5348 else
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.$ac_ext >&5
5352 ac_cv_lib_intl_dcgettext=no
5355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5356 conftest$ac_exeext conftest.$ac_ext
5357 LIBS=$ac_check_lib_save_LIBS
5359 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5360 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5361 if test $ac_cv_lib_intl_dcgettext = yes; then
5362 gt_cv_func_dgettext_libintl=yes
5363 libintl_extra_libs=-liconv
5364 else
5368 else
5375 # If we found libintl, then check in it for bind_textdomain_codeset();
5376 # we'll prefer libc if neither have bind_textdomain_codeset(),
5377 # and both have dgettext and ngettext
5379 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5380 glib_save_LIBS="$LIBS"
5381 LIBS="$LIBS -lintl $libintl_extra_libs"
5382 unset ac_cv_func_bind_textdomain_codeset
5384 for ac_func in bind_textdomain_codeset
5386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 else
5392 cat >conftest.$ac_ext <<_ACEOF
5393 /* confdefs.h. */
5394 _ACEOF
5395 cat confdefs.h >>conftest.$ac_ext
5396 cat >>conftest.$ac_ext <<_ACEOF
5397 /* end confdefs.h. */
5398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5400 #define $ac_func innocuous_$ac_func
5402 /* System header to define __stub macros and hopefully few prototypes,
5403 which can conflict with char $ac_func (); below.
5404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5405 <limits.h> exists even on freestanding compilers. */
5407 #ifdef __STDC__
5408 # include <limits.h>
5409 #else
5410 # include <assert.h>
5411 #endif
5413 #undef $ac_func
5415 /* Override any GCC internal prototype to avoid an error.
5416 Use char because int might match the return type of a GCC
5417 builtin and then its argument prototype would still apply. */
5418 #ifdef __cplusplus
5419 extern "C"
5420 #endif
5421 char $ac_func ();
5422 /* The GNU C library defines this for functions which it implements
5423 to always fail with ENOSYS. Some functions are actually named
5424 something starting with __ and the normal name is an alias. */
5425 #if defined __stub_$ac_func || defined __stub___$ac_func
5426 choke me
5427 #endif
5430 main ()
5432 return $ac_func ();
5434 return 0;
5436 _ACEOF
5437 rm -f conftest.$ac_objext conftest$ac_exeext
5438 if { (ac_try="$ac_link"
5439 case "(($ac_try" in
5440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5442 esac
5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_link") 2>conftest.er1
5445 ac_status=$?
5446 grep -v '^ *+' conftest.er1 >conftest.err
5447 rm -f conftest.er1
5448 cat conftest.err >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } && {
5451 test -z "$ac_c_werror_flag" ||
5452 test ! -s conftest.err
5453 } && test -s conftest$ac_exeext &&
5454 $as_test_x conftest$ac_exeext; then
5455 eval "$as_ac_var=yes"
5456 else
5457 echo "$as_me: failed program was:" >&5
5458 sed 's/^/| /' conftest.$ac_ext >&5
5460 eval "$as_ac_var=no"
5463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5464 conftest$ac_exeext conftest.$ac_ext
5466 ac_res=`eval echo '${'$as_ac_var'}'`
5467 { echo "$as_me:$LINENO: result: $ac_res" >&5
5468 echo "${ECHO_T}$ac_res" >&6; }
5469 if test `eval echo '${'$as_ac_var'}'` = yes; then
5470 cat >>confdefs.h <<_ACEOF
5471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5472 _ACEOF
5475 done
5477 LIBS="$glib_save_LIBS"
5479 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5480 gt_cv_func_dgettext_libc=no
5481 else
5482 if test "$gt_cv_func_dgettext_libc" = "yes" \
5483 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5484 gt_cv_func_dgettext_libintl=no
5490 if test "$gt_cv_func_dgettext_libc" = "yes" \
5491 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5492 gt_cv_have_gettext=yes
5495 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5496 INTLLIBS="-lintl $libintl_extra_libs"
5499 if test "$gt_cv_have_gettext" = "yes"; then
5501 cat >>confdefs.h <<\_ACEOF
5502 #define HAVE_GETTEXT 1
5503 _ACEOF
5505 # Extract the first word of "msgfmt", so it can be a program name with args.
5506 set dummy msgfmt; ac_word=$2
5507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5509 if test "${ac_cv_path_MSGFMT+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 else
5512 case "$MSGFMT" in
5514 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5518 for ac_dir in $PATH; do
5519 test -z "$ac_dir" && ac_dir=.
5520 if test -f $ac_dir/$ac_word; then
5521 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5522 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5523 break
5526 done
5527 IFS="$ac_save_ifs"
5528 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5530 esac
5532 MSGFMT="$ac_cv_path_MSGFMT"
5533 if test "$MSGFMT" != "no"; then
5534 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
5535 echo "${ECHO_T}$MSGFMT" >&6; }
5536 else
5537 { echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6; }
5540 if test "$MSGFMT" != "no"; then
5541 glib_save_LIBS="$LIBS"
5542 LIBS="$LIBS $INTLLIBS"
5544 for ac_func in dcgettext
5546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 else
5552 cat >conftest.$ac_ext <<_ACEOF
5553 /* confdefs.h. */
5554 _ACEOF
5555 cat confdefs.h >>conftest.$ac_ext
5556 cat >>conftest.$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5560 #define $ac_func innocuous_$ac_func
5562 /* System header to define __stub macros and hopefully few prototypes,
5563 which can conflict with char $ac_func (); below.
5564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5565 <limits.h> exists even on freestanding compilers. */
5567 #ifdef __STDC__
5568 # include <limits.h>
5569 #else
5570 # include <assert.h>
5571 #endif
5573 #undef $ac_func
5575 /* Override any GCC internal prototype to avoid an error.
5576 Use char because int might match the return type of a GCC
5577 builtin and then its argument prototype would still apply. */
5578 #ifdef __cplusplus
5579 extern "C"
5580 #endif
5581 char $ac_func ();
5582 /* The GNU C library defines this for functions which it implements
5583 to always fail with ENOSYS. Some functions are actually named
5584 something starting with __ and the normal name is an alias. */
5585 #if defined __stub_$ac_func || defined __stub___$ac_func
5586 choke me
5587 #endif
5590 main ()
5592 return $ac_func ();
5594 return 0;
5596 _ACEOF
5597 rm -f conftest.$ac_objext conftest$ac_exeext
5598 if { (ac_try="$ac_link"
5599 case "(($ac_try" in
5600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5601 *) ac_try_echo=$ac_try;;
5602 esac
5603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5604 (eval "$ac_link") 2>conftest.er1
5605 ac_status=$?
5606 grep -v '^ *+' conftest.er1 >conftest.err
5607 rm -f conftest.er1
5608 cat conftest.err >&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } && {
5611 test -z "$ac_c_werror_flag" ||
5612 test ! -s conftest.err
5613 } && test -s conftest$ac_exeext &&
5614 $as_test_x conftest$ac_exeext; then
5615 eval "$as_ac_var=yes"
5616 else
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.$ac_ext >&5
5620 eval "$as_ac_var=no"
5623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5624 conftest$ac_exeext conftest.$ac_ext
5626 ac_res=`eval echo '${'$as_ac_var'}'`
5627 { echo "$as_me:$LINENO: result: $ac_res" >&5
5628 echo "${ECHO_T}$ac_res" >&6; }
5629 if test `eval echo '${'$as_ac_var'}'` = yes; then
5630 cat >>confdefs.h <<_ACEOF
5631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5632 _ACEOF
5635 done
5637 MSGFMT_OPTS=
5638 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
5639 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
5640 cat >conftest.foo <<_ACEOF
5642 msgid ""
5643 msgstr ""
5644 "Content-Type: text/plain; charset=UTF-8\n"
5645 "Project-Id-Version: test 1.0\n"
5646 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
5647 "Last-Translator: test <foo@bar.xx>\n"
5648 "Language-Team: C <LL@li.org>\n"
5649 "MIME-Version: 1.0\n"
5650 "Content-Transfer-Encoding: 8bit\n"
5652 _ACEOF
5653 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
5654 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5655 ac_status=$?
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); }; then
5658 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6; }
5660 else { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5662 echo "$as_me: failed input was:" >&5
5663 sed 's/^/| /' conftest.foo >&5
5666 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5667 set dummy gmsgfmt; ac_word=$2
5668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5670 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 else
5673 case $GMSGFMT in
5674 [\\/]* | ?:[\\/]*)
5675 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 break 2
5689 done
5690 done
5691 IFS=$as_save_IFS
5693 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5695 esac
5697 GMSGFMT=$ac_cv_path_GMSGFMT
5698 if test -n "$GMSGFMT"; then
5699 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5700 echo "${ECHO_T}$GMSGFMT" >&6; }
5701 else
5702 { echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6; }
5707 # Extract the first word of "xgettext", so it can be a program name with args.
5708 set dummy xgettext; ac_word=$2
5709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5711 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 else
5714 case "$XGETTEXT" in
5716 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5720 for ac_dir in $PATH; do
5721 test -z "$ac_dir" && ac_dir=.
5722 if test -f $ac_dir/$ac_word; then
5723 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5724 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5725 break
5728 done
5729 IFS="$ac_save_ifs"
5730 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5732 esac
5734 XGETTEXT="$ac_cv_path_XGETTEXT"
5735 if test "$XGETTEXT" != ":"; then
5736 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5737 echo "${ECHO_T}$XGETTEXT" >&6; }
5738 else
5739 { echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6; }
5743 cat >conftest.$ac_ext <<_ACEOF
5744 /* confdefs.h. */
5745 _ACEOF
5746 cat confdefs.h >>conftest.$ac_ext
5747 cat >>conftest.$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5751 main ()
5753 extern int _nl_msg_cat_cntr;
5754 return _nl_msg_cat_cntr
5756 return 0;
5758 _ACEOF
5759 rm -f conftest.$ac_objext conftest$ac_exeext
5760 if { (ac_try="$ac_link"
5761 case "(($ac_try" in
5762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5763 *) ac_try_echo=$ac_try;;
5764 esac
5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5766 (eval "$ac_link") 2>conftest.er1
5767 ac_status=$?
5768 grep -v '^ *+' conftest.er1 >conftest.err
5769 rm -f conftest.er1
5770 cat conftest.err >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); } && {
5773 test -z "$ac_c_werror_flag" ||
5774 test ! -s conftest.err
5775 } && test -s conftest$ac_exeext &&
5776 $as_test_x conftest$ac_exeext; then
5777 CATOBJEXT=.gmo
5778 DATADIRNAME=share
5779 else
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 case $host in
5784 *-*-solaris*)
5785 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5786 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
5787 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 cat >conftest.$ac_ext <<_ACEOF
5791 /* confdefs.h. */
5792 _ACEOF
5793 cat confdefs.h >>conftest.$ac_ext
5794 cat >>conftest.$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5796 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5798 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5800 /* System header to define __stub macros and hopefully few prototypes,
5801 which can conflict with char bind_textdomain_codeset (); below.
5802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5803 <limits.h> exists even on freestanding compilers. */
5805 #ifdef __STDC__
5806 # include <limits.h>
5807 #else
5808 # include <assert.h>
5809 #endif
5811 #undef bind_textdomain_codeset
5813 /* Override any GCC internal prototype to avoid an error.
5814 Use char because int might match the return type of a GCC
5815 builtin and then its argument prototype would still apply. */
5816 #ifdef __cplusplus
5817 extern "C"
5818 #endif
5819 char bind_textdomain_codeset ();
5820 /* The GNU C library defines this for functions which it implements
5821 to always fail with ENOSYS. Some functions are actually named
5822 something starting with __ and the normal name is an alias. */
5823 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5824 choke me
5825 #endif
5828 main ()
5830 return bind_textdomain_codeset ();
5832 return 0;
5834 _ACEOF
5835 rm -f conftest.$ac_objext conftest$ac_exeext
5836 if { (ac_try="$ac_link"
5837 case "(($ac_try" in
5838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5839 *) ac_try_echo=$ac_try;;
5840 esac
5841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5842 (eval "$ac_link") 2>conftest.er1
5843 ac_status=$?
5844 grep -v '^ *+' conftest.er1 >conftest.err
5845 rm -f conftest.er1
5846 cat conftest.err >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } && {
5849 test -z "$ac_c_werror_flag" ||
5850 test ! -s conftest.err
5851 } && test -s conftest$ac_exeext &&
5852 $as_test_x conftest$ac_exeext; then
5853 ac_cv_func_bind_textdomain_codeset=yes
5854 else
5855 echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5
5858 ac_cv_func_bind_textdomain_codeset=no
5861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5862 conftest$ac_exeext conftest.$ac_ext
5864 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5865 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
5866 if test $ac_cv_func_bind_textdomain_codeset = yes; then
5867 CATOBJEXT=.gmo
5868 DATADIRNAME=share
5869 else
5870 CATOBJEXT=.mo
5871 DATADIRNAME=lib
5876 CATOBJEXT=.mo
5877 DATADIRNAME=lib
5879 esac
5882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5883 conftest$ac_exeext conftest.$ac_ext
5884 LIBS="$glib_save_LIBS"
5885 INSTOBJEXT=.mo
5886 else
5887 gt_cv_have_gettext=no
5895 if test "$gt_cv_have_gettext" = "yes" ; then
5897 cat >>confdefs.h <<\_ACEOF
5898 #define ENABLE_NLS 1
5899 _ACEOF
5903 if test "$XGETTEXT" != ":"; then
5904 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5906 else
5907 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5908 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
5909 XGETTEXT=":"
5913 # We need to process the po/ directory.
5914 POSUB=po
5916 ac_config_commands="$ac_config_commands default-1"
5919 for lang in $ALL_LINGUAS; do
5920 GMOFILES="$GMOFILES $lang.gmo"
5921 POFILES="$POFILES $lang.po"
5922 done
5936 if test "$gt_cv_have_gettext" = "yes"; then
5937 if test "x$ALL_LINGUAS" = "x"; then
5938 LINGUAS=
5939 else
5940 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5941 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
5942 NEW_LINGUAS=
5943 for presentlang in $ALL_LINGUAS; do
5944 useit=no
5945 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5946 desiredlanguages="$LINGUAS"
5947 else
5948 desiredlanguages="$ALL_LINGUAS"
5950 for desiredlang in $desiredlanguages; do
5951 # Use the presentlang catalog if desiredlang is
5952 # a. equal to presentlang, or
5953 # b. a variant of presentlang (because in this case,
5954 # presentlang can be used as a fallback for messages
5955 # which are not translated in the desiredlang catalog).
5956 case "$desiredlang" in
5957 "$presentlang"*) useit=yes;;
5958 esac
5959 done
5960 if test $useit = yes; then
5961 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5963 done
5964 LINGUAS=$NEW_LINGUAS
5965 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
5966 echo "${ECHO_T}$LINGUAS" >&6; }
5969 if test -n "$LINGUAS"; then
5970 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5974 MKINSTALLDIRS=
5975 if test -n "$ac_aux_dir"; then
5976 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5978 if test -z "$MKINSTALLDIRS"; then
5979 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5983 test -d po || mkdir po
5984 if test "x$srcdir" != "x."; then
5985 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5986 posrcprefix="$srcdir/"
5987 else
5988 posrcprefix="../$srcdir/"
5990 else
5991 posrcprefix="../"
5993 rm -f po/POTFILES
5994 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5995 < $srcdir/po/POTFILES.in > po/POTFILES
6000 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6001 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6003 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6006 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 else
6009 case $PKG_CONFIG in
6010 [\\/]* | ?:[\\/]*)
6011 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6021 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6030 esac
6032 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6033 if test -n "$PKG_CONFIG"; then
6034 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6035 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6036 else
6037 { echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6; }
6043 if test -z "$ac_cv_path_PKG_CONFIG"; then
6044 ac_pt_PKG_CONFIG=$PKG_CONFIG
6045 # Extract the first word of "pkg-config", so it can be a program name with args.
6046 set dummy pkg-config; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 case $ac_pt_PKG_CONFIG in
6053 [\\/]* | ?:[\\/]*)
6054 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6073 esac
6075 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6076 if test -n "$ac_pt_PKG_CONFIG"; then
6077 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6078 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6079 else
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6084 if test "x$ac_pt_PKG_CONFIG" = x; then
6085 PKG_CONFIG=""
6086 else
6087 case $cross_compiling:$ac_tool_warned in
6088 yes:)
6089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6090 whose name does not start with the host triplet. If you think this
6091 configuration is useful to you, please write to autoconf@gnu.org." >&5
6092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6093 whose name does not start with the host triplet. If you think this
6094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6095 ac_tool_warned=yes ;;
6096 esac
6097 PKG_CONFIG=$ac_pt_PKG_CONFIG
6099 else
6100 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6104 if test -n "$PKG_CONFIG"; then
6105 _pkg_min_version=0.9.0
6106 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6107 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
6108 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6109 { echo "$as_me:$LINENO: result: yes" >&5
6110 echo "${ECHO_T}yes" >&6; }
6111 else
6112 { echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6; }
6114 PKG_CONFIG=""
6119 gdu_cv_version_required=0.3.2
6121 if test -n "$PKG_CONFIG" && \
6122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
6123 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
6124 ac_status=$?
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; then
6127 gdu_cv_have_gdu=yes
6128 else
6129 gdu_cv_have_gdu=no
6132 if test "$gdu_cv_have_gdu" = "yes"; then
6134 else
6135 { { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
6136 echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
6137 { (exit 1); exit 1; }; }
6142 # Check whether --with-help-dir was given.
6143 if test "${with_help_dir+set}" = set; then
6144 withval=$with_help_dir;
6145 else
6146 with_help_dir='${datadir}/gnome/help'
6149 HELP_DIR="$with_help_dir"
6153 # Check whether --with-omf-dir was given.
6154 if test "${with_omf_dir+set}" = set; then
6155 withval=$with_omf_dir;
6156 else
6157 with_omf_dir='${datadir}/omf'
6160 OMF_DIR="$with_omf_dir"
6164 # Check whether --with-help-formats was given.
6165 if test "${with_help_formats+set}" = set; then
6166 withval=$with_help_formats;
6167 else
6168 with_help_formats=''
6171 DOC_USER_FORMATS="$with_help_formats"
6174 # Check whether --enable-scrollkeeper was given.
6175 if test "${enable_scrollkeeper+set}" = set; then
6176 enableval=$enable_scrollkeeper;
6177 else
6178 enable_scrollkeeper=yes
6181 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
6182 ENABLE_SK_TRUE=
6183 ENABLE_SK_FALSE='#'
6184 else
6185 ENABLE_SK_TRUE='#'
6186 ENABLE_SK_FALSE=
6190 if test "$gdu_cv_have_gdu" = "yes"; then
6191 HAVE_GNOME_DOC_UTILS_TRUE=
6192 HAVE_GNOME_DOC_UTILS_FALSE='#'
6193 else
6194 HAVE_GNOME_DOC_UTILS_TRUE='#'
6195 HAVE_GNOME_DOC_UTILS_FALSE=
6201 # Extract the first word of "gconftool-2", so it can be a program name with args.
6202 set dummy gconftool-2; ac_word=$2
6203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6205 if test "${ac_cv_path_GCONFTOOL+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 else
6208 case $GCONFTOOL in
6209 [\\/]* | ?:[\\/]*)
6210 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH
6216 IFS=$as_save_IFS
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6220 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
6221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 break 2
6224 done
6225 done
6226 IFS=$as_save_IFS
6229 esac
6231 GCONFTOOL=$ac_cv_path_GCONFTOOL
6232 if test -n "$GCONFTOOL"; then
6233 { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
6234 echo "${ECHO_T}$GCONFTOOL" >&6; }
6235 else
6236 { echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6; }
6242 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
6243 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
6244 else
6245 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
6249 # Check whether --with-gconf-source was given.
6250 if test "${with_gconf_source+set}" = set; then
6251 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
6256 { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
6257 echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
6259 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
6260 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
6264 # Check whether --with-gconf-schema-file-dir was given.
6265 if test "${with_gconf_schema_file_dir+set}" = set; then
6266 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
6271 { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
6272 echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
6274 # Check whether --enable-schemas-install was given.
6275 if test "${enable_schemas_install+set}" = set; then
6276 enableval=$enable_schemas_install; case ${enableval} in
6277 yes|no) ;;
6278 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
6279 echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
6280 { (exit 1); exit 1; }; } ;;
6281 esac
6284 if test "$enable_schemas_install" != no; then
6285 GCONF_SCHEMAS_INSTALL_TRUE=
6286 GCONF_SCHEMAS_INSTALL_FALSE='#'
6287 else
6288 GCONF_SCHEMAS_INSTALL_TRUE='#'
6289 GCONF_SCHEMAS_INSTALL_FALSE=
6298 if test -n "$PYTHON"; then
6299 # If the user set $PYTHON, use it and don't search something else.
6300 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
6301 echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; }
6302 prog="import sys, string
6303 # split strings by '.' and convert to numeric. Append some zeros
6304 # because we need at least 4 digits for the hex conversion.
6305 minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
6306 minverhex = 0
6307 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
6308 sys.exit(sys.hexversion < minverhex)"
6309 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
6310 ($PYTHON -c "$prog") >&5 2>&5
6311 ac_status=$?
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; then
6314 { echo "$as_me:$LINENO: result: yes" >&5
6315 echo "${ECHO_T}yes" >&6; }
6316 else
6317 { { echo "$as_me:$LINENO: error: too old" >&5
6318 echo "$as_me: error: too old" >&2;}
6319 { (exit 1); exit 1; }; }
6322 am_display_PYTHON=$PYTHON
6323 else
6324 # Otherwise, try each interpreter until we find one that satisfies
6325 # VERSION.
6326 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&5
6327 echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C" >&6; }
6328 if test "${am_cv_pathless_PYTHON+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 else
6332 for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
6333 test "$am_cv_pathless_PYTHON" = none && break
6334 prog="import sys, string
6335 # split strings by '.' and convert to numeric. Append some zeros
6336 # because we need at least 4 digits for the hex conversion.
6337 minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
6338 minverhex = 0
6339 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
6340 sys.exit(sys.hexversion < minverhex)"
6341 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
6342 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; then
6346 break
6349 done
6351 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
6352 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
6353 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
6354 if test "$am_cv_pathless_PYTHON" = none; then
6355 PYTHON=:
6356 else
6357 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
6358 set dummy $am_cv_pathless_PYTHON; ac_word=$2
6359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6361 if test "${ac_cv_path_PYTHON+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 else
6364 case $PYTHON in
6365 [\\/]* | ?:[\\/]*)
6366 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH
6372 IFS=$as_save_IFS
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
6377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 break 2
6380 done
6381 done
6382 IFS=$as_save_IFS
6385 esac
6387 PYTHON=$ac_cv_path_PYTHON
6388 if test -n "$PYTHON"; then
6389 { echo "$as_me:$LINENO: result: $PYTHON" >&5
6390 echo "${ECHO_T}$PYTHON" >&6; }
6391 else
6392 { echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6; }
6398 am_display_PYTHON=$am_cv_pathless_PYTHON
6402 if test "$PYTHON" = :; then
6403 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
6404 echo "$as_me: error: no suitable Python interpreter found" >&2;}
6405 { (exit 1); exit 1; }; }
6406 else
6409 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6410 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
6411 if test "${am_cv_python_version+set}" = set; then
6412 echo $ECHO_N "(cached) $ECHO_C" >&6
6413 else
6414 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6416 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6417 echo "${ECHO_T}$am_cv_python_version" >&6; }
6418 PYTHON_VERSION=$am_cv_python_version
6422 PYTHON_PREFIX='${prefix}'
6424 PYTHON_EXEC_PREFIX='${exec_prefix}'
6428 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6429 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
6430 if test "${am_cv_python_platform+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6432 else
6433 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6435 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6436 echo "${ECHO_T}$am_cv_python_platform" >&6; }
6437 PYTHON_PLATFORM=$am_cv_python_platform
6442 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6443 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
6444 if test "${am_cv_python_pythondir+set}" = set; then
6445 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 else
6447 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6448 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6450 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6451 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
6452 pythondir=$am_cv_python_pythondir
6456 pkgpythondir=\${pythondir}/$PACKAGE
6459 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6460 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
6461 if test "${am_cv_python_pyexecdir+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 else
6464 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6465 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6467 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
6468 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
6469 pyexecdir=$am_cv_python_pyexecdir
6473 pkgpyexecdir=\${pyexecdir}/$PACKAGE
6481 { echo "$as_me:$LINENO: checking for headers required to compile python extensions" >&5
6482 echo $ECHO_N "checking for headers required to compile python extensions... $ECHO_C" >&6; }
6483 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
6484 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
6485 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
6486 if test "$py_prefix" != "$py_exec_prefix"; then
6487 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
6490 save_CPPFLAGS="$CPPFLAGS"
6491 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
6492 cat >conftest.$ac_ext <<_ACEOF
6493 /* confdefs.h. */
6494 _ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6498 #include <Python.h>
6499 _ACEOF
6500 if { (ac_try="$ac_cpp conftest.$ac_ext"
6501 case "(($ac_try" in
6502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6503 *) ac_try_echo=$ac_try;;
6504 esac
6505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6507 ac_status=$?
6508 grep -v '^ *+' conftest.er1 >conftest.err
6509 rm -f conftest.er1
6510 cat conftest.err >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } >/dev/null && {
6513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6514 test ! -s conftest.err
6515 }; then
6516 { echo "$as_me:$LINENO: result: found" >&5
6517 echo "${ECHO_T}found" >&6; }
6519 else
6520 echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.$ac_ext >&5
6523 { echo "$as_me:$LINENO: result: not found" >&5
6524 echo "${ECHO_T}not found" >&6; }
6525 { { echo "$as_me:$LINENO: error: could not find Python headers" >&5
6526 echo "$as_me: error: could not find Python headers" >&2;}
6527 { (exit 1); exit 1; }; }
6530 rm -f conftest.err conftest.$ac_ext
6531 CPPFLAGS="$save_CPPFLAGS"
6538 EXP_VAR=BINDIR
6539 FROM_VAR=$bindir
6541 prefix_save=$prefix
6542 exec_prefix_save=$exec_prefix
6544 if test "x$prefix" = "xNONE"; then
6545 prefix=$ac_default_prefix
6547 if test "x$exec_prefix" = "xNONE"; then
6548 exec_prefix=$prefix
6551 full_var="$FROM_VAR"
6552 while true; do
6553 new_full_var="`eval echo $full_var`"
6554 if test "x$new_full_var"="x$full_var"; then break; fi
6555 full_var=$new_full_var
6556 done
6558 full_var=$new_full_var
6559 BINDIR="$full_var"
6562 prefix=$prefix_save
6563 exec_prefix=$exec_prefix_save
6568 EXP_VAR=DATADIR
6569 FROM_VAR=$datarootdir
6571 prefix_save=$prefix
6572 exec_prefix_save=$exec_prefix
6574 if test "x$prefix" = "xNONE"; then
6575 prefix=$ac_default_prefix
6577 if test "x$exec_prefix" = "xNONE"; then
6578 exec_prefix=$prefix
6581 full_var="$FROM_VAR"
6582 while true; do
6583 new_full_var="`eval echo $full_var`"
6584 if test "x$new_full_var"="x$full_var"; then break; fi
6585 full_var=$new_full_var
6586 done
6588 full_var=$new_full_var
6589 DATADIR="$full_var"
6592 prefix=$prefix_save
6593 exec_prefix=$exec_prefix_save
6598 EXP_VAR=LIBDIR
6599 FROM_VAR=$libdir
6601 prefix_save=$prefix
6602 exec_prefix_save=$exec_prefix
6604 if test "x$prefix" = "xNONE"; then
6605 prefix=$ac_default_prefix
6607 if test "x$exec_prefix" = "xNONE"; then
6608 exec_prefix=$prefix
6611 full_var="$FROM_VAR"
6612 while true; do
6613 new_full_var="`eval echo $full_var`"
6614 if test "x$new_full_var"="x$full_var"; then break; fi
6615 full_var=$new_full_var
6616 done
6618 full_var=$new_full_var
6619 LIBDIR="$full_var"
6622 prefix=$prefix_save
6623 exec_prefix=$exec_prefix_save
6628 EXP_VAR=PYTHONDIR
6629 FROM_VAR=$pythondir
6631 prefix_save=$prefix
6632 exec_prefix_save=$exec_prefix
6634 if test "x$prefix" = "xNONE"; then
6635 prefix=$ac_default_prefix
6637 if test "x$exec_prefix" = "xNONE"; then
6638 exec_prefix=$prefix
6641 full_var="$FROM_VAR"
6642 while true; do
6643 new_full_var="`eval echo $full_var`"
6644 if test "x$new_full_var"="x$full_var"; then break; fi
6645 full_var=$new_full_var
6646 done
6648 full_var=$new_full_var
6649 PYTHONDIR="$full_var"
6652 prefix=$prefix_save
6653 exec_prefix=$exec_prefix_save
6658 pkg_failed=no
6659 { echo "$as_me:$LINENO: checking for STRAW" >&5
6660 echo $ECHO_N "checking for STRAW... $ECHO_C" >&6; }
6662 if test -n "$PKG_CONFIG"; then
6663 if test -n "$STRAW_CFLAGS"; then
6664 pkg_cv_STRAW_CFLAGS="$STRAW_CFLAGS"
6665 else
6666 if test -n "$PKG_CONFIG" && \
6667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8
6668 pygtk-2.0 >= 2.8
6669 pygobject-2.0 >= 2.8
6670 gnome-python-2.0 >= 2.8
6671 \"") >&5
6672 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8
6673 pygtk-2.0 >= 2.8
6674 pygobject-2.0 >= 2.8
6675 gnome-python-2.0 >= 2.8
6676 ") 2>&5
6677 ac_status=$?
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; then
6680 pkg_cv_STRAW_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8
6681 pygtk-2.0 >= 2.8
6682 pygobject-2.0 >= 2.8
6683 gnome-python-2.0 >= 2.8
6684 " 2>/dev/null`
6685 else
6686 pkg_failed=yes
6689 else
6690 pkg_failed=untried
6692 if test -n "$PKG_CONFIG"; then
6693 if test -n "$STRAW_LIBS"; then
6694 pkg_cv_STRAW_LIBS="$STRAW_LIBS"
6695 else
6696 if test -n "$PKG_CONFIG" && \
6697 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8
6698 pygtk-2.0 >= 2.8
6699 pygobject-2.0 >= 2.8
6700 gnome-python-2.0 >= 2.8
6701 \"") >&5
6702 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8
6703 pygtk-2.0 >= 2.8
6704 pygobject-2.0 >= 2.8
6705 gnome-python-2.0 >= 2.8
6706 ") 2>&5
6707 ac_status=$?
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); }; then
6710 pkg_cv_STRAW_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8
6711 pygtk-2.0 >= 2.8
6712 pygobject-2.0 >= 2.8
6713 gnome-python-2.0 >= 2.8
6714 " 2>/dev/null`
6715 else
6716 pkg_failed=yes
6719 else
6720 pkg_failed=untried
6725 if test $pkg_failed = yes; then
6727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6728 _pkg_short_errors_supported=yes
6729 else
6730 _pkg_short_errors_supported=no
6732 if test $_pkg_short_errors_supported = yes; then
6733 STRAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8
6734 pygtk-2.0 >= 2.8
6735 pygobject-2.0 >= 2.8
6736 gnome-python-2.0 >= 2.8
6738 else
6739 STRAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8
6740 pygtk-2.0 >= 2.8
6741 pygobject-2.0 >= 2.8
6742 gnome-python-2.0 >= 2.8
6745 # Put the nasty error message in config.log where it belongs
6746 echo "$STRAW_PKG_ERRORS" >&5
6748 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.8
6749 pygtk-2.0 >= 2.8
6750 pygobject-2.0 >= 2.8
6751 gnome-python-2.0 >= 2.8
6752 ) were not met:
6754 $STRAW_PKG_ERRORS
6756 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6757 installed software in a non-standard prefix.
6759 Alternatively, you may set the environment variables STRAW_CFLAGS
6760 and STRAW_LIBS to avoid the need to call pkg-config.
6761 See the pkg-config man page for more details.
6762 " >&5
6763 echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.8
6764 pygtk-2.0 >= 2.8
6765 pygobject-2.0 >= 2.8
6766 gnome-python-2.0 >= 2.8
6767 ) were not met:
6769 $STRAW_PKG_ERRORS
6771 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6772 installed software in a non-standard prefix.
6774 Alternatively, you may set the environment variables STRAW_CFLAGS
6775 and STRAW_LIBS to avoid the need to call pkg-config.
6776 See the pkg-config man page for more details.
6777 " >&2;}
6778 { (exit 1); exit 1; }; }
6779 elif test $pkg_failed = untried; then
6780 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6781 is in your PATH or set the PKG_CONFIG environment variable to the full
6782 path to pkg-config.
6784 Alternatively, you may set the environment variables STRAW_CFLAGS
6785 and STRAW_LIBS to avoid the need to call pkg-config.
6786 See the pkg-config man page for more details.
6788 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6789 See \`config.log' for more details." >&5
6790 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6791 is in your PATH or set the PKG_CONFIG environment variable to the full
6792 path to pkg-config.
6794 Alternatively, you may set the environment variables STRAW_CFLAGS
6795 and STRAW_LIBS to avoid the need to call pkg-config.
6796 See the pkg-config man page for more details.
6798 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6799 See \`config.log' for more details." >&2;}
6800 { (exit 1); exit 1; }; }
6801 else
6802 STRAW_CFLAGS=$pkg_cv_STRAW_CFLAGS
6803 STRAW_LIBS=$pkg_cv_STRAW_LIBS
6804 { echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6; }
6809 { echo "$as_me:$LINENO: checking for python-dbus module" >&5
6810 echo $ECHO_N "checking for python-dbus module... $ECHO_C" >&6; }
6811 if { (echo "$as_me:$LINENO: DISPLAY= \$PYTHON -c '
6812 try:
6813 import dbus
6814 except ImportError, e:
6815 if str(e).find(\"dbus\") >= 0:
6816 raise
6817 except:
6818 pass
6819 '") >&5
6820 (DISPLAY= $PYTHON -c '
6821 try:
6822 import dbus
6823 except ImportError, e:
6824 if str(e).find("dbus") >= 0:
6825 raise
6826 except:
6827 pass
6828 ') 2>&5
6829 ac_status=$?
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; then
6832 { echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6; }
6834 else
6835 { echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6; }
6837 { { echo "$as_me:$LINENO: error: DBus Python module is required to build Straw" >&5
6838 echo "$as_me: error: DBus Python module is required to build Straw" >&2;}
6839 { (exit 1); exit 1; }; }
6843 ac_config_files="$ac_config_files Makefile data/Makefile data/straw.desktop.in po/Makefile.in scripts/Makefile straw/Makefile straw/defs.py straw/httplib2/Makefile"
6845 cat >confcache <<\_ACEOF
6846 # This file is a shell script that caches the results of configure
6847 # tests run on this system so they can be shared between configure
6848 # scripts and configure runs, see configure's option --config-cache.
6849 # It is not useful on other systems. If it contains results you don't
6850 # want to keep, you may remove or edit it.
6852 # config.status only pays attention to the cache file if you give it
6853 # the --recheck option to rerun configure.
6855 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6856 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6857 # following values.
6859 _ACEOF
6861 # The following way of writing the cache mishandles newlines in values,
6862 # but we know of no workaround that is simple, portable, and efficient.
6863 # So, we kill variables containing newlines.
6864 # Ultrix sh set writes to stderr and can't be redirected directly,
6865 # and sets the high bit in the cache file unless we assign to the vars.
6867 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6868 eval ac_val=\$$ac_var
6869 case $ac_val in #(
6870 *${as_nl}*)
6871 case $ac_var in #(
6872 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6873 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6874 esac
6875 case $ac_var in #(
6876 _ | IFS | as_nl) ;; #(
6877 *) $as_unset $ac_var ;;
6878 esac ;;
6879 esac
6880 done
6882 (set) 2>&1 |
6883 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6884 *${as_nl}ac_space=\ *)
6885 # `set' does not quote correctly, so add quotes (double-quote
6886 # substitution turns \\\\ into \\, and sed turns \\ into \).
6887 sed -n \
6888 "s/'/'\\\\''/g;
6889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6890 ;; #(
6892 # `set' quotes correctly as required by POSIX, so do not add quotes.
6893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6895 esac |
6896 sort
6898 sed '
6899 /^ac_cv_env_/b end
6900 t clear
6901 :clear
6902 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6903 t end
6904 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6905 :end' >>confcache
6906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6907 if test -w "$cache_file"; then
6908 test "x$cache_file" != "x/dev/null" &&
6909 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6910 echo "$as_me: updating cache $cache_file" >&6;}
6911 cat confcache >$cache_file
6912 else
6913 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6914 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6917 rm -f confcache
6919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6920 # Let make expand exec_prefix.
6921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6923 DEFS=-DHAVE_CONFIG_H
6925 ac_libobjs=
6926 ac_ltlibobjs=
6927 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6928 # 1. Remove the extension, and $U if already installed.
6929 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6930 ac_i=`echo "$ac_i" | sed "$ac_script"`
6931 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6932 # will be set to the directory where LIBOBJS objects are built.
6933 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6934 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6935 done
6936 LIBOBJS=$ac_libobjs
6938 LTLIBOBJS=$ac_ltlibobjs
6941 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6942 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6943 Usually this means the macro was only invoked conditionally." >&5
6944 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6945 Usually this means the macro was only invoked conditionally." >&2;}
6946 { (exit 1); exit 1; }; }
6948 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6949 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6950 Usually this means the macro was only invoked conditionally." >&5
6951 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6952 Usually this means the macro was only invoked conditionally." >&2;}
6953 { (exit 1); exit 1; }; }
6955 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6956 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6957 Usually this means the macro was only invoked conditionally." >&5
6958 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6959 Usually this means the macro was only invoked conditionally." >&2;}
6960 { (exit 1); exit 1; }; }
6963 ac_config_commands="$ac_config_commands po/stamp-it"
6966 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
6967 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
6968 Usually this means the macro was only invoked conditionally." >&5
6969 echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
6970 Usually this means the macro was only invoked conditionally." >&2;}
6971 { (exit 1); exit 1; }; }
6973 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
6974 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
6975 Usually this means the macro was only invoked conditionally." >&5
6976 echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
6977 Usually this means the macro was only invoked conditionally." >&2;}
6978 { (exit 1); exit 1; }; }
6980 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
6981 { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
6982 Usually this means the macro was only invoked conditionally." >&5
6983 echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
6984 Usually this means the macro was only invoked conditionally." >&2;}
6985 { (exit 1); exit 1; }; }
6988 : ${CONFIG_STATUS=./config.status}
6989 ac_clean_files_save=$ac_clean_files
6990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6991 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6992 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6993 cat >$CONFIG_STATUS <<_ACEOF
6994 #! $SHELL
6995 # Generated by $as_me.
6996 # Run this file to recreate the current configuration.
6997 # Compiler output produced by configure, useful for debugging
6998 # configure, is in config.log if it exists.
7000 debug=false
7001 ac_cs_recheck=false
7002 ac_cs_silent=false
7003 SHELL=\${CONFIG_SHELL-$SHELL}
7004 _ACEOF
7006 cat >>$CONFIG_STATUS <<\_ACEOF
7007 ## --------------------- ##
7008 ## M4sh Initialization. ##
7009 ## --------------------- ##
7011 # Be more Bourne compatible
7012 DUALCASE=1; export DUALCASE # for MKS sh
7013 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7014 emulate sh
7015 NULLCMD=:
7016 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7017 # is contrary to our usage. Disable this feature.
7018 alias -g '${1+"$@"}'='"$@"'
7019 setopt NO_GLOB_SUBST
7020 else
7021 case `(set -o) 2>/dev/null` in
7022 *posix*) set -o posix ;;
7023 esac
7030 # PATH needs CR
7031 # Avoid depending upon Character Ranges.
7032 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7033 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7034 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7035 as_cr_digits='0123456789'
7036 as_cr_alnum=$as_cr_Letters$as_cr_digits
7038 # The user is always right.
7039 if test "${PATH_SEPARATOR+set}" != set; then
7040 echo "#! /bin/sh" >conf$$.sh
7041 echo "exit 0" >>conf$$.sh
7042 chmod +x conf$$.sh
7043 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7044 PATH_SEPARATOR=';'
7045 else
7046 PATH_SEPARATOR=:
7048 rm -f conf$$.sh
7051 # Support unset when possible.
7052 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7053 as_unset=unset
7054 else
7055 as_unset=false
7059 # IFS
7060 # We need space, tab and new line, in precisely that order. Quoting is
7061 # there to prevent editors from complaining about space-tab.
7062 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7063 # splitting by setting IFS to empty value.)
7064 as_nl='
7066 IFS=" "" $as_nl"
7068 # Find who we are. Look in the path if we contain no directory separator.
7069 case $0 in
7070 *[\\/]* ) as_myself=$0 ;;
7071 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 for as_dir in $PATH
7074 IFS=$as_save_IFS
7075 test -z "$as_dir" && as_dir=.
7076 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7077 done
7078 IFS=$as_save_IFS
7081 esac
7082 # We did not find ourselves, most probably we were run as `sh COMMAND'
7083 # in which case we are not to be found in the path.
7084 if test "x$as_myself" = x; then
7085 as_myself=$0
7087 if test ! -f "$as_myself"; then
7088 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7089 { (exit 1); exit 1; }
7092 # Work around bugs in pre-3.0 UWIN ksh.
7093 for as_var in ENV MAIL MAILPATH
7094 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7095 done
7096 PS1='$ '
7097 PS2='> '
7098 PS4='+ '
7100 # NLS nuisances.
7101 for as_var in \
7102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7104 LC_TELEPHONE LC_TIME
7106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7107 eval $as_var=C; export $as_var
7108 else
7109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7111 done
7113 # Required to use basename.
7114 if expr a : '\(a\)' >/dev/null 2>&1 &&
7115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7116 as_expr=expr
7117 else
7118 as_expr=false
7121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7122 as_basename=basename
7123 else
7124 as_basename=false
7128 # Name of the executable.
7129 as_me=`$as_basename -- "$0" ||
7130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7131 X"$0" : 'X\(//\)$' \| \
7132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7133 echo X/"$0" |
7134 sed '/^.*\/\([^/][^/]*\)\/*$/{
7135 s//\1/
7138 /^X\/\(\/\/\)$/{
7139 s//\1/
7142 /^X\/\(\/\).*/{
7143 s//\1/
7146 s/.*/./; q'`
7148 # CDPATH.
7149 $as_unset CDPATH
7153 as_lineno_1=$LINENO
7154 as_lineno_2=$LINENO
7155 test "x$as_lineno_1" != "x$as_lineno_2" &&
7156 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7159 # uniformly replaced by the line number. The first 'sed' inserts a
7160 # line-number line after each line using $LINENO; the second 'sed'
7161 # does the real work. The second script uses 'N' to pair each
7162 # line-number line with the line containing $LINENO, and appends
7163 # trailing '-' during substitution so that $LINENO is not a special
7164 # case at line end.
7165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7166 # scripts with optimization help from Paolo Bonzini. Blame Lee
7167 # E. McMahon (1931-1989) for sed's syntax. :-)
7168 sed -n '
7170 /[$]LINENO/=
7171 ' <$as_myself |
7172 sed '
7173 s/[$]LINENO.*/&-/
7174 t lineno
7176 :lineno
7178 :loop
7179 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7180 t loop
7181 s/-\n.*//
7182 ' >$as_me.lineno &&
7183 chmod +x "$as_me.lineno" ||
7184 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7185 { (exit 1); exit 1; }; }
7187 # Don't try to exec as it changes $[0], causing all sort of problems
7188 # (the dirname of $[0] is not the place where we might find the
7189 # original and so on. Autoconf is especially sensitive to this).
7190 . "./$as_me.lineno"
7191 # Exit status is that of the last command.
7192 exit
7196 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7197 as_dirname=dirname
7198 else
7199 as_dirname=false
7202 ECHO_C= ECHO_N= ECHO_T=
7203 case `echo -n x` in
7204 -n*)
7205 case `echo 'x\c'` in
7206 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7207 *) ECHO_C='\c';;
7208 esac;;
7210 ECHO_N='-n';;
7211 esac
7213 if expr a : '\(a\)' >/dev/null 2>&1 &&
7214 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7215 as_expr=expr
7216 else
7217 as_expr=false
7220 rm -f conf$$ conf$$.exe conf$$.file
7221 if test -d conf$$.dir; then
7222 rm -f conf$$.dir/conf$$.file
7223 else
7224 rm -f conf$$.dir
7225 mkdir conf$$.dir
7227 echo >conf$$.file
7228 if ln -s conf$$.file conf$$ 2>/dev/null; then
7229 as_ln_s='ln -s'
7230 # ... but there are two gotchas:
7231 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7232 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7233 # In both cases, we have to default to `cp -p'.
7234 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7235 as_ln_s='cp -p'
7236 elif ln conf$$.file conf$$ 2>/dev/null; then
7237 as_ln_s=ln
7238 else
7239 as_ln_s='cp -p'
7241 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7242 rmdir conf$$.dir 2>/dev/null
7244 if mkdir -p . 2>/dev/null; then
7245 as_mkdir_p=:
7246 else
7247 test -d ./-p && rmdir ./-p
7248 as_mkdir_p=false
7251 if test -x / >/dev/null 2>&1; then
7252 as_test_x='test -x'
7253 else
7254 if ls -dL / >/dev/null 2>&1; then
7255 as_ls_L_option=L
7256 else
7257 as_ls_L_option=
7259 as_test_x='
7260 eval sh -c '\''
7261 if test -d "$1"; then
7262 test -d "$1/.";
7263 else
7264 case $1 in
7265 -*)set "./$1";;
7266 esac;
7267 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7268 ???[sx]*):;;*)false;;esac;fi
7269 '\'' sh
7272 as_executable_p=$as_test_x
7274 # Sed expression to map a string onto a valid CPP name.
7275 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7277 # Sed expression to map a string onto a valid variable name.
7278 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7281 exec 6>&1
7283 # Save the log message, to keep $[0] and so on meaningful, and to
7284 # report actual input values of CONFIG_FILES etc. instead of their
7285 # values after options handling.
7286 ac_log="
7287 This file was extended by straw $as_me 0.27.90, which was
7288 generated by GNU Autoconf 2.61. Invocation command line was
7290 CONFIG_FILES = $CONFIG_FILES
7291 CONFIG_HEADERS = $CONFIG_HEADERS
7292 CONFIG_LINKS = $CONFIG_LINKS
7293 CONFIG_COMMANDS = $CONFIG_COMMANDS
7294 $ $0 $@
7296 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7299 _ACEOF
7301 cat >>$CONFIG_STATUS <<_ACEOF
7302 # Files that config.status was made for.
7303 config_files="$ac_config_files"
7304 config_headers="$ac_config_headers"
7305 config_commands="$ac_config_commands"
7307 _ACEOF
7309 cat >>$CONFIG_STATUS <<\_ACEOF
7310 ac_cs_usage="\
7311 \`$as_me' instantiates files from templates according to the
7312 current configuration.
7314 Usage: $0 [OPTIONS] [FILE]...
7316 -h, --help print this help, then exit
7317 -V, --version print version number and configuration settings, then exit
7318 -q, --quiet do not print progress messages
7319 -d, --debug don't remove temporary files
7320 --recheck update $as_me by reconfiguring in the same conditions
7321 --file=FILE[:TEMPLATE]
7322 instantiate the configuration file FILE
7323 --header=FILE[:TEMPLATE]
7324 instantiate the configuration header FILE
7326 Configuration files:
7327 $config_files
7329 Configuration headers:
7330 $config_headers
7332 Configuration commands:
7333 $config_commands
7335 Report bugs to <bug-autoconf@gnu.org>."
7337 _ACEOF
7338 cat >>$CONFIG_STATUS <<_ACEOF
7339 ac_cs_version="\\
7340 straw config.status 0.27.90
7341 configured by $0, generated by GNU Autoconf 2.61,
7342 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7344 Copyright (C) 2006 Free Software Foundation, Inc.
7345 This config.status script is free software; the Free Software Foundation
7346 gives unlimited permission to copy, distribute and modify it."
7348 ac_pwd='$ac_pwd'
7349 srcdir='$srcdir'
7350 INSTALL='$INSTALL'
7351 MKDIR_P='$MKDIR_P'
7352 _ACEOF
7354 cat >>$CONFIG_STATUS <<\_ACEOF
7355 # If no file are specified by the user, then we need to provide default
7356 # value. By we need to know if files were specified by the user.
7357 ac_need_defaults=:
7358 while test $# != 0
7360 case $1 in
7361 --*=*)
7362 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7363 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7364 ac_shift=:
7367 ac_option=$1
7368 ac_optarg=$2
7369 ac_shift=shift
7371 esac
7373 case $ac_option in
7374 # Handling of the options.
7375 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7376 ac_cs_recheck=: ;;
7377 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7378 echo "$ac_cs_version"; exit ;;
7379 --debug | --debu | --deb | --de | --d | -d )
7380 debug=: ;;
7381 --file | --fil | --fi | --f )
7382 $ac_shift
7383 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7384 ac_need_defaults=false;;
7385 --header | --heade | --head | --hea )
7386 $ac_shift
7387 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7388 ac_need_defaults=false;;
7389 --he | --h)
7390 # Conflict between --help and --header
7391 { echo "$as_me: error: ambiguous option: $1
7392 Try \`$0 --help' for more information." >&2
7393 { (exit 1); exit 1; }; };;
7394 --help | --hel | -h )
7395 echo "$ac_cs_usage"; exit ;;
7396 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7397 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7398 ac_cs_silent=: ;;
7400 # This is an error.
7401 -*) { echo "$as_me: error: unrecognized option: $1
7402 Try \`$0 --help' for more information." >&2
7403 { (exit 1); exit 1; }; } ;;
7405 *) ac_config_targets="$ac_config_targets $1"
7406 ac_need_defaults=false ;;
7408 esac
7409 shift
7410 done
7412 ac_configure_extra_args=
7414 if $ac_cs_silent; then
7415 exec 6>/dev/null
7416 ac_configure_extra_args="$ac_configure_extra_args --silent"
7419 _ACEOF
7420 cat >>$CONFIG_STATUS <<_ACEOF
7421 if \$ac_cs_recheck; then
7422 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7423 CONFIG_SHELL=$SHELL
7424 export CONFIG_SHELL
7425 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7428 _ACEOF
7429 cat >>$CONFIG_STATUS <<\_ACEOF
7430 exec 5>>config.log
7432 echo
7433 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7434 ## Running $as_me. ##
7435 _ASBOX
7436 echo "$ac_log"
7437 } >&5
7439 _ACEOF
7440 cat >>$CONFIG_STATUS <<_ACEOF
7442 # INIT-COMMANDS
7444 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7445 INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
7446 prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
7447 INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
7450 _ACEOF
7452 cat >>$CONFIG_STATUS <<\_ACEOF
7454 # Handling of arguments.
7455 for ac_config_target in $ac_config_targets
7457 case $ac_config_target in
7458 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7459 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7460 "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
7461 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7462 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7463 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
7464 "data/straw.desktop.in") CONFIG_FILES="$CONFIG_FILES data/straw.desktop.in" ;;
7465 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7466 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
7467 "straw/Makefile") CONFIG_FILES="$CONFIG_FILES straw/Makefile" ;;
7468 "straw/defs.py") CONFIG_FILES="$CONFIG_FILES straw/defs.py" ;;
7469 "straw/httplib2/Makefile") CONFIG_FILES="$CONFIG_FILES straw/httplib2/Makefile" ;;
7470 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7472 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7473 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7474 { (exit 1); exit 1; }; };;
7475 esac
7476 done
7479 # If the user did not use the arguments to specify the items to instantiate,
7480 # then the envvar interface is used. Set only those that are not.
7481 # We use the long form for the default assignment because of an extremely
7482 # bizarre bug on SunOS 4.1.3.
7483 if $ac_need_defaults; then
7484 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7485 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7486 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7489 # Have a temporary directory for convenience. Make it in the build tree
7490 # simply because there is no reason against having it here, and in addition,
7491 # creating and moving files from /tmp can sometimes cause problems.
7492 # Hook for its removal unless debugging.
7493 # Note that there is a small window in which the directory will not be cleaned:
7494 # after its creation but before its name has been assigned to `$tmp'.
7495 $debug ||
7497 tmp=
7498 trap 'exit_status=$?
7499 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7501 trap '{ (exit 1); exit 1; }' 1 2 13 15
7503 # Create a (secure) tmp directory for tmp files.
7506 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7507 test -n "$tmp" && test -d "$tmp"
7508 } ||
7510 tmp=./conf$$-$RANDOM
7511 (umask 077 && mkdir "$tmp")
7512 } ||
7514 echo "$me: cannot create a temporary directory in ." >&2
7515 { (exit 1); exit 1; }
7519 # Set up the sed scripts for CONFIG_FILES section.
7522 # No need to generate the scripts if there are no CONFIG_FILES.
7523 # This happens for instance when ./config.status config.h
7524 if test -n "$CONFIG_FILES"; then
7526 _ACEOF
7530 ac_delim='%!_!# '
7531 for ac_last_try in false false false false false :; do
7532 cat >conf$$subs.sed <<_ACEOF
7533 SHELL!$SHELL$ac_delim
7534 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7535 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7536 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7537 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7538 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7539 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7540 exec_prefix!$exec_prefix$ac_delim
7541 prefix!$prefix$ac_delim
7542 program_transform_name!$program_transform_name$ac_delim
7543 bindir!$bindir$ac_delim
7544 sbindir!$sbindir$ac_delim
7545 libexecdir!$libexecdir$ac_delim
7546 datarootdir!$datarootdir$ac_delim
7547 datadir!$datadir$ac_delim
7548 sysconfdir!$sysconfdir$ac_delim
7549 sharedstatedir!$sharedstatedir$ac_delim
7550 localstatedir!$localstatedir$ac_delim
7551 includedir!$includedir$ac_delim
7552 oldincludedir!$oldincludedir$ac_delim
7553 docdir!$docdir$ac_delim
7554 infodir!$infodir$ac_delim
7555 htmldir!$htmldir$ac_delim
7556 dvidir!$dvidir$ac_delim
7557 pdfdir!$pdfdir$ac_delim
7558 psdir!$psdir$ac_delim
7559 libdir!$libdir$ac_delim
7560 localedir!$localedir$ac_delim
7561 mandir!$mandir$ac_delim
7562 DEFS!$DEFS$ac_delim
7563 ECHO_C!$ECHO_C$ac_delim
7564 ECHO_N!$ECHO_N$ac_delim
7565 ECHO_T!$ECHO_T$ac_delim
7566 LIBS!$LIBS$ac_delim
7567 build_alias!$build_alias$ac_delim
7568 host_alias!$host_alias$ac_delim
7569 target_alias!$target_alias$ac_delim
7570 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7571 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7572 INSTALL_DATA!$INSTALL_DATA$ac_delim
7573 am__isrc!$am__isrc$ac_delim
7574 CYGPATH_W!$CYGPATH_W$ac_delim
7575 PACKAGE!$PACKAGE$ac_delim
7576 VERSION!$VERSION$ac_delim
7577 ACLOCAL!$ACLOCAL$ac_delim
7578 AUTOCONF!$AUTOCONF$ac_delim
7579 AUTOMAKE!$AUTOMAKE$ac_delim
7580 AUTOHEADER!$AUTOHEADER$ac_delim
7581 MAKEINFO!$MAKEINFO$ac_delim
7582 install_sh!$install_sh$ac_delim
7583 STRIP!$STRIP$ac_delim
7584 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7585 mkdir_p!$mkdir_p$ac_delim
7586 AWK!$AWK$ac_delim
7587 SET_MAKE!$SET_MAKE$ac_delim
7588 am__leading_dot!$am__leading_dot$ac_delim
7589 AMTAR!$AMTAR$ac_delim
7590 am__tar!$am__tar$ac_delim
7591 am__untar!$am__untar$ac_delim
7592 ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
7593 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
7594 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
7595 MAINT!$MAINT$ac_delim
7596 STRAW_HOME!$STRAW_HOME$ac_delim
7597 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
7598 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
7599 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
7600 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
7601 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
7602 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
7603 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
7604 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
7605 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
7606 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
7607 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
7608 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
7609 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
7610 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
7611 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
7612 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
7613 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
7614 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
7615 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
7616 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
7617 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
7618 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
7619 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
7620 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
7621 CC!$CC$ac_delim
7622 CFLAGS!$CFLAGS$ac_delim
7623 LDFLAGS!$LDFLAGS$ac_delim
7624 CPPFLAGS!$CPPFLAGS$ac_delim
7625 ac_ct_CC!$ac_ct_CC$ac_delim
7626 EXEEXT!$EXEEXT$ac_delim
7627 OBJEXT!$OBJEXT$ac_delim
7628 DEPDIR!$DEPDIR$ac_delim
7629 am__include!$am__include$ac_delim
7630 _ACEOF
7632 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7633 break
7634 elif $ac_last_try; then
7635 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7636 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7637 { (exit 1); exit 1; }; }
7638 else
7639 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7641 done
7643 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7644 if test -n "$ac_eof"; then
7645 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7646 ac_eof=`expr $ac_eof + 1`
7649 cat >>$CONFIG_STATUS <<_ACEOF
7650 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7652 _ACEOF
7653 sed '
7654 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7655 s/^/s,@/; s/!/@,|#_!!_#|/
7658 s/'"$ac_delim"'$/,g/; t
7659 s/$/\\/; p
7660 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7661 ' >>$CONFIG_STATUS <conf$$subs.sed
7662 rm -f conf$$subs.sed
7663 cat >>$CONFIG_STATUS <<_ACEOF
7664 CEOF$ac_eof
7665 _ACEOF
7668 ac_delim='%!_!# '
7669 for ac_last_try in false false false false false :; do
7670 cat >conf$$subs.sed <<_ACEOF
7671 am__quote!$am__quote$ac_delim
7672 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7673 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7674 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7675 CCDEPMODE!$CCDEPMODE$ac_delim
7676 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7677 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7678 DATADIRNAME!$DATADIRNAME$ac_delim
7679 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
7680 CPP!$CPP$ac_delim
7681 GREP!$GREP$ac_delim
7682 EGREP!$EGREP$ac_delim
7683 build!$build$ac_delim
7684 build_cpu!$build_cpu$ac_delim
7685 build_vendor!$build_vendor$ac_delim
7686 build_os!$build_os$ac_delim
7687 host!$host$ac_delim
7688 host_cpu!$host_cpu$ac_delim
7689 host_vendor!$host_vendor$ac_delim
7690 host_os!$host_os$ac_delim
7691 USE_NLS!$USE_NLS$ac_delim
7692 MSGFMT!$MSGFMT$ac_delim
7693 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
7694 GMSGFMT!$GMSGFMT$ac_delim
7695 XGETTEXT!$XGETTEXT$ac_delim
7696 CATALOGS!$CATALOGS$ac_delim
7697 CATOBJEXT!$CATOBJEXT$ac_delim
7698 GMOFILES!$GMOFILES$ac_delim
7699 INSTOBJEXT!$INSTOBJEXT$ac_delim
7700 INTLLIBS!$INTLLIBS$ac_delim
7701 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
7702 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
7703 POFILES!$POFILES$ac_delim
7704 POSUB!$POSUB$ac_delim
7705 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
7706 PKG_CONFIG!$PKG_CONFIG$ac_delim
7707 HELP_DIR!$HELP_DIR$ac_delim
7708 OMF_DIR!$OMF_DIR$ac_delim
7709 DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
7710 ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
7711 ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
7712 HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
7713 HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
7714 GCONFTOOL!$GCONFTOOL$ac_delim
7715 GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
7716 GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
7717 GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
7718 GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
7719 PYTHON!$PYTHON$ac_delim
7720 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
7721 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
7722 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
7723 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
7724 pythondir!$pythondir$ac_delim
7725 pkgpythondir!$pkgpythondir$ac_delim
7726 pyexecdir!$pyexecdir$ac_delim
7727 pkgpyexecdir!$pkgpyexecdir$ac_delim
7728 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
7729 BINDIR!$BINDIR$ac_delim
7730 DATADIR!$DATADIR$ac_delim
7731 LIBDIR!$LIBDIR$ac_delim
7732 PYTHONDIR!$PYTHONDIR$ac_delim
7733 STRAW_CFLAGS!$STRAW_CFLAGS$ac_delim
7734 STRAW_LIBS!$STRAW_LIBS$ac_delim
7735 LIBOBJS!$LIBOBJS$ac_delim
7736 LTLIBOBJS!$LTLIBOBJS$ac_delim
7737 _ACEOF
7739 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
7740 break
7741 elif $ac_last_try; then
7742 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7743 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7744 { (exit 1); exit 1; }; }
7745 else
7746 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7748 done
7750 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7751 if test -n "$ac_eof"; then
7752 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7753 ac_eof=`expr $ac_eof + 1`
7756 cat >>$CONFIG_STATUS <<_ACEOF
7757 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7759 _ACEOF
7760 sed '
7761 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7762 s/^/s,@/; s/!/@,|#_!!_#|/
7765 s/'"$ac_delim"'$/,g/; t
7766 s/$/\\/; p
7767 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7768 ' >>$CONFIG_STATUS <conf$$subs.sed
7769 rm -f conf$$subs.sed
7770 cat >>$CONFIG_STATUS <<_ACEOF
7771 :end
7772 s/|#_!!_#|//g
7773 CEOF$ac_eof
7774 _ACEOF
7777 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7778 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7779 # trailing colons and then remove the whole line if VPATH becomes empty
7780 # (actually we leave an empty line to preserve line numbers).
7781 if test "x$srcdir" = x.; then
7782 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7783 s/:*\$(srcdir):*/:/
7784 s/:*\${srcdir}:*/:/
7785 s/:*@srcdir@:*/:/
7786 s/^\([^=]*=[ ]*\):*/\1/
7787 s/:*$//
7788 s/^[^=]*=[ ]*$//
7792 cat >>$CONFIG_STATUS <<\_ACEOF
7793 fi # test -n "$CONFIG_FILES"
7796 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7798 case $ac_tag in
7799 :[FHLC]) ac_mode=$ac_tag; continue;;
7800 esac
7801 case $ac_mode$ac_tag in
7802 :[FHL]*:*);;
7803 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7804 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7805 { (exit 1); exit 1; }; };;
7806 :[FH]-) ac_tag=-:-;;
7807 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7808 esac
7809 ac_save_IFS=$IFS
7810 IFS=:
7811 set x $ac_tag
7812 IFS=$ac_save_IFS
7813 shift
7814 ac_file=$1
7815 shift
7817 case $ac_mode in
7818 :L) ac_source=$1;;
7819 :[FH])
7820 ac_file_inputs=
7821 for ac_f
7823 case $ac_f in
7824 -) ac_f="$tmp/stdin";;
7825 *) # Look for the file first in the build tree, then in the source tree
7826 # (if the path is not absolute). The absolute path cannot be DOS-style,
7827 # because $ac_f cannot contain `:'.
7828 test -f "$ac_f" ||
7829 case $ac_f in
7830 [\\/$]*) false;;
7831 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7832 esac ||
7833 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7834 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7835 { (exit 1); exit 1; }; };;
7836 esac
7837 ac_file_inputs="$ac_file_inputs $ac_f"
7838 done
7840 # Let's still pretend it is `configure' which instantiates (i.e., don't
7841 # use $as_me), people would be surprised to read:
7842 # /* config.h. Generated by config.status. */
7843 configure_input="Generated from "`IFS=:
7844 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7845 if test x"$ac_file" != x-; then
7846 configure_input="$ac_file. $configure_input"
7847 { echo "$as_me:$LINENO: creating $ac_file" >&5
7848 echo "$as_me: creating $ac_file" >&6;}
7851 case $ac_tag in
7852 *:-:* | *:-) cat >"$tmp/stdin";;
7853 esac
7855 esac
7857 ac_dir=`$as_dirname -- "$ac_file" ||
7858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7859 X"$ac_file" : 'X\(//\)[^/]' \| \
7860 X"$ac_file" : 'X\(//\)$' \| \
7861 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7862 echo X"$ac_file" |
7863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7864 s//\1/
7867 /^X\(\/\/\)[^/].*/{
7868 s//\1/
7871 /^X\(\/\/\)$/{
7872 s//\1/
7875 /^X\(\/\).*/{
7876 s//\1/
7879 s/.*/./; q'`
7880 { as_dir="$ac_dir"
7881 case $as_dir in #(
7882 -*) as_dir=./$as_dir;;
7883 esac
7884 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7885 as_dirs=
7886 while :; do
7887 case $as_dir in #(
7888 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7889 *) as_qdir=$as_dir;;
7890 esac
7891 as_dirs="'$as_qdir' $as_dirs"
7892 as_dir=`$as_dirname -- "$as_dir" ||
7893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7894 X"$as_dir" : 'X\(//\)[^/]' \| \
7895 X"$as_dir" : 'X\(//\)$' \| \
7896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7897 echo X"$as_dir" |
7898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7899 s//\1/
7902 /^X\(\/\/\)[^/].*/{
7903 s//\1/
7906 /^X\(\/\/\)$/{
7907 s//\1/
7910 /^X\(\/\).*/{
7911 s//\1/
7914 s/.*/./; q'`
7915 test -d "$as_dir" && break
7916 done
7917 test -z "$as_dirs" || eval "mkdir $as_dirs"
7918 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7919 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7920 { (exit 1); exit 1; }; }; }
7921 ac_builddir=.
7923 case "$ac_dir" in
7924 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7927 # A ".." for each directory in $ac_dir_suffix.
7928 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7929 case $ac_top_builddir_sub in
7930 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7931 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7932 esac ;;
7933 esac
7934 ac_abs_top_builddir=$ac_pwd
7935 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7936 # for backward compatibility:
7937 ac_top_builddir=$ac_top_build_prefix
7939 case $srcdir in
7940 .) # We are building in place.
7941 ac_srcdir=.
7942 ac_top_srcdir=$ac_top_builddir_sub
7943 ac_abs_top_srcdir=$ac_pwd ;;
7944 [\\/]* | ?:[\\/]* ) # Absolute name.
7945 ac_srcdir=$srcdir$ac_dir_suffix;
7946 ac_top_srcdir=$srcdir
7947 ac_abs_top_srcdir=$srcdir ;;
7948 *) # Relative name.
7949 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7950 ac_top_srcdir=$ac_top_build_prefix$srcdir
7951 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7952 esac
7953 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7956 case $ac_mode in
7959 # CONFIG_FILE
7962 case $INSTALL in
7963 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7964 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7965 esac
7966 ac_MKDIR_P=$MKDIR_P
7967 case $MKDIR_P in
7968 [\\/$]* | ?:[\\/]* ) ;;
7969 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7970 esac
7971 _ACEOF
7973 cat >>$CONFIG_STATUS <<\_ACEOF
7974 # If the template does not know about datarootdir, expand it.
7975 # FIXME: This hack should be removed a few years after 2.60.
7976 ac_datarootdir_hack=; ac_datarootdir_seen=
7978 case `sed -n '/datarootdir/ {
7982 /@datadir@/p
7983 /@docdir@/p
7984 /@infodir@/p
7985 /@localedir@/p
7986 /@mandir@/p
7987 ' $ac_file_inputs` in
7988 *datarootdir*) ac_datarootdir_seen=yes;;
7989 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7990 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7991 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7992 _ACEOF
7993 cat >>$CONFIG_STATUS <<_ACEOF
7994 ac_datarootdir_hack='
7995 s&@datadir@&$datadir&g
7996 s&@docdir@&$docdir&g
7997 s&@infodir@&$infodir&g
7998 s&@localedir@&$localedir&g
7999 s&@mandir@&$mandir&g
8000 s&\\\${datarootdir}&$datarootdir&g' ;;
8001 esac
8002 _ACEOF
8004 # Neutralize VPATH when `$srcdir' = `.'.
8005 # Shell code in configure.ac might set extrasub.
8006 # FIXME: do we really want to maintain this feature?
8007 cat >>$CONFIG_STATUS <<_ACEOF
8008 sed "$ac_vpsub
8009 $extrasub
8010 _ACEOF
8011 cat >>$CONFIG_STATUS <<\_ACEOF
8013 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8014 s&@configure_input@&$configure_input&;t t
8015 s&@top_builddir@&$ac_top_builddir_sub&;t t
8016 s&@srcdir@&$ac_srcdir&;t t
8017 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8018 s&@top_srcdir@&$ac_top_srcdir&;t t
8019 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8020 s&@builddir@&$ac_builddir&;t t
8021 s&@abs_builddir@&$ac_abs_builddir&;t t
8022 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8023 s&@INSTALL@&$ac_INSTALL&;t t
8024 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8025 $ac_datarootdir_hack
8026 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8028 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8029 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8030 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8031 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8032 which seems to be undefined. Please make sure it is defined." >&5
8033 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8034 which seems to be undefined. Please make sure it is defined." >&2;}
8036 rm -f "$tmp/stdin"
8037 case $ac_file in
8038 -) cat "$tmp/out"; rm -f "$tmp/out";;
8039 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8040 esac
8044 # CONFIG_HEADER
8046 _ACEOF
8048 # Transform confdefs.h into a sed script `conftest.defines', that
8049 # substitutes the proper values into config.h.in to produce config.h.
8050 rm -f conftest.defines conftest.tail
8051 # First, append a space to every undef/define line, to ease matching.
8052 echo 's/$/ /' >conftest.defines
8053 # Then, protect against being on the right side of a sed subst, or in
8054 # an unquoted here document, in config.status. If some macros were
8055 # called several times there might be several #defines for the same
8056 # symbol, which is useless. But do not sort them, since the last
8057 # AC_DEFINE must be honored.
8058 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8059 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8060 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8061 # PARAMS is the parameter list in the macro definition--in most cases, it's
8062 # just an empty string.
8063 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8064 ac_dB='\\)[ (].*,\\1define\\2'
8065 ac_dC=' '
8066 ac_dD=' ,'
8068 uniq confdefs.h |
8069 sed -n '
8070 t rset
8071 :rset
8072 s/^[ ]*#[ ]*define[ ][ ]*//
8073 t ok
8076 s/[\\&,]/\\&/g
8077 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8078 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8079 ' >>conftest.defines
8081 # Remove the space that was appended to ease matching.
8082 # Then replace #undef with comments. This is necessary, for
8083 # example, in the case of _POSIX_SOURCE, which is predefined and required
8084 # on some systems where configure will not decide to define it.
8085 # (The regexp can be short, since the line contains either #define or #undef.)
8086 echo 's/ $//
8087 s,^[ #]*u.*,/* & */,' >>conftest.defines
8089 # Break up conftest.defines:
8090 ac_max_sed_lines=50
8092 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8093 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8094 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8095 # et cetera.
8096 ac_in='$ac_file_inputs'
8097 ac_out='"$tmp/out1"'
8098 ac_nxt='"$tmp/out2"'
8100 while :
8102 # Write a here document:
8103 cat >>$CONFIG_STATUS <<_ACEOF
8104 # First, check the format of the line:
8105 cat >"\$tmp/defines.sed" <<\\CEOF
8106 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8107 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8109 :def
8110 _ACEOF
8111 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8112 echo 'CEOF
8113 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8114 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8115 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8116 grep . conftest.tail >/dev/null || break
8117 rm -f conftest.defines
8118 mv conftest.tail conftest.defines
8119 done
8120 rm -f conftest.defines conftest.tail
8122 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8123 cat >>$CONFIG_STATUS <<\_ACEOF
8124 if test x"$ac_file" != x-; then
8125 echo "/* $configure_input */" >"$tmp/config.h"
8126 cat "$ac_result" >>"$tmp/config.h"
8127 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8128 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8129 echo "$as_me: $ac_file is unchanged" >&6;}
8130 else
8131 rm -f $ac_file
8132 mv "$tmp/config.h" $ac_file
8134 else
8135 echo "/* $configure_input */"
8136 cat "$ac_result"
8138 rm -f "$tmp/out12"
8139 # Compute $ac_file's index in $config_headers.
8140 _am_stamp_count=1
8141 for _am_header in $config_headers :; do
8142 case $_am_header in
8143 $ac_file | $ac_file:* )
8144 break ;;
8146 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8147 esac
8148 done
8149 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8150 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8151 X$ac_file : 'X\(//\)[^/]' \| \
8152 X$ac_file : 'X\(//\)$' \| \
8153 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8154 echo X$ac_file |
8155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8156 s//\1/
8159 /^X\(\/\/\)[^/].*/{
8160 s//\1/
8163 /^X\(\/\/\)$/{
8164 s//\1/
8167 /^X\(\/\).*/{
8168 s//\1/
8171 s/.*/./; q'`/stamp-h$_am_stamp_count
8174 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8175 echo "$as_me: executing $ac_file commands" >&6;}
8177 esac
8180 case $ac_file$ac_mode in
8181 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8182 # Strip MF so we end up with the name of the file.
8183 mf=`echo "$mf" | sed -e 's/:.*$//'`
8184 # Check whether this is an Automake generated Makefile or not.
8185 # We used to match only the files named `Makefile.in', but
8186 # some people rename them; so instead we look at the file content.
8187 # Grep'ing the first line is not enough: some people post-process
8188 # each Makefile.in and add a new line on top of each file to say so.
8189 # Grep'ing the whole file is not good either: AIX grep has a line
8190 # limit of 2048, but all sed's we know have understand at least 4000.
8191 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
8192 dirpart=`$as_dirname -- "$mf" ||
8193 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8194 X"$mf" : 'X\(//\)[^/]' \| \
8195 X"$mf" : 'X\(//\)$' \| \
8196 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8197 echo X"$mf" |
8198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8199 s//\1/
8202 /^X\(\/\/\)[^/].*/{
8203 s//\1/
8206 /^X\(\/\/\)$/{
8207 s//\1/
8210 /^X\(\/\).*/{
8211 s//\1/
8214 s/.*/./; q'`
8215 else
8216 continue
8218 # Extract the definition of DEPDIR, am__include, and am__quote
8219 # from the Makefile without running `make'.
8220 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8221 test -z "$DEPDIR" && continue
8222 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8223 test -z "am__include" && continue
8224 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8225 # When using ansi2knr, U may be empty or an underscore; expand it
8226 U=`sed -n 's/^U = //p' < "$mf"`
8227 # Find all dependency output files, they are included files with
8228 # $(DEPDIR) in their names. We invoke sed twice because it is the
8229 # simplest approach to changing $(DEPDIR) to its actual value in the
8230 # expansion.
8231 for file in `sed -n "
8232 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8233 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8234 # Make sure the directory exists.
8235 test -f "$dirpart/$file" && continue
8236 fdir=`$as_dirname -- "$file" ||
8237 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8238 X"$file" : 'X\(//\)[^/]' \| \
8239 X"$file" : 'X\(//\)$' \| \
8240 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8241 echo X"$file" |
8242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8243 s//\1/
8246 /^X\(\/\/\)[^/].*/{
8247 s//\1/
8250 /^X\(\/\/\)$/{
8251 s//\1/
8254 /^X\(\/\).*/{
8255 s//\1/
8258 s/.*/./; q'`
8259 { as_dir=$dirpart/$fdir
8260 case $as_dir in #(
8261 -*) as_dir=./$as_dir;;
8262 esac
8263 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8264 as_dirs=
8265 while :; do
8266 case $as_dir in #(
8267 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8268 *) as_qdir=$as_dir;;
8269 esac
8270 as_dirs="'$as_qdir' $as_dirs"
8271 as_dir=`$as_dirname -- "$as_dir" ||
8272 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8273 X"$as_dir" : 'X\(//\)[^/]' \| \
8274 X"$as_dir" : 'X\(//\)$' \| \
8275 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8276 echo X"$as_dir" |
8277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8278 s//\1/
8281 /^X\(\/\/\)[^/].*/{
8282 s//\1/
8285 /^X\(\/\/\)$/{
8286 s//\1/
8289 /^X\(\/\).*/{
8290 s//\1/
8293 s/.*/./; q'`
8294 test -d "$as_dir" && break
8295 done
8296 test -z "$as_dirs" || eval "mkdir $as_dirs"
8297 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8298 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8299 { (exit 1); exit 1; }; }; }
8300 # echo "creating $dirpart/$file"
8301 echo '# dummy' > "$dirpart/$file"
8302 done
8303 done
8305 "intltool":C)
8307 for file in intltool-extract intltool-merge intltool-update; do
8308 sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
8309 -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
8310 -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
8311 < ${ac_aux_dir}/${file}.in > ${file}.out
8312 if cmp -s ${file} ${file}.out 2>/dev/null; then
8313 rm -f ${file}.out
8314 else
8315 mv -f ${file}.out ${file}
8317 chmod ugo+x ${file}
8318 chmod u+w ${file}
8319 done
8322 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
8323 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
8324 esac ;;
8325 "po/stamp-it":C)
8326 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8327 >"po/stamp-it.tmp"
8328 sed '/^#/d
8329 s/^[[].*] *//
8330 /^[ ]*$/d
8331 '"s|^| $ac_top_srcdir/|" \
8332 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
8334 if test ! -f "po/Makefile"; then
8335 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
8336 echo "$as_me: error: po/Makefile is not ready." >&2;}
8337 { (exit 1); exit 1; }; }
8339 mv "po/Makefile" "po/Makefile.tmp"
8340 sed '/^POTFILES =/,/[^\\]$/ {
8341 /^POTFILES =/!d
8342 r po/POTFILES
8344 ' "po/Makefile.tmp" >"po/Makefile"
8345 rm -f "po/Makefile.tmp"
8346 mv "po/stamp-it.tmp" "po/stamp-it"
8349 esac
8350 done # for ac_tag
8353 { (exit 0); exit 0; }
8354 _ACEOF
8355 chmod +x $CONFIG_STATUS
8356 ac_clean_files=$ac_clean_files_save
8359 # configure is writing to config.log, and then calls config.status.
8360 # config.status does its own redirection, appending to config.log.
8361 # Unfortunately, on DOS this fails, as config.log is still kept open
8362 # by configure, so config.status won't be able to write to it; its
8363 # output is simply discarded. So we exec the FD to /dev/null,
8364 # effectively closing config.log, so it can be properly (re)opened and
8365 # appended to by config.status. When coming back to configure, we
8366 # need to make the FD available again.
8367 if test "$no_create" != yes; then
8368 ac_cs_success=:
8369 ac_config_status_args=
8370 test "$silent" = yes &&
8371 ac_config_status_args="$ac_config_status_args --quiet"
8372 exec 5>/dev/null
8373 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8374 exec 5>>config.log
8375 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8376 # would make configure fail if this is the last instruction.
8377 $ac_cs_success || { (exit 1); exit 1; }
8381 echo
8382 echo $PACKAGE v$VERSION
8383 echo
8385 echo Prefix............... : $prefix
8386 echo
8387 echo "Type 'make' to build"
8388 echo