python/pytest-black: drop deprecated path from pytest_collect_file
[oi-userland.git] / components / inputmethod / imf-selector / src / configure
blobca7256fe8d345e664d9b97450753b61ce36ebb9b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="src/imf-selector"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 # include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 # include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
653 USE_NLS
654 INTLTOOL_UPDATE
655 INTLTOOL_MERGE
656 INTLTOOL_EXTRACT
657 INTLTOOL_DESKTOP_RULE
658 INTLTOOL_DIRECTORY_RULE
659 INTLTOOL_KEYS_RULE
660 INTLTOOL_PROP_RULE
661 INTLTOOL_OAF_RULE
662 INTLTOOL_PONG_RULE
663 INTLTOOL_SERVER_RULE
664 INTLTOOL_SHEET_RULE
665 INTLTOOL_SOUNDLIST_RULE
666 INTLTOOL_UI_RULE
667 INTLTOOL_XAM_RULE
668 INTLTOOL_KBD_RULE
669 INTLTOOL_XML_RULE
670 INTLTOOL_XML_NOMERGE_RULE
671 INTLTOOL_CAVES_RULE
672 INTLTOOL_SCHEMAS_RULE
673 INTLTOOL_THEME_RULE
674 INTLTOOL_SERVICE_RULE
675 INTLTOOL_POLICY_RULE
676 XGETTEXT
677 MSGMERGE
678 MSGFMT
679 GMSGFMT
680 INTLTOOL_PERL
681 ALL_LINGUAS
683 CFLAGS
684 LDFLAGS
685 CPPFLAGS
686 ac_ct_CC
687 EXEEXT
688 OBJEXT
689 DATADIRNAME
690 PYTHON
691 PYTHON_VERSION
692 PYTHON_PREFIX
693 PYTHON_EXEC_PREFIX
694 PYTHON_PLATFORM
695 pythondir
696 pkgpythondir
697 pyexecdir
698 pkgpyexecdir
699 GETTEXT_PACKAGE
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 am__isrc
704 CYGPATH_W
705 PACKAGE
706 VERSION
707 ACLOCAL
708 AUTOCONF
709 AUTOMAKE
710 AUTOHEADER
711 MAKEINFO
712 install_sh
713 STRIP
714 INSTALL_STRIP_PROGRAM
715 mkdir_p
717 SET_MAKE
718 am__leading_dot
719 AMTAR
720 am__tar
721 am__untar
722 DEPDIR
723 am__include
724 am__quote
725 AMDEP_TRUE
726 AMDEP_FALSE
727 AMDEPBACKSLASH
728 CCDEPMODE
729 am__fastdepCC_TRUE
730 am__fastdepCC_FALSE
732 GREP
733 EGREP
734 build
735 build_cpu
736 build_vendor
737 build_os
738 host
739 host_cpu
740 host_vendor
741 host_os
742 MSGFMT_OPTS
743 CATALOGS
744 CATOBJEXT
745 GMOFILES
746 INSTOBJEXT
747 INTLLIBS
748 PO_IN_DATADIR_TRUE
749 PO_IN_DATADIR_FALSE
750 POFILES
751 POSUB
752 MKINSTALLDIRS
753 MAINTAINER_MODE_TRUE
754 MAINTAINER_MODE_FALSE
755 MAINT
756 LIBOBJS
757 LTLIBOBJS'
758 ac_subst_files=''
759 ac_precious_vars='build_alias
760 host_alias
761 target_alias
763 CFLAGS
764 LDFLAGS
765 LIBS
766 CPPFLAGS
767 CPP'
770 # Initialize some variables set by options.
771 ac_init_help=
772 ac_init_version=false
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
775 cache_file=/dev/null
776 exec_prefix=NONE
777 no_create=
778 no_recursion=
779 prefix=NONE
780 program_prefix=NONE
781 program_suffix=NONE
782 program_transform_name=s,x,x,
783 silent=
784 site=
785 srcdir=
786 verbose=
787 x_includes=NONE
788 x_libraries=NONE
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir='${exec_prefix}/bin'
797 sbindir='${exec_prefix}/sbin'
798 libexecdir='${exec_prefix}/libexec'
799 datarootdir='${prefix}/share'
800 datadir='${datarootdir}'
801 sysconfdir='${prefix}/etc'
802 sharedstatedir='${prefix}/com'
803 localstatedir='${prefix}/var'
804 includedir='${prefix}/include'
805 oldincludedir='/usr/include'
806 docdir='${datarootdir}/doc/${PACKAGE}'
807 infodir='${datarootdir}/info'
808 htmldir='${docdir}'
809 dvidir='${docdir}'
810 pdfdir='${docdir}'
811 psdir='${docdir}'
812 libdir='${exec_prefix}/lib'
813 localedir='${datarootdir}/locale'
814 mandir='${datarootdir}/man'
816 ac_prev=
817 ac_dashdash=
818 for ac_option
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\$ac_option
823 ac_prev=
824 continue
827 case $ac_option in
828 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
829 *) ac_optarg=yes ;;
830 esac
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
836 ac_dashdash=yes ;;
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
839 ac_prev=bindir ;;
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 bindir=$ac_optarg ;;
843 -build | --build | --buil | --bui | --bu)
844 ac_prev=build_alias ;;
845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
846 build_alias=$ac_optarg ;;
848 -cache-file | --cache-file | --cache-fil | --cache-fi \
849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
850 ac_prev=cache_file ;;
851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
853 cache_file=$ac_optarg ;;
855 --config-cache | -C)
856 cache_file=config.cache ;;
858 -datadir | --datadir | --datadi | --datad)
859 ac_prev=datadir ;;
860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
861 datadir=$ac_optarg ;;
863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
864 | --dataroo | --dataro | --datar)
865 ac_prev=datarootdir ;;
866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
868 datarootdir=$ac_optarg ;;
870 -disable-* | --disable-*)
871 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
874 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
875 { (exit 1); exit 1; }; }
876 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
877 eval enable_$ac_feature=no ;;
879 -docdir | --docdir | --docdi | --doc | --do)
880 ac_prev=docdir ;;
881 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
882 docdir=$ac_optarg ;;
884 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
885 ac_prev=dvidir ;;
886 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
887 dvidir=$ac_optarg ;;
889 -enable-* | --enable-*)
890 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
893 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
894 { (exit 1); exit 1; }; }
895 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
896 eval enable_$ac_feature=\$ac_optarg ;;
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
909 with_gas=yes ;;
911 -help | --help | --hel | --he | -h)
912 ac_init_help=long ;;
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 ac_prev=htmldir ;;
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 | --ht=*)
927 htmldir=$ac_optarg ;;
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 ac_prev=infodir ;;
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
942 ac_prev=libdir ;;
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 libdir=$ac_optarg ;;
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
954 ac_prev=localedir ;;
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 ac_prev=mandir ;;
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 mandir=$ac_optarg ;;
970 -nfp | --nfp | --nf)
971 # Obsolete; use --without-fp.
972 with_fp=no ;;
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
976 no_create=yes ;;
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 no_recursion=yes ;;
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 ac_prev=prefix ;;
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 prefix=$ac_optarg ;;
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 ac_prev=pdfdir ;;
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1033 ac_prev=psdir ;;
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 psdir=$ac_optarg ;;
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 silent=yes ;;
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 ac_prev=sbindir ;;
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 | --sbi=* | --sb=*)
1045 sbindir=$ac_optarg ;;
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1050 | --sha | --sh)
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 | --sha=* | --sh=*)
1056 sharedstatedir=$ac_optarg ;;
1058 -site | --site | --sit)
1059 ac_prev=site ;;
1060 -site=* | --site=* | --sit=*)
1061 site=$ac_optarg ;;
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 ac_prev=srcdir ;;
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 verbose=yes ;;
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1086 -with-* | --with-*)
1087 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090 { echo "$as_me: error: invalid package name: $ac_package" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1093 eval with_$ac_package=\$ac_optarg ;;
1095 -without-* | --without-*)
1096 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1099 { echo "$as_me: error: invalid package name: $ac_package" >&2
1100 { (exit 1); exit 1; }; }
1101 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1102 eval with_$ac_package=no ;;
1104 --x)
1105 # Obsolete; use --with-x.
1106 with_x=yes ;;
1108 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1109 | --x-incl | --x-inc | --x-in | --x-i)
1110 ac_prev=x_includes ;;
1111 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1112 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1113 x_includes=$ac_optarg ;;
1115 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1116 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1117 ac_prev=x_libraries ;;
1118 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1120 x_libraries=$ac_optarg ;;
1122 -*) { echo "$as_me: error: unrecognized option: $ac_option
1123 Try \`$0 --help' for more information." >&2
1124 { (exit 1); exit 1; }; }
1127 *=*)
1128 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1131 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1132 { (exit 1); exit 1; }; }
1133 eval $ac_envvar=\$ac_optarg
1134 export $ac_envvar ;;
1137 # FIXME: should be removed in autoconf 3.0.
1138 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1140 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1144 esac
1145 done
1147 if test -n "$ac_prev"; then
1148 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1149 { echo "$as_me: error: missing argument to $ac_option" >&2
1150 { (exit 1); exit 1; }; }
1153 # Be sure to have absolute directory names.
1154 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155 datadir sysconfdir sharedstatedir localstatedir includedir \
1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157 libdir localedir mandir
1159 eval ac_val=\$$ac_var
1160 case $ac_val in
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163 esac
1164 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1165 { (exit 1); exit 1; }; }
1166 done
1168 # There might be people who depend on the old broken behavior: `$host'
1169 # used to hold the argument of --host etc.
1170 # FIXME: To remove some day.
1171 build=$build_alias
1172 host=$host_alias
1173 target=$target_alias
1175 # FIXME: To remove some day.
1176 if test "x$host_alias" != x; then
1177 if test "x$build_alias" = x; then
1178 cross_compiling=maybe
1179 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1180 If a cross compiler is detected then cross compile mode will be used." >&2
1181 elif test "x$build_alias" != "x$host_alias"; then
1182 cross_compiling=yes
1186 ac_tool_prefix=
1187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1189 test "$silent" = yes && exec 6>/dev/null
1192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193 ac_ls_di=`ls -di .` &&
1194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195 { echo "$as_me: error: Working directory cannot be determined" >&2
1196 { (exit 1); exit 1; }; }
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 { echo "$as_me: error: pwd does not report name of working directory" >&2
1199 { (exit 1); exit 1; }; }
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204 ac_srcdir_defaulted=yes
1205 # Try the directory containing this script, then the parent directory.
1206 ac_confdir=`$as_dirname -- "$0" ||
1207 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208 X"$0" : 'X\(//\)[^/]' \| \
1209 X"$0" : 'X\(//\)$' \| \
1210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1211 echo X"$0" |
1212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1213 s//\1/
1216 /^X\(\/\/\)[^/].*/{
1217 s//\1/
1220 /^X\(\/\/\)$/{
1221 s//\1/
1224 /^X\(\/\).*/{
1225 s//\1/
1228 s/.*/./; q'`
1229 srcdir=$ac_confdir
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1231 srcdir=..
1233 else
1234 ac_srcdir_defaulted=no
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1239 { (exit 1); exit 1; }; }
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 ac_abs_confdir=`(
1243 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1244 { (exit 1); exit 1; }; }
1245 pwd)`
1246 # When building in place, set srcdir=.
1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248 srcdir=.
1250 # Remove unnecessary trailing slashes from srcdir.
1251 # Double slashes in file names in object file debugging info
1252 # mess up M-x gdb in Emacs.
1253 case $srcdir in
1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 esac
1256 for ac_var in $ac_precious_vars; do
1257 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_env_${ac_var}_value=\$${ac_var}
1259 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261 done
1264 # Report the --help message.
1266 if test "$ac_init_help" = "long"; then
1267 # Omit some internal or obsolete options to make the list less imposing.
1268 # This message is too long to be a string in the A/UX 3.1 sh.
1269 cat <<_ACEOF
1270 \`configure' configures this package to adapt to many kinds of systems.
1272 Usage: $0 [OPTION]... [VAR=VALUE]...
1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275 VAR=VALUE. See below for descriptions of some of the useful variables.
1277 Defaults for the options are specified in brackets.
1279 Configuration:
1280 -h, --help display this help and exit
1281 --help=short display options specific to this package
1282 --help=recursive display the short help of all the included packages
1283 -V, --version display version information and exit
1284 -q, --quiet, --silent do not print \`checking...' messages
1285 --cache-file=FILE cache test results in FILE [disabled]
1286 -C, --config-cache alias for \`--cache-file=config.cache'
1287 -n, --no-create do not create output files
1288 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1290 Installation directories:
1291 --prefix=PREFIX install architecture-independent files in PREFIX
1292 [$ac_default_prefix]
1293 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1294 [PREFIX]
1296 By default, \`make install' will install all the files in
1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299 for instance \`--prefix=\$HOME'.
1301 For better control, use the options below.
1303 Fine tuning of the installation directories:
1304 --bindir=DIR user executables [EPREFIX/bin]
1305 --sbindir=DIR system admin executables [EPREFIX/sbin]
1306 --libexecdir=DIR program executables [EPREFIX/libexec]
1307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1309 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1310 --libdir=DIR object code libraries [EPREFIX/lib]
1311 --includedir=DIR C header files [PREFIX/include]
1312 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1313 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1314 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1315 --infodir=DIR info documentation [DATAROOTDIR/info]
1316 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1317 --mandir=DIR man documentation [DATAROOTDIR/man]
1318 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1319 --htmldir=DIR html documentation [DOCDIR]
1320 --dvidir=DIR dvi documentation [DOCDIR]
1321 --pdfdir=DIR pdf documentation [DOCDIR]
1322 --psdir=DIR ps documentation [DOCDIR]
1323 _ACEOF
1325 cat <<\_ACEOF
1327 Program names:
1328 --program-prefix=PREFIX prepend PREFIX to installed program names
1329 --program-suffix=SUFFIX append SUFFIX to installed program names
1330 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1332 System types:
1333 --build=BUILD configure for building on BUILD [guessed]
1334 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1335 _ACEOF
1338 if test -n "$ac_init_help"; then
1340 cat <<\_ACEOF
1342 Optional Features:
1343 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1344 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1345 --disable-nls do not use Native Language Support
1346 --disable-dependency-tracking speeds up one-time build
1347 --enable-dependency-tracking do not reject slow dependency extractors
1348 --enable-maintainer-mode enable make rules and dependencies not useful
1349 (and sometimes confusing) to the casual installer
1351 Some influential environment variables:
1352 CC C compiler command
1353 CFLAGS C compiler flags
1354 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1355 nonstandard directory <lib dir>
1356 LIBS libraries to pass to the linker, e.g. -l<library>
1357 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1358 you have headers in a nonstandard directory <include dir>
1359 CPP C preprocessor
1361 Use these variables to override the choices made by `configure' or to help
1362 it to find libraries and programs with nonstandard names/locations.
1364 _ACEOF
1365 ac_status=$?
1368 if test "$ac_init_help" = "recursive"; then
1369 # If there are subdirs, report their specific --help.
1370 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1371 test -d "$ac_dir" || continue
1372 ac_builddir=.
1374 case "$ac_dir" in
1375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1378 # A ".." for each directory in $ac_dir_suffix.
1379 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1380 case $ac_top_builddir_sub in
1381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1383 esac ;;
1384 esac
1385 ac_abs_top_builddir=$ac_pwd
1386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1387 # for backward compatibility:
1388 ac_top_builddir=$ac_top_build_prefix
1390 case $srcdir in
1391 .) # We are building in place.
1392 ac_srcdir=.
1393 ac_top_srcdir=$ac_top_builddir_sub
1394 ac_abs_top_srcdir=$ac_pwd ;;
1395 [\\/]* | ?:[\\/]* ) # Absolute name.
1396 ac_srcdir=$srcdir$ac_dir_suffix;
1397 ac_top_srcdir=$srcdir
1398 ac_abs_top_srcdir=$srcdir ;;
1399 *) # Relative name.
1400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1401 ac_top_srcdir=$ac_top_build_prefix$srcdir
1402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1403 esac
1404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1406 cd "$ac_dir" || { ac_status=$?; continue; }
1407 # Check for guested configure.
1408 if test -f "$ac_srcdir/configure.gnu"; then
1409 echo &&
1410 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1411 elif test -f "$ac_srcdir/configure"; then
1412 echo &&
1413 $SHELL "$ac_srcdir/configure" --help=recursive
1414 else
1415 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1416 fi || ac_status=$?
1417 cd "$ac_pwd" || { ac_status=$?; break; }
1418 done
1421 test -n "$ac_init_help" && exit $ac_status
1422 if $ac_init_version; then
1423 cat <<\_ACEOF
1424 configure
1425 generated by GNU Autoconf 2.61
1427 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1428 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1429 This configure script is free software; the Free Software Foundation
1430 gives unlimited permission to copy, distribute and modify it.
1431 _ACEOF
1432 exit
1434 cat >config.log <<_ACEOF
1435 This file contains any messages produced by compilers while
1436 running configure, to aid debugging if configure makes a mistake.
1438 It was created by $as_me, which was
1439 generated by GNU Autoconf 2.61. Invocation command line was
1441 $ $0 $@
1443 _ACEOF
1444 exec 5>>config.log
1446 cat <<_ASUNAME
1447 ## --------- ##
1448 ## Platform. ##
1449 ## --------- ##
1451 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1452 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1453 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1454 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1455 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1457 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1458 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1460 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1461 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1462 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1463 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1464 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1465 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1466 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1468 _ASUNAME
1470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471 for as_dir in $PATH
1473 IFS=$as_save_IFS
1474 test -z "$as_dir" && as_dir=.
1475 echo "PATH: $as_dir"
1476 done
1477 IFS=$as_save_IFS
1479 } >&5
1481 cat >&5 <<_ACEOF
1484 ## ----------- ##
1485 ## Core tests. ##
1486 ## ----------- ##
1488 _ACEOF
1491 # Keep a trace of the command line.
1492 # Strip out --no-create and --no-recursion so they do not pile up.
1493 # Strip out --silent because we don't want to record it for future runs.
1494 # Also quote any args containing shell meta-characters.
1495 # Make two passes to allow for proper duplicate-argument suppression.
1496 ac_configure_args=
1497 ac_configure_args0=
1498 ac_configure_args1=
1499 ac_must_keep_next=false
1500 for ac_pass in 1 2
1502 for ac_arg
1504 case $ac_arg in
1505 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1506 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1507 | -silent | --silent | --silen | --sile | --sil)
1508 continue ;;
1509 *\'*)
1510 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1511 esac
1512 case $ac_pass in
1513 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1515 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1516 if test $ac_must_keep_next = true; then
1517 ac_must_keep_next=false # Got value, back to normal.
1518 else
1519 case $ac_arg in
1520 *=* | --config-cache | -C | -disable-* | --disable-* \
1521 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1522 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1523 | -with-* | --with-* | -without-* | --without-* | --x)
1524 case "$ac_configure_args0 " in
1525 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1526 esac
1528 -* ) ac_must_keep_next=true ;;
1529 esac
1531 ac_configure_args="$ac_configure_args '$ac_arg'"
1533 esac
1534 done
1535 done
1536 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1537 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1539 # When interrupted or exit'd, cleanup temporary files, and complete
1540 # config.log. We remove comments because anyway the quotes in there
1541 # would cause problems or look ugly.
1542 # WARNING: Use '\'' to represent an apostrophe within the trap.
1543 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1544 trap 'exit_status=$?
1545 # Save into config.log some information that might help in debugging.
1547 echo
1549 cat <<\_ASBOX
1550 ## ---------------- ##
1551 ## Cache variables. ##
1552 ## ---------------- ##
1553 _ASBOX
1554 echo
1555 # The following way of writing the cache mishandles newlines in values,
1557 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1558 eval ac_val=\$$ac_var
1559 case $ac_val in #(
1560 *${as_nl}*)
1561 case $ac_var in #(
1562 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1563 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1564 esac
1565 case $ac_var in #(
1566 _ | IFS | as_nl) ;; #(
1567 *) $as_unset $ac_var ;;
1568 esac ;;
1569 esac
1570 done
1571 (set) 2>&1 |
1572 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1573 *${as_nl}ac_space=\ *)
1574 sed -n \
1575 "s/'\''/'\''\\\\'\'''\''/g;
1576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1577 ;; #(
1579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1581 esac |
1582 sort
1584 echo
1586 cat <<\_ASBOX
1587 ## ----------------- ##
1588 ## Output variables. ##
1589 ## ----------------- ##
1590 _ASBOX
1591 echo
1592 for ac_var in $ac_subst_vars
1594 eval ac_val=\$$ac_var
1595 case $ac_val in
1596 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 esac
1598 echo "$ac_var='\''$ac_val'\''"
1599 done | sort
1600 echo
1602 if test -n "$ac_subst_files"; then
1603 cat <<\_ASBOX
1604 ## ------------------- ##
1605 ## File substitutions. ##
1606 ## ------------------- ##
1607 _ASBOX
1608 echo
1609 for ac_var in $ac_subst_files
1611 eval ac_val=\$$ac_var
1612 case $ac_val in
1613 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 esac
1615 echo "$ac_var='\''$ac_val'\''"
1616 done | sort
1617 echo
1620 if test -s confdefs.h; then
1621 cat <<\_ASBOX
1622 ## ----------- ##
1623 ## confdefs.h. ##
1624 ## ----------- ##
1625 _ASBOX
1626 echo
1627 cat confdefs.h
1628 echo
1630 test "$ac_signal" != 0 &&
1631 echo "$as_me: caught signal $ac_signal"
1632 echo "$as_me: exit $exit_status"
1633 } >&5
1634 rm -f core *.core core.conftest.* &&
1635 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1636 exit $exit_status
1638 for ac_signal in 1 2 13 15; do
1639 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1640 done
1641 ac_signal=0
1643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1644 rm -f -r conftest* confdefs.h
1646 # Predefined preprocessor variables.
1648 cat >>confdefs.h <<_ACEOF
1649 #define PACKAGE_NAME "$PACKAGE_NAME"
1650 _ACEOF
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 _ACEOF
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1660 _ACEOF
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 _ACEOF
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1670 _ACEOF
1673 # Let the site file select an alternate cache file if it wants to.
1674 # Prefer explicitly selected file to automatically selected ones.
1675 if test -n "$CONFIG_SITE"; then
1676 set x "$CONFIG_SITE"
1677 elif test "x$prefix" != xNONE; then
1678 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1679 else
1680 set x "$ac_default_prefix/share/config.site" \
1681 "$ac_default_prefix/etc/config.site"
1683 shift
1684 for ac_site_file
1686 if test -r "$ac_site_file"; then
1687 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1688 echo "$as_me: loading site script $ac_site_file" >&6;}
1689 sed 's/^/| /' "$ac_site_file" >&5
1690 . "$ac_site_file"
1692 done
1694 if test -r "$cache_file"; then
1695 # Some versions of bash will fail to source /dev/null (special
1696 # files actually), so we avoid doing that.
1697 if test -f "$cache_file"; then
1698 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1699 echo "$as_me: loading cache $cache_file" >&6;}
1700 case $cache_file in
1701 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1702 *) . "./$cache_file";;
1703 esac
1705 else
1706 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1707 echo "$as_me: creating cache $cache_file" >&6;}
1708 >$cache_file
1711 # Check that the precious variables saved in the cache have kept the same
1712 # value.
1713 ac_cache_corrupted=false
1714 for ac_var in $ac_precious_vars; do
1715 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1716 eval ac_new_set=\$ac_env_${ac_var}_set
1717 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1718 eval ac_new_val=\$ac_env_${ac_var}_value
1719 case $ac_old_set,$ac_new_set in
1720 set,)
1721 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1722 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1723 ac_cache_corrupted=: ;;
1724 ,set)
1725 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1726 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1727 ac_cache_corrupted=: ;;
1728 ,);;
1730 if test "x$ac_old_val" != "x$ac_new_val"; then
1731 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1732 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1733 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1734 echo "$as_me: former value: $ac_old_val" >&2;}
1735 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1736 echo "$as_me: current value: $ac_new_val" >&2;}
1737 ac_cache_corrupted=:
1738 fi;;
1739 esac
1740 # Pass precious variables to config.status.
1741 if test "$ac_new_set" = set; then
1742 case $ac_new_val in
1743 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1744 *) ac_arg=$ac_var=$ac_new_val ;;
1745 esac
1746 case " $ac_configure_args " in
1747 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1748 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1749 esac
1751 done
1752 if $ac_cache_corrupted; then
1753 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1754 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1755 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1756 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1757 { (exit 1); exit 1; }; }
1776 ac_ext=c
1777 ac_cpp='$CPP $CPPFLAGS'
1778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1784 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1785 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
1786 # Check whether --enable-nls was given.
1787 if test "${enable_nls+set}" = set; then
1788 enableval=$enable_nls; USE_NLS=$enableval
1789 else
1790 USE_NLS=yes
1793 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
1794 echo "${ECHO_T}$USE_NLS" >&6; }
1797 ac_ext=c
1798 ac_cpp='$CPP $CPPFLAGS'
1799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1802 if test -n "$ac_tool_prefix"; then
1803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1807 if test "${ac_cv_prog_CC+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 if test -n "$CC"; then
1811 ac_cv_prog_CC="$CC" # Let the user override the test.
1812 else
1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 for as_dir in $PATH
1816 IFS=$as_save_IFS
1817 test -z "$as_dir" && as_dir=.
1818 for ac_exec_ext in '' $ac_executable_extensions; do
1819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1820 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 break 2
1824 done
1825 done
1826 IFS=$as_save_IFS
1830 CC=$ac_cv_prog_CC
1831 if test -n "$CC"; then
1832 { echo "$as_me:$LINENO: result: $CC" >&5
1833 echo "${ECHO_T}$CC" >&6; }
1834 else
1835 { echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6; }
1841 if test -z "$ac_cv_prog_CC"; then
1842 ac_ct_CC=$CC
1843 # Extract the first word of "gcc", so it can be a program name with args.
1844 set dummy gcc; ac_word=$2
1845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 else
1850 if test -n "$ac_ct_CC"; then
1851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1852 else
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 for as_dir in $PATH
1856 IFS=$as_save_IFS
1857 test -z "$as_dir" && as_dir=.
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1860 ac_cv_prog_ac_ct_CC="gcc"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 break 2
1864 done
1865 done
1866 IFS=$as_save_IFS
1870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1871 if test -n "$ac_ct_CC"; then
1872 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1873 echo "${ECHO_T}$ac_ct_CC" >&6; }
1874 else
1875 { echo "$as_me:$LINENO: result: no" >&5
1876 echo "${ECHO_T}no" >&6; }
1879 if test "x$ac_ct_CC" = x; then
1880 CC=""
1881 else
1882 case $cross_compiling:$ac_tool_warned in
1883 yes:)
1884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1885 whose name does not start with the host triplet. If you think this
1886 configuration is useful to you, please write to autoconf@gnu.org." >&5
1887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1888 whose name does not start with the host triplet. If you think this
1889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1890 ac_tool_warned=yes ;;
1891 esac
1892 CC=$ac_ct_CC
1894 else
1895 CC="$ac_cv_prog_CC"
1898 if test -z "$CC"; then
1899 if test -n "$ac_tool_prefix"; then
1900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1901 set dummy ${ac_tool_prefix}cc; ac_word=$2
1902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1904 if test "${ac_cv_prog_CC+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 else
1907 if test -n "$CC"; then
1908 ac_cv_prog_CC="$CC" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1917 ac_cv_prog_CC="${ac_tool_prefix}cc"
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 break 2
1921 done
1922 done
1923 IFS=$as_save_IFS
1927 CC=$ac_cv_prog_CC
1928 if test -n "$CC"; then
1929 { echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6; }
1931 else
1932 { echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6; }
1939 if test -z "$CC"; then
1940 # Extract the first word of "cc", so it can be a program name with args.
1941 set dummy cc; ac_word=$2
1942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1944 if test "${ac_cv_prog_CC+set}" = set; then
1945 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 else
1947 if test -n "$CC"; then
1948 ac_cv_prog_CC="$CC" # Let the user override the test.
1949 else
1950 ac_prog_rejected=no
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 for as_dir in $PATH
1954 IFS=$as_save_IFS
1955 test -z "$as_dir" && as_dir=.
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1959 ac_prog_rejected=yes
1960 continue
1962 ac_cv_prog_CC="cc"
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964 break 2
1966 done
1967 done
1968 IFS=$as_save_IFS
1970 if test $ac_prog_rejected = yes; then
1971 # We found a bogon in the path, so make sure we never use it.
1972 set dummy $ac_cv_prog_CC
1973 shift
1974 if test $# != 0; then
1975 # We chose a different compiler from the bogus one.
1976 # However, it has the same basename, so the bogon will be chosen
1977 # first if we set CC to just the basename; use the full file name.
1978 shift
1979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1984 CC=$ac_cv_prog_CC
1985 if test -n "$CC"; then
1986 { echo "$as_me:$LINENO: result: $CC" >&5
1987 echo "${ECHO_T}$CC" >&6; }
1988 else
1989 { echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6; }
1995 if test -z "$CC"; then
1996 if test -n "$ac_tool_prefix"; then
1997 for ac_prog in cl.exe
1999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2003 if test "${ac_cv_prog_CC+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006 if test -n "$CC"; then
2007 ac_cv_prog_CC="$CC" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2020 done
2021 done
2022 IFS=$as_save_IFS
2026 CC=$ac_cv_prog_CC
2027 if test -n "$CC"; then
2028 { echo "$as_me:$LINENO: result: $CC" >&5
2029 echo "${ECHO_T}$CC" >&6; }
2030 else
2031 { echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6; }
2036 test -n "$CC" && break
2037 done
2039 if test -z "$CC"; then
2040 ac_ct_CC=$CC
2041 for ac_prog in cl.exe
2043 # Extract the first word of "$ac_prog", so it can be a program name with args.
2044 set dummy $ac_prog; ac_word=$2
2045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 else
2050 if test -n "$ac_ct_CC"; then
2051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2052 else
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 for as_dir in $PATH
2056 IFS=$as_save_IFS
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060 ac_cv_prog_ac_ct_CC="$ac_prog"
2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 break 2
2064 done
2065 done
2066 IFS=$as_save_IFS
2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2071 if test -n "$ac_ct_CC"; then
2072 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2073 echo "${ECHO_T}$ac_ct_CC" >&6; }
2074 else
2075 { echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6; }
2080 test -n "$ac_ct_CC" && break
2081 done
2083 if test "x$ac_ct_CC" = x; then
2084 CC=""
2085 else
2086 case $cross_compiling:$ac_tool_warned in
2087 yes:)
2088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2089 whose name does not start with the host triplet. If you think this
2090 configuration is useful to you, please write to autoconf@gnu.org." >&5
2091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2092 whose name does not start with the host triplet. If you think this
2093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2094 ac_tool_warned=yes ;;
2095 esac
2096 CC=$ac_ct_CC
2103 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: no acceptable C compiler found in \$PATH
2106 See \`config.log' for more details." >&2;}
2107 { (exit 1); exit 1; }; }
2109 # Provide some information about the compiler.
2110 echo "$as_me:$LINENO: checking for C compiler version" >&5
2111 ac_compiler=`set X $ac_compile; echo $2`
2112 { (ac_try="$ac_compiler --version >&5"
2113 case "(($ac_try" in
2114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2115 *) ac_try_echo=$ac_try;;
2116 esac
2117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2118 (eval "$ac_compiler --version >&5") 2>&5
2119 ac_status=$?
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }
2122 { (ac_try="$ac_compiler -v >&5"
2123 case "(($ac_try" in
2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125 *) ac_try_echo=$ac_try;;
2126 esac
2127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2128 (eval "$ac_compiler -v >&5") 2>&5
2129 ac_status=$?
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }
2132 { (ac_try="$ac_compiler -V >&5"
2133 case "(($ac_try" in
2134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2135 *) ac_try_echo=$ac_try;;
2136 esac
2137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2138 (eval "$ac_compiler -V >&5") 2>&5
2139 ac_status=$?
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }
2143 cat >conftest.$ac_ext <<_ACEOF
2144 /* confdefs.h. */
2145 _ACEOF
2146 cat confdefs.h >>conftest.$ac_ext
2147 cat >>conftest.$ac_ext <<_ACEOF
2148 /* end confdefs.h. */
2151 main ()
2155 return 0;
2157 _ACEOF
2158 ac_clean_files_save=$ac_clean_files
2159 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2160 # Try to create an executable without -o first, disregard a.out.
2161 # It will help us diagnose broken compilers, and finding out an intuition
2162 # of exeext.
2163 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2164 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2165 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2167 # List of possible output files, starting from the most likely.
2168 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2169 # only as a last resort. b.out is created by i960 compilers.
2170 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2172 # The IRIX 6 linker writes into existing files which may not be
2173 # executable, retaining their permissions. Remove them first so a
2174 # subsequent execution test works.
2175 ac_rmfiles=
2176 for ac_file in $ac_files
2178 case $ac_file in
2179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2180 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2181 esac
2182 done
2183 rm -f $ac_rmfiles
2185 if { (ac_try="$ac_link_default"
2186 case "(($ac_try" in
2187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2188 *) ac_try_echo=$ac_try;;
2189 esac
2190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2191 (eval "$ac_link_default") 2>&5
2192 ac_status=$?
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; then
2195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2198 # so that the user can short-circuit this test for compilers unknown to
2199 # Autoconf.
2200 for ac_file in $ac_files ''
2202 test -f "$ac_file" || continue
2203 case $ac_file in
2204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2206 [ab].out )
2207 # We found the default executable, but exeext='' is most
2208 # certainly right.
2209 break;;
2210 *.* )
2211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2212 then :; else
2213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2215 # We set ac_cv_exeext here because the later test for it is not
2216 # safe: cross compilers may not add the suffix if given an `-o'
2217 # argument, so we may need to know it at that point already.
2218 # Even if this section looks crufty: it has the advantage of
2219 # actually working.
2220 break;;
2222 break;;
2223 esac
2224 done
2225 test "$ac_cv_exeext" = no && ac_cv_exeext=
2227 else
2228 ac_file=''
2231 { echo "$as_me:$LINENO: result: $ac_file" >&5
2232 echo "${ECHO_T}$ac_file" >&6; }
2233 if test -z "$ac_file"; then
2234 echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2237 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2238 See \`config.log' for more details." >&5
2239 echo "$as_me: error: C compiler cannot create executables
2240 See \`config.log' for more details." >&2;}
2241 { (exit 77); exit 77; }; }
2244 ac_exeext=$ac_cv_exeext
2246 # Check that the compiler produces executables we can run. If not, either
2247 # the compiler is broken, or we cross compile.
2248 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2251 # If not cross compiling, check that we can run a simple program.
2252 if test "$cross_compiling" != yes; then
2253 if { ac_try='./$ac_file'
2254 { (case "(($ac_try" in
2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256 *) ac_try_echo=$ac_try;;
2257 esac
2258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2259 (eval "$ac_try") 2>&5
2260 ac_status=$?
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; }; then
2263 cross_compiling=no
2264 else
2265 if test "$cross_compiling" = maybe; then
2266 cross_compiling=yes
2267 else
2268 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2269 If you meant to cross compile, use \`--host'.
2270 See \`config.log' for more details." >&5
2271 echo "$as_me: error: cannot run C compiled programs.
2272 If you meant to cross compile, use \`--host'.
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2278 { echo "$as_me:$LINENO: result: yes" >&5
2279 echo "${ECHO_T}yes" >&6; }
2281 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2282 ac_clean_files=$ac_clean_files_save
2283 # Check that the compiler produces executables we can run. If not, either
2284 # the compiler is broken, or we cross compile.
2285 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2286 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2287 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2288 echo "${ECHO_T}$cross_compiling" >&6; }
2290 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2291 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2292 if { (ac_try="$ac_link"
2293 case "(($ac_try" in
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2296 esac
2297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2298 (eval "$ac_link") 2>&5
2299 ac_status=$?
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; then
2302 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2303 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2304 # work properly (i.e., refer to `conftest.exe'), while it won't with
2305 # `rm'.
2306 for ac_file in conftest.exe conftest conftest.*; do
2307 test -f "$ac_file" || continue
2308 case $ac_file in
2309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2310 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2311 break;;
2312 * ) break;;
2313 esac
2314 done
2315 else
2316 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2317 See \`config.log' for more details." >&5
2318 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2319 See \`config.log' for more details." >&2;}
2320 { (exit 1); exit 1; }; }
2323 rm -f conftest$ac_cv_exeext
2324 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2325 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2327 rm -f conftest.$ac_ext
2328 EXEEXT=$ac_cv_exeext
2329 ac_exeext=$EXEEXT
2330 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2331 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2332 if test "${ac_cv_objext+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 else
2335 cat >conftest.$ac_ext <<_ACEOF
2336 /* confdefs.h. */
2337 _ACEOF
2338 cat confdefs.h >>conftest.$ac_ext
2339 cat >>conftest.$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2343 main ()
2347 return 0;
2349 _ACEOF
2350 rm -f conftest.o conftest.obj
2351 if { (ac_try="$ac_compile"
2352 case "(($ac_try" in
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2355 esac
2356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2357 (eval "$ac_compile") 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; then
2361 for ac_file in conftest.o conftest.obj conftest.*; do
2362 test -f "$ac_file" || continue;
2363 case $ac_file in
2364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2366 break;;
2367 esac
2368 done
2369 else
2370 echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2373 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2374 See \`config.log' for more details." >&5
2375 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2376 See \`config.log' for more details." >&2;}
2377 { (exit 1); exit 1; }; }
2380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2382 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2383 echo "${ECHO_T}$ac_cv_objext" >&6; }
2384 OBJEXT=$ac_cv_objext
2385 ac_objext=$OBJEXT
2386 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2387 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 else
2391 cat >conftest.$ac_ext <<_ACEOF
2392 /* confdefs.h. */
2393 _ACEOF
2394 cat confdefs.h >>conftest.$ac_ext
2395 cat >>conftest.$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2399 main ()
2401 #ifndef __GNUC__
2402 choke me
2403 #endif
2406 return 0;
2408 _ACEOF
2409 rm -f conftest.$ac_objext
2410 if { (ac_try="$ac_compile"
2411 case "(($ac_try" in
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2414 esac
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_compile") 2>conftest.er1
2417 ac_status=$?
2418 grep -v '^ *+' conftest.er1 >conftest.err
2419 rm -f conftest.er1
2420 cat conftest.err >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } && {
2423 test -z "$ac_c_werror_flag" ||
2424 test ! -s conftest.err
2425 } && test -s conftest.$ac_objext; then
2426 ac_compiler_gnu=yes
2427 else
2428 echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.$ac_ext >&5
2431 ac_compiler_gnu=no
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2438 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2439 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2440 GCC=`test $ac_compiler_gnu = yes && echo yes`
2441 ac_test_CFLAGS=${CFLAGS+set}
2442 ac_save_CFLAGS=$CFLAGS
2443 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2444 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_cc_g+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 else
2448 ac_save_c_werror_flag=$ac_c_werror_flag
2449 ac_c_werror_flag=yes
2450 ac_cv_prog_cc_g=no
2451 CFLAGS="-g"
2452 cat >conftest.$ac_ext <<_ACEOF
2453 /* confdefs.h. */
2454 _ACEOF
2455 cat confdefs.h >>conftest.$ac_ext
2456 cat >>conftest.$ac_ext <<_ACEOF
2457 /* end confdefs.h. */
2460 main ()
2464 return 0;
2466 _ACEOF
2467 rm -f conftest.$ac_objext
2468 if { (ac_try="$ac_compile"
2469 case "(($ac_try" in
2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471 *) ac_try_echo=$ac_try;;
2472 esac
2473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2474 (eval "$ac_compile") 2>conftest.er1
2475 ac_status=$?
2476 grep -v '^ *+' conftest.er1 >conftest.err
2477 rm -f conftest.er1
2478 cat conftest.err >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } && {
2481 test -z "$ac_c_werror_flag" ||
2482 test ! -s conftest.err
2483 } && test -s conftest.$ac_objext; then
2484 ac_cv_prog_cc_g=yes
2485 else
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2489 CFLAGS=""
2490 cat >conftest.$ac_ext <<_ACEOF
2491 /* confdefs.h. */
2492 _ACEOF
2493 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2498 main ()
2502 return 0;
2504 _ACEOF
2505 rm -f conftest.$ac_objext
2506 if { (ac_try="$ac_compile"
2507 case "(($ac_try" in
2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509 *) ac_try_echo=$ac_try;;
2510 esac
2511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2512 (eval "$ac_compile") 2>conftest.er1
2513 ac_status=$?
2514 grep -v '^ *+' conftest.er1 >conftest.err
2515 rm -f conftest.er1
2516 cat conftest.err >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); } && {
2519 test -z "$ac_c_werror_flag" ||
2520 test ! -s conftest.err
2521 } && test -s conftest.$ac_objext; then
2523 else
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2527 ac_c_werror_flag=$ac_save_c_werror_flag
2528 CFLAGS="-g"
2529 cat >conftest.$ac_ext <<_ACEOF
2530 /* confdefs.h. */
2531 _ACEOF
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2537 main ()
2541 return 0;
2543 _ACEOF
2544 rm -f conftest.$ac_objext
2545 if { (ac_try="$ac_compile"
2546 case "(($ac_try" in
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2549 esac
2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551 (eval "$ac_compile") 2>conftest.er1
2552 ac_status=$?
2553 grep -v '^ *+' conftest.er1 >conftest.err
2554 rm -f conftest.er1
2555 cat conftest.err >&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } && {
2558 test -z "$ac_c_werror_flag" ||
2559 test ! -s conftest.err
2560 } && test -s conftest.$ac_objext; then
2561 ac_cv_prog_cc_g=yes
2562 else
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576 ac_c_werror_flag=$ac_save_c_werror_flag
2578 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2579 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2580 if test "$ac_test_CFLAGS" = set; then
2581 CFLAGS=$ac_save_CFLAGS
2582 elif test $ac_cv_prog_cc_g = yes; then
2583 if test "$GCC" = yes; then
2584 CFLAGS="-g -O2"
2585 else
2586 CFLAGS="-g"
2588 else
2589 if test "$GCC" = yes; then
2590 CFLAGS="-O2"
2591 else
2592 CFLAGS=
2595 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2596 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2597 if test "${ac_cv_prog_cc_c89+set}" = set; then
2598 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 else
2600 ac_cv_prog_cc_c89=no
2601 ac_save_CC=$CC
2602 cat >conftest.$ac_ext <<_ACEOF
2603 /* confdefs.h. */
2604 _ACEOF
2605 cat confdefs.h >>conftest.$ac_ext
2606 cat >>conftest.$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2608 #include <stdarg.h>
2609 #include <stdio.h>
2610 #include <sys/types.h>
2611 #include <sys/stat.h>
2612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2613 struct buf { int x; };
2614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2615 static char *e (p, i)
2616 char **p;
2617 int i;
2619 return p[i];
2621 static char *f (char * (*g) (char **, int), char **p, ...)
2623 char *s;
2624 va_list v;
2625 va_start (v,p);
2626 s = g (p, va_arg (v,int));
2627 va_end (v);
2628 return s;
2631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2632 function prototypes and stuff, but not '\xHH' hex character constants.
2633 These don't provoke an error unfortunately, instead are silently treated
2634 as 'x'. The following induces an error, until -std is added to get
2635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2636 array size at least. It's necessary to write '\x00'==0 to get something
2637 that's true only with -std. */
2638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2641 inside strings and character constants. */
2642 #define FOO(x) 'x'
2643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2645 int test (int i, double x);
2646 struct s1 {int (*f) (int a);};
2647 struct s2 {int (*f) (double a);};
2648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2649 int argc;
2650 char **argv;
2652 main ()
2654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2656 return 0;
2658 _ACEOF
2659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2662 CC="$ac_save_CC $ac_arg"
2663 rm -f conftest.$ac_objext
2664 if { (ac_try="$ac_compile"
2665 case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2670 (eval "$ac_compile") 2>conftest.er1
2671 ac_status=$?
2672 grep -v '^ *+' conftest.er1 >conftest.err
2673 rm -f conftest.er1
2674 cat conftest.err >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } && {
2677 test -z "$ac_c_werror_flag" ||
2678 test ! -s conftest.err
2679 } && test -s conftest.$ac_objext; then
2680 ac_cv_prog_cc_c89=$ac_arg
2681 else
2682 echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2688 rm -f core conftest.err conftest.$ac_objext
2689 test "x$ac_cv_prog_cc_c89" != "xno" && break
2690 done
2691 rm -f conftest.$ac_ext
2692 CC=$ac_save_CC
2695 # AC_CACHE_VAL
2696 case "x$ac_cv_prog_cc_c89" in
2698 { echo "$as_me:$LINENO: result: none needed" >&5
2699 echo "${ECHO_T}none needed" >&6; } ;;
2700 xno)
2701 { echo "$as_me:$LINENO: result: unsupported" >&5
2702 echo "${ECHO_T}unsupported" >&6; } ;;
2704 CC="$CC $ac_cv_prog_cc_c89"
2705 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2706 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2707 esac
2710 ac_ext=c
2711 ac_cpp='$CPP $CPPFLAGS'
2712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2719 case "$am__api_version" in
2720 1.01234)
2721 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
2722 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
2723 { (exit 1); exit 1; }; }
2727 esac
2729 if test -n "0.23"; then
2730 { echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
2731 echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6; }
2733 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
2734 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
2735 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
2737 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
2738 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
2739 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
2740 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.23 or later." >&5
2741 echo "$as_me: error: Your intltool is too old. You need intltool 0.23 or later." >&2;}
2742 { (exit 1); exit 1; }; }
2745 # Extract the first word of "intltool-update", so it can be a program name with args.
2746 set dummy intltool-update; ac_word=$2
2747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2749 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 else
2752 case $INTLTOOL_UPDATE in
2753 [\\/]* | ?:[\\/]*)
2754 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2768 done
2769 done
2770 IFS=$as_save_IFS
2773 esac
2775 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
2776 if test -n "$INTLTOOL_UPDATE"; then
2777 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
2778 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
2779 else
2780 { echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6; }
2785 # Extract the first word of "intltool-merge", so it can be a program name with args.
2786 set dummy intltool-merge; ac_word=$2
2787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2789 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 else
2792 case $INTLTOOL_MERGE in
2793 [\\/]* | ?:[\\/]*)
2794 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH
2800 IFS=$as_save_IFS
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
2805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 break 2
2808 done
2809 done
2810 IFS=$as_save_IFS
2813 esac
2815 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
2816 if test -n "$INTLTOOL_MERGE"; then
2817 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
2818 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
2819 else
2820 { echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6; }
2825 # Extract the first word of "intltool-extract", so it can be a program name with args.
2826 set dummy intltool-extract; ac_word=$2
2827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2829 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 else
2832 case $INTLTOOL_EXTRACT in
2833 [\\/]* | ?:[\\/]*)
2834 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 for as_dir in $PATH
2840 IFS=$as_save_IFS
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
2845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 break 2
2848 done
2849 done
2850 IFS=$as_save_IFS
2853 esac
2855 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
2856 if test -n "$INTLTOOL_EXTRACT"; then
2857 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
2858 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
2859 else
2860 { echo "$as_me:$LINENO: result: no" >&5
2861 echo "${ECHO_T}no" >&6; }
2865 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
2866 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
2867 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
2868 { (exit 1); exit 1; }; }
2871 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 $< $@'
2872 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 $< $@'
2873 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 $< $@'
2874 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 $< $@'
2875 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
2876 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 $< $@'
2877 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 $< $@'
2878 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 $< $@'
2879 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 $< $@'
2880 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 $< $@'
2881 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 $< $@'
2882 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
2883 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 $< $@'
2884 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 $< $@'
2885 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 $< $@'
2886 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 $< $@'
2887 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 $< $@'
2888 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 $< $@'
2889 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 $< $@'
2987 # Check the gettext tools to make sure they are GNU
2988 # Extract the first word of "xgettext", so it can be a program name with args.
2989 set dummy xgettext; ac_word=$2
2990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2992 if test "${ac_cv_path_XGETTEXT+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 else
2995 case $XGETTEXT in
2996 [\\/]* | ?:[\\/]*)
2997 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 break 2
3011 done
3012 done
3013 IFS=$as_save_IFS
3016 esac
3018 XGETTEXT=$ac_cv_path_XGETTEXT
3019 if test -n "$XGETTEXT"; then
3020 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3021 echo "${ECHO_T}$XGETTEXT" >&6; }
3022 else
3023 { echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6; }
3028 # Extract the first word of "msgmerge", so it can be a program name with args.
3029 set dummy msgmerge; ac_word=$2
3030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3032 if test "${ac_cv_path_MSGMERGE+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 else
3035 case $MSGMERGE in
3036 [\\/]* | ?:[\\/]*)
3037 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3043 IFS=$as_save_IFS
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 break 2
3051 done
3052 done
3053 IFS=$as_save_IFS
3056 esac
3058 MSGMERGE=$ac_cv_path_MSGMERGE
3059 if test -n "$MSGMERGE"; then
3060 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3061 echo "${ECHO_T}$MSGMERGE" >&6; }
3062 else
3063 { echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6; }
3068 # Extract the first word of "msgfmt", so it can be a program name with args.
3069 set dummy msgfmt; ac_word=$2
3070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3072 if test "${ac_cv_path_MSGFMT+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075 case $MSGFMT in
3076 [\\/]* | ?:[\\/]*)
3077 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 break 2
3091 done
3092 done
3093 IFS=$as_save_IFS
3096 esac
3098 MSGFMT=$ac_cv_path_MSGFMT
3099 if test -n "$MSGFMT"; then
3100 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
3101 echo "${ECHO_T}$MSGFMT" >&6; }
3102 else
3103 { echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6; }
3108 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3109 set dummy gmsgfmt; ac_word=$2
3110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3112 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115 case $GMSGFMT in
3116 [\\/]* | ?:[\\/]*)
3117 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 for as_dir in $PATH
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 break 2
3131 done
3132 done
3133 IFS=$as_save_IFS
3135 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3137 esac
3139 GMSGFMT=$ac_cv_path_GMSGFMT
3140 if test -n "$GMSGFMT"; then
3141 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3142 echo "${ECHO_T}$GMSGFMT" >&6; }
3143 else
3144 { echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6; }
3149 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3150 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3151 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3152 { (exit 1); exit 1; }; }
3154 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3155 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3156 if test -z "$xgversion" -o -z "$mmversion"; then
3157 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3158 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3159 { (exit 1); exit 1; }; }
3162 # Extract the first word of "perl", so it can be a program name with args.
3163 set dummy perl; ac_word=$2
3164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3166 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 case $INTLTOOL_PERL in
3170 [\\/]* | ?:[\\/]*)
3171 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 for ac_exec_ext in '' $ac_executable_extensions; do
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 break 2
3185 done
3186 done
3187 IFS=$as_save_IFS
3190 esac
3192 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3193 if test -n "$INTLTOOL_PERL"; then
3194 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3195 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3196 else
3197 { echo "$as_me:$LINENO: result: no" >&5
3198 echo "${ECHO_T}no" >&6; }
3202 if test -z "$INTLTOOL_PERL"; then
3203 { { echo "$as_me:$LINENO: error: perl not found" >&5
3204 echo "$as_me: error: perl not found" >&2;}
3205 { (exit 1); exit 1; }; }
3207 { echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
3208 echo $ECHO_N "checking for perl >= 5.8.1... $ECHO_C" >&6; }
3209 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3210 if test $? -ne 0; then
3211 { { echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
3212 echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
3213 { (exit 1); exit 1; }; }
3214 else
3215 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
3216 { echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
3217 echo "${ECHO_T}$IT_PERL_VERSION" >&6; }
3219 if test "x" != "xno-xml"; then
3220 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3221 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3222 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3223 { echo "$as_me:$LINENO: result: ok" >&5
3224 echo "${ECHO_T}ok" >&6; }
3225 else
3226 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3227 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3228 { (exit 1); exit 1; }; }
3232 # Substitute ALL_LINGUAS so we can use it in po/Makefile
3235 # Set DATADIRNAME correctly if it is not set yet
3236 # (copied from glib-gettext.m4)
3237 if test -z "$DATADIRNAME"; then
3238 cat >conftest.$ac_ext <<_ACEOF
3239 /* confdefs.h. */
3240 _ACEOF
3241 cat confdefs.h >>conftest.$ac_ext
3242 cat >>conftest.$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3246 main ()
3248 extern int _nl_msg_cat_cntr;
3249 return _nl_msg_cat_cntr
3251 return 0;
3253 _ACEOF
3254 rm -f conftest.$ac_objext conftest$ac_exeext
3255 if { (ac_try="$ac_link"
3256 case "(($ac_try" in
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3259 esac
3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261 (eval "$ac_link") 2>conftest.er1
3262 ac_status=$?
3263 grep -v '^ *+' conftest.er1 >conftest.err
3264 rm -f conftest.er1
3265 cat conftest.err >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } && {
3268 test -z "$ac_c_werror_flag" ||
3269 test ! -s conftest.err
3270 } && test -s conftest$ac_exeext &&
3271 $as_test_x conftest$ac_exeext; then
3272 DATADIRNAME=share
3273 else
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3277 case $host in
3278 *-*-solaris*)
3279 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3280 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3281 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 else
3284 cat >conftest.$ac_ext <<_ACEOF
3285 /* confdefs.h. */
3286 _ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3290 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3292 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3294 /* System header to define __stub macros and hopefully few prototypes,
3295 which can conflict with char bind_textdomain_codeset (); below.
3296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3297 <limits.h> exists even on freestanding compilers. */
3299 #ifdef __STDC__
3300 # include <limits.h>
3301 #else
3302 # include <assert.h>
3303 #endif
3305 #undef bind_textdomain_codeset
3307 /* Override any GCC internal prototype to avoid an error.
3308 Use char because int might match the return type of a GCC
3309 builtin and then its argument prototype would still apply. */
3310 #ifdef __cplusplus
3311 extern "C"
3312 #endif
3313 char bind_textdomain_codeset ();
3314 /* The GNU C library defines this for functions which it implements
3315 to always fail with ENOSYS. Some functions are actually named
3316 something starting with __ and the normal name is an alias. */
3317 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3318 choke me
3319 #endif
3322 main ()
3324 return bind_textdomain_codeset ();
3326 return 0;
3328 _ACEOF
3329 rm -f conftest.$ac_objext conftest$ac_exeext
3330 if { (ac_try="$ac_link"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_link") 2>conftest.er1
3337 ac_status=$?
3338 grep -v '^ *+' conftest.er1 >conftest.err
3339 rm -f conftest.er1
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } && {
3343 test -z "$ac_c_werror_flag" ||
3344 test ! -s conftest.err
3345 } && test -s conftest$ac_exeext &&
3346 $as_test_x conftest$ac_exeext; then
3347 ac_cv_func_bind_textdomain_codeset=yes
3348 else
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3352 ac_cv_func_bind_textdomain_codeset=no
3355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3356 conftest$ac_exeext conftest.$ac_ext
3358 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
3359 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
3360 if test $ac_cv_func_bind_textdomain_codeset = yes; then
3361 DATADIRNAME=share
3362 else
3363 DATADIRNAME=lib
3368 DATADIRNAME=lib
3370 esac
3373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3374 conftest$ac_exeext conftest.$ac_ext
3386 # Find any Python interpreter.
3387 if test -z "$PYTHON"; then
3388 for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
3390 # Extract the first word of "$ac_prog", so it can be a program name with args.
3391 set dummy $ac_prog; ac_word=$2
3392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3394 if test "${ac_cv_path_PYTHON+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 else
3397 case $PYTHON in
3398 [\\/]* | ?:[\\/]*)
3399 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3413 done
3414 done
3415 IFS=$as_save_IFS
3418 esac
3420 PYTHON=$ac_cv_path_PYTHON
3421 if test -n "$PYTHON"; then
3422 { echo "$as_me:$LINENO: result: $PYTHON" >&5
3423 echo "${ECHO_T}$PYTHON" >&6; }
3424 else
3425 { echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6; }
3430 test -n "$PYTHON" && break
3431 done
3432 test -n "$PYTHON" || PYTHON=":"
3435 am_display_PYTHON=python
3438 if test "$PYTHON" = :; then
3439 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
3440 echo "$as_me: error: no suitable Python interpreter found" >&2;}
3441 { (exit 1); exit 1; }; }
3442 else
3445 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
3446 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
3447 if test "${am_cv_python_version+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
3452 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
3453 echo "${ECHO_T}$am_cv_python_version" >&6; }
3454 PYTHON_VERSION=$am_cv_python_version
3458 PYTHON_PREFIX='${prefix}'
3460 PYTHON_EXEC_PREFIX='${exec_prefix}'
3464 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
3465 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
3466 if test "${am_cv_python_platform+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
3471 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
3472 echo "${ECHO_T}$am_cv_python_platform" >&6; }
3473 PYTHON_PLATFORM=$am_cv_python_platform
3478 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
3479 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
3480 if test "${am_cv_python_pythondir+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 else
3483 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
3484 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
3486 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
3487 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
3488 pythondir=$am_cv_python_pythondir
3492 pkgpythondir=\${pythondir}/$PACKAGE
3495 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
3496 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
3497 if test "${am_cv_python_pyexecdir+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
3501 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
3503 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
3504 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
3505 pyexecdir=$am_cv_python_pyexecdir
3509 pkgpyexecdir=\${pyexecdir}/$PACKAGE
3517 PACKAGE=imf-selector
3518 VERSION=1.0
3519 GETTEXT_PACKAGE=$PACKAGE
3522 am__api_version='1.10'
3524 ac_aux_dir=
3525 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3526 if test -f "$ac_dir/install-sh"; then
3527 ac_aux_dir=$ac_dir
3528 ac_install_sh="$ac_aux_dir/install-sh -c"
3529 break
3530 elif test -f "$ac_dir/install.sh"; then
3531 ac_aux_dir=$ac_dir
3532 ac_install_sh="$ac_aux_dir/install.sh -c"
3533 break
3534 elif test -f "$ac_dir/shtool"; then
3535 ac_aux_dir=$ac_dir
3536 ac_install_sh="$ac_aux_dir/shtool install -c"
3537 break
3539 done
3540 if test -z "$ac_aux_dir"; then
3541 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3542 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3543 { (exit 1); exit 1; }; }
3546 # These three variables are undocumented and unsupported,
3547 # and are intended to be withdrawn in a future Autoconf release.
3548 # They can cause serious problems if a builder's source tree is in a directory
3549 # whose full name contains unusual characters.
3550 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3551 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3552 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3555 # Find a good install program. We prefer a C program (faster),
3556 # so one script is as good as another. But avoid the broken or
3557 # incompatible versions:
3558 # SysV /etc/install, /usr/sbin/install
3559 # SunOS /usr/etc/install
3560 # IRIX /sbin/install
3561 # AIX /bin/install
3562 # AmigaOS /C/install, which installs bootblocks on floppy discs
3563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3566 # OS/2's system install, which has a completely different semantic
3567 # ./install, which can be erroneously created by make from ./install.sh.
3568 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3569 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3570 if test -z "$INSTALL"; then
3571 if test "${ac_cv_path_install+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 # Account for people who put trailing slashes in PATH elements.
3580 case $as_dir/ in
3581 ./ | .// | /cC/* | \
3582 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3583 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3584 /usr/ucb/* ) ;;
3586 # OSF1 and SCO ODT 3.0 have their own names for install.
3587 # Don't use installbsd from OSF since it installs stuff as root
3588 # by default.
3589 for ac_prog in ginstall scoinst install; do
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3592 if test $ac_prog = install &&
3593 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3594 # AIX install. It has an incompatible calling convention.
3596 elif test $ac_prog = install &&
3597 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3598 # program-specific install script used by HP pwplus--don't use.
3600 else
3601 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3602 break 3
3605 done
3606 done
3608 esac
3609 done
3610 IFS=$as_save_IFS
3614 if test "${ac_cv_path_install+set}" = set; then
3615 INSTALL=$ac_cv_path_install
3616 else
3617 # As a last resort, use the slow shell script. Don't cache a
3618 # value for INSTALL within a source directory, because that will
3619 # break other packages using the cache if that directory is
3620 # removed, or if the value is a relative name.
3621 INSTALL=$ac_install_sh
3624 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3625 echo "${ECHO_T}$INSTALL" >&6; }
3627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3628 # It thinks the first close brace ends the variable substitution.
3629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3635 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3636 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3637 # Just in case
3638 sleep 1
3639 echo timestamp > conftest.file
3640 # Do `set' in a subshell so we don't clobber the current shell's
3641 # arguments. Must try -L first in case configure is actually a
3642 # symlink; some systems play weird games with the mod time of symlinks
3643 # (eg FreeBSD returns the mod time of the symlink's containing
3644 # directory).
3645 if (
3646 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3647 if test "$*" = "X"; then
3648 # -L didn't work.
3649 set X `ls -t $srcdir/configure conftest.file`
3651 rm -f conftest.file
3652 if test "$*" != "X $srcdir/configure conftest.file" \
3653 && test "$*" != "X conftest.file $srcdir/configure"; then
3655 # If neither matched, then we have a broken ls. This can happen
3656 # if, for instance, CONFIG_SHELL is bash and it inherits a
3657 # broken ls alias from the environment. This has actually
3658 # happened. Such a system could not be considered "sane".
3659 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3660 alias in your environment" >&5
3661 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3662 alias in your environment" >&2;}
3663 { (exit 1); exit 1; }; }
3666 test "$2" = conftest.file
3668 then
3669 # Ok.
3671 else
3672 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3673 Check your system clock" >&5
3674 echo "$as_me: error: newly created file is older than distributed files!
3675 Check your system clock" >&2;}
3676 { (exit 1); exit 1; }; }
3678 { echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6; }
3680 test "$program_prefix" != NONE &&
3681 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3682 # Use a double $ so make ignores it.
3683 test "$program_suffix" != NONE &&
3684 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3685 # Double any \ or $. echo might interpret backslashes.
3686 # By default was `s,x,x', remove it if useless.
3687 cat <<\_ACEOF >conftest.sed
3688 s/[\\$]/&&/g;s/;s,x,x,$//
3689 _ACEOF
3690 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3691 rm -f conftest.sed
3693 # expand $ac_aux_dir to an absolute path
3694 am_aux_dir=`cd $ac_aux_dir && pwd`
3696 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3697 # Use eval to expand $SHELL
3698 if eval "$MISSING --run true"; then
3699 am_missing_run="$MISSING --run "
3700 else
3701 am_missing_run=
3702 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3703 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3706 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3707 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
3708 if test -z "$MKDIR_P"; then
3709 if test "${ac_cv_path_mkdir+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_prog in mkdir gmkdir; do
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3720 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3721 'mkdir (GNU coreutils) '* | \
3722 'mkdir (coreutils) '* | \
3723 'mkdir (fileutils) '4.1*)
3724 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3725 break 3;;
3726 esac
3727 done
3728 done
3729 done
3730 IFS=$as_save_IFS
3734 if test "${ac_cv_path_mkdir+set}" = set; then
3735 MKDIR_P="$ac_cv_path_mkdir -p"
3736 else
3737 # As a last resort, use the slow shell script. Don't cache a
3738 # value for MKDIR_P within a source directory, because that will
3739 # break other packages using the cache if that directory is
3740 # removed, or if the value is a relative name.
3741 test -d ./--version && rmdir ./--version
3742 MKDIR_P="$ac_install_sh -d"
3745 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3746 echo "${ECHO_T}$MKDIR_P" >&6; }
3748 mkdir_p="$MKDIR_P"
3749 case $mkdir_p in
3750 [\\/$]* | ?:[\\/]*) ;;
3751 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3752 esac
3754 for ac_prog in gawk mawk nawk awk
3756 # Extract the first word of "$ac_prog", so it can be a program name with args.
3757 set dummy $ac_prog; ac_word=$2
3758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3760 if test "${ac_cv_prog_AWK+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 else
3763 if test -n "$AWK"; then
3764 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_AWK="$ac_prog"
3774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 AWK=$ac_cv_prog_AWK
3784 if test -n "$AWK"; then
3785 { echo "$as_me:$LINENO: result: $AWK" >&5
3786 echo "${ECHO_T}$AWK" >&6; }
3787 else
3788 { echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6; }
3793 test -n "$AWK" && break
3794 done
3796 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3798 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3799 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 else
3802 cat >conftest.make <<\_ACEOF
3803 SHELL = /bin/sh
3804 all:
3805 @echo '@@@%%%=$(MAKE)=@@@%%%'
3806 _ACEOF
3807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3809 *@@@%%%=?*=@@@%%%*)
3810 eval ac_cv_prog_make_${ac_make}_set=yes;;
3812 eval ac_cv_prog_make_${ac_make}_set=no;;
3813 esac
3814 rm -f conftest.make
3816 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3817 { echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6; }
3819 SET_MAKE=
3820 else
3821 { echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6; }
3823 SET_MAKE="MAKE=${MAKE-make}"
3826 rm -rf .tst 2>/dev/null
3827 mkdir .tst 2>/dev/null
3828 if test -d .tst; then
3829 am__leading_dot=.
3830 else
3831 am__leading_dot=_
3833 rmdir .tst 2>/dev/null
3835 DEPDIR="${am__leading_dot}deps"
3837 ac_config_commands="$ac_config_commands depfiles"
3840 am_make=${MAKE-make}
3841 cat > confinc << 'END'
3842 am__doit:
3843 @echo done
3844 .PHONY: am__doit
3846 # If we don't find an include directive, just comment out the code.
3847 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3848 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3849 am__include="#"
3850 am__quote=
3851 _am_result=none
3852 # First try GNU make style include.
3853 echo "include confinc" > confmf
3854 # We grep out `Entering directory' and `Leaving directory'
3855 # messages which can occur if `w' ends up in MAKEFLAGS.
3856 # In particular we don't look at `^make:' because GNU make might
3857 # be invoked under some other name (usually "gmake"), in which
3858 # case it prints its new name instead of `make'.
3859 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3860 am__include=include
3861 am__quote=
3862 _am_result=GNU
3864 # Now try BSD make style include.
3865 if test "$am__include" = "#"; then
3866 echo '.include "confinc"' > confmf
3867 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3868 am__include=.include
3869 am__quote="\""
3870 _am_result=BSD
3875 { echo "$as_me:$LINENO: result: $_am_result" >&5
3876 echo "${ECHO_T}$_am_result" >&6; }
3877 rm -f confinc confmf
3879 # Check whether --enable-dependency-tracking was given.
3880 if test "${enable_dependency_tracking+set}" = set; then
3881 enableval=$enable_dependency_tracking;
3884 if test "x$enable_dependency_tracking" != xno; then
3885 am_depcomp="$ac_aux_dir/depcomp"
3886 AMDEPBACKSLASH='\'
3888 if test "x$enable_dependency_tracking" != xno; then
3889 AMDEP_TRUE=
3890 AMDEP_FALSE='#'
3891 else
3892 AMDEP_TRUE='#'
3893 AMDEP_FALSE=
3897 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3898 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3899 # is not polluted with repeated "-I."
3900 am__isrc=' -I$(srcdir)'
3901 # test to see if srcdir already configured
3902 if test -f $srcdir/config.status; then
3903 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3904 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3905 { (exit 1); exit 1; }; }
3909 # test whether we have cygpath
3910 if test -z "$CYGPATH_W"; then
3911 if (cygpath --version) >/dev/null 2>/dev/null; then
3912 CYGPATH_W='cygpath -w'
3913 else
3914 CYGPATH_W=echo
3919 # Define the identity of the package.
3920 PACKAGE=$PACKAGE
3921 VERSION=$VERSION
3924 # Some tools Automake needs.
3926 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3929 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3932 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3935 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3938 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3940 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3942 # Installed binaries are usually stripped using `strip' when the user
3943 # run `make install-strip'. However `strip' might not be the right
3944 # tool to use in cross-compilation environments, therefore Automake
3945 # will honor the `STRIP' environment variable to overrule this program.
3946 if test "$cross_compiling" != no; then
3947 if test -n "$ac_tool_prefix"; then
3948 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3949 set dummy ${ac_tool_prefix}strip; ac_word=$2
3950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3952 if test "${ac_cv_prog_STRIP+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 else
3955 if test -n "$STRIP"; then
3956 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3957 else
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 for as_dir in $PATH
3961 IFS=$as_save_IFS
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 break 2
3969 done
3970 done
3971 IFS=$as_save_IFS
3975 STRIP=$ac_cv_prog_STRIP
3976 if test -n "$STRIP"; then
3977 { echo "$as_me:$LINENO: result: $STRIP" >&5
3978 echo "${ECHO_T}$STRIP" >&6; }
3979 else
3980 { echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6; }
3986 if test -z "$ac_cv_prog_STRIP"; then
3987 ac_ct_STRIP=$STRIP
3988 # Extract the first word of "strip", so it can be a program name with args.
3989 set dummy strip; ac_word=$2
3990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3992 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 else
3995 if test -n "$ac_ct_STRIP"; then
3996 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3997 else
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4005 ac_cv_prog_ac_ct_STRIP="strip"
4006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4009 done
4010 done
4011 IFS=$as_save_IFS
4015 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4016 if test -n "$ac_ct_STRIP"; then
4017 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4018 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4019 else
4020 { echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6; }
4024 if test "x$ac_ct_STRIP" = x; then
4025 STRIP=":"
4026 else
4027 case $cross_compiling:$ac_tool_warned in
4028 yes:)
4029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4030 whose name does not start with the host triplet. If you think this
4031 configuration is useful to you, please write to autoconf@gnu.org." >&5
4032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4033 whose name does not start with the host triplet. If you think this
4034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4035 ac_tool_warned=yes ;;
4036 esac
4037 STRIP=$ac_ct_STRIP
4039 else
4040 STRIP="$ac_cv_prog_STRIP"
4044 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4046 # We need awk for the "check" target. The system "awk" is bad on
4047 # some platforms.
4048 # Always define AMTAR for backward compatibility.
4050 AMTAR=${AMTAR-"${am_missing_run}tar"}
4052 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4057 depcc="$CC" am_compiler_list=
4059 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4060 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4061 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 else
4064 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4065 # We make a subdir and do the tests there. Otherwise we can end up
4066 # making bogus files that we don't know about and never remove. For
4067 # instance it was reported that on HP-UX the gcc test will end up
4068 # making a dummy file named `D' -- because `-MD' means `put the output
4069 # in D'.
4070 mkdir conftest.dir
4071 # Copy depcomp to subdir because otherwise we won't find it if we're
4072 # using a relative directory.
4073 cp "$am_depcomp" conftest.dir
4074 cd conftest.dir
4075 # We will build objects and dependencies in a subdirectory because
4076 # it helps to detect inapplicable dependency modes. For instance
4077 # both Tru64's cc and ICC support -MD to output dependencies as a
4078 # side effect of compilation, but ICC will put the dependencies in
4079 # the current directory while Tru64 will put them in the object
4080 # directory.
4081 mkdir sub
4083 am_cv_CC_dependencies_compiler_type=none
4084 if test "$am_compiler_list" = ""; then
4085 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4087 for depmode in $am_compiler_list; do
4088 # Setup a source with many dependencies, because some compilers
4089 # like to wrap large dependency lists on column 80 (with \), and
4090 # we should not choose a depcomp mode which is confused by this.
4092 # We need to recreate these files for each test, as the compiler may
4093 # overwrite some of them when testing with obscure command lines.
4094 # This happens at least with the AIX C compiler.
4095 : > sub/conftest.c
4096 for i in 1 2 3 4 5 6; do
4097 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4098 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4099 # Solaris 8's {/usr,}/bin/sh.
4100 touch sub/conftst$i.h
4101 done
4102 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4104 case $depmode in
4105 nosideeffect)
4106 # after this tag, mechanisms are not by side-effect, so they'll
4107 # only be used when explicitly requested
4108 if test "x$enable_dependency_tracking" = xyes; then
4109 continue
4110 else
4111 break
4114 none) break ;;
4115 esac
4116 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4117 # mode. It turns out that the SunPro C++ compiler does not properly
4118 # handle `-M -o', and we need to detect this.
4119 if depmode=$depmode \
4120 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4121 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4122 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4123 >/dev/null 2>conftest.err &&
4124 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4125 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4126 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4127 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4128 # icc doesn't choke on unknown options, it will just issue warnings
4129 # or remarks (even with -Werror). So we grep stderr for any message
4130 # that says an option was ignored or not supported.
4131 # When given -MP, icc 7.0 and 7.1 complain thusly:
4132 # icc: Command line warning: ignoring option '-M'; no argument required
4133 # The diagnosis changed in icc 8.0:
4134 # icc: Command line remark: option '-MP' not supported
4135 if (grep 'ignoring option' conftest.err ||
4136 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4137 am_cv_CC_dependencies_compiler_type=$depmode
4138 break
4141 done
4143 cd ..
4144 rm -rf conftest.dir
4145 else
4146 am_cv_CC_dependencies_compiler_type=none
4150 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4151 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4152 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4155 test "x$enable_dependency_tracking" != xno \
4156 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4157 am__fastdepCC_TRUE=
4158 am__fastdepCC_FALSE='#'
4159 else
4160 am__fastdepCC_TRUE='#'
4161 am__fastdepCC_FALSE=
4166 cat >>confdefs.h <<\_ACEOF
4167 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4168 _ACEOF
4171 # Find a good install program. We prefer a C program (faster),
4172 # so one script is as good as another. But avoid the broken or
4173 # incompatible versions:
4174 # SysV /etc/install, /usr/sbin/install
4175 # SunOS /usr/etc/install
4176 # IRIX /sbin/install
4177 # AIX /bin/install
4178 # AmigaOS /C/install, which installs bootblocks on floppy discs
4179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4182 # OS/2's system install, which has a completely different semantic
4183 # ./install, which can be erroneously created by make from ./install.sh.
4184 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4185 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4186 if test -z "$INSTALL"; then
4187 if test "${ac_cv_path_install+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 else
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191 for as_dir in $PATH
4193 IFS=$as_save_IFS
4194 test -z "$as_dir" && as_dir=.
4195 # Account for people who put trailing slashes in PATH elements.
4196 case $as_dir/ in
4197 ./ | .// | /cC/* | \
4198 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4199 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4200 /usr/ucb/* ) ;;
4202 # OSF1 and SCO ODT 3.0 have their own names for install.
4203 # Don't use installbsd from OSF since it installs stuff as root
4204 # by default.
4205 for ac_prog in ginstall scoinst install; do
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4208 if test $ac_prog = install &&
4209 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4210 # AIX install. It has an incompatible calling convention.
4212 elif test $ac_prog = install &&
4213 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4214 # program-specific install script used by HP pwplus--don't use.
4216 else
4217 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4218 break 3
4221 done
4222 done
4224 esac
4225 done
4226 IFS=$as_save_IFS
4230 if test "${ac_cv_path_install+set}" = set; then
4231 INSTALL=$ac_cv_path_install
4232 else
4233 # As a last resort, use the slow shell script. Don't cache a
4234 # value for INSTALL within a source directory, because that will
4235 # break other packages using the cache if that directory is
4236 # removed, or if the value is a relative name.
4237 INSTALL=$ac_install_sh
4240 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4241 echo "${ECHO_T}$INSTALL" >&6; }
4243 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4244 # It thinks the first close brace ends the variable substitution.
4245 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4247 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4249 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4252 ALL_LINGUAS="de es fr it ja ko pt_BR zh_CN zh_TW"
4253 ac_ext=c
4254 ac_cpp='$CPP $CPPFLAGS'
4255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4258 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4259 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4260 # On Suns, sometimes $CPP names a directory.
4261 if test -n "$CPP" && test -d "$CPP"; then
4262 CPP=
4264 if test -z "$CPP"; then
4265 if test "${ac_cv_prog_CPP+set}" = set; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 else
4268 # Double quotes because CPP needs to be expanded
4269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4271 ac_preproc_ok=false
4272 for ac_c_preproc_warn_flag in '' yes
4274 # Use a header file that comes with gcc, so configuring glibc
4275 # with a fresh cross-compiler works.
4276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 # <limits.h> exists even on freestanding compilers.
4278 # On the NeXT, cc -E runs the code through the compiler's parser,
4279 # not just through cpp. "Syntax error" is here to catch this case.
4280 cat >conftest.$ac_ext <<_ACEOF
4281 /* confdefs.h. */
4282 _ACEOF
4283 cat confdefs.h >>conftest.$ac_ext
4284 cat >>conftest.$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4286 #ifdef __STDC__
4287 # include <limits.h>
4288 #else
4289 # include <assert.h>
4290 #endif
4291 Syntax error
4292 _ACEOF
4293 if { (ac_try="$ac_cpp conftest.$ac_ext"
4294 case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4297 esac
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4300 ac_status=$?
4301 grep -v '^ *+' conftest.er1 >conftest.err
4302 rm -f conftest.er1
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } >/dev/null && {
4306 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 }; then
4310 else
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 # Broken: fails on valid input.
4315 continue
4318 rm -f conftest.err conftest.$ac_ext
4320 # OK, works on sane cases. Now check whether nonexistent headers
4321 # can be detected and how.
4322 cat >conftest.$ac_ext <<_ACEOF
4323 /* confdefs.h. */
4324 _ACEOF
4325 cat confdefs.h >>conftest.$ac_ext
4326 cat >>conftest.$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4328 #include <ac_nonexistent.h>
4329 _ACEOF
4330 if { (ac_try="$ac_cpp conftest.$ac_ext"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4337 ac_status=$?
4338 grep -v '^ *+' conftest.er1 >conftest.err
4339 rm -f conftest.er1
4340 cat conftest.err >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } >/dev/null && {
4343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4344 test ! -s conftest.err
4345 }; then
4346 # Broken: success on invalid input.
4347 continue
4348 else
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4352 # Passes both tests.
4353 ac_preproc_ok=:
4354 break
4357 rm -f conftest.err conftest.$ac_ext
4359 done
4360 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4361 rm -f conftest.err conftest.$ac_ext
4362 if $ac_preproc_ok; then
4363 break
4366 done
4367 ac_cv_prog_CPP=$CPP
4370 CPP=$ac_cv_prog_CPP
4371 else
4372 ac_cv_prog_CPP=$CPP
4374 { echo "$as_me:$LINENO: result: $CPP" >&5
4375 echo "${ECHO_T}$CPP" >&6; }
4376 ac_preproc_ok=false
4377 for ac_c_preproc_warn_flag in '' yes
4379 # Use a header file that comes with gcc, so configuring glibc
4380 # with a fresh cross-compiler works.
4381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4382 # <limits.h> exists even on freestanding compilers.
4383 # On the NeXT, cc -E runs the code through the compiler's parser,
4384 # not just through cpp. "Syntax error" is here to catch this case.
4385 cat >conftest.$ac_ext <<_ACEOF
4386 /* confdefs.h. */
4387 _ACEOF
4388 cat confdefs.h >>conftest.$ac_ext
4389 cat >>conftest.$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4391 #ifdef __STDC__
4392 # include <limits.h>
4393 #else
4394 # include <assert.h>
4395 #endif
4396 Syntax error
4397 _ACEOF
4398 if { (ac_try="$ac_cpp conftest.$ac_ext"
4399 case "(($ac_try" in
4400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401 *) ac_try_echo=$ac_try;;
4402 esac
4403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4405 ac_status=$?
4406 grep -v '^ *+' conftest.er1 >conftest.err
4407 rm -f conftest.er1
4408 cat conftest.err >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } >/dev/null && {
4411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4412 test ! -s conftest.err
4413 }; then
4415 else
4416 echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.$ac_ext >&5
4419 # Broken: fails on valid input.
4420 continue
4423 rm -f conftest.err conftest.$ac_ext
4425 # OK, works on sane cases. Now check whether nonexistent headers
4426 # can be detected and how.
4427 cat >conftest.$ac_ext <<_ACEOF
4428 /* confdefs.h. */
4429 _ACEOF
4430 cat confdefs.h >>conftest.$ac_ext
4431 cat >>conftest.$ac_ext <<_ACEOF
4432 /* end confdefs.h. */
4433 #include <ac_nonexistent.h>
4434 _ACEOF
4435 if { (ac_try="$ac_cpp conftest.$ac_ext"
4436 case "(($ac_try" in
4437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4438 *) ac_try_echo=$ac_try;;
4439 esac
4440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4442 ac_status=$?
4443 grep -v '^ *+' conftest.er1 >conftest.err
4444 rm -f conftest.er1
4445 cat conftest.err >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } >/dev/null && {
4448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4449 test ! -s conftest.err
4450 }; then
4451 # Broken: success on invalid input.
4452 continue
4453 else
4454 echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.$ac_ext >&5
4457 # Passes both tests.
4458 ac_preproc_ok=:
4459 break
4462 rm -f conftest.err conftest.$ac_ext
4464 done
4465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4466 rm -f conftest.err conftest.$ac_ext
4467 if $ac_preproc_ok; then
4469 else
4470 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4471 See \`config.log' for more details." >&5
4472 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4473 See \`config.log' for more details." >&2;}
4474 { (exit 1); exit 1; }; }
4477 ac_ext=c
4478 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4484 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4485 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4486 if test "${ac_cv_path_GREP+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489 # Extract the first word of "grep ggrep" to use in msg output
4490 if test -z "$GREP"; then
4491 set dummy grep ggrep; ac_prog_name=$2
4492 if test "${ac_cv_path_GREP+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 else
4495 ac_path_GREP_found=false
4496 # Loop through the user's path and test for each of PROGNAME-LIST
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4500 IFS=$as_save_IFS
4501 test -z "$as_dir" && as_dir=.
4502 for ac_prog in grep ggrep; do
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4505 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4506 # Check for GNU ac_path_GREP and select it if it is found.
4507 # Check for GNU $ac_path_GREP
4508 case `"$ac_path_GREP" --version 2>&1` in
4509 *GNU*)
4510 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4512 ac_count=0
4513 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4514 while :
4516 cat "conftest.in" "conftest.in" >"conftest.tmp"
4517 mv "conftest.tmp" "conftest.in"
4518 cp "conftest.in" "conftest.nl"
4519 echo 'GREP' >> "conftest.nl"
4520 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4522 ac_count=`expr $ac_count + 1`
4523 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4524 # Best one so far, save it but keep looking for a better one
4525 ac_cv_path_GREP="$ac_path_GREP"
4526 ac_path_GREP_max=$ac_count
4528 # 10*(2^10) chars as input seems more than enough
4529 test $ac_count -gt 10 && break
4530 done
4531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4532 esac
4535 $ac_path_GREP_found && break 3
4536 done
4537 done
4539 done
4540 IFS=$as_save_IFS
4545 GREP="$ac_cv_path_GREP"
4546 if test -z "$GREP"; then
4547 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4548 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4549 { (exit 1); exit 1; }; }
4552 else
4553 ac_cv_path_GREP=$GREP
4558 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4559 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4560 GREP="$ac_cv_path_GREP"
4563 { echo "$as_me:$LINENO: checking for egrep" >&5
4564 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4565 if test "${ac_cv_path_EGREP+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 else
4568 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4569 then ac_cv_path_EGREP="$GREP -E"
4570 else
4571 # Extract the first word of "egrep" to use in msg output
4572 if test -z "$EGREP"; then
4573 set dummy egrep; ac_prog_name=$2
4574 if test "${ac_cv_path_EGREP+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 else
4577 ac_path_EGREP_found=false
4578 # Loop through the user's path and test for each of PROGNAME-LIST
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_prog in egrep; do
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4587 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4588 # Check for GNU ac_path_EGREP and select it if it is found.
4589 # Check for GNU $ac_path_EGREP
4590 case `"$ac_path_EGREP" --version 2>&1` in
4591 *GNU*)
4592 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4594 ac_count=0
4595 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4596 while :
4598 cat "conftest.in" "conftest.in" >"conftest.tmp"
4599 mv "conftest.tmp" "conftest.in"
4600 cp "conftest.in" "conftest.nl"
4601 echo 'EGREP' >> "conftest.nl"
4602 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4604 ac_count=`expr $ac_count + 1`
4605 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4606 # Best one so far, save it but keep looking for a better one
4607 ac_cv_path_EGREP="$ac_path_EGREP"
4608 ac_path_EGREP_max=$ac_count
4610 # 10*(2^10) chars as input seems more than enough
4611 test $ac_count -gt 10 && break
4612 done
4613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4614 esac
4617 $ac_path_EGREP_found && break 3
4618 done
4619 done
4621 done
4622 IFS=$as_save_IFS
4627 EGREP="$ac_cv_path_EGREP"
4628 if test -z "$EGREP"; then
4629 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4630 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4631 { (exit 1); exit 1; }; }
4634 else
4635 ac_cv_path_EGREP=$EGREP
4641 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4642 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4643 EGREP="$ac_cv_path_EGREP"
4646 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4647 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4648 if test "${ac_cv_header_stdc+set}" = set; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 else
4651 cat >conftest.$ac_ext <<_ACEOF
4652 /* confdefs.h. */
4653 _ACEOF
4654 cat confdefs.h >>conftest.$ac_ext
4655 cat >>conftest.$ac_ext <<_ACEOF
4656 /* end confdefs.h. */
4657 #include <stdlib.h>
4658 #include <stdarg.h>
4659 #include <string.h>
4660 #include <float.h>
4663 main ()
4667 return 0;
4669 _ACEOF
4670 rm -f conftest.$ac_objext
4671 if { (ac_try="$ac_compile"
4672 case "(($ac_try" in
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4675 esac
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_compile") 2>conftest.er1
4678 ac_status=$?
4679 grep -v '^ *+' conftest.er1 >conftest.err
4680 rm -f conftest.er1
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest.$ac_objext; then
4687 ac_cv_header_stdc=yes
4688 else
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4692 ac_cv_header_stdc=no
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 if test $ac_cv_header_stdc = yes; then
4698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4699 cat >conftest.$ac_ext <<_ACEOF
4700 /* confdefs.h. */
4701 _ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4705 #include <string.h>
4707 _ACEOF
4708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4709 $EGREP "memchr" >/dev/null 2>&1; then
4711 else
4712 ac_cv_header_stdc=no
4714 rm -f conftest*
4718 if test $ac_cv_header_stdc = yes; then
4719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4720 cat >conftest.$ac_ext <<_ACEOF
4721 /* confdefs.h. */
4722 _ACEOF
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #include <stdlib.h>
4728 _ACEOF
4729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4730 $EGREP "free" >/dev/null 2>&1; then
4732 else
4733 ac_cv_header_stdc=no
4735 rm -f conftest*
4739 if test $ac_cv_header_stdc = yes; then
4740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4741 if test "$cross_compiling" = yes; then
4743 else
4744 cat >conftest.$ac_ext <<_ACEOF
4745 /* confdefs.h. */
4746 _ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4750 #include <ctype.h>
4751 #include <stdlib.h>
4752 #if ((' ' & 0x0FF) == 0x020)
4753 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4754 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4755 #else
4756 # define ISLOWER(c) \
4757 (('a' <= (c) && (c) <= 'i') \
4758 || ('j' <= (c) && (c) <= 'r') \
4759 || ('s' <= (c) && (c) <= 'z'))
4760 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4761 #endif
4763 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4765 main ()
4767 int i;
4768 for (i = 0; i < 256; i++)
4769 if (XOR (islower (i), ISLOWER (i))
4770 || toupper (i) != TOUPPER (i))
4771 return 2;
4772 return 0;
4774 _ACEOF
4775 rm -f conftest$ac_exeext
4776 if { (ac_try="$ac_link"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4782 (eval "$ac_link") 2>&5
4783 ac_status=$?
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4786 { (case "(($ac_try" in
4787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4788 *) ac_try_echo=$ac_try;;
4789 esac
4790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4791 (eval "$ac_try") 2>&5
4792 ac_status=$?
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; }; then
4796 else
4797 echo "$as_me: program exited with status $ac_status" >&5
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4801 ( exit $ac_status )
4802 ac_cv_header_stdc=no
4804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4810 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4811 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4812 if test $ac_cv_header_stdc = yes; then
4814 cat >>confdefs.h <<\_ACEOF
4815 #define STDC_HEADERS 1
4816 _ACEOF
4820 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4830 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4831 inttypes.h stdint.h unistd.h
4833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 else
4839 cat >conftest.$ac_ext <<_ACEOF
4840 /* confdefs.h. */
4841 _ACEOF
4842 cat confdefs.h >>conftest.$ac_ext
4843 cat >>conftest.$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4845 $ac_includes_default
4847 #include <$ac_header>
4848 _ACEOF
4849 rm -f conftest.$ac_objext
4850 if { (ac_try="$ac_compile"
4851 case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4854 esac
4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_compile") 2>conftest.er1
4857 ac_status=$?
4858 grep -v '^ *+' conftest.er1 >conftest.err
4859 rm -f conftest.er1
4860 cat conftest.err >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } && {
4863 test -z "$ac_c_werror_flag" ||
4864 test ! -s conftest.err
4865 } && test -s conftest.$ac_objext; then
4866 eval "$as_ac_Header=yes"
4867 else
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.$ac_ext >&5
4871 eval "$as_ac_Header=no"
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 ac_res=`eval echo '${'$as_ac_Header'}'`
4877 { echo "$as_me:$LINENO: result: $ac_res" >&5
4878 echo "${ECHO_T}$ac_res" >&6; }
4879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4880 cat >>confdefs.h <<_ACEOF
4881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4882 _ACEOF
4886 done
4889 # Make sure we can run config.sub.
4890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4893 { (exit 1); exit 1; }; }
4895 { echo "$as_me:$LINENO: checking build system type" >&5
4896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4897 if test "${ac_cv_build+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 else
4900 ac_build_alias=$build_alias
4901 test "x$ac_build_alias" = x &&
4902 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4903 test "x$ac_build_alias" = x &&
4904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4906 { (exit 1); exit 1; }; }
4907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4910 { (exit 1); exit 1; }; }
4913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4914 echo "${ECHO_T}$ac_cv_build" >&6; }
4915 case $ac_cv_build in
4916 *-*-*) ;;
4917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4918 echo "$as_me: error: invalid value of canonical build" >&2;}
4919 { (exit 1); exit 1; }; };;
4920 esac
4921 build=$ac_cv_build
4922 ac_save_IFS=$IFS; IFS='-'
4923 set x $ac_cv_build
4924 shift
4925 build_cpu=$1
4926 build_vendor=$2
4927 shift; shift
4928 # Remember, the first character of IFS is used to create $*,
4929 # except with old shells:
4930 build_os=$*
4931 IFS=$ac_save_IFS
4932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4935 { echo "$as_me:$LINENO: checking host system type" >&5
4936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4937 if test "${ac_cv_host+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4939 else
4940 if test "x$host_alias" = x; then
4941 ac_cv_host=$ac_cv_build
4942 else
4943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4946 { (exit 1); exit 1; }; }
4950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4951 echo "${ECHO_T}$ac_cv_host" >&6; }
4952 case $ac_cv_host in
4953 *-*-*) ;;
4954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4955 echo "$as_me: error: invalid value of canonical host" >&2;}
4956 { (exit 1); exit 1; }; };;
4957 esac
4958 host=$ac_cv_host
4959 ac_save_IFS=$IFS; IFS='-'
4960 set x $ac_cv_host
4961 shift
4962 host_cpu=$1
4963 host_vendor=$2
4964 shift; shift
4965 # Remember, the first character of IFS is used to create $*,
4966 # except with old shells:
4967 host_os=$*
4968 IFS=$ac_save_IFS
4969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4974 for ac_header in locale.h
4976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4978 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 ac_res=`eval echo '${'$as_ac_Header'}'`
4984 { echo "$as_me:$LINENO: result: $ac_res" >&5
4985 echo "${ECHO_T}$ac_res" >&6; }
4986 else
4987 # Is the header compilable?
4988 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4990 cat >conftest.$ac_ext <<_ACEOF
4991 /* confdefs.h. */
4992 _ACEOF
4993 cat confdefs.h >>conftest.$ac_ext
4994 cat >>conftest.$ac_ext <<_ACEOF
4995 /* end confdefs.h. */
4996 $ac_includes_default
4997 #include <$ac_header>
4998 _ACEOF
4999 rm -f conftest.$ac_objext
5000 if { (ac_try="$ac_compile"
5001 case "(($ac_try" in
5002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5003 *) ac_try_echo=$ac_try;;
5004 esac
5005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5006 (eval "$ac_compile") 2>conftest.er1
5007 ac_status=$?
5008 grep -v '^ *+' conftest.er1 >conftest.err
5009 rm -f conftest.er1
5010 cat conftest.err >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } && {
5013 test -z "$ac_c_werror_flag" ||
5014 test ! -s conftest.err
5015 } && test -s conftest.$ac_objext; then
5016 ac_header_compiler=yes
5017 else
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.$ac_ext >&5
5021 ac_header_compiler=no
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5026 echo "${ECHO_T}$ac_header_compiler" >&6; }
5028 # Is the header present?
5029 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5031 cat >conftest.$ac_ext <<_ACEOF
5032 /* confdefs.h. */
5033 _ACEOF
5034 cat confdefs.h >>conftest.$ac_ext
5035 cat >>conftest.$ac_ext <<_ACEOF
5036 /* end confdefs.h. */
5037 #include <$ac_header>
5038 _ACEOF
5039 if { (ac_try="$ac_cpp conftest.$ac_ext"
5040 case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043 esac
5044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5046 ac_status=$?
5047 grep -v '^ *+' conftest.er1 >conftest.err
5048 rm -f conftest.er1
5049 cat conftest.err >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } >/dev/null && {
5052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5053 test ! -s conftest.err
5054 }; then
5055 ac_header_preproc=yes
5056 else
5057 echo "$as_me: failed program was:" >&5
5058 sed 's/^/| /' conftest.$ac_ext >&5
5060 ac_header_preproc=no
5063 rm -f conftest.err conftest.$ac_ext
5064 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5065 echo "${ECHO_T}$ac_header_preproc" >&6; }
5067 # So? What about this header?
5068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5069 yes:no: )
5070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5074 ac_header_preproc=yes
5076 no:yes:* )
5077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5091 esac
5092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 else
5097 eval "$as_ac_Header=\$ac_header_preproc"
5099 ac_res=`eval echo '${'$as_ac_Header'}'`
5100 { echo "$as_me:$LINENO: result: $ac_res" >&5
5101 echo "${ECHO_T}$ac_res" >&6; }
5104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5105 cat >>confdefs.h <<_ACEOF
5106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5107 _ACEOF
5111 done
5113 if test $ac_cv_header_locale_h = yes; then
5114 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5115 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
5116 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 else
5119 cat >conftest.$ac_ext <<_ACEOF
5120 /* confdefs.h. */
5121 _ACEOF
5122 cat confdefs.h >>conftest.$ac_ext
5123 cat >>conftest.$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 #include <locale.h>
5127 main ()
5129 return LC_MESSAGES
5131 return 0;
5133 _ACEOF
5134 rm -f conftest.$ac_objext conftest$ac_exeext
5135 if { (ac_try="$ac_link"
5136 case "(($ac_try" in
5137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5138 *) ac_try_echo=$ac_try;;
5139 esac
5140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5141 (eval "$ac_link") 2>conftest.er1
5142 ac_status=$?
5143 grep -v '^ *+' conftest.er1 >conftest.err
5144 rm -f conftest.er1
5145 cat conftest.err >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } && {
5148 test -z "$ac_c_werror_flag" ||
5149 test ! -s conftest.err
5150 } && test -s conftest$ac_exeext &&
5151 $as_test_x conftest$ac_exeext; then
5152 am_cv_val_LC_MESSAGES=yes
5153 else
5154 echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.$ac_ext >&5
5157 am_cv_val_LC_MESSAGES=no
5160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5161 conftest$ac_exeext conftest.$ac_ext
5163 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5164 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
5165 if test $am_cv_val_LC_MESSAGES = yes; then
5167 cat >>confdefs.h <<\_ACEOF
5168 #define HAVE_LC_MESSAGES 1
5169 _ACEOF
5173 USE_NLS=yes
5176 gt_cv_have_gettext=no
5178 CATOBJEXT=NONE
5179 XGETTEXT=:
5180 INTLLIBS=
5182 if test "${ac_cv_header_libintl_h+set}" = set; then
5183 { echo "$as_me:$LINENO: checking for libintl.h" >&5
5184 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5185 if test "${ac_cv_header_libintl_h+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5189 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5190 else
5191 # Is the header compilable?
5192 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
5193 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
5194 cat >conftest.$ac_ext <<_ACEOF
5195 /* confdefs.h. */
5196 _ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5200 $ac_includes_default
5201 #include <libintl.h>
5202 _ACEOF
5203 rm -f conftest.$ac_objext
5204 if { (ac_try="$ac_compile"
5205 case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5208 esac
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_compile") 2>conftest.er1
5211 ac_status=$?
5212 grep -v '^ *+' conftest.er1 >conftest.err
5213 rm -f conftest.er1
5214 cat conftest.err >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } && {
5217 test -z "$ac_c_werror_flag" ||
5218 test ! -s conftest.err
5219 } && test -s conftest.$ac_objext; then
5220 ac_header_compiler=yes
5221 else
5222 echo "$as_me: failed program was:" >&5
5223 sed 's/^/| /' conftest.$ac_ext >&5
5225 ac_header_compiler=no
5228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5230 echo "${ECHO_T}$ac_header_compiler" >&6; }
5232 # Is the header present?
5233 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
5234 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
5235 cat >conftest.$ac_ext <<_ACEOF
5236 /* confdefs.h. */
5237 _ACEOF
5238 cat confdefs.h >>conftest.$ac_ext
5239 cat >>conftest.$ac_ext <<_ACEOF
5240 /* end confdefs.h. */
5241 #include <libintl.h>
5242 _ACEOF
5243 if { (ac_try="$ac_cpp conftest.$ac_ext"
5244 case "(($ac_try" in
5245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246 *) ac_try_echo=$ac_try;;
5247 esac
5248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5250 ac_status=$?
5251 grep -v '^ *+' conftest.er1 >conftest.err
5252 rm -f conftest.er1
5253 cat conftest.err >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } >/dev/null && {
5256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5257 test ! -s conftest.err
5258 }; then
5259 ac_header_preproc=yes
5260 else
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5264 ac_header_preproc=no
5267 rm -f conftest.err conftest.$ac_ext
5268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5269 echo "${ECHO_T}$ac_header_preproc" >&6; }
5271 # So? What about this header?
5272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5273 yes:no: )
5274 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5275 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5276 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5277 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5278 ac_header_preproc=yes
5280 no:yes:* )
5281 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5282 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5283 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5284 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5285 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5286 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5287 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5288 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5289 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5290 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5291 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5292 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5295 esac
5296 { echo "$as_me:$LINENO: checking for libintl.h" >&5
5297 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5298 if test "${ac_cv_header_libintl_h+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 else
5301 ac_cv_header_libintl_h=$ac_header_preproc
5303 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5304 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5307 if test $ac_cv_header_libintl_h = yes; then
5308 gt_cv_func_dgettext_libintl="no"
5309 libintl_extra_libs=""
5312 # First check in libc
5314 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5315 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
5316 if test "${gt_cv_func_ngettext_libc+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 else
5319 cat >conftest.$ac_ext <<_ACEOF
5320 /* confdefs.h. */
5321 _ACEOF
5322 cat confdefs.h >>conftest.$ac_ext
5323 cat >>conftest.$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5326 #include <libintl.h>
5329 main ()
5331 return !ngettext ("","", 1)
5333 return 0;
5335 _ACEOF
5336 rm -f conftest.$ac_objext conftest$ac_exeext
5337 if { (ac_try="$ac_link"
5338 case "(($ac_try" in
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5341 esac
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_link") 2>conftest.er1
5344 ac_status=$?
5345 grep -v '^ *+' conftest.er1 >conftest.err
5346 rm -f conftest.er1
5347 cat conftest.err >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } && {
5350 test -z "$ac_c_werror_flag" ||
5351 test ! -s conftest.err
5352 } && test -s conftest$ac_exeext &&
5353 $as_test_x conftest$ac_exeext; then
5354 gt_cv_func_ngettext_libc=yes
5355 else
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.$ac_ext >&5
5359 gt_cv_func_ngettext_libc=no
5362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5363 conftest$ac_exeext conftest.$ac_ext
5366 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5367 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
5369 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5370 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5371 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
5372 if test "${gt_cv_func_dgettext_libc+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 else
5375 cat >conftest.$ac_ext <<_ACEOF
5376 /* confdefs.h. */
5377 _ACEOF
5378 cat confdefs.h >>conftest.$ac_ext
5379 cat >>conftest.$ac_ext <<_ACEOF
5380 /* end confdefs.h. */
5382 #include <libintl.h>
5385 main ()
5387 return !dgettext ("","")
5389 return 0;
5391 _ACEOF
5392 rm -f conftest.$ac_objext conftest$ac_exeext
5393 if { (ac_try="$ac_link"
5394 case "(($ac_try" in
5395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5397 esac
5398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5399 (eval "$ac_link") 2>conftest.er1
5400 ac_status=$?
5401 grep -v '^ *+' conftest.er1 >conftest.err
5402 rm -f conftest.er1
5403 cat conftest.err >&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } && {
5406 test -z "$ac_c_werror_flag" ||
5407 test ! -s conftest.err
5408 } && test -s conftest$ac_exeext &&
5409 $as_test_x conftest$ac_exeext; then
5410 gt_cv_func_dgettext_libc=yes
5411 else
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5415 gt_cv_func_dgettext_libc=no
5418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5419 conftest$ac_exeext conftest.$ac_ext
5422 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5423 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
5426 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5428 for ac_func in bind_textdomain_codeset
5430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 else
5436 cat >conftest.$ac_ext <<_ACEOF
5437 /* confdefs.h. */
5438 _ACEOF
5439 cat confdefs.h >>conftest.$ac_ext
5440 cat >>conftest.$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5444 #define $ac_func innocuous_$ac_func
5446 /* System header to define __stub macros and hopefully few prototypes,
5447 which can conflict with char $ac_func (); below.
5448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5449 <limits.h> exists even on freestanding compilers. */
5451 #ifdef __STDC__
5452 # include <limits.h>
5453 #else
5454 # include <assert.h>
5455 #endif
5457 #undef $ac_func
5459 /* Override any GCC internal prototype to avoid an error.
5460 Use char because int might match the return type of a GCC
5461 builtin and then its argument prototype would still apply. */
5462 #ifdef __cplusplus
5463 extern "C"
5464 #endif
5465 char $ac_func ();
5466 /* The GNU C library defines this for functions which it implements
5467 to always fail with ENOSYS. Some functions are actually named
5468 something starting with __ and the normal name is an alias. */
5469 #if defined __stub_$ac_func || defined __stub___$ac_func
5470 choke me
5471 #endif
5474 main ()
5476 return $ac_func ();
5478 return 0;
5480 _ACEOF
5481 rm -f conftest.$ac_objext conftest$ac_exeext
5482 if { (ac_try="$ac_link"
5483 case "(($ac_try" in
5484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5485 *) ac_try_echo=$ac_try;;
5486 esac
5487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5488 (eval "$ac_link") 2>conftest.er1
5489 ac_status=$?
5490 grep -v '^ *+' conftest.er1 >conftest.err
5491 rm -f conftest.er1
5492 cat conftest.err >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } && {
5495 test -z "$ac_c_werror_flag" ||
5496 test ! -s conftest.err
5497 } && test -s conftest$ac_exeext &&
5498 $as_test_x conftest$ac_exeext; then
5499 eval "$as_ac_var=yes"
5500 else
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.$ac_ext >&5
5504 eval "$as_ac_var=no"
5507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5508 conftest$ac_exeext conftest.$ac_ext
5510 ac_res=`eval echo '${'$as_ac_var'}'`
5511 { echo "$as_me:$LINENO: result: $ac_res" >&5
5512 echo "${ECHO_T}$ac_res" >&6; }
5513 if test `eval echo '${'$as_ac_var'}'` = yes; then
5514 cat >>confdefs.h <<_ACEOF
5515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5516 _ACEOF
5519 done
5524 # If we don't have everything we want, check in libintl
5526 if test "$gt_cv_func_dgettext_libc" != "yes" \
5527 || test "$gt_cv_func_ngettext_libc" != "yes" \
5528 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5530 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5531 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
5532 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 ac_check_lib_save_LIBS=$LIBS
5536 LIBS="-lintl $LIBS"
5537 cat >conftest.$ac_ext <<_ACEOF
5538 /* confdefs.h. */
5539 _ACEOF
5540 cat confdefs.h >>conftest.$ac_ext
5541 cat >>conftest.$ac_ext <<_ACEOF
5542 /* end confdefs.h. */
5544 /* Override any GCC internal prototype to avoid an error.
5545 Use char because int might match the return type of a GCC
5546 builtin and then its argument prototype would still apply. */
5547 #ifdef __cplusplus
5548 extern "C"
5549 #endif
5550 char bindtextdomain ();
5552 main ()
5554 return bindtextdomain ();
5556 return 0;
5558 _ACEOF
5559 rm -f conftest.$ac_objext conftest$ac_exeext
5560 if { (ac_try="$ac_link"
5561 case "(($ac_try" in
5562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5563 *) ac_try_echo=$ac_try;;
5564 esac
5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5566 (eval "$ac_link") 2>conftest.er1
5567 ac_status=$?
5568 grep -v '^ *+' conftest.er1 >conftest.err
5569 rm -f conftest.er1
5570 cat conftest.err >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } && {
5573 test -z "$ac_c_werror_flag" ||
5574 test ! -s conftest.err
5575 } && test -s conftest$ac_exeext &&
5576 $as_test_x conftest$ac_exeext; then
5577 ac_cv_lib_intl_bindtextdomain=yes
5578 else
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5582 ac_cv_lib_intl_bindtextdomain=no
5585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5586 conftest$ac_exeext conftest.$ac_ext
5587 LIBS=$ac_check_lib_save_LIBS
5589 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5590 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
5591 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5592 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5593 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5594 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 else
5597 ac_check_lib_save_LIBS=$LIBS
5598 LIBS="-lintl $LIBS"
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5606 /* Override any GCC internal prototype to avoid an error.
5607 Use char because int might match the return type of a GCC
5608 builtin and then its argument prototype would still apply. */
5609 #ifdef __cplusplus
5610 extern "C"
5611 #endif
5612 char ngettext ();
5614 main ()
5616 return ngettext ();
5618 return 0;
5620 _ACEOF
5621 rm -f conftest.$ac_objext conftest$ac_exeext
5622 if { (ac_try="$ac_link"
5623 case "(($ac_try" in
5624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5625 *) ac_try_echo=$ac_try;;
5626 esac
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_link") 2>conftest.er1
5629 ac_status=$?
5630 grep -v '^ *+' conftest.er1 >conftest.err
5631 rm -f conftest.er1
5632 cat conftest.err >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && {
5635 test -z "$ac_c_werror_flag" ||
5636 test ! -s conftest.err
5637 } && test -s conftest$ac_exeext &&
5638 $as_test_x conftest$ac_exeext; then
5639 ac_cv_lib_intl_ngettext=yes
5640 else
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.$ac_ext >&5
5644 ac_cv_lib_intl_ngettext=no
5647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5648 conftest$ac_exeext conftest.$ac_ext
5649 LIBS=$ac_check_lib_save_LIBS
5651 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5652 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5653 if test $ac_cv_lib_intl_ngettext = yes; then
5654 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5655 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
5656 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 else
5659 ac_check_lib_save_LIBS=$LIBS
5660 LIBS="-lintl $LIBS"
5661 cat >conftest.$ac_ext <<_ACEOF
5662 /* confdefs.h. */
5663 _ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5668 /* Override any GCC internal prototype to avoid an error.
5669 Use char because int might match the return type of a GCC
5670 builtin and then its argument prototype would still apply. */
5671 #ifdef __cplusplus
5672 extern "C"
5673 #endif
5674 char dgettext ();
5676 main ()
5678 return dgettext ();
5680 return 0;
5682 _ACEOF
5683 rm -f conftest.$ac_objext conftest$ac_exeext
5684 if { (ac_try="$ac_link"
5685 case "(($ac_try" in
5686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5687 *) ac_try_echo=$ac_try;;
5688 esac
5689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5690 (eval "$ac_link") 2>conftest.er1
5691 ac_status=$?
5692 grep -v '^ *+' conftest.er1 >conftest.err
5693 rm -f conftest.er1
5694 cat conftest.err >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } && {
5697 test -z "$ac_c_werror_flag" ||
5698 test ! -s conftest.err
5699 } && test -s conftest$ac_exeext &&
5700 $as_test_x conftest$ac_exeext; then
5701 ac_cv_lib_intl_dgettext=yes
5702 else
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.$ac_ext >&5
5706 ac_cv_lib_intl_dgettext=no
5709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5710 conftest$ac_exeext conftest.$ac_ext
5711 LIBS=$ac_check_lib_save_LIBS
5713 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5714 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
5715 if test $ac_cv_lib_intl_dgettext = yes; then
5716 gt_cv_func_dgettext_libintl=yes
5724 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5725 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5726 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
5727 { echo "$as_me:$LINENO: result: " >&5
5728 echo "${ECHO_T}" >&6; }
5729 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5730 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5731 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 else
5734 ac_check_lib_save_LIBS=$LIBS
5735 LIBS="-lintl -liconv $LIBS"
5736 cat >conftest.$ac_ext <<_ACEOF
5737 /* confdefs.h. */
5738 _ACEOF
5739 cat confdefs.h >>conftest.$ac_ext
5740 cat >>conftest.$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5743 /* Override any GCC internal prototype to avoid an error.
5744 Use char because int might match the return type of a GCC
5745 builtin and then its argument prototype would still apply. */
5746 #ifdef __cplusplus
5747 extern "C"
5748 #endif
5749 char ngettext ();
5751 main ()
5753 return ngettext ();
5755 return 0;
5757 _ACEOF
5758 rm -f conftest.$ac_objext conftest$ac_exeext
5759 if { (ac_try="$ac_link"
5760 case "(($ac_try" in
5761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762 *) ac_try_echo=$ac_try;;
5763 esac
5764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5765 (eval "$ac_link") 2>conftest.er1
5766 ac_status=$?
5767 grep -v '^ *+' conftest.er1 >conftest.err
5768 rm -f conftest.er1
5769 cat conftest.err >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && {
5772 test -z "$ac_c_werror_flag" ||
5773 test ! -s conftest.err
5774 } && test -s conftest$ac_exeext &&
5775 $as_test_x conftest$ac_exeext; then
5776 ac_cv_lib_intl_ngettext=yes
5777 else
5778 echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5781 ac_cv_lib_intl_ngettext=no
5784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5785 conftest$ac_exeext conftest.$ac_ext
5786 LIBS=$ac_check_lib_save_LIBS
5788 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5789 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5790 if test $ac_cv_lib_intl_ngettext = yes; then
5791 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5792 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5793 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5795 else
5796 ac_check_lib_save_LIBS=$LIBS
5797 LIBS="-lintl -liconv $LIBS"
5798 cat >conftest.$ac_ext <<_ACEOF
5799 /* confdefs.h. */
5800 _ACEOF
5801 cat confdefs.h >>conftest.$ac_ext
5802 cat >>conftest.$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5805 /* Override any GCC internal prototype to avoid an error.
5806 Use char because int might match the return type of a GCC
5807 builtin and then its argument prototype would still apply. */
5808 #ifdef __cplusplus
5809 extern "C"
5810 #endif
5811 char dcgettext ();
5813 main ()
5815 return dcgettext ();
5817 return 0;
5819 _ACEOF
5820 rm -f conftest.$ac_objext conftest$ac_exeext
5821 if { (ac_try="$ac_link"
5822 case "(($ac_try" in
5823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5824 *) ac_try_echo=$ac_try;;
5825 esac
5826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5827 (eval "$ac_link") 2>conftest.er1
5828 ac_status=$?
5829 grep -v '^ *+' conftest.er1 >conftest.err
5830 rm -f conftest.er1
5831 cat conftest.err >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } && {
5834 test -z "$ac_c_werror_flag" ||
5835 test ! -s conftest.err
5836 } && test -s conftest$ac_exeext &&
5837 $as_test_x conftest$ac_exeext; then
5838 ac_cv_lib_intl_dcgettext=yes
5839 else
5840 echo "$as_me: failed program was:" >&5
5841 sed 's/^/| /' conftest.$ac_ext >&5
5843 ac_cv_lib_intl_dcgettext=no
5846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5847 conftest$ac_exeext conftest.$ac_ext
5848 LIBS=$ac_check_lib_save_LIBS
5850 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5851 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5852 if test $ac_cv_lib_intl_dcgettext = yes; then
5853 gt_cv_func_dgettext_libintl=yes
5854 libintl_extra_libs=-liconv
5855 else
5859 else
5866 # If we found libintl, then check in it for bind_textdomain_codeset();
5867 # we'll prefer libc if neither have bind_textdomain_codeset(),
5868 # and both have dgettext and ngettext
5870 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5871 glib_save_LIBS="$LIBS"
5872 LIBS="$LIBS -lintl $libintl_extra_libs"
5873 unset ac_cv_func_bind_textdomain_codeset
5875 for ac_func in bind_textdomain_codeset
5877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 else
5883 cat >conftest.$ac_ext <<_ACEOF
5884 /* confdefs.h. */
5885 _ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5891 #define $ac_func innocuous_$ac_func
5893 /* System header to define __stub macros and hopefully few prototypes,
5894 which can conflict with char $ac_func (); below.
5895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5896 <limits.h> exists even on freestanding compilers. */
5898 #ifdef __STDC__
5899 # include <limits.h>
5900 #else
5901 # include <assert.h>
5902 #endif
5904 #undef $ac_func
5906 /* Override any GCC internal prototype to avoid an error.
5907 Use char because int might match the return type of a GCC
5908 builtin and then its argument prototype would still apply. */
5909 #ifdef __cplusplus
5910 extern "C"
5911 #endif
5912 char $ac_func ();
5913 /* The GNU C library defines this for functions which it implements
5914 to always fail with ENOSYS. Some functions are actually named
5915 something starting with __ and the normal name is an alias. */
5916 #if defined __stub_$ac_func || defined __stub___$ac_func
5917 choke me
5918 #endif
5921 main ()
5923 return $ac_func ();
5925 return 0;
5927 _ACEOF
5928 rm -f conftest.$ac_objext conftest$ac_exeext
5929 if { (ac_try="$ac_link"
5930 case "(($ac_try" in
5931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5932 *) ac_try_echo=$ac_try;;
5933 esac
5934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5935 (eval "$ac_link") 2>conftest.er1
5936 ac_status=$?
5937 grep -v '^ *+' conftest.er1 >conftest.err
5938 rm -f conftest.er1
5939 cat conftest.err >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); } && {
5942 test -z "$ac_c_werror_flag" ||
5943 test ! -s conftest.err
5944 } && test -s conftest$ac_exeext &&
5945 $as_test_x conftest$ac_exeext; then
5946 eval "$as_ac_var=yes"
5947 else
5948 echo "$as_me: failed program was:" >&5
5949 sed 's/^/| /' conftest.$ac_ext >&5
5951 eval "$as_ac_var=no"
5954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5955 conftest$ac_exeext conftest.$ac_ext
5957 ac_res=`eval echo '${'$as_ac_var'}'`
5958 { echo "$as_me:$LINENO: result: $ac_res" >&5
5959 echo "${ECHO_T}$ac_res" >&6; }
5960 if test `eval echo '${'$as_ac_var'}'` = yes; then
5961 cat >>confdefs.h <<_ACEOF
5962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5963 _ACEOF
5966 done
5968 LIBS="$glib_save_LIBS"
5970 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5971 gt_cv_func_dgettext_libc=no
5972 else
5973 if test "$gt_cv_func_dgettext_libc" = "yes" \
5974 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5975 gt_cv_func_dgettext_libintl=no
5981 if test "$gt_cv_func_dgettext_libc" = "yes" \
5982 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5983 gt_cv_have_gettext=yes
5986 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5987 INTLLIBS="-lintl $libintl_extra_libs"
5990 if test "$gt_cv_have_gettext" = "yes"; then
5992 cat >>confdefs.h <<\_ACEOF
5993 #define HAVE_GETTEXT 1
5994 _ACEOF
5996 # Extract the first word of "msgfmt", so it can be a program name with args.
5997 set dummy msgfmt; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_path_MSGFMT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 case "$MSGFMT" in
6005 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6009 for ac_dir in $PATH; do
6010 test -z "$ac_dir" && ac_dir=.
6011 if test -f $ac_dir/$ac_word; then
6012 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6013 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6014 break
6017 done
6018 IFS="$ac_save_ifs"
6019 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6021 esac
6023 MSGFMT="$ac_cv_path_MSGFMT"
6024 if test "$MSGFMT" != "no"; then
6025 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
6026 echo "${ECHO_T}$MSGFMT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6031 if test "$MSGFMT" != "no"; then
6032 glib_save_LIBS="$LIBS"
6033 LIBS="$LIBS $INTLLIBS"
6035 for ac_func in dcgettext
6037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6038 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6040 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 else
6043 cat >conftest.$ac_ext <<_ACEOF
6044 /* confdefs.h. */
6045 _ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6051 #define $ac_func innocuous_$ac_func
6053 /* System header to define __stub macros and hopefully few prototypes,
6054 which can conflict with char $ac_func (); below.
6055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6056 <limits.h> exists even on freestanding compilers. */
6058 #ifdef __STDC__
6059 # include <limits.h>
6060 #else
6061 # include <assert.h>
6062 #endif
6064 #undef $ac_func
6066 /* Override any GCC internal prototype to avoid an error.
6067 Use char because int might match the return type of a GCC
6068 builtin and then its argument prototype would still apply. */
6069 #ifdef __cplusplus
6070 extern "C"
6071 #endif
6072 char $ac_func ();
6073 /* The GNU C library defines this for functions which it implements
6074 to always fail with ENOSYS. Some functions are actually named
6075 something starting with __ and the normal name is an alias. */
6076 #if defined __stub_$ac_func || defined __stub___$ac_func
6077 choke me
6078 #endif
6081 main ()
6083 return $ac_func ();
6085 return 0;
6087 _ACEOF
6088 rm -f conftest.$ac_objext conftest$ac_exeext
6089 if { (ac_try="$ac_link"
6090 case "(($ac_try" in
6091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6092 *) ac_try_echo=$ac_try;;
6093 esac
6094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6095 (eval "$ac_link") 2>conftest.er1
6096 ac_status=$?
6097 grep -v '^ *+' conftest.er1 >conftest.err
6098 rm -f conftest.er1
6099 cat conftest.err >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); } && {
6102 test -z "$ac_c_werror_flag" ||
6103 test ! -s conftest.err
6104 } && test -s conftest$ac_exeext &&
6105 $as_test_x conftest$ac_exeext; then
6106 eval "$as_ac_var=yes"
6107 else
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 eval "$as_ac_var=no"
6114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6115 conftest$ac_exeext conftest.$ac_ext
6117 ac_res=`eval echo '${'$as_ac_var'}'`
6118 { echo "$as_me:$LINENO: result: $ac_res" >&5
6119 echo "${ECHO_T}$ac_res" >&6; }
6120 if test `eval echo '${'$as_ac_var'}'` = yes; then
6121 cat >>confdefs.h <<_ACEOF
6122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6123 _ACEOF
6126 done
6128 MSGFMT_OPTS=
6129 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6130 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
6131 cat >conftest.foo <<_ACEOF
6133 msgid ""
6134 msgstr ""
6135 "Content-Type: text/plain; charset=UTF-8\n"
6136 "Project-Id-Version: test 1.0\n"
6137 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6138 "Last-Translator: test <foo@bar.xx>\n"
6139 "Language-Team: C <LL@li.org>\n"
6140 "MIME-Version: 1.0\n"
6141 "Content-Transfer-Encoding: 8bit\n"
6143 _ACEOF
6144 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6145 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6146 ac_status=$?
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }; then
6149 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
6150 echo "${ECHO_T}yes" >&6; }
6151 else { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6153 echo "$as_me: failed input was:" >&5
6154 sed 's/^/| /' conftest.foo >&5
6157 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6158 set dummy gmsgfmt; ac_word=$2
6159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6161 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164 case $GMSGFMT in
6165 [\\/]* | ?:[\\/]*)
6166 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6176 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6180 done
6181 done
6182 IFS=$as_save_IFS
6184 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6186 esac
6188 GMSGFMT=$ac_cv_path_GMSGFMT
6189 if test -n "$GMSGFMT"; then
6190 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6191 echo "${ECHO_T}$GMSGFMT" >&6; }
6192 else
6193 { echo "$as_me:$LINENO: result: no" >&5
6194 echo "${ECHO_T}no" >&6; }
6198 # Extract the first word of "xgettext", so it can be a program name with args.
6199 set dummy xgettext; ac_word=$2
6200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6202 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 else
6205 case "$XGETTEXT" in
6207 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6211 for ac_dir in $PATH; do
6212 test -z "$ac_dir" && ac_dir=.
6213 if test -f $ac_dir/$ac_word; then
6214 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6215 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6216 break
6219 done
6220 IFS="$ac_save_ifs"
6221 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6223 esac
6225 XGETTEXT="$ac_cv_path_XGETTEXT"
6226 if test "$XGETTEXT" != ":"; then
6227 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6228 echo "${ECHO_T}$XGETTEXT" >&6; }
6229 else
6230 { echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6; }
6234 cat >conftest.$ac_ext <<_ACEOF
6235 /* confdefs.h. */
6236 _ACEOF
6237 cat confdefs.h >>conftest.$ac_ext
6238 cat >>conftest.$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6242 main ()
6244 extern int _nl_msg_cat_cntr;
6245 return _nl_msg_cat_cntr
6247 return 0;
6249 _ACEOF
6250 rm -f conftest.$ac_objext conftest$ac_exeext
6251 if { (ac_try="$ac_link"
6252 case "(($ac_try" in
6253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6254 *) ac_try_echo=$ac_try;;
6255 esac
6256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6257 (eval "$ac_link") 2>conftest.er1
6258 ac_status=$?
6259 grep -v '^ *+' conftest.er1 >conftest.err
6260 rm -f conftest.er1
6261 cat conftest.err >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); } && {
6264 test -z "$ac_c_werror_flag" ||
6265 test ! -s conftest.err
6266 } && test -s conftest$ac_exeext &&
6267 $as_test_x conftest$ac_exeext; then
6268 CATOBJEXT=.gmo
6269 DATADIRNAME=share
6270 else
6271 echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.$ac_ext >&5
6274 case $host in
6275 *-*-solaris*)
6276 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6277 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6278 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 else
6281 cat >conftest.$ac_ext <<_ACEOF
6282 /* confdefs.h. */
6283 _ACEOF
6284 cat confdefs.h >>conftest.$ac_ext
6285 cat >>conftest.$ac_ext <<_ACEOF
6286 /* end confdefs.h. */
6287 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6289 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6291 /* System header to define __stub macros and hopefully few prototypes,
6292 which can conflict with char bind_textdomain_codeset (); below.
6293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6294 <limits.h> exists even on freestanding compilers. */
6296 #ifdef __STDC__
6297 # include <limits.h>
6298 #else
6299 # include <assert.h>
6300 #endif
6302 #undef bind_textdomain_codeset
6304 /* Override any GCC internal prototype to avoid an error.
6305 Use char because int might match the return type of a GCC
6306 builtin and then its argument prototype would still apply. */
6307 #ifdef __cplusplus
6308 extern "C"
6309 #endif
6310 char bind_textdomain_codeset ();
6311 /* The GNU C library defines this for functions which it implements
6312 to always fail with ENOSYS. Some functions are actually named
6313 something starting with __ and the normal name is an alias. */
6314 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6315 choke me
6316 #endif
6319 main ()
6321 return bind_textdomain_codeset ();
6323 return 0;
6325 _ACEOF
6326 rm -f conftest.$ac_objext conftest$ac_exeext
6327 if { (ac_try="$ac_link"
6328 case "(($ac_try" in
6329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6330 *) ac_try_echo=$ac_try;;
6331 esac
6332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6333 (eval "$ac_link") 2>conftest.er1
6334 ac_status=$?
6335 grep -v '^ *+' conftest.er1 >conftest.err
6336 rm -f conftest.er1
6337 cat conftest.err >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); } && {
6340 test -z "$ac_c_werror_flag" ||
6341 test ! -s conftest.err
6342 } && test -s conftest$ac_exeext &&
6343 $as_test_x conftest$ac_exeext; then
6344 ac_cv_func_bind_textdomain_codeset=yes
6345 else
6346 echo "$as_me: failed program was:" >&5
6347 sed 's/^/| /' conftest.$ac_ext >&5
6349 ac_cv_func_bind_textdomain_codeset=no
6352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6353 conftest$ac_exeext conftest.$ac_ext
6355 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6356 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6357 if test $ac_cv_func_bind_textdomain_codeset = yes; then
6358 CATOBJEXT=.gmo
6359 DATADIRNAME=share
6360 else
6361 CATOBJEXT=.mo
6362 DATADIRNAME=lib
6367 CATOBJEXT=.mo
6368 DATADIRNAME=lib
6370 esac
6373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6374 conftest$ac_exeext conftest.$ac_ext
6375 LIBS="$glib_save_LIBS"
6376 INSTOBJEXT=.mo
6377 else
6378 gt_cv_have_gettext=no
6386 if test "$gt_cv_have_gettext" = "yes" ; then
6388 cat >>confdefs.h <<\_ACEOF
6389 #define ENABLE_NLS 1
6390 _ACEOF
6394 if test "$XGETTEXT" != ":"; then
6395 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6397 else
6398 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6399 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
6400 XGETTEXT=":"
6404 # We need to process the po/ directory.
6405 POSUB=po
6407 ac_config_commands="$ac_config_commands default-1"
6410 for lang in $ALL_LINGUAS; do
6411 GMOFILES="$GMOFILES $lang.gmo"
6412 POFILES="$POFILES $lang.po"
6413 done
6427 if test "$gt_cv_have_gettext" = "yes"; then
6428 if test "x$ALL_LINGUAS" = "x"; then
6429 LINGUAS=
6430 else
6431 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6432 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
6433 NEW_LINGUAS=
6434 for presentlang in $ALL_LINGUAS; do
6435 useit=no
6436 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6437 desiredlanguages="$LINGUAS"
6438 else
6439 desiredlanguages="$ALL_LINGUAS"
6441 for desiredlang in $desiredlanguages; do
6442 # Use the presentlang catalog if desiredlang is
6443 # a. equal to presentlang, or
6444 # b. a variant of presentlang (because in this case,
6445 # presentlang can be used as a fallback for messages
6446 # which are not translated in the desiredlang catalog).
6447 case "$desiredlang" in
6448 "$presentlang"*) useit=yes;;
6449 esac
6450 done
6451 if test $useit = yes; then
6452 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6454 done
6455 LINGUAS=$NEW_LINGUAS
6456 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
6457 echo "${ECHO_T}$LINGUAS" >&6; }
6460 if test -n "$LINGUAS"; then
6461 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6465 MKINSTALLDIRS=
6466 if test -n "$ac_aux_dir"; then
6467 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6469 if test -z "$MKINSTALLDIRS"; then
6470 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6474 test -d po || mkdir po
6475 if test "x$srcdir" != "x."; then
6476 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6477 posrcprefix="$srcdir/"
6478 else
6479 posrcprefix="../$srcdir/"
6481 else
6482 posrcprefix="../"
6484 rm -f po/POTFILES
6485 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6486 < $srcdir/po/POTFILES.in > po/POTFILES
6489 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6490 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
6491 # Check whether --enable-maintainer-mode was given.
6492 if test "${enable_maintainer_mode+set}" = set; then
6493 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
6494 else
6495 USE_MAINTAINER_MODE=no
6498 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6499 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
6500 if test $USE_MAINTAINER_MODE = yes; then
6501 MAINTAINER_MODE_TRUE=
6502 MAINTAINER_MODE_FALSE='#'
6503 else
6504 MAINTAINER_MODE_TRUE='#'
6505 MAINTAINER_MODE_FALSE=
6508 MAINT=$MAINTAINER_MODE_TRUE
6512 ac_config_files="$ac_config_files Makefile src/Makefile src/icons/Makefile data/Makefile po/Makefile.in help/Makefile help/C/Makefile"
6514 cat >confcache <<\_ACEOF
6515 # This file is a shell script that caches the results of configure
6516 # tests run on this system so they can be shared between configure
6517 # scripts and configure runs, see configure's option --config-cache.
6518 # It is not useful on other systems. If it contains results you don't
6519 # want to keep, you may remove or edit it.
6521 # config.status only pays attention to the cache file if you give it
6522 # the --recheck option to rerun configure.
6524 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6525 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6526 # following values.
6528 _ACEOF
6530 # The following way of writing the cache mishandles newlines in values,
6531 # but we know of no workaround that is simple, portable, and efficient.
6532 # So, we kill variables containing newlines.
6533 # Ultrix sh set writes to stderr and can't be redirected directly,
6534 # and sets the high bit in the cache file unless we assign to the vars.
6536 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6537 eval ac_val=\$$ac_var
6538 case $ac_val in #(
6539 *${as_nl}*)
6540 case $ac_var in #(
6541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6542 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6543 esac
6544 case $ac_var in #(
6545 _ | IFS | as_nl) ;; #(
6546 *) $as_unset $ac_var ;;
6547 esac ;;
6548 esac
6549 done
6551 (set) 2>&1 |
6552 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6553 *${as_nl}ac_space=\ *)
6554 # `set' does not quote correctly, so add quotes (double-quote
6555 # substitution turns \\\\ into \\, and sed turns \\ into \).
6556 sed -n \
6557 "s/'/'\\\\''/g;
6558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6559 ;; #(
6561 # `set' quotes correctly as required by POSIX, so do not add quotes.
6562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6564 esac |
6565 sort
6567 sed '
6568 /^ac_cv_env_/b end
6569 t clear
6570 :clear
6571 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6572 t end
6573 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6574 :end' >>confcache
6575 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6576 if test -w "$cache_file"; then
6577 test "x$cache_file" != "x/dev/null" &&
6578 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6579 echo "$as_me: updating cache $cache_file" >&6;}
6580 cat confcache >$cache_file
6581 else
6582 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6583 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6586 rm -f confcache
6588 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6589 # Let make expand exec_prefix.
6590 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6592 # Transform confdefs.h into DEFS.
6593 # Protect against shell expansion while executing Makefile rules.
6594 # Protect against Makefile macro expansion.
6596 # If the first sed substitution is executed (which looks for macros that
6597 # take arguments), then branch to the quote section. Otherwise,
6598 # look for a macro that doesn't take arguments.
6599 ac_script='
6600 t clear
6601 :clear
6602 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6603 t quote
6604 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6605 t quote
6606 b any
6607 :quote
6608 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6609 s/\[/\\&/g
6610 s/\]/\\&/g
6611 s/\$/$$/g
6613 :any
6616 s/^\n//
6617 s/\n/ /g
6621 DEFS=`sed -n "$ac_script" confdefs.h`
6624 ac_libobjs=
6625 ac_ltlibobjs=
6626 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6627 # 1. Remove the extension, and $U if already installed.
6628 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6629 ac_i=`echo "$ac_i" | sed "$ac_script"`
6630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6631 # will be set to the directory where LIBOBJS objects are built.
6632 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6633 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6634 done
6635 LIBOBJS=$ac_libobjs
6637 LTLIBOBJS=$ac_ltlibobjs
6641 ac_config_commands="$ac_config_commands po/stamp-it"
6644 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6645 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6646 Usually this means the macro was only invoked conditionally." >&5
6647 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6648 Usually this means the macro was only invoked conditionally." >&2;}
6649 { (exit 1); exit 1; }; }
6651 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6652 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6653 Usually this means the macro was only invoked conditionally." >&5
6654 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6655 Usually this means the macro was only invoked conditionally." >&2;}
6656 { (exit 1); exit 1; }; }
6658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6659 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6660 Usually this means the macro was only invoked conditionally." >&5
6661 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6662 Usually this means the macro was only invoked conditionally." >&2;}
6663 { (exit 1); exit 1; }; }
6666 : ${CONFIG_STATUS=./config.status}
6667 ac_clean_files_save=$ac_clean_files
6668 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6669 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6670 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6671 cat >$CONFIG_STATUS <<_ACEOF
6672 #! $SHELL
6673 # Generated by $as_me.
6674 # Run this file to recreate the current configuration.
6675 # Compiler output produced by configure, useful for debugging
6676 # configure, is in config.log if it exists.
6678 debug=false
6679 ac_cs_recheck=false
6680 ac_cs_silent=false
6681 SHELL=\${CONFIG_SHELL-$SHELL}
6682 _ACEOF
6684 cat >>$CONFIG_STATUS <<\_ACEOF
6685 ## --------------------- ##
6686 ## M4sh Initialization. ##
6687 ## --------------------- ##
6689 # Be more Bourne compatible
6690 DUALCASE=1; export DUALCASE # for MKS sh
6691 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6692 emulate sh
6693 NULLCMD=:
6694 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6695 # is contrary to our usage. Disable this feature.
6696 alias -g '${1+"$@"}'='"$@"'
6697 setopt NO_GLOB_SUBST
6698 else
6699 case `(set -o) 2>/dev/null` in
6700 *posix*) set -o posix ;;
6701 esac
6708 # PATH needs CR
6709 # Avoid depending upon Character Ranges.
6710 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6711 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6712 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6713 as_cr_digits='0123456789'
6714 as_cr_alnum=$as_cr_Letters$as_cr_digits
6716 # The user is always right.
6717 if test "${PATH_SEPARATOR+set}" != set; then
6718 echo "#! /bin/sh" >conf$$.sh
6719 echo "exit 0" >>conf$$.sh
6720 chmod +x conf$$.sh
6721 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6722 PATH_SEPARATOR=';'
6723 else
6724 PATH_SEPARATOR=:
6726 rm -f conf$$.sh
6729 # Support unset when possible.
6730 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6731 as_unset=unset
6732 else
6733 as_unset=false
6737 # IFS
6738 # We need space, tab and new line, in precisely that order. Quoting is
6739 # there to prevent editors from complaining about space-tab.
6740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6741 # splitting by setting IFS to empty value.)
6742 as_nl='
6744 IFS=" "" $as_nl"
6746 # Find who we are. Look in the path if we contain no directory separator.
6747 case $0 in
6748 *[\\/]* ) as_myself=$0 ;;
6749 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 for as_dir in $PATH
6752 IFS=$as_save_IFS
6753 test -z "$as_dir" && as_dir=.
6754 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6755 done
6756 IFS=$as_save_IFS
6759 esac
6760 # We did not find ourselves, most probably we were run as `sh COMMAND'
6761 # in which case we are not to be found in the path.
6762 if test "x$as_myself" = x; then
6763 as_myself=$0
6765 if test ! -f "$as_myself"; then
6766 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6767 { (exit 1); exit 1; }
6770 # Work around bugs in pre-3.0 UWIN ksh.
6771 for as_var in ENV MAIL MAILPATH
6772 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6773 done
6774 PS1='$ '
6775 PS2='> '
6776 PS4='+ '
6778 # NLS nuisances.
6779 for as_var in \
6780 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6781 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6782 LC_TELEPHONE LC_TIME
6784 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6785 eval $as_var=C; export $as_var
6786 else
6787 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6789 done
6791 # Required to use basename.
6792 if expr a : '\(a\)' >/dev/null 2>&1 &&
6793 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6794 as_expr=expr
6795 else
6796 as_expr=false
6799 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6800 as_basename=basename
6801 else
6802 as_basename=false
6806 # Name of the executable.
6807 as_me=`$as_basename -- "$0" ||
6808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6809 X"$0" : 'X\(//\)$' \| \
6810 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6811 echo X/"$0" |
6812 sed '/^.*\/\([^/][^/]*\)\/*$/{
6813 s//\1/
6816 /^X\/\(\/\/\)$/{
6817 s//\1/
6820 /^X\/\(\/\).*/{
6821 s//\1/
6824 s/.*/./; q'`
6826 # CDPATH.
6827 $as_unset CDPATH
6831 as_lineno_1=$LINENO
6832 as_lineno_2=$LINENO
6833 test "x$as_lineno_1" != "x$as_lineno_2" &&
6834 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6836 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6837 # uniformly replaced by the line number. The first 'sed' inserts a
6838 # line-number line after each line using $LINENO; the second 'sed'
6839 # does the real work. The second script uses 'N' to pair each
6840 # line-number line with the line containing $LINENO, and appends
6841 # trailing '-' during substitution so that $LINENO is not a special
6842 # case at line end.
6843 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6844 # scripts with optimization help from Paolo Bonzini. Blame Lee
6845 # E. McMahon (1931-1989) for sed's syntax. :-)
6846 sed -n '
6848 /[$]LINENO/=
6849 ' <$as_myself |
6850 sed '
6851 s/[$]LINENO.*/&-/
6852 t lineno
6854 :lineno
6856 :loop
6857 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6858 t loop
6859 s/-\n.*//
6860 ' >$as_me.lineno &&
6861 chmod +x "$as_me.lineno" ||
6862 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6863 { (exit 1); exit 1; }; }
6865 # Don't try to exec as it changes $[0], causing all sort of problems
6866 # (the dirname of $[0] is not the place where we might find the
6867 # original and so on. Autoconf is especially sensitive to this).
6868 . "./$as_me.lineno"
6869 # Exit status is that of the last command.
6870 exit
6874 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6875 as_dirname=dirname
6876 else
6877 as_dirname=false
6880 ECHO_C= ECHO_N= ECHO_T=
6881 case `echo -n x` in
6882 -n*)
6883 case `echo 'x\c'` in
6884 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6885 *) ECHO_C='\c';;
6886 esac;;
6888 ECHO_N='-n';;
6889 esac
6891 if expr a : '\(a\)' >/dev/null 2>&1 &&
6892 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6893 as_expr=expr
6894 else
6895 as_expr=false
6898 rm -f conf$$ conf$$.exe conf$$.file
6899 if test -d conf$$.dir; then
6900 rm -f conf$$.dir/conf$$.file
6901 else
6902 rm -f conf$$.dir
6903 mkdir conf$$.dir
6905 echo >conf$$.file
6906 if ln -s conf$$.file conf$$ 2>/dev/null; then
6907 as_ln_s='ln -s'
6908 # ... but there are two gotchas:
6909 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6910 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6911 # In both cases, we have to default to `cp -p'.
6912 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6913 as_ln_s='cp -p'
6914 elif ln conf$$.file conf$$ 2>/dev/null; then
6915 as_ln_s=ln
6916 else
6917 as_ln_s='cp -p'
6919 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6920 rmdir conf$$.dir 2>/dev/null
6922 if mkdir -p . 2>/dev/null; then
6923 as_mkdir_p=:
6924 else
6925 test -d ./-p && rmdir ./-p
6926 as_mkdir_p=false
6929 if test -x / >/dev/null 2>&1; then
6930 as_test_x='test -x'
6931 else
6932 if ls -dL / >/dev/null 2>&1; then
6933 as_ls_L_option=L
6934 else
6935 as_ls_L_option=
6937 as_test_x='
6938 eval sh -c '\''
6939 if test -d "$1"; then
6940 test -d "$1/.";
6941 else
6942 case $1 in
6943 -*)set "./$1";;
6944 esac;
6945 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6946 ???[sx]*):;;*)false;;esac;fi
6947 '\'' sh
6950 as_executable_p=$as_test_x
6952 # Sed expression to map a string onto a valid CPP name.
6953 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6955 # Sed expression to map a string onto a valid variable name.
6956 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6959 exec 6>&1
6961 # Save the log message, to keep $[0] and so on meaningful, and to
6962 # report actual input values of CONFIG_FILES etc. instead of their
6963 # values after options handling.
6964 ac_log="
6965 This file was extended by $as_me, which was
6966 generated by GNU Autoconf 2.61. Invocation command line was
6968 CONFIG_FILES = $CONFIG_FILES
6969 CONFIG_HEADERS = $CONFIG_HEADERS
6970 CONFIG_LINKS = $CONFIG_LINKS
6971 CONFIG_COMMANDS = $CONFIG_COMMANDS
6972 $ $0 $@
6974 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6977 _ACEOF
6979 cat >>$CONFIG_STATUS <<_ACEOF
6980 # Files that config.status was made for.
6981 config_files="$ac_config_files"
6982 config_commands="$ac_config_commands"
6984 _ACEOF
6986 cat >>$CONFIG_STATUS <<\_ACEOF
6987 ac_cs_usage="\
6988 \`$as_me' instantiates files from templates according to the
6989 current configuration.
6991 Usage: $0 [OPTIONS] [FILE]...
6993 -h, --help print this help, then exit
6994 -V, --version print version number and configuration settings, then exit
6995 -q, --quiet do not print progress messages
6996 -d, --debug don't remove temporary files
6997 --recheck update $as_me by reconfiguring in the same conditions
6998 --file=FILE[:TEMPLATE]
6999 instantiate the configuration file FILE
7001 Configuration files:
7002 $config_files
7004 Configuration commands:
7005 $config_commands
7007 Report bugs to <bug-autoconf@gnu.org>."
7009 _ACEOF
7010 cat >>$CONFIG_STATUS <<_ACEOF
7011 ac_cs_version="\\
7012 config.status
7013 configured by $0, generated by GNU Autoconf 2.61,
7014 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7016 Copyright (C) 2006 Free Software Foundation, Inc.
7017 This config.status script is free software; the Free Software Foundation
7018 gives unlimited permission to copy, distribute and modify it."
7020 ac_pwd='$ac_pwd'
7021 srcdir='$srcdir'
7022 INSTALL='$INSTALL'
7023 MKDIR_P='$MKDIR_P'
7024 _ACEOF
7026 cat >>$CONFIG_STATUS <<\_ACEOF
7027 # If no file are specified by the user, then we need to provide default
7028 # value. By we need to know if files were specified by the user.
7029 ac_need_defaults=:
7030 while test $# != 0
7032 case $1 in
7033 --*=*)
7034 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7035 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7036 ac_shift=:
7039 ac_option=$1
7040 ac_optarg=$2
7041 ac_shift=shift
7043 esac
7045 case $ac_option in
7046 # Handling of the options.
7047 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7048 ac_cs_recheck=: ;;
7049 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7050 echo "$ac_cs_version"; exit ;;
7051 --debug | --debu | --deb | --de | --d | -d )
7052 debug=: ;;
7053 --file | --fil | --fi | --f )
7054 $ac_shift
7055 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7056 ac_need_defaults=false;;
7057 --he | --h | --help | --hel | -h )
7058 echo "$ac_cs_usage"; exit ;;
7059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7060 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7061 ac_cs_silent=: ;;
7063 # This is an error.
7064 -*) { echo "$as_me: error: unrecognized option: $1
7065 Try \`$0 --help' for more information." >&2
7066 { (exit 1); exit 1; }; } ;;
7068 *) ac_config_targets="$ac_config_targets $1"
7069 ac_need_defaults=false ;;
7071 esac
7072 shift
7073 done
7075 ac_configure_extra_args=
7077 if $ac_cs_silent; then
7078 exec 6>/dev/null
7079 ac_configure_extra_args="$ac_configure_extra_args --silent"
7082 _ACEOF
7083 cat >>$CONFIG_STATUS <<_ACEOF
7084 if \$ac_cs_recheck; then
7085 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7086 CONFIG_SHELL=$SHELL
7087 export CONFIG_SHELL
7088 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7091 _ACEOF
7092 cat >>$CONFIG_STATUS <<\_ACEOF
7093 exec 5>>config.log
7095 echo
7096 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7097 ## Running $as_me. ##
7098 _ASBOX
7099 echo "$ac_log"
7100 } >&5
7102 _ACEOF
7103 cat >>$CONFIG_STATUS <<_ACEOF
7105 # INIT-COMMANDS
7107 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7110 _ACEOF
7112 cat >>$CONFIG_STATUS <<\_ACEOF
7114 # Handling of arguments.
7115 for ac_config_target in $ac_config_targets
7117 case $ac_config_target in
7118 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7119 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7120 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7121 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7122 "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
7123 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
7124 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7125 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
7126 "help/C/Makefile") CONFIG_FILES="$CONFIG_FILES help/C/Makefile" ;;
7127 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7129 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7130 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7131 { (exit 1); exit 1; }; };;
7132 esac
7133 done
7136 # If the user did not use the arguments to specify the items to instantiate,
7137 # then the envvar interface is used. Set only those that are not.
7138 # We use the long form for the default assignment because of an extremely
7139 # bizarre bug on SunOS 4.1.3.
7140 if $ac_need_defaults; then
7141 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7142 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7145 # Have a temporary directory for convenience. Make it in the build tree
7146 # simply because there is no reason against having it here, and in addition,
7147 # creating and moving files from /tmp can sometimes cause problems.
7148 # Hook for its removal unless debugging.
7149 # Note that there is a small window in which the directory will not be cleaned:
7150 # after its creation but before its name has been assigned to `$tmp'.
7151 $debug ||
7153 tmp=
7154 trap 'exit_status=$?
7155 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7157 trap '{ (exit 1); exit 1; }' 1 2 13 15
7159 # Create a (secure) tmp directory for tmp files.
7162 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7163 test -n "$tmp" && test -d "$tmp"
7164 } ||
7166 tmp=./conf$$-$RANDOM
7167 (umask 077 && mkdir "$tmp")
7168 } ||
7170 echo "$me: cannot create a temporary directory in ." >&2
7171 { (exit 1); exit 1; }
7175 # Set up the sed scripts for CONFIG_FILES section.
7178 # No need to generate the scripts if there are no CONFIG_FILES.
7179 # This happens for instance when ./config.status config.h
7180 if test -n "$CONFIG_FILES"; then
7182 _ACEOF
7186 ac_delim='%!_!# '
7187 for ac_last_try in false false false false false :; do
7188 cat >conf$$subs.sed <<_ACEOF
7189 SHELL!$SHELL$ac_delim
7190 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7191 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7192 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7193 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7194 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7195 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7196 exec_prefix!$exec_prefix$ac_delim
7197 prefix!$prefix$ac_delim
7198 program_transform_name!$program_transform_name$ac_delim
7199 bindir!$bindir$ac_delim
7200 sbindir!$sbindir$ac_delim
7201 libexecdir!$libexecdir$ac_delim
7202 datarootdir!$datarootdir$ac_delim
7203 datadir!$datadir$ac_delim
7204 sysconfdir!$sysconfdir$ac_delim
7205 sharedstatedir!$sharedstatedir$ac_delim
7206 localstatedir!$localstatedir$ac_delim
7207 includedir!$includedir$ac_delim
7208 oldincludedir!$oldincludedir$ac_delim
7209 docdir!$docdir$ac_delim
7210 infodir!$infodir$ac_delim
7211 htmldir!$htmldir$ac_delim
7212 dvidir!$dvidir$ac_delim
7213 pdfdir!$pdfdir$ac_delim
7214 psdir!$psdir$ac_delim
7215 libdir!$libdir$ac_delim
7216 localedir!$localedir$ac_delim
7217 mandir!$mandir$ac_delim
7218 DEFS!$DEFS$ac_delim
7219 ECHO_C!$ECHO_C$ac_delim
7220 ECHO_N!$ECHO_N$ac_delim
7221 ECHO_T!$ECHO_T$ac_delim
7222 LIBS!$LIBS$ac_delim
7223 build_alias!$build_alias$ac_delim
7224 host_alias!$host_alias$ac_delim
7225 target_alias!$target_alias$ac_delim
7226 USE_NLS!$USE_NLS$ac_delim
7227 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
7228 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
7229 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
7230 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
7231 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
7232 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
7233 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
7234 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
7235 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
7236 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
7237 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
7238 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
7239 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
7240 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
7241 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
7242 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
7243 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
7244 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
7245 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
7246 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
7247 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
7248 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
7249 XGETTEXT!$XGETTEXT$ac_delim
7250 MSGMERGE!$MSGMERGE$ac_delim
7251 MSGFMT!$MSGFMT$ac_delim
7252 GMSGFMT!$GMSGFMT$ac_delim
7253 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
7254 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
7255 CC!$CC$ac_delim
7256 CFLAGS!$CFLAGS$ac_delim
7257 LDFLAGS!$LDFLAGS$ac_delim
7258 CPPFLAGS!$CPPFLAGS$ac_delim
7259 ac_ct_CC!$ac_ct_CC$ac_delim
7260 EXEEXT!$EXEEXT$ac_delim
7261 OBJEXT!$OBJEXT$ac_delim
7262 DATADIRNAME!$DATADIRNAME$ac_delim
7263 PYTHON!$PYTHON$ac_delim
7264 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
7265 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
7266 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
7267 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
7268 pythondir!$pythondir$ac_delim
7269 pkgpythondir!$pkgpythondir$ac_delim
7270 pyexecdir!$pyexecdir$ac_delim
7271 pkgpyexecdir!$pkgpyexecdir$ac_delim
7272 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
7273 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7274 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7275 INSTALL_DATA!$INSTALL_DATA$ac_delim
7276 am__isrc!$am__isrc$ac_delim
7277 CYGPATH_W!$CYGPATH_W$ac_delim
7278 PACKAGE!$PACKAGE$ac_delim
7279 VERSION!$VERSION$ac_delim
7280 ACLOCAL!$ACLOCAL$ac_delim
7281 AUTOCONF!$AUTOCONF$ac_delim
7282 AUTOMAKE!$AUTOMAKE$ac_delim
7283 AUTOHEADER!$AUTOHEADER$ac_delim
7284 MAKEINFO!$MAKEINFO$ac_delim
7285 install_sh!$install_sh$ac_delim
7286 _ACEOF
7288 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7289 break
7290 elif $ac_last_try; then
7291 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7292 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7293 { (exit 1); exit 1; }; }
7294 else
7295 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7297 done
7299 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7300 if test -n "$ac_eof"; then
7301 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7302 ac_eof=`expr $ac_eof + 1`
7305 cat >>$CONFIG_STATUS <<_ACEOF
7306 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7307 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7308 _ACEOF
7309 sed '
7310 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7311 s/^/s,@/; s/!/@,|#_!!_#|/
7314 s/'"$ac_delim"'$/,g/; t
7315 s/$/\\/; p
7316 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7317 ' >>$CONFIG_STATUS <conf$$subs.sed
7318 rm -f conf$$subs.sed
7319 cat >>$CONFIG_STATUS <<_ACEOF
7320 CEOF$ac_eof
7321 _ACEOF
7324 ac_delim='%!_!# '
7325 for ac_last_try in false false false false false :; do
7326 cat >conf$$subs.sed <<_ACEOF
7327 STRIP!$STRIP$ac_delim
7328 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7329 mkdir_p!$mkdir_p$ac_delim
7330 AWK!$AWK$ac_delim
7331 SET_MAKE!$SET_MAKE$ac_delim
7332 am__leading_dot!$am__leading_dot$ac_delim
7333 AMTAR!$AMTAR$ac_delim
7334 am__tar!$am__tar$ac_delim
7335 am__untar!$am__untar$ac_delim
7336 DEPDIR!$DEPDIR$ac_delim
7337 am__include!$am__include$ac_delim
7338 am__quote!$am__quote$ac_delim
7339 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7340 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7341 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7342 CCDEPMODE!$CCDEPMODE$ac_delim
7343 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7344 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7345 CPP!$CPP$ac_delim
7346 GREP!$GREP$ac_delim
7347 EGREP!$EGREP$ac_delim
7348 build!$build$ac_delim
7349 build_cpu!$build_cpu$ac_delim
7350 build_vendor!$build_vendor$ac_delim
7351 build_os!$build_os$ac_delim
7352 host!$host$ac_delim
7353 host_cpu!$host_cpu$ac_delim
7354 host_vendor!$host_vendor$ac_delim
7355 host_os!$host_os$ac_delim
7356 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
7357 CATALOGS!$CATALOGS$ac_delim
7358 CATOBJEXT!$CATOBJEXT$ac_delim
7359 GMOFILES!$GMOFILES$ac_delim
7360 INSTOBJEXT!$INSTOBJEXT$ac_delim
7361 INTLLIBS!$INTLLIBS$ac_delim
7362 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
7363 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
7364 POFILES!$POFILES$ac_delim
7365 POSUB!$POSUB$ac_delim
7366 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
7367 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
7368 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
7369 MAINT!$MAINT$ac_delim
7370 LIBOBJS!$LIBOBJS$ac_delim
7371 LTLIBOBJS!$LTLIBOBJS$ac_delim
7372 _ACEOF
7374 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
7375 break
7376 elif $ac_last_try; then
7377 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7378 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7379 { (exit 1); exit 1; }; }
7380 else
7381 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7383 done
7385 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7386 if test -n "$ac_eof"; then
7387 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7388 ac_eof=`expr $ac_eof + 1`
7391 cat >>$CONFIG_STATUS <<_ACEOF
7392 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7394 _ACEOF
7395 sed '
7396 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7397 s/^/s,@/; s/!/@,|#_!!_#|/
7400 s/'"$ac_delim"'$/,g/; t
7401 s/$/\\/; p
7402 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7403 ' >>$CONFIG_STATUS <conf$$subs.sed
7404 rm -f conf$$subs.sed
7405 cat >>$CONFIG_STATUS <<_ACEOF
7406 :end
7407 s/|#_!!_#|//g
7408 CEOF$ac_eof
7409 _ACEOF
7412 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7413 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7414 # trailing colons and then remove the whole line if VPATH becomes empty
7415 # (actually we leave an empty line to preserve line numbers).
7416 if test "x$srcdir" = x.; then
7417 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7418 s/:*\$(srcdir):*/:/
7419 s/:*\${srcdir}:*/:/
7420 s/:*@srcdir@:*/:/
7421 s/^\([^=]*=[ ]*\):*/\1/
7422 s/:*$//
7423 s/^[^=]*=[ ]*$//
7427 cat >>$CONFIG_STATUS <<\_ACEOF
7428 fi # test -n "$CONFIG_FILES"
7431 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
7433 case $ac_tag in
7434 :[FHLC]) ac_mode=$ac_tag; continue;;
7435 esac
7436 case $ac_mode$ac_tag in
7437 :[FHL]*:*);;
7438 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7439 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7440 { (exit 1); exit 1; }; };;
7441 :[FH]-) ac_tag=-:-;;
7442 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7443 esac
7444 ac_save_IFS=$IFS
7445 IFS=:
7446 set x $ac_tag
7447 IFS=$ac_save_IFS
7448 shift
7449 ac_file=$1
7450 shift
7452 case $ac_mode in
7453 :L) ac_source=$1;;
7454 :[FH])
7455 ac_file_inputs=
7456 for ac_f
7458 case $ac_f in
7459 -) ac_f="$tmp/stdin";;
7460 *) # Look for the file first in the build tree, then in the source tree
7461 # (if the path is not absolute). The absolute path cannot be DOS-style,
7462 # because $ac_f cannot contain `:'.
7463 test -f "$ac_f" ||
7464 case $ac_f in
7465 [\\/$]*) false;;
7466 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7467 esac ||
7468 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7469 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7470 { (exit 1); exit 1; }; };;
7471 esac
7472 ac_file_inputs="$ac_file_inputs $ac_f"
7473 done
7475 # Let's still pretend it is `configure' which instantiates (i.e., don't
7476 # use $as_me), people would be surprised to read:
7477 # /* config.h. Generated by config.status. */
7478 configure_input="Generated from "`IFS=:
7479 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7480 if test x"$ac_file" != x-; then
7481 configure_input="$ac_file. $configure_input"
7482 { echo "$as_me:$LINENO: creating $ac_file" >&5
7483 echo "$as_me: creating $ac_file" >&6;}
7486 case $ac_tag in
7487 *:-:* | *:-) cat >"$tmp/stdin";;
7488 esac
7490 esac
7492 ac_dir=`$as_dirname -- "$ac_file" ||
7493 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7494 X"$ac_file" : 'X\(//\)[^/]' \| \
7495 X"$ac_file" : 'X\(//\)$' \| \
7496 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7497 echo X"$ac_file" |
7498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7499 s//\1/
7502 /^X\(\/\/\)[^/].*/{
7503 s//\1/
7506 /^X\(\/\/\)$/{
7507 s//\1/
7510 /^X\(\/\).*/{
7511 s//\1/
7514 s/.*/./; q'`
7515 { as_dir="$ac_dir"
7516 case $as_dir in #(
7517 -*) as_dir=./$as_dir;;
7518 esac
7519 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7520 as_dirs=
7521 while :; do
7522 case $as_dir in #(
7523 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7524 *) as_qdir=$as_dir;;
7525 esac
7526 as_dirs="'$as_qdir' $as_dirs"
7527 as_dir=`$as_dirname -- "$as_dir" ||
7528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7529 X"$as_dir" : 'X\(//\)[^/]' \| \
7530 X"$as_dir" : 'X\(//\)$' \| \
7531 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7532 echo X"$as_dir" |
7533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7534 s//\1/
7537 /^X\(\/\/\)[^/].*/{
7538 s//\1/
7541 /^X\(\/\/\)$/{
7542 s//\1/
7545 /^X\(\/\).*/{
7546 s//\1/
7549 s/.*/./; q'`
7550 test -d "$as_dir" && break
7551 done
7552 test -z "$as_dirs" || eval "mkdir $as_dirs"
7553 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7554 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7555 { (exit 1); exit 1; }; }; }
7556 ac_builddir=.
7558 case "$ac_dir" in
7559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7561 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7562 # A ".." for each directory in $ac_dir_suffix.
7563 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7564 case $ac_top_builddir_sub in
7565 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7566 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7567 esac ;;
7568 esac
7569 ac_abs_top_builddir=$ac_pwd
7570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7571 # for backward compatibility:
7572 ac_top_builddir=$ac_top_build_prefix
7574 case $srcdir in
7575 .) # We are building in place.
7576 ac_srcdir=.
7577 ac_top_srcdir=$ac_top_builddir_sub
7578 ac_abs_top_srcdir=$ac_pwd ;;
7579 [\\/]* | ?:[\\/]* ) # Absolute name.
7580 ac_srcdir=$srcdir$ac_dir_suffix;
7581 ac_top_srcdir=$srcdir
7582 ac_abs_top_srcdir=$srcdir ;;
7583 *) # Relative name.
7584 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7585 ac_top_srcdir=$ac_top_build_prefix$srcdir
7586 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7587 esac
7588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7591 case $ac_mode in
7594 # CONFIG_FILE
7597 case $INSTALL in
7598 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7599 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7600 esac
7601 ac_MKDIR_P=$MKDIR_P
7602 case $MKDIR_P in
7603 [\\/$]* | ?:[\\/]* ) ;;
7604 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7605 esac
7606 _ACEOF
7608 cat >>$CONFIG_STATUS <<\_ACEOF
7609 # If the template does not know about datarootdir, expand it.
7610 # FIXME: This hack should be removed a few years after 2.60.
7611 ac_datarootdir_hack=; ac_datarootdir_seen=
7613 case `sed -n '/datarootdir/ {
7617 /@datadir@/p
7618 /@docdir@/p
7619 /@infodir@/p
7620 /@localedir@/p
7621 /@mandir@/p
7622 ' $ac_file_inputs` in
7623 *datarootdir*) ac_datarootdir_seen=yes;;
7624 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7625 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7626 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7627 _ACEOF
7628 cat >>$CONFIG_STATUS <<_ACEOF
7629 ac_datarootdir_hack='
7630 s&@datadir@&$datadir&g
7631 s&@docdir@&$docdir&g
7632 s&@infodir@&$infodir&g
7633 s&@localedir@&$localedir&g
7634 s&@mandir@&$mandir&g
7635 s&\\\${datarootdir}&$datarootdir&g' ;;
7636 esac
7637 _ACEOF
7639 # Neutralize VPATH when `$srcdir' = `.'.
7640 # Shell code in configure.ac might set extrasub.
7641 # FIXME: do we really want to maintain this feature?
7642 cat >>$CONFIG_STATUS <<_ACEOF
7643 sed "$ac_vpsub
7644 $extrasub
7645 _ACEOF
7646 cat >>$CONFIG_STATUS <<\_ACEOF
7648 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7649 s&@configure_input@&$configure_input&;t t
7650 s&@top_builddir@&$ac_top_builddir_sub&;t t
7651 s&@srcdir@&$ac_srcdir&;t t
7652 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7653 s&@top_srcdir@&$ac_top_srcdir&;t t
7654 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7655 s&@builddir@&$ac_builddir&;t t
7656 s&@abs_builddir@&$ac_abs_builddir&;t t
7657 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7658 s&@INSTALL@&$ac_INSTALL&;t t
7659 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7660 $ac_datarootdir_hack
7661 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
7663 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7664 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7665 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7666 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7667 which seems to be undefined. Please make sure it is defined." >&5
7668 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7669 which seems to be undefined. Please make sure it is defined." >&2;}
7671 rm -f "$tmp/stdin"
7672 case $ac_file in
7673 -) cat "$tmp/out"; rm -f "$tmp/out";;
7674 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7675 esac
7679 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7680 echo "$as_me: executing $ac_file commands" >&6;}
7682 esac
7685 case $ac_file$ac_mode in
7686 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7687 # Strip MF so we end up with the name of the file.
7688 mf=`echo "$mf" | sed -e 's/:.*$//'`
7689 # Check whether this is an Automake generated Makefile or not.
7690 # We used to match only the files named `Makefile.in', but
7691 # some people rename them; so instead we look at the file content.
7692 # Grep'ing the first line is not enough: some people post-process
7693 # each Makefile.in and add a new line on top of each file to say so.
7694 # Grep'ing the whole file is not good either: AIX grep has a line
7695 # limit of 2048, but all sed's we know have understand at least 4000.
7696 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
7697 dirpart=`$as_dirname -- "$mf" ||
7698 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7699 X"$mf" : 'X\(//\)[^/]' \| \
7700 X"$mf" : 'X\(//\)$' \| \
7701 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7702 echo X"$mf" |
7703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7704 s//\1/
7707 /^X\(\/\/\)[^/].*/{
7708 s//\1/
7711 /^X\(\/\/\)$/{
7712 s//\1/
7715 /^X\(\/\).*/{
7716 s//\1/
7719 s/.*/./; q'`
7720 else
7721 continue
7723 # Extract the definition of DEPDIR, am__include, and am__quote
7724 # from the Makefile without running `make'.
7725 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7726 test -z "$DEPDIR" && continue
7727 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7728 test -z "am__include" && continue
7729 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7730 # When using ansi2knr, U may be empty or an underscore; expand it
7731 U=`sed -n 's/^U = //p' < "$mf"`
7732 # Find all dependency output files, they are included files with
7733 # $(DEPDIR) in their names. We invoke sed twice because it is the
7734 # simplest approach to changing $(DEPDIR) to its actual value in the
7735 # expansion.
7736 for file in `sed -n "
7737 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7738 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7739 # Make sure the directory exists.
7740 test -f "$dirpart/$file" && continue
7741 fdir=`$as_dirname -- "$file" ||
7742 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7743 X"$file" : 'X\(//\)[^/]' \| \
7744 X"$file" : 'X\(//\)$' \| \
7745 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7746 echo X"$file" |
7747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7748 s//\1/
7751 /^X\(\/\/\)[^/].*/{
7752 s//\1/
7755 /^X\(\/\/\)$/{
7756 s//\1/
7759 /^X\(\/\).*/{
7760 s//\1/
7763 s/.*/./; q'`
7764 { as_dir=$dirpart/$fdir
7765 case $as_dir in #(
7766 -*) as_dir=./$as_dir;;
7767 esac
7768 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7769 as_dirs=
7770 while :; do
7771 case $as_dir in #(
7772 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7773 *) as_qdir=$as_dir;;
7774 esac
7775 as_dirs="'$as_qdir' $as_dirs"
7776 as_dir=`$as_dirname -- "$as_dir" ||
7777 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7778 X"$as_dir" : 'X\(//\)[^/]' \| \
7779 X"$as_dir" : 'X\(//\)$' \| \
7780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7781 echo X"$as_dir" |
7782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7783 s//\1/
7786 /^X\(\/\/\)[^/].*/{
7787 s//\1/
7790 /^X\(\/\/\)$/{
7791 s//\1/
7794 /^X\(\/\).*/{
7795 s//\1/
7798 s/.*/./; q'`
7799 test -d "$as_dir" && break
7800 done
7801 test -z "$as_dirs" || eval "mkdir $as_dirs"
7802 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7803 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7804 { (exit 1); exit 1; }; }; }
7805 # echo "creating $dirpart/$file"
7806 echo '# dummy' > "$dirpart/$file"
7807 done
7808 done
7810 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7811 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7812 esac ;;
7813 "po/stamp-it":C)
7814 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
7815 { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
7816 echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
7817 { (exit 1); exit 1; }; }
7819 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7820 >"po/stamp-it.tmp"
7821 sed '/^#/d
7822 s/^[[].*] *//
7823 /^[ ]*$/d
7824 '"s|^| $ac_top_srcdir/|" \
7825 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
7827 sed '/^POTFILES =/,/[^\\]$/ {
7828 /^POTFILES =/!d
7829 r po/POTFILES
7831 ' "po/Makefile.in" >"po/Makefile"
7832 rm -f "po/Makefile.tmp"
7833 mv "po/stamp-it.tmp" "po/stamp-it"
7836 esac
7837 done # for ac_tag
7840 { (exit 0); exit 0; }
7841 _ACEOF
7842 chmod +x $CONFIG_STATUS
7843 ac_clean_files=$ac_clean_files_save
7846 # configure is writing to config.log, and then calls config.status.
7847 # config.status does its own redirection, appending to config.log.
7848 # Unfortunately, on DOS this fails, as config.log is still kept open
7849 # by configure, so config.status won't be able to write to it; its
7850 # output is simply discarded. So we exec the FD to /dev/null,
7851 # effectively closing config.log, so it can be properly (re)opened and
7852 # appended to by config.status. When coming back to configure, we
7853 # need to make the FD available again.
7854 if test "$no_create" != yes; then
7855 ac_cs_success=:
7856 ac_config_status_args=
7857 test "$silent" = yes &&
7858 ac_config_status_args="$ac_config_status_args --quiet"
7859 exec 5>/dev/null
7860 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7861 exec 5>>config.log
7862 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7863 # would make configure fail if this is the last instruction.
7864 $ac_cs_success || { (exit 1); exit 1; }