2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for m17n-db 1.6.1.
5 # Report bugs to <bugs-m17n-lib@m17n.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org and
231 $0: bugs-m17n-lib@m17n.org about your system, including any
232 $0: error possibly output before this message. Then install
233 $0: a modern shell, or manually run the script under such a
234 $0: shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 exec 7<&0 </dev/null 6>&1
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
549 PACKAGE_NAME='m17n-db'
550 PACKAGE_TARNAME='m17n-db'
551 PACKAGE_VERSION='1.6.1'
552 PACKAGE_STRING='m17n-db 1.6.1'
553 PACKAGE_BUGREPORT='bugs-m17n-lib@m17n.org'
556 ac_subst_vars='am__EXEEXT_FALSE
613 INSTALL_STRIP_PROGRAM
655 program_transform_name
668 enable_option_checking
670 enable_dependency_tracking
677 ac_precious_vars='build_alias
687 # Initialize some variables set by options.
689 ac_init_version=false
690 ac_unrecognized_opts=
692 # The variables have the same names as the options, with
693 # dashes changed to underlines.
701 program_transform_name=s,x,x,
709 # Installation directory options.
710 # These are left unexpanded so users can "make install exec_prefix=/foo"
711 # and all the variables that are supposed to be based on exec_prefix
712 # by default will actually change.
713 # Use braces instead of parens because sh, perl, etc. also accept them.
714 # (The list follows the same order as the GNU Coding Standards.)
715 bindir='${exec_prefix}/bin'
716 sbindir='${exec_prefix}/sbin'
717 libexecdir='${exec_prefix}/libexec'
718 datarootdir='${prefix}/share'
719 datadir='${datarootdir}'
720 sysconfdir='${prefix}/etc'
721 sharedstatedir='${prefix}/com'
722 localstatedir='${prefix}/var'
723 includedir='${prefix}/include'
724 oldincludedir='/usr/include'
725 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
726 infodir='${datarootdir}/info'
731 libdir='${exec_prefix}/lib'
732 localedir='${datarootdir}/locale'
733 mandir='${datarootdir}/man'
739 # If the previous option needs an argument, assign it.
740 if test -n "$ac_prev"; then
741 eval $ac_prev=\$ac_option
747 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
757 -bindir | --bindir | --bindi | --bind | --bin | --bi)
759 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
762 -build | --build | --buil | --bui | --bu)
763 ac_prev=build_alias ;;
764 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
765 build_alias=$ac_optarg ;;
767 -cache-file | --cache-file | --cache-fil | --cache-fi \
768 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
769 ac_prev=cache_file ;;
770 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
771 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
772 cache_file=$ac_optarg ;;
775 cache_file=config.cache ;;
777 -datadir | --datadir | --datadi | --datad)
779 -datadir=* | --datadir=* | --datadi=* | --datad=*)
780 datadir=$ac_optarg ;;
782 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
783 | --dataroo | --dataro | --datar)
784 ac_prev=datarootdir ;;
785 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
786 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
787 datarootdir=$ac_optarg ;;
789 -disable-* | --disable-*)
790 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
793 as_fn_error "invalid feature name: $ac_useropt"
794 ac_useropt_orig=$ac_useropt
795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep=', ';;
803 eval enable_$ac_useropt=no ;;
805 -docdir | --docdir | --docdi | --doc | --do)
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815 -enable-* | --enable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 as_fn_error "invalid feature name: $ac_useropt"
820 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
829 eval enable_$ac_useropt=\$ac_optarg ;;
831 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
832 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
833 | --exec | --exe | --ex)
834 ac_prev=exec_prefix ;;
835 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
836 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
837 | --exec=* | --exe=* | --ex=*)
838 exec_prefix=$ac_optarg ;;
840 -gas | --gas | --ga | --g)
841 # Obsolete; use --with-gas.
844 -help | --help | --hel | --he | -h)
846 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
847 ac_init_help=recursive ;;
848 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
849 ac_init_help=short ;;
851 -host | --host | --hos | --ho)
852 ac_prev=host_alias ;;
853 -host=* | --host=* | --hos=* | --ho=*)
854 host_alias=$ac_optarg ;;
856 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
858 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
860 htmldir=$ac_optarg ;;
862 -includedir | --includedir | --includedi | --included | --include \
863 | --includ | --inclu | --incl | --inc)
864 ac_prev=includedir ;;
865 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
866 | --includ=* | --inclu=* | --incl=* | --inc=*)
867 includedir=$ac_optarg ;;
869 -infodir | --infodir | --infodi | --infod | --info | --inf)
871 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872 infodir=$ac_optarg ;;
874 -libdir | --libdir | --libdi | --libd)
876 -libdir=* | --libdir=* | --libdi=* | --libd=*)
879 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
880 | --libexe | --libex | --libe)
881 ac_prev=libexecdir ;;
882 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
883 | --libexe=* | --libex=* | --libe=*)
884 libexecdir=$ac_optarg ;;
886 -localedir | --localedir | --localedi | --localed | --locale)
888 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889 localedir=$ac_optarg ;;
891 -localstatedir | --localstatedir | --localstatedi | --localstated \
892 | --localstate | --localstat | --localsta | --localst | --locals)
893 ac_prev=localstatedir ;;
894 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
895 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
896 localstatedir=$ac_optarg ;;
898 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
900 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
904 # Obsolete; use --without-fp.
907 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908 | --no-cr | --no-c | -n)
911 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
915 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
916 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
917 | --oldin | --oldi | --old | --ol | --o)
918 ac_prev=oldincludedir ;;
919 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
920 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
921 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
922 oldincludedir=$ac_optarg ;;
924 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
926 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
929 -program-prefix | --program-prefix | --program-prefi | --program-pref \
930 | --program-pre | --program-pr | --program-p)
931 ac_prev=program_prefix ;;
932 -program-prefix=* | --program-prefix=* | --program-prefi=* \
933 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
934 program_prefix=$ac_optarg ;;
936 -program-suffix | --program-suffix | --program-suffi | --program-suff \
937 | --program-suf | --program-su | --program-s)
938 ac_prev=program_suffix ;;
939 -program-suffix=* | --program-suffix=* | --program-suffi=* \
940 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
941 program_suffix=$ac_optarg ;;
943 -program-transform-name | --program-transform-name \
944 | --program-transform-nam | --program-transform-na \
945 | --program-transform-n | --program-transform- \
946 | --program-transform | --program-transfor \
947 | --program-transfo | --program-transf \
948 | --program-trans | --program-tran \
949 | --progr-tra | --program-tr | --program-t)
950 ac_prev=program_transform_name ;;
951 -program-transform-name=* | --program-transform-name=* \
952 | --program-transform-nam=* | --program-transform-na=* \
953 | --program-transform-n=* | --program-transform-=* \
954 | --program-transform=* | --program-transfor=* \
955 | --program-transfo=* | --program-transf=* \
956 | --program-trans=* | --program-tran=* \
957 | --progr-tra=* | --program-tr=* | --program-t=*)
958 program_transform_name=$ac_optarg ;;
960 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
962 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
965 -psdir | --psdir | --psdi | --psd | --ps)
967 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971 | -silent | --silent | --silen | --sile | --sil)
974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
978 sbindir=$ac_optarg ;;
980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982 | --sharedst | --shareds | --shared | --share | --shar \
984 ac_prev=sharedstatedir ;;
985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
989 sharedstatedir=$ac_optarg ;;
991 -site | --site | --sit)
993 -site=* | --site=* | --sit=*)
996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1001 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1002 | --syscon | --sysco | --sysc | --sys | --sy)
1003 ac_prev=sysconfdir ;;
1004 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1005 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1006 sysconfdir=$ac_optarg ;;
1008 -target | --target | --targe | --targ | --tar | --ta | --t)
1009 ac_prev=target_alias ;;
1010 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1011 target_alias=$ac_optarg ;;
1013 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1016 -version | --version | --versio | --versi | --vers | -V)
1017 ac_init_version=: ;;
1020 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid package name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval with_$ac_useropt=\$ac_optarg ;;
1035 -without-* | --without-*)
1036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 as_fn_error "invalid package name: $ac_useropt"
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1049 eval with_$ac_useropt=no ;;
1052 # Obsolete; use --with-x.
1055 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1056 | --x-incl | --x-inc | --x-in | --x-i)
1057 ac_prev=x_includes ;;
1058 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1059 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1060 x_includes=$ac_optarg ;;
1062 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1063 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1064 ac_prev=x_libraries ;;
1065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1067 x_libraries=$ac_optarg ;;
1069 -*) as_fn_error "unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information."
1074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' | [0-9]* | *[!_$as_cr_alnum]* )
1078 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1080 eval $ac_envvar=\$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1094 if test -n "$ac_prev"; then
1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error "missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 # Check all directory arguments for consistency.
1108 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val=\$$ac_var
1114 # Remove trailing slashes.
1117 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\$ac_val;;
1120 # Be sure to have absolute directory names.
1122 [\\/$]* | ?:[\\/]* ) continue;;
1123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1125 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1133 target=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x; then
1137 if test "x$build_alias" = x; then
1138 cross_compiling=maybe
1139 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1147 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1149 test "$silent" = yes && exec 6>/dev/null
1152 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di=`ls -di .` &&
1154 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error "working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error "pwd does not report name of working directory"
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted=yes
1163 # Try the directory containing this script, then the parent directory.
1164 ac_confdir=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166 X"$as_myself" : 'X\(//\)[^/]' \| \
1167 X"$as_myself" : 'X\(//\)$' \| \
1168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1192 ac_srcdir_defaulted=no
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var in $ac_precious_vars; do
1213 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_${ac_var}_value=\$${ac_var}
1215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures m17n-db 1.6.1 to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/m17n-db]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1284 --program-prefix=PREFIX prepend PREFIX to installed program names
1285 --program-suffix=SUFFIX append SUFFIX to installed program names
1286 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1289 --build=BUILD configure for building on BUILD [guessed]
1290 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1294 if test -n "$ac_init_help"; then
1295 case $ac_init_help in
1296 short | recursive ) echo "Configuration of m17n-db 1.6.1:";;
1301 --disable-option-checking ignore unrecognized --enable/--with options
1302 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1303 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1304 --disable-nls do not use Native Language Support
1305 --disable-dependency-tracking speeds up one-time build
1306 --enable-dependency-tracking do not reject slow dependency extractors
1307 --disable-rpath do not hardcode runtime library paths
1310 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1311 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1312 --with-gnu-ld assume the C compiler uses GNU ld default=no
1313 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1314 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1315 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1316 --without-libintl-prefix don't search for libintl in includedir and libdir
1317 --with-charmaps=DIR Directory of source files for charset maps.
1319 Some influential environment variables:
1320 CC C compiler command
1321 CFLAGS C compiler flags
1322 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1323 nonstandard directory <lib dir>
1324 LIBS libraries to pass to the linker, e.g. -l<library>
1325 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1326 you have headers in a nonstandard directory <include dir>
1328 Use these variables to override the choices made by `configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1331 Report bugs to <bugs-m17n-lib@m17n.org>.
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" ||
1340 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1348 # A ".." for each directory in $ac_dir_suffix.
1349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1350 case $ac_top_builddir_sub in
1351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1355 ac_abs_top_builddir=$ac_pwd
1356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1357 # for backward compatibility:
1358 ac_top_builddir=$ac_top_build_prefix
1361 .) # We are building in place.
1363 ac_top_srcdir=$ac_top_builddir_sub
1364 ac_abs_top_srcdir=$ac_pwd ;;
1365 [\\/]* | ?:[\\/]* ) # Absolute name.
1366 ac_srcdir=$srcdir$ac_dir_suffix;
1367 ac_top_srcdir=$srcdir
1368 ac_abs_top_srcdir=$srcdir ;;
1370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1371 ac_top_srcdir=$ac_top_build_prefix$srcdir
1372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1376 cd "$ac_dir" || { ac_status=$?; continue; }
1377 # Check for guested configure.
1378 if test -f "$ac_srcdir/configure.gnu"; then
1380 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1381 elif test -f "$ac_srcdir/configure"; then
1383 $SHELL "$ac_srcdir/configure" --help=recursive
1385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1387 cd "$ac_pwd" || { ac_status=$?; break; }
1391 test -n "$ac_init_help" && exit $ac_status
1392 if $ac_init_version; then
1394 m17n-db configure 1.6.1
1395 generated by GNU Autoconf 2.64
1397 Copyright (C) 2009 Free Software Foundation, Inc.
1398 This configure script is free software; the Free Software Foundation
1399 gives unlimited permission to copy, distribute and modify it.
1404 ## ------------------------ ##
1405 ## Autoconf initialization. ##
1406 ## ------------------------ ##
1408 # ac_fn_c_try_compile LINENO
1409 # --------------------------
1410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1411 ac_fn_c_try_compile ()
1413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1414 rm -f conftest.$ac_objext
1415 if { { ac_try="$ac_compile"
1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418 *) ac_try_echo=$ac_try;;
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_compile") 2>conftest.err
1424 if test -s conftest.err; then
1425 grep -v '^ *+' conftest.err >conftest.er1
1426 cat conftest.er1 >&5
1427 mv -f conftest.er1 conftest.err
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } && {
1431 test -z "$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1433 } && test -s conftest.$ac_objext; then :
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1441 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1444 } # ac_fn_c_try_compile
1446 # ac_fn_c_try_link LINENO
1447 # -----------------------
1448 # Try to link conftest.$ac_ext, and return whether this succeeded.
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 rm -f conftest.$ac_objext conftest$ac_exeext
1453 if { { ac_try="$ac_link"
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_link") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } && {
1469 test -z "$ac_c_werror_flag" ||
1470 test ! -s conftest.err
1471 } && test -s conftest$ac_exeext && {
1472 test "$cross_compiling" = yes ||
1473 $as_test_x conftest$ac_exeext
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1482 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1483 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1484 # interfere with the next link command; also delete a directory that is
1485 # left behind by Apple's compiler. We do this before executing the actions.
1486 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1487 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1490 } # ac_fn_c_try_link
1491 cat >config.log <<_ACEOF
1492 This file contains any messages produced by compilers while
1493 running configure, to aid debugging if configure makes a mistake.
1495 It was created by m17n-db $as_me 1.6.1, which was
1496 generated by GNU Autoconf 2.64. Invocation command line was
1508 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1509 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1510 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1511 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1512 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1514 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1515 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1517 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1518 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1519 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1520 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1521 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1522 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1523 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 test -z "$as_dir" && as_dir=.
1532 $as_echo "PATH: $as_dir"
1548 # Keep a trace of the command line.
1549 # Strip out --no-create and --no-recursion so they do not pile up.
1550 # Strip out --silent because we don't want to record it for future runs.
1551 # Also quote any args containing shell meta-characters.
1552 # Make two passes to allow for proper duplicate-argument suppression.
1556 ac_must_keep_next=false
1562 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1564 | -silent | --silent | --silen | --sile | --sil)
1567 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1570 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1572 as_fn_append ac_configure_args1 " '$ac_arg'"
1573 if test $ac_must_keep_next = true; then
1574 ac_must_keep_next=false # Got value, back to normal.
1577 *=* | --config-cache | -C | -disable-* | --disable-* \
1578 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1579 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1580 | -with-* | --with-* | -without-* | --without-* | --x)
1581 case "$ac_configure_args0 " in
1582 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1585 -* ) ac_must_keep_next=true ;;
1588 as_fn_append ac_configure_args " '$ac_arg'"
1593 { ac_configure_args0=; unset ac_configure_args0;}
1594 { ac_configure_args1=; unset ac_configure_args1;}
1596 # When interrupted or exit'd, cleanup temporary files, and complete
1597 # config.log. We remove comments because anyway the quotes in there
1598 # would cause problems or look ugly.
1599 # WARNING: Use '\'' to represent an apostrophe within the trap.
1600 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1601 trap 'exit_status=$?
1602 # Save into config.log some information that might help in debugging.
1607 ## ---------------- ##
1608 ## Cache variables. ##
1609 ## ---------------- ##
1612 # The following way of writing the cache mishandles newlines in values,
1614 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1615 eval ac_val=\$$ac_var
1619 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1623 _ | IFS | as_nl) ;; #(
1624 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1625 *) { eval $ac_var=; unset $ac_var;} ;;
1630 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1631 *${as_nl}ac_space=\ *)
1633 "s/'\''/'\''\\\\'\'''\''/g;
1634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1645 ## ----------------- ##
1646 ## Output variables. ##
1647 ## ----------------- ##
1650 for ac_var in $ac_subst_vars
1652 eval ac_val=\$$ac_var
1654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656 $as_echo "$ac_var='\''$ac_val'\''"
1660 if test -n "$ac_subst_files"; then
1662 ## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##
1667 for ac_var in $ac_subst_files
1669 eval ac_val=\$$ac_var
1671 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 $as_echo "$ac_var='\''$ac_val'\''"
1678 if test -s confdefs.h; then
1688 test "$ac_signal" != 0 &&
1689 $as_echo "$as_me: caught signal $ac_signal"
1690 $as_echo "$as_me: exit $exit_status"
1692 rm -f core *.core core.conftest.* &&
1693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1696 for ac_signal in 1 2 13 15; do
1697 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1702 rm -f -r conftest* confdefs.h
1704 $as_echo "/* confdefs.h */" > confdefs.h
1706 # Predefined preprocessor variables.
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_NAME "$PACKAGE_NAME"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_STRING "$PACKAGE_STRING"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_URL "$PACKAGE_URL"
1733 # Let the site file select an alternate cache file if it wants to.
1734 # Prefer an explicitly selected file to automatically selected ones.
1737 if test -n "$CONFIG_SITE"; then
1738 ac_site_file1=$CONFIG_SITE
1739 elif test "x$prefix" != xNONE; then
1740 ac_site_file1=$prefix/share/config.site
1741 ac_site_file2=$prefix/etc/config.site
1743 ac_site_file1=$ac_default_prefix/share/config.site
1744 ac_site_file2=$ac_default_prefix/etc/config.site
1746 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1748 test "x$ac_site_file" = xNONE && continue
1749 if test -r "$ac_site_file"; then
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1751 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1752 sed 's/^/| /' "$ac_site_file" >&5
1757 if test -r "$cache_file"; then
1758 # Some versions of bash will fail to source /dev/null (special
1759 # files actually), so we avoid doing that.
1760 if test -f "$cache_file"; then
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1762 $as_echo "$as_me: loading cache $cache_file" >&6;}
1764 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1765 *) . "./$cache_file";;
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1770 $as_echo "$as_me: creating cache $cache_file" >&6;}
1774 # Check that the precious variables saved in the cache have kept the same
1776 ac_cache_corrupted=false
1777 for ac_var in $ac_precious_vars; do
1778 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1779 eval ac_new_set=\$ac_env_${ac_var}_set
1780 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1781 eval ac_new_val=\$ac_env_${ac_var}_value
1782 case $ac_old_set,$ac_new_set in
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1785 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1786 ac_cache_corrupted=: ;;
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1789 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1790 ac_cache_corrupted=: ;;
1793 if test "x$ac_old_val" != "x$ac_new_val"; then
1794 # differences in whitespace do not lead to failure.
1795 ac_old_val_w=`echo x $ac_old_val`
1796 ac_new_val_w=`echo x $ac_new_val`
1797 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1799 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1800 ac_cache_corrupted=:
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1803 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1804 eval $ac_var=\$ac_old_val
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1807 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1809 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1812 # Pass precious variables to config.status.
1813 if test "$ac_new_set" = set; then
1815 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1816 *) ac_arg=$ac_var=$ac_new_val ;;
1818 case " $ac_configure_args " in
1819 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1820 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1824 if $ac_cache_corrupted; then
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1828 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1829 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1831 ## -------------------- ##
1832 ## Main body of script. ##
1833 ## -------------------- ##
1836 ac_cpp='$CPP $CPPFLAGS'
1837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1842 am__api_version='1.11'
1845 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1846 for ac_t in install-sh install.sh shtool; do
1847 if test -f "$ac_dir/$ac_t"; then
1849 ac_install_sh="$ac_aux_dir/$ac_t -c"
1854 if test -z "$ac_aux_dir"; then
1855 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1858 # These three variables are undocumented and unsupported,
1859 # and are intended to be withdrawn in a future Autoconf release.
1860 # They can cause serious problems if a builder's source tree is in a directory
1861 # whose full name contains unusual characters.
1862 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1863 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1864 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1867 # Find a good install program. We prefer a C program (faster),
1868 # so one script is as good as another. But avoid the broken or
1869 # incompatible versions:
1870 # SysV /etc/install, /usr/sbin/install
1871 # SunOS /usr/etc/install
1872 # IRIX /sbin/install
1874 # AmigaOS /C/install, which installs bootblocks on floppy discs
1875 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1876 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1877 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1878 # OS/2's system install, which has a completely different semantic
1879 # ./install, which can be erroneously created by make from ./install.sh.
1880 # Reject install programs that cannot install multiple files.
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1882 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1883 if test -z "$INSTALL"; then
1884 if test "${ac_cv_path_install+set}" = set; then :
1885 $as_echo_n "(cached) " >&6
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir=.
1892 # Account for people who put trailing slashes in PATH elements.
1893 case $as_dir/ in #((
1894 ./ | .// | /[cC]/* | \
1895 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1896 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1899 # OSF1 and SCO ODT 3.0 have their own names for install.
1900 # Don't use installbsd from OSF since it installs stuff as root
1902 for ac_prog in ginstall scoinst install; do
1903 for ac_exec_ext in '' $ac_executable_extensions; do
1904 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1905 if test $ac_prog = install &&
1906 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1907 # AIX install. It has an incompatible calling convention.
1909 elif test $ac_prog = install &&
1910 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1911 # program-specific install script used by HP pwplus--don't use.
1914 rm -rf conftest.one conftest.two conftest.dir
1915 echo one > conftest.one
1916 echo two > conftest.two
1918 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1919 test -s conftest.one && test -s conftest.two &&
1920 test -s conftest.dir/conftest.one &&
1921 test -s conftest.dir/conftest.two
1923 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1936 rm -rf conftest.one conftest.two conftest.dir
1939 if test "${ac_cv_path_install+set}" = set; then
1940 INSTALL=$ac_cv_path_install
1942 # As a last resort, use the slow shell script. Don't cache a
1943 # value for INSTALL within a source directory, because that will
1944 # break other packages using the cache if that directory is
1945 # removed, or if the value is a relative name.
1946 INSTALL=$ac_install_sh
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1950 $as_echo "$INSTALL" >&6; }
1952 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1953 # It thinks the first close brace ends the variable substitution.
1954 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1956 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1958 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1961 $as_echo_n "checking whether build environment is sane... " >&6; }
1964 echo timestamp > conftest.file
1965 # Reject unsafe characters in $srcdir or the absolute working directory
1966 # name. Accept space and tab only in the latter.
1970 *[\\\"\#\$\&\'\`$am_lf]*)
1971 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1974 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1975 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1978 # Do `set' in a subshell so we don't clobber the current shell's
1979 # arguments. Must try -L first in case configure is actually a
1980 # symlink; some systems play weird games with the mod time of symlinks
1981 # (eg FreeBSD returns the mod time of the symlink's containing
1984 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1985 if test "$*" = "X"; then
1987 set X `ls -t "$srcdir/configure" conftest.file`
1990 if test "$*" != "X $srcdir/configure conftest.file" \
1991 && test "$*" != "X conftest.file $srcdir/configure"; then
1993 # If neither matched, then we have a broken ls. This can happen
1994 # if, for instance, CONFIG_SHELL is bash and it inherits a
1995 # broken ls alias from the environment. This has actually
1996 # happened. Such a system could not be considered "sane".
1997 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1998 alias in your environment" "$LINENO" 5
2001 test "$2" = conftest.file
2007 as_fn_error "newly created file is older than distributed files!
2008 Check your system clock" "$LINENO" 5
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2011 $as_echo "yes" >&6; }
2012 test "$program_prefix" != NONE &&
2013 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2014 # Use a double $ so make ignores it.
2015 test "$program_suffix" != NONE &&
2016 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2017 # Double any \ or $.
2018 # By default was `s,x,x', remove it if useless.
2019 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2020 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2022 # expand $ac_aux_dir to an absolute path
2023 am_aux_dir=`cd $ac_aux_dir && pwd`
2025 if test x"${MISSING+set}" != xset; then
2028 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2030 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2033 # Use eval to expand $SHELL
2034 if eval "$MISSING --run true"; then
2035 am_missing_run="$MISSING --run "
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2039 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2042 if test x"${install_sh}" != xset; then
2045 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2047 install_sh="\${SHELL} $am_aux_dir/install-sh"
2051 # Installed binaries are usually stripped using `strip' when the user
2052 # run `make install-strip'. However `strip' might not be the right
2053 # tool to use in cross-compilation environments, therefore Automake
2054 # will honor the `STRIP' environment variable to overrule this program.
2055 if test "$cross_compiling" != no; then
2056 if test -n "$ac_tool_prefix"; then
2057 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2058 set dummy ${ac_tool_prefix}strip; ac_word=$2
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2060 $as_echo_n "checking for $ac_word... " >&6; }
2061 if test "${ac_cv_prog_STRIP+set}" = set; then :
2062 $as_echo_n "(cached) " >&6
2064 if test -n "$STRIP"; then
2065 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2074 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 STRIP=$ac_cv_prog_STRIP
2085 if test -n "$STRIP"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2087 $as_echo "$STRIP" >&6; }
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090 $as_echo "no" >&6; }
2095 if test -z "$ac_cv_prog_STRIP"; then
2097 # Extract the first word of "strip", so it can be a program name with args.
2098 set dummy strip; ac_word=$2
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2100 $as_echo_n "checking for $ac_word... " >&6; }
2101 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2102 $as_echo_n "(cached) " >&6
2104 if test -n "$ac_ct_STRIP"; then
2105 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114 ac_cv_prog_ac_ct_STRIP="strip"
2115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2125 if test -n "$ac_ct_STRIP"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2127 $as_echo "$ac_ct_STRIP" >&6; }
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2130 $as_echo "no" >&6; }
2133 if test "x$ac_ct_STRIP" = x; then
2136 case $cross_compiling:$ac_tool_warned in
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2140 ac_tool_warned=yes ;;
2145 STRIP="$ac_cv_prog_STRIP"
2149 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2152 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2153 if test -z "$MKDIR_P"; then
2154 if test "${ac_cv_path_mkdir+set}" = set; then :
2155 $as_echo_n "(cached) " >&6
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2161 test -z "$as_dir" && as_dir=.
2162 for ac_prog in mkdir gmkdir; do
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2165 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2166 'mkdir (GNU coreutils) '* | \
2167 'mkdir (coreutils) '* | \
2168 'mkdir (fileutils) '4.1*)
2169 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2179 if test "${ac_cv_path_mkdir+set}" = set; then
2180 MKDIR_P="$ac_cv_path_mkdir -p"
2182 # As a last resort, use the slow shell script. Don't cache a
2183 # value for MKDIR_P within a source directory, because that will
2184 # break other packages using the cache if that directory is
2185 # removed, or if the value is a relative name.
2186 test -d ./--version && rmdir ./--version
2187 MKDIR_P="$ac_install_sh -d"
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2191 $as_echo "$MKDIR_P" >&6; }
2195 [\\/$]* | ?:[\\/]*) ;;
2196 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2199 for ac_prog in gawk mawk nawk awk
2201 # Extract the first word of "$ac_prog", so it can be a program name with args.
2202 set dummy $ac_prog; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_prog_AWK+set}" = set; then :
2206 $as_echo_n "(cached) " >&6
2208 if test -n "$AWK"; then
2209 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2218 ac_cv_prog_AWK="$ac_prog"
2219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 if test -n "$AWK"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2231 $as_echo "$AWK" >&6; }
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2234 $as_echo "no" >&6; }
2238 test -n "$AWK" && break
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2242 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2244 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2246 $as_echo_n "(cached) " >&6
2248 cat >conftest.make <<\_ACEOF
2251 @echo '@@@%%%=$(MAKE)=@@@%%%'
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2256 eval ac_cv_prog_make_${ac_make}_set=yes;;
2258 eval ac_cv_prog_make_${ac_make}_set=no;;
2262 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2264 $as_echo "yes" >&6; }
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268 $as_echo "no" >&6; }
2269 SET_MAKE="MAKE=${MAKE-make}"
2272 rm -rf .tst 2>/dev/null
2273 mkdir .tst 2>/dev/null
2274 if test -d .tst; then
2279 rmdir .tst 2>/dev/null
2281 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2282 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2283 # is not polluted with repeated "-I."
2284 am__isrc=' -I$(srcdir)'
2285 # test to see if srcdir already configured
2286 if test -f $srcdir/config.status; then
2287 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2291 # test whether we have cygpath
2292 if test -z "$CYGPATH_W"; then
2293 if (cygpath --version) >/dev/null 2>/dev/null; then
2294 CYGPATH_W='cygpath -w'
2301 # Define the identity of the package.
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE "$PACKAGE"
2311 cat >>confdefs.h <<_ACEOF
2312 #define VERSION "$VERSION"
2315 # Some tools Automake needs.
2317 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2320 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2323 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2326 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2329 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2331 # We need awk for the "check" target. The system "awk" is bad on
2333 # Always define AMTAR for backward compatibility.
2335 AMTAR=${AMTAR-"${am_missing_run}tar"}
2337 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2345 $as_echo_n "checking whether NLS is requested... " >&6; }
2346 # Check whether --enable-nls was given.
2347 if test "${enable_nls+set}" = set; then :
2348 enableval=$enable_nls; USE_NLS=$enableval
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2354 $as_echo "$USE_NLS" >&6; }
2361 # Prepare PATH_SEPARATOR.
2362 # The user is always right.
2363 if test "${PATH_SEPARATOR+set}" != set; then
2364 echo "#! /bin/sh" >conf$$.sh
2365 echo "exit 0" >>conf$$.sh
2367 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2375 # Find out how to test for executable files. Don't use a zero-byte file,
2376 # as systems may use methods other than mode bits to determine executability.
2377 cat >conf$$.file <<_ASEOF
2381 chmod +x conf$$.file
2382 if test -x conf$$.file >/dev/null 2>&1; then
2383 ac_executable_p="test -x"
2385 ac_executable_p="test -f"
2389 # Extract the first word of "msgfmt", so it can be a program name with args.
2390 set dummy msgfmt; ac_word=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if test "${ac_cv_path_MSGFMT+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2398 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2401 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2402 for ac_dir in $PATH; do
2404 test -z "$ac_dir" && ac_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2407 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2408 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2409 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2410 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2417 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2421 MSGFMT="$ac_cv_path_MSGFMT"
2422 if test "$MSGFMT" != ":"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2424 $as_echo "$MSGFMT" >&6; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2430 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2431 set dummy gmsgfmt; ac_word=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
2435 $as_echo_n "(cached) " >&6
2439 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2461 GMSGFMT=$ac_cv_path_GMSGFMT
2462 if test -n "$GMSGFMT"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2464 $as_echo "$GMSGFMT" >&6; }
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2467 $as_echo "no" >&6; }
2472 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2473 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2474 *) MSGFMT_015=$MSGFMT ;;
2477 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2478 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2479 *) GMSGFMT_015=$GMSGFMT ;;
2484 # Prepare PATH_SEPARATOR.
2485 # The user is always right.
2486 if test "${PATH_SEPARATOR+set}" != set; then
2487 echo "#! /bin/sh" >conf$$.sh
2488 echo "exit 0" >>conf$$.sh
2490 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2498 # Find out how to test for executable files. Don't use a zero-byte file,
2499 # as systems may use methods other than mode bits to determine executability.
2500 cat >conf$$.file <<_ASEOF
2504 chmod +x conf$$.file
2505 if test -x conf$$.file >/dev/null 2>&1; then
2506 ac_executable_p="test -x"
2508 ac_executable_p="test -f"
2512 # Extract the first word of "xgettext", so it can be a program name with args.
2513 set dummy xgettext; ac_word=$2
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2515 $as_echo_n "checking for $ac_word... " >&6; }
2516 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
2517 $as_echo_n "(cached) " >&6
2521 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2524 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2525 for ac_dir in $PATH; do
2527 test -z "$ac_dir" && ac_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2530 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2531 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2532 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2533 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2540 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2544 XGETTEXT="$ac_cv_path_XGETTEXT"
2545 if test "$XGETTEXT" != ":"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
2547 $as_echo "$XGETTEXT" >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2555 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2556 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2557 *) XGETTEXT_015=$XGETTEXT ;;
2562 # Prepare PATH_SEPARATOR.
2563 # The user is always right.
2564 if test "${PATH_SEPARATOR+set}" != set; then
2565 echo "#! /bin/sh" >conf$$.sh
2566 echo "exit 0" >>conf$$.sh
2568 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2576 # Find out how to test for executable files. Don't use a zero-byte file,
2577 # as systems may use methods other than mode bits to determine executability.
2578 cat >conf$$.file <<_ASEOF
2582 chmod +x conf$$.file
2583 if test -x conf$$.file >/dev/null 2>&1; then
2584 ac_executable_p="test -x"
2586 ac_executable_p="test -f"
2590 # Extract the first word of "msgmerge", so it can be a program name with args.
2591 set dummy msgmerge; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
2595 $as_echo_n "(cached) " >&6
2599 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2602 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2603 for ac_dir in $PATH; do
2605 test -z "$ac_dir" && ac_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2608 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2609 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2610 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2617 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2621 MSGMERGE="$ac_cv_path_MSGMERGE"
2622 if test "$MSGMERGE" != ":"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
2624 $as_echo "$MSGMERGE" >&6; }
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2631 test -n "$localedir" || localedir='${datadir}/locale'
2634 ac_config_commands="$ac_config_commands po-directories"
2638 if test "X$prefix" = "XNONE"; then
2639 acl_final_prefix="$ac_default_prefix"
2641 acl_final_prefix="$prefix"
2643 if test "X$exec_prefix" = "XNONE"; then
2644 acl_final_exec_prefix='${prefix}'
2646 acl_final_exec_prefix="$exec_prefix"
2648 acl_save_prefix="$prefix"
2649 prefix="$acl_final_prefix"
2650 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2651 prefix="$acl_save_prefix"
2653 DEPDIR="${am__leading_dot}deps"
2655 ac_config_commands="$ac_config_commands depfiles"
2658 am_make=${MAKE-make}
2659 cat > confinc << 'END'
2661 @echo this is the am__doit target
2664 # If we don't find an include directive, just comment out the code.
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2666 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2670 # First try GNU make style include.
2671 echo "include confinc" > confmf
2672 # Ignore all kinds of additional output from `make'.
2673 case `$am_make -s -f confmf 2> /dev/null` in #(
2674 *the\ am__doit\ target*)
2680 # Now try BSD make style include.
2681 if test "$am__include" = "#"; then
2682 echo '.include "confinc"' > confmf
2683 case `$am_make -s -f confmf 2> /dev/null` in #(
2684 *the\ am__doit\ target*)
2685 am__include=.include
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2694 $as_echo "$_am_result" >&6; }
2695 rm -f confinc confmf
2697 # Check whether --enable-dependency-tracking was given.
2698 if test "${enable_dependency_tracking+set}" = set; then :
2699 enableval=$enable_dependency_tracking;
2702 if test "x$enable_dependency_tracking" != xno; then
2703 am_depcomp="$ac_aux_dir/depcomp"
2706 if test "x$enable_dependency_tracking" != xno; then
2716 ac_cpp='$CPP $CPPFLAGS'
2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2720 if test -n "$ac_tool_prefix"; then
2721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$CC"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2759 if test -z "$ac_cv_prog_CC"; then
2761 # Extract the first word of "gcc", so it can be a program name with args.
2762 set dummy gcc; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778 ac_cv_prog_ac_ct_CC="gcc"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789 if test -n "$ac_ct_CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2791 $as_echo "$ac_ct_CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2797 if test "x$ac_ct_CC" = x; then
2800 case $cross_compiling:$ac_tool_warned in
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2804 ac_tool_warned=yes ;;
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2815 set dummy ${ac_tool_prefix}cc; ac_word=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if test "${ac_cv_prog_CC+set}" = set; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CC"; then
2822 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_CC="${ac_tool_prefix}cc"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2853 if test -z "$CC"; then
2854 # Extract the first word of "cc", so it can be a program name with args.
2855 set dummy cc; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if test "${ac_cv_prog_CC+set}" = set; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC="$CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2873 ac_prog_rejected=yes
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test $ac_prog_rejected = yes; then
2885 # We found a bogon in the path, so make sure we never use it.
2886 set dummy $ac_cv_prog_CC
2888 if test $# != 0; then
2889 # We chose a different compiler from the bogus one.
2890 # However, it has the same basename, so the bogon will be chosen
2891 # first if we set CC to just the basename; use the full file name.
2893 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2899 if test -n "$CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2909 if test -z "$CC"; then
2910 if test -n "$ac_tool_prefix"; then
2911 for ac_prog in cl.exe
2913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if test "${ac_cv_prog_CC+set}" = set; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC="$CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2950 test -n "$CC" && break
2953 if test -z "$CC"; then
2955 for ac_prog in cl.exe
2957 # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy $ac_prog; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_CC"; then
2965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 ac_cv_prog_ac_ct_CC="$ac_prog"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2985 if test -n "$ac_ct_CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2987 $as_echo "$ac_ct_CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$ac_ct_CC" && break
2997 if test "x$ac_ct_CC" = x; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error "no acceptable C compiler found in \$PATH
3016 See \`config.log' for more details." "$LINENO" 5; }
3018 # Provide some information about the compiler.
3019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3022 for ac_option in --version -v -V -qversion; do
3023 { { ac_try="$ac_compiler $ac_option >&5"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3032 if test -s conftest.err; then
3034 ... rest of stderr output deleted ...
3035 10q' conftest.err >conftest.er1
3036 cat conftest.er1 >&5
3037 rm -f conftest.er1 conftest.err
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3049 FILE *f = fopen ("conftest.out", "w");
3050 return ferror (f) || fclose (f) != 0;
3056 ac_clean_files_save=$ac_clean_files
3057 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3058 # Try to create an executable without -o first, disregard a.out.
3059 # It will help us diagnose broken compilers, and finding out an intuition
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3062 $as_echo_n "checking for C compiler default output file name... " >&6; }
3063 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3065 # The possible output files:
3066 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3069 for ac_file in $ac_files
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3073 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3078 if { { ac_try="$ac_link_default"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_link_default") 2>&5
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; }; then :
3089 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3091 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3092 # so that the user can short-circuit this test for compilers unknown to
3094 for ac_file in $ac_files ''
3096 test -f "$ac_file" || continue
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3101 # We found the default executable, but exeext='' is most
3105 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3107 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3109 # We set ac_cv_exeext here because the later test for it is not
3110 # safe: cross compilers may not add the suffix if given an `-o'
3111 # argument, so we may need to know it at that point already.
3112 # Even if this section looks crufty: it has the advantage of
3119 test "$ac_cv_exeext" = no && ac_cv_exeext=
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3125 $as_echo "$ac_file" >&6; }
3126 if test -z "$ac_file"; then :
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 { as_fn_set_status 77
3133 as_fn_error "C compiler cannot create executables
3134 See \`config.log' for more details." "$LINENO" 5; }; }
3136 ac_exeext=$ac_cv_exeext
3138 # Check that the compiler produces executables we can run. If not, either
3139 # the compiler is broken, or we cross compile.
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3141 $as_echo_n "checking whether the C compiler works... " >&6; }
3142 # If not cross compiling, check that we can run a simple program.
3143 if test "$cross_compiling" != yes; then
3144 if { ac_try='./$ac_file'
3145 { { case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_try") 2>&5
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }; }; then
3157 if test "$cross_compiling" = maybe; then
3160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 as_fn_error "cannot run C compiled programs.
3163 If you meant to cross compile, use \`--host'.
3164 See \`config.log' for more details." "$LINENO" 5; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3169 $as_echo "yes" >&6; }
3171 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3172 ac_clean_files=$ac_clean_files_save
3173 # Check that the compiler produces executables we can run. If not, either
3174 # the compiler is broken, or we cross compile.
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3176 $as_echo_n "checking whether we are cross compiling... " >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3178 $as_echo "$cross_compiling" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3181 $as_echo_n "checking for suffix of executables... " >&6; }
3182 if { { ac_try="$ac_link"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_link") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }; then :
3193 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3194 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3195 # work properly (i.e., refer to `conftest.exe'), while it won't with
3197 for ac_file in conftest.exe conftest conftest.*; do
3198 test -f "$ac_file" || continue
3200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3201 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error "cannot compute suffix of executables: cannot compile and link
3210 See \`config.log' for more details." "$LINENO" 5; }
3212 rm -f conftest$ac_cv_exeext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3214 $as_echo "$ac_cv_exeext" >&6; }
3216 rm -f conftest.$ac_ext
3217 EXEEXT=$ac_cv_exeext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3220 $as_echo_n "checking for suffix of object files... " >&6; }
3221 if test "${ac_cv_objext+set}" = set; then :
3222 $as_echo_n "(cached) " >&6
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 rm -f conftest.o conftest.obj
3236 if { { ac_try="$ac_compile"
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 $as_echo "$ac_try_echo"; } >&5
3243 (eval "$ac_compile") 2>&5
3245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246 test $ac_status = 0; }; then :
3247 for ac_file in conftest.o conftest.obj conftest.*; do
3248 test -f "$ac_file" || continue;
3250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3251 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error "cannot compute suffix of object files: cannot compile
3262 See \`config.log' for more details." "$LINENO" 5; }
3264 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3267 $as_echo "$ac_cv_objext" >&6; }
3268 OBJEXT=$ac_cv_objext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3271 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3272 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3273 $as_echo_n "(cached) " >&6
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3289 if ac_fn_c_try_compile "$LINENO"; then :
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3299 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3300 if test $ac_compiler_gnu = yes; then
3305 ac_test_CFLAGS=${CFLAGS+set}
3306 ac_save_CFLAGS=$CFLAGS
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3308 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3309 if test "${ac_cv_prog_cc_g+set}" = set; then :
3310 $as_echo_n "(cached) " >&6
3312 ac_save_c_werror_flag=$ac_c_werror_flag
3313 ac_c_werror_flag=yes
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3327 if ac_fn_c_try_compile "$LINENO"; then :
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 if ac_fn_c_try_compile "$LINENO"; then :
3345 ac_c_werror_flag=$ac_save_c_werror_flag
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3358 if ac_fn_c_try_compile "$LINENO"; then :
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 ac_c_werror_flag=$ac_save_c_werror_flag
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3369 $as_echo "$ac_cv_prog_cc_g" >&6; }
3370 if test "$ac_test_CFLAGS" = set; then
3371 CFLAGS=$ac_save_CFLAGS
3372 elif test $ac_cv_prog_cc_g = yes; then
3373 if test "$GCC" = yes; then
3379 if test "$GCC" = yes; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3386 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3387 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3390 ac_cv_prog_cc_c89=no
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3396 #include <sys/types.h>
3397 #include <sys/stat.h>
3398 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3399 struct buf { int x; };
3400 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3401 static char *e (p, i)
3407 static char *f (char * (*g) (char **, int), char **p, ...)
3412 s = g (p, va_arg (v,int));
3417 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3418 function prototypes and stuff, but not '\xHH' hex character constants.
3419 These don't provoke an error unfortunately, instead are silently treated
3420 as 'x'. The following induces an error, until -std is added to get
3421 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3422 array size at least. It's necessary to write '\x00'==0 to get something
3423 that's true only with -std. */
3424 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3426 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3427 inside strings and character constants. */
3429 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3431 int test (int i, double x);
3432 struct s1 {int (*f) (int a);};
3433 struct s2 {int (*f) (double a);};
3434 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3440 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3445 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3446 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3448 CC="$ac_save_CC $ac_arg"
3449 if ac_fn_c_try_compile "$LINENO"; then :
3450 ac_cv_prog_cc_c89=$ac_arg
3452 rm -f core conftest.err conftest.$ac_objext
3453 test "x$ac_cv_prog_cc_c89" != "xno" && break
3455 rm -f conftest.$ac_ext
3460 case "x$ac_cv_prog_cc_c89" in
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3463 $as_echo "none needed" >&6; } ;;
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3466 $as_echo "unsupported" >&6; } ;;
3468 CC="$CC $ac_cv_prog_cc_c89"
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3470 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3472 if test "x$ac_cv_prog_cc_c89" != xno; then :
3477 ac_cpp='$CPP $CPPFLAGS'
3478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3482 depcc="$CC" am_compiler_list=
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3485 $as_echo_n "checking dependency style of $depcc... " >&6; }
3486 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3487 $as_echo_n "(cached) " >&6
3489 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3490 # We make a subdir and do the tests there. Otherwise we can end up
3491 # making bogus files that we don't know about and never remove. For
3492 # instance it was reported that on HP-UX the gcc test will end up
3493 # making a dummy file named `D' -- because `-MD' means `put the output
3496 # Copy depcomp to subdir because otherwise we won't find it if we're
3497 # using a relative directory.
3498 cp "$am_depcomp" conftest.dir
3500 # We will build objects and dependencies in a subdirectory because
3501 # it helps to detect inapplicable dependency modes. For instance
3502 # both Tru64's cc and ICC support -MD to output dependencies as a
3503 # side effect of compilation, but ICC will put the dependencies in
3504 # the current directory while Tru64 will put them in the object
3508 am_cv_CC_dependencies_compiler_type=none
3509 if test "$am_compiler_list" = ""; then
3510 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3513 case " $depcc " in #(
3514 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3517 for depmode in $am_compiler_list; do
3518 # Setup a source with many dependencies, because some compilers
3519 # like to wrap large dependency lists on column 80 (with \), and
3520 # we should not choose a depcomp mode which is confused by this.
3522 # We need to recreate these files for each test, as the compiler may
3523 # overwrite some of them when testing with obscure command lines.
3524 # This happens at least with the AIX C compiler.
3526 for i in 1 2 3 4 5 6; do
3527 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3528 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3529 # Solaris 8's {/usr,}/bin/sh.
3530 touch sub/conftst$i.h
3532 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3534 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3535 # mode. It turns out that the SunPro C++ compiler does not properly
3536 # handle `-M -o', and we need to detect this. Also, some Intel
3537 # versions had trouble with output in subdirs
3538 am__obj=sub/conftest.${OBJEXT-o}
3539 am__minus_obj="-o $am__obj"
3542 # This depmode causes a compiler race in universal mode.
3543 test "$am__universal" = false || continue
3546 # after this tag, mechanisms are not by side-effect, so they'll
3547 # only be used when explicitly requested
3548 if test "x$enable_dependency_tracking" = xyes; then
3554 msvisualcpp | msvcmsys)
3555 # This compiler won't grok `-c -o', but also, the minuso test has
3556 # not run yet. These depmodes are late enough in the game, and
3557 # so weak that their functioning should not be impacted.
3558 am__obj=conftest.${OBJEXT-o}
3563 if depmode=$depmode \
3564 source=sub/conftest.c object=$am__obj \
3565 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3566 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3567 >/dev/null 2>conftest.err &&
3568 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3569 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3570 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3571 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3572 # icc doesn't choke on unknown options, it will just issue warnings
3573 # or remarks (even with -Werror). So we grep stderr for any message
3574 # that says an option was ignored or not supported.
3575 # When given -MP, icc 7.0 and 7.1 complain thusly:
3576 # icc: Command line warning: ignoring option '-M'; no argument required
3577 # The diagnosis changed in icc 8.0:
3578 # icc: Command line remark: option '-MP' not supported
3579 if (grep 'ignoring option' conftest.err ||
3580 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3581 am_cv_CC_dependencies_compiler_type=$depmode
3590 am_cv_CC_dependencies_compiler_type=none
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3595 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3596 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3599 test "x$enable_dependency_tracking" != xno \
3600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3602 am__fastdepCC_FALSE='#'
3604 am__fastdepCC_TRUE='#'
3605 am__fastdepCC_FALSE=
3609 # Make sure we can run config.sub.
3610 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3611 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3614 $as_echo_n "checking build system type... " >&6; }
3615 if test "${ac_cv_build+set}" = set; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_build_alias=$build_alias
3619 test "x$ac_build_alias" = x &&
3620 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3621 test "x$ac_build_alias" = x &&
3622 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3623 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3624 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3628 $as_echo "$ac_cv_build" >&6; }
3629 case $ac_cv_build in
3631 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3634 ac_save_IFS=$IFS; IFS='-'
3640 # Remember, the first character of IFS is used to create $*,
3641 # except with old shells:
3644 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3648 $as_echo_n "checking host system type... " >&6; }
3649 if test "${ac_cv_host+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3652 if test "x$host_alias" = x; then
3653 ac_cv_host=$ac_cv_build
3655 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3656 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3661 $as_echo "$ac_cv_host" >&6; }
3664 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3667 ac_save_IFS=$IFS; IFS='-'
3673 # Remember, the first character of IFS is used to create $*,
3674 # except with old shells:
3677 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3681 # Check whether --with-gnu-ld was given.
3682 if test "${with_gnu_ld+set}" = set; then :
3683 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3688 # Prepare PATH_SEPARATOR.
3689 # The user is always right.
3690 if test "${PATH_SEPARATOR+set}" != set; then
3691 echo "#! /bin/sh" >conf$$.sh
3692 echo "exit 0" >>conf$$.sh
3694 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3702 if test "$GCC" = yes; then
3703 # Check if gcc -print-prog-name=ld gives a path.
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
3705 $as_echo_n "checking for ld used by GCC... " >&6; }
3708 # gcc leaves a trailing carriage return which upsets mingw
3709 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3711 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3714 # Accept absolute paths.
3715 [\\/]* | [A-Za-z]:[\\/]*)
3716 re_direlt='/[^/][^/]*/\.\./'
3717 # Canonicalize the path of ld
3718 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3719 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3720 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3722 test -z "$LD" && LD="$ac_prog"
3725 # If it fails, then pretend we aren't using GCC.
3729 # If it is relative, then search for the first ld in PATH.
3733 elif test "$with_gnu_ld" = yes; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3735 $as_echo_n "checking for GNU ld... " >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3738 $as_echo_n "checking for non-GNU ld... " >&6; }
3740 if test "${acl_cv_path_LD+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -z "$LD"; then
3744 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3745 for ac_dir in $PATH; do
3746 test -z "$ac_dir" && ac_dir=.
3747 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3748 acl_cv_path_LD="$ac_dir/$ac_prog"
3749 # Check to see if the program is GNU ld. I'd rather use --version,
3750 # but apparently some GNU ld's only accept -v.
3751 # Break only if it was the GNU/non-GNU ld that we prefer.
3752 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3753 *GNU* | *'with BFD'*)
3754 test "$with_gnu_ld" != no && break ;;
3756 test "$with_gnu_ld" != yes && break ;;
3762 acl_cv_path_LD="$LD" # Let the user override the test with a path.
3766 LD="$acl_cv_path_LD"
3767 if test -n "$LD"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3769 $as_echo "$LD" >&6; }
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3774 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3776 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3777 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3781 case `$LD -v 2>&1 </dev/null` in
3782 *GNU* | *'with BFD'*)
3783 acl_cv_prog_gnu_ld=yes ;;
3785 acl_cv_prog_gnu_ld=no ;;
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
3789 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
3790 with_gnu_ld=$acl_cv_prog_gnu_ld
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
3796 $as_echo_n "checking for shared library run path origin... " >&6; }
3797 if test "${acl_cv_rpath+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3801 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3802 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
3809 $as_echo "$acl_cv_rpath" >&6; }
3811 libext="$acl_cv_libext"
3812 shlibext="$acl_cv_shlibext"
3813 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3814 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3815 hardcode_direct="$acl_cv_hardcode_direct"
3816 hardcode_minus_L="$acl_cv_hardcode_minus_L"
3817 # Check whether --enable-rpath was given.
3818 if test "${enable_rpath+set}" = set; then :
3819 enableval=$enable_rpath; :
3827 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3828 if test -n "$searchpath"; then
3829 acl_save_IFS="${IFS= }"; IFS=":"
3830 for searchdir in $searchpath; do
3831 if test -d "$searchdir"; then
3832 case "$searchdir" in
3833 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3834 *) searchdir=`cd "$searchdir" && pwd`
3835 case "$searchdir" in
3836 */lib64 ) acl_libdirstem=lib64 ;;
3853 acl_save_prefix="$prefix"
3854 prefix="$acl_final_prefix"
3855 acl_save_exec_prefix="$exec_prefix"
3856 exec_prefix="$acl_final_exec_prefix"
3858 eval additional_includedir=\"$includedir\"
3859 eval additional_libdir=\"$libdir\"
3861 exec_prefix="$acl_save_exec_prefix"
3862 prefix="$acl_save_prefix"
3865 # Check whether --with-libiconv-prefix was given.
3866 if test "${with_libiconv_prefix+set}" = set; then :
3867 withval=$with_libiconv_prefix;
3868 if test "X$withval" = "Xno"; then
3871 if test "X$withval" = "X"; then
3873 acl_save_prefix="$prefix"
3874 prefix="$acl_final_prefix"
3875 acl_save_exec_prefix="$exec_prefix"
3876 exec_prefix="$acl_final_exec_prefix"
3878 eval additional_includedir=\"$includedir\"
3879 eval additional_libdir=\"$libdir\"
3881 exec_prefix="$acl_save_exec_prefix"
3882 prefix="$acl_save_prefix"
3885 additional_includedir="$withval/include"
3886 additional_libdir="$withval/$acl_libdirstem"
3897 names_already_handled=
3898 names_next_round='iconv '
3899 while test -n "$names_next_round"; do
3900 names_this_round="$names_next_round"
3902 for name in $names_this_round; do
3904 for n in $names_already_handled; do
3905 if test "$n" = "$name"; then
3910 if test -z "$already_handled"; then
3911 names_already_handled="$names_already_handled $name"
3912 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3913 eval value=\"\$HAVE_LIB$uppername\"
3914 if test -n "$value"; then
3915 if test "$value" = yes; then
3916 eval value=\"\$LIB$uppername\"
3917 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3918 eval value=\"\$LTLIB$uppername\"
3919 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3928 if test $use_additional = yes; then
3929 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3930 found_dir="$additional_libdir"
3931 found_so="$additional_libdir/lib$name.$shlibext"
3932 if test -f "$additional_libdir/lib$name.la"; then
3933 found_la="$additional_libdir/lib$name.la"
3936 if test -f "$additional_libdir/lib$name.$libext"; then
3937 found_dir="$additional_libdir"
3938 found_a="$additional_libdir/lib$name.$libext"
3939 if test -f "$additional_libdir/lib$name.la"; then
3940 found_la="$additional_libdir/lib$name.la"
3945 if test "X$found_dir" = "X"; then
3946 for x in $LDFLAGS $LTLIBICONV; do
3948 acl_save_prefix="$prefix"
3949 prefix="$acl_final_prefix"
3950 acl_save_exec_prefix="$exec_prefix"
3951 exec_prefix="$acl_final_exec_prefix"
3953 exec_prefix="$acl_save_exec_prefix"
3954 prefix="$acl_save_prefix"
3958 dir=`echo "X$x" | sed -e 's/^X-L//'`
3959 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3961 found_so="$dir/lib$name.$shlibext"
3962 if test -f "$dir/lib$name.la"; then
3963 found_la="$dir/lib$name.la"
3966 if test -f "$dir/lib$name.$libext"; then
3968 found_a="$dir/lib$name.$libext"
3969 if test -f "$dir/lib$name.la"; then
3970 found_la="$dir/lib$name.la"
3976 if test "X$found_dir" != "X"; then
3981 if test "X$found_dir" != "X"; then
3982 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3983 if test "X$found_so" != "X"; then
3984 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
3985 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3988 for x in $ltrpathdirs; do
3989 if test "X$x" = "X$found_dir"; then
3994 if test -z "$haveit"; then
3995 ltrpathdirs="$ltrpathdirs $found_dir"
3997 if test "$hardcode_direct" = yes; then
3998 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4000 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4001 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4003 for x in $rpathdirs; do
4004 if test "X$x" = "X$found_dir"; then
4009 if test -z "$haveit"; then
4010 rpathdirs="$rpathdirs $found_dir"
4014 for x in $LDFLAGS $LIBICONV; do
4016 acl_save_prefix="$prefix"
4017 prefix="$acl_final_prefix"
4018 acl_save_exec_prefix="$exec_prefix"
4019 exec_prefix="$acl_final_exec_prefix"
4021 exec_prefix="$acl_save_exec_prefix"
4022 prefix="$acl_save_prefix"
4024 if test "X$x" = "X-L$found_dir"; then
4029 if test -z "$haveit"; then
4030 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4032 if test "$hardcode_minus_L" != no; then
4033 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4035 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4041 if test "X$found_a" != "X"; then
4042 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4044 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4047 additional_includedir=
4048 case "$found_dir" in
4049 */$acl_libdirstem | */$acl_libdirstem/)
4050 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4051 additional_includedir="$basedir/include"
4054 if test "X$additional_includedir" != "X"; then
4055 if test "X$additional_includedir" != "X/usr/include"; then
4057 if test "X$additional_includedir" = "X/usr/local/include"; then
4058 if test -n "$GCC"; then
4060 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4064 if test -z "$haveit"; then
4065 for x in $CPPFLAGS $INCICONV; do
4067 acl_save_prefix="$prefix"
4068 prefix="$acl_final_prefix"
4069 acl_save_exec_prefix="$exec_prefix"
4070 exec_prefix="$acl_final_exec_prefix"
4072 exec_prefix="$acl_save_exec_prefix"
4073 prefix="$acl_save_prefix"
4075 if test "X$x" = "X-I$additional_includedir"; then
4080 if test -z "$haveit"; then
4081 if test -d "$additional_includedir"; then
4082 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4088 if test -n "$found_la"; then
4089 save_libdir="$libdir"
4091 */* | *\\*) . "$found_la" ;;
4092 *) . "./$found_la" ;;
4094 libdir="$save_libdir"
4095 for dep in $dependency_libs; do
4098 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4099 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4101 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4102 if test -n "$GCC"; then
4104 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4108 if test -z "$haveit"; then
4110 for x in $LDFLAGS $LIBICONV; do
4112 acl_save_prefix="$prefix"
4113 prefix="$acl_final_prefix"
4114 acl_save_exec_prefix="$exec_prefix"
4115 exec_prefix="$acl_final_exec_prefix"
4117 exec_prefix="$acl_save_exec_prefix"
4118 prefix="$acl_save_prefix"
4120 if test "X$x" = "X-L$additional_libdir"; then
4125 if test -z "$haveit"; then
4126 if test -d "$additional_libdir"; then
4127 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4131 for x in $LDFLAGS $LTLIBICONV; do
4133 acl_save_prefix="$prefix"
4134 prefix="$acl_final_prefix"
4135 acl_save_exec_prefix="$exec_prefix"
4136 exec_prefix="$acl_final_exec_prefix"
4138 exec_prefix="$acl_save_exec_prefix"
4139 prefix="$acl_save_prefix"
4141 if test "X$x" = "X-L$additional_libdir"; then
4146 if test -z "$haveit"; then
4147 if test -d "$additional_libdir"; then
4148 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4155 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4156 if test "$enable_rpath" != no; then
4158 for x in $rpathdirs; do
4159 if test "X$x" = "X$dir"; then
4164 if test -z "$haveit"; then
4165 rpathdirs="$rpathdirs $dir"
4168 for x in $ltrpathdirs; do
4169 if test "X$x" = "X$dir"; then
4174 if test -z "$haveit"; then
4175 ltrpathdirs="$ltrpathdirs $dir"
4180 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4183 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4186 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4187 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4193 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4194 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4200 if test "X$rpathdirs" != "X"; then
4201 if test -n "$hardcode_libdir_separator"; then
4203 for found_dir in $rpathdirs; do
4204 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4206 acl_save_libdir="$libdir"
4208 eval flag=\"$hardcode_libdir_flag_spec\"
4209 libdir="$acl_save_libdir"
4210 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4212 for found_dir in $rpathdirs; do
4213 acl_save_libdir="$libdir"
4215 eval flag=\"$hardcode_libdir_flag_spec\"
4216 libdir="$acl_save_libdir"
4217 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4221 if test "X$ltrpathdirs" != "X"; then
4222 for found_dir in $ltrpathdirs; do
4223 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
4246 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
4247 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4250 gt_save_LIBS="$LIBS"
4251 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4254 #include <CoreFoundation/CFPreferences.h>
4258 CFPreferencesCopyAppValue(NULL, NULL)
4263 if ac_fn_c_try_link "$LINENO"; then :
4264 gt_cv_func_CFPreferencesCopyAppValue=yes
4266 gt_cv_func_CFPreferencesCopyAppValue=no
4268 rm -f core conftest.err conftest.$ac_objext \
4269 conftest$ac_exeext conftest.$ac_ext
4270 LIBS="$gt_save_LIBS"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
4273 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
4274 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
4276 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
4280 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
4281 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
4282 $as_echo_n "(cached) " >&6
4284 gt_save_LIBS="$LIBS"
4285 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4288 #include <CoreFoundation/CFLocale.h>
4292 CFLocaleCopyCurrent();
4297 if ac_fn_c_try_link "$LINENO"; then :
4298 gt_cv_func_CFLocaleCopyCurrent=yes
4300 gt_cv_func_CFLocaleCopyCurrent=no
4302 rm -f core conftest.err conftest.$ac_objext \
4303 conftest$ac_exeext conftest.$ac_ext
4304 LIBS="$gt_save_LIBS"
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
4307 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
4308 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4310 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
4314 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4315 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
4327 if test "$USE_NLS" = "yes"; then
4328 gt_use_preinstalled_gnugettext=no
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4336 $as_echo_n "checking for GNU gettext in libc... " >&6; }
4337 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4342 #include <libintl.h>
4343 extern int _nl_msg_cat_cntr;
4344 extern int *_nl_domain_bindings;
4348 bindtextdomain ("", "");
4349 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4354 if ac_fn_c_try_link "$LINENO"; then :
4355 gt_cv_func_gnugettext1_libc=yes
4357 gt_cv_func_gnugettext1_libc=no
4359 rm -f core conftest.err conftest.$ac_objext \
4360 conftest$ac_exeext conftest.$ac_ext
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
4363 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
4365 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4371 am_save_CPPFLAGS="$CPPFLAGS"
4373 for element in $INCICONV; do
4375 for x in $CPPFLAGS; do
4377 acl_save_prefix="$prefix"
4378 prefix="$acl_final_prefix"
4379 acl_save_exec_prefix="$exec_prefix"
4380 exec_prefix="$acl_final_exec_prefix"
4382 exec_prefix="$acl_save_exec_prefix"
4383 prefix="$acl_save_prefix"
4385 if test "X$x" = "X$element"; then
4390 if test -z "$haveit"; then
4391 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4397 $as_echo_n "checking for iconv... " >&6; }
4398 if test "${am_cv_func_iconv+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4402 am_cv_func_iconv="no, consider installing GNU libiconv"
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4411 iconv_t cd = iconv_open("","");
4412 iconv(cd,NULL,NULL,NULL,NULL);
4418 if ac_fn_c_try_link "$LINENO"; then :
4419 am_cv_func_iconv=yes
4421 rm -f core conftest.err conftest.$ac_objext \
4422 conftest$ac_exeext conftest.$ac_ext
4423 if test "$am_cv_func_iconv" != yes; then
4424 am_save_LIBS="$LIBS"
4425 LIBS="$LIBS $LIBICONV"
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4433 iconv_t cd = iconv_open("","");
4434 iconv(cd,NULL,NULL,NULL,NULL);
4440 if ac_fn_c_try_link "$LINENO"; then :
4442 am_cv_func_iconv=yes
4444 rm -f core conftest.err conftest.$ac_objext \
4445 conftest$ac_exeext conftest.$ac_ext
4446 LIBS="$am_save_LIBS"
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4451 $as_echo "$am_cv_func_iconv" >&6; }
4452 if test "$am_cv_func_iconv" = yes; then
4454 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4457 if test "$am_cv_lib_iconv" = yes; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4459 $as_echo_n "checking how to link with libiconv... " >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4461 $as_echo "$LIBICONV" >&6; }
4463 CPPFLAGS="$am_save_CPPFLAGS"
4476 acl_save_prefix="$prefix"
4477 prefix="$acl_final_prefix"
4478 acl_save_exec_prefix="$exec_prefix"
4479 exec_prefix="$acl_final_exec_prefix"
4481 eval additional_includedir=\"$includedir\"
4482 eval additional_libdir=\"$libdir\"
4484 exec_prefix="$acl_save_exec_prefix"
4485 prefix="$acl_save_prefix"
4488 # Check whether --with-libintl-prefix was given.
4489 if test "${with_libintl_prefix+set}" = set; then :
4490 withval=$with_libintl_prefix;
4491 if test "X$withval" = "Xno"; then
4494 if test "X$withval" = "X"; then
4496 acl_save_prefix="$prefix"
4497 prefix="$acl_final_prefix"
4498 acl_save_exec_prefix="$exec_prefix"
4499 exec_prefix="$acl_final_exec_prefix"
4501 eval additional_includedir=\"$includedir\"
4502 eval additional_libdir=\"$libdir\"
4504 exec_prefix="$acl_save_exec_prefix"
4505 prefix="$acl_save_prefix"
4508 additional_includedir="$withval/include"
4509 additional_libdir="$withval/$acl_libdirstem"
4520 names_already_handled=
4521 names_next_round='intl '
4522 while test -n "$names_next_round"; do
4523 names_this_round="$names_next_round"
4525 for name in $names_this_round; do
4527 for n in $names_already_handled; do
4528 if test "$n" = "$name"; then
4533 if test -z "$already_handled"; then
4534 names_already_handled="$names_already_handled $name"
4535 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4536 eval value=\"\$HAVE_LIB$uppername\"
4537 if test -n "$value"; then
4538 if test "$value" = yes; then
4539 eval value=\"\$LIB$uppername\"
4540 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4541 eval value=\"\$LTLIB$uppername\"
4542 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4551 if test $use_additional = yes; then
4552 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4553 found_dir="$additional_libdir"
4554 found_so="$additional_libdir/lib$name.$shlibext"
4555 if test -f "$additional_libdir/lib$name.la"; then
4556 found_la="$additional_libdir/lib$name.la"
4559 if test -f "$additional_libdir/lib$name.$libext"; then
4560 found_dir="$additional_libdir"
4561 found_a="$additional_libdir/lib$name.$libext"
4562 if test -f "$additional_libdir/lib$name.la"; then
4563 found_la="$additional_libdir/lib$name.la"
4568 if test "X$found_dir" = "X"; then
4569 for x in $LDFLAGS $LTLIBINTL; do
4571 acl_save_prefix="$prefix"
4572 prefix="$acl_final_prefix"
4573 acl_save_exec_prefix="$exec_prefix"
4574 exec_prefix="$acl_final_exec_prefix"
4576 exec_prefix="$acl_save_exec_prefix"
4577 prefix="$acl_save_prefix"
4581 dir=`echo "X$x" | sed -e 's/^X-L//'`
4582 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4584 found_so="$dir/lib$name.$shlibext"
4585 if test -f "$dir/lib$name.la"; then
4586 found_la="$dir/lib$name.la"
4589 if test -f "$dir/lib$name.$libext"; then
4591 found_a="$dir/lib$name.$libext"
4592 if test -f "$dir/lib$name.la"; then
4593 found_la="$dir/lib$name.la"
4599 if test "X$found_dir" != "X"; then
4604 if test "X$found_dir" != "X"; then
4605 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4606 if test "X$found_so" != "X"; then
4607 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4608 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4611 for x in $ltrpathdirs; do
4612 if test "X$x" = "X$found_dir"; then
4617 if test -z "$haveit"; then
4618 ltrpathdirs="$ltrpathdirs $found_dir"
4620 if test "$hardcode_direct" = yes; then
4621 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4623 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4624 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4626 for x in $rpathdirs; do
4627 if test "X$x" = "X$found_dir"; then
4632 if test -z "$haveit"; then
4633 rpathdirs="$rpathdirs $found_dir"
4637 for x in $LDFLAGS $LIBINTL; do
4639 acl_save_prefix="$prefix"
4640 prefix="$acl_final_prefix"
4641 acl_save_exec_prefix="$exec_prefix"
4642 exec_prefix="$acl_final_exec_prefix"
4644 exec_prefix="$acl_save_exec_prefix"
4645 prefix="$acl_save_prefix"
4647 if test "X$x" = "X-L$found_dir"; then
4652 if test -z "$haveit"; then
4653 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4655 if test "$hardcode_minus_L" != no; then
4656 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4658 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4664 if test "X$found_a" != "X"; then
4665 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
4667 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4670 additional_includedir=
4671 case "$found_dir" in
4672 */$acl_libdirstem | */$acl_libdirstem/)
4673 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4674 additional_includedir="$basedir/include"
4677 if test "X$additional_includedir" != "X"; then
4678 if test "X$additional_includedir" != "X/usr/include"; then
4680 if test "X$additional_includedir" = "X/usr/local/include"; then
4681 if test -n "$GCC"; then
4683 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4687 if test -z "$haveit"; then
4688 for x in $CPPFLAGS $INCINTL; do
4690 acl_save_prefix="$prefix"
4691 prefix="$acl_final_prefix"
4692 acl_save_exec_prefix="$exec_prefix"
4693 exec_prefix="$acl_final_exec_prefix"
4695 exec_prefix="$acl_save_exec_prefix"
4696 prefix="$acl_save_prefix"
4698 if test "X$x" = "X-I$additional_includedir"; then
4703 if test -z "$haveit"; then
4704 if test -d "$additional_includedir"; then
4705 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4711 if test -n "$found_la"; then
4712 save_libdir="$libdir"
4714 */* | *\\*) . "$found_la" ;;
4715 *) . "./$found_la" ;;
4717 libdir="$save_libdir"
4718 for dep in $dependency_libs; do
4721 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4722 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4724 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4725 if test -n "$GCC"; then
4727 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4731 if test -z "$haveit"; then
4733 for x in $LDFLAGS $LIBINTL; do
4735 acl_save_prefix="$prefix"
4736 prefix="$acl_final_prefix"
4737 acl_save_exec_prefix="$exec_prefix"
4738 exec_prefix="$acl_final_exec_prefix"
4740 exec_prefix="$acl_save_exec_prefix"
4741 prefix="$acl_save_prefix"
4743 if test "X$x" = "X-L$additional_libdir"; then
4748 if test -z "$haveit"; then
4749 if test -d "$additional_libdir"; then
4750 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4754 for x in $LDFLAGS $LTLIBINTL; do
4756 acl_save_prefix="$prefix"
4757 prefix="$acl_final_prefix"
4758 acl_save_exec_prefix="$exec_prefix"
4759 exec_prefix="$acl_final_exec_prefix"
4761 exec_prefix="$acl_save_exec_prefix"
4762 prefix="$acl_save_prefix"
4764 if test "X$x" = "X-L$additional_libdir"; then
4769 if test -z "$haveit"; then
4770 if test -d "$additional_libdir"; then
4771 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4778 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4779 if test "$enable_rpath" != no; then
4781 for x in $rpathdirs; do
4782 if test "X$x" = "X$dir"; then
4787 if test -z "$haveit"; then
4788 rpathdirs="$rpathdirs $dir"
4791 for x in $ltrpathdirs; do
4792 if test "X$x" = "X$dir"; then
4797 if test -z "$haveit"; then
4798 ltrpathdirs="$ltrpathdirs $dir"
4803 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4806 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4809 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
4810 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4816 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4817 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4823 if test "X$rpathdirs" != "X"; then
4824 if test -n "$hardcode_libdir_separator"; then
4826 for found_dir in $rpathdirs; do
4827 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4829 acl_save_libdir="$libdir"
4831 eval flag=\"$hardcode_libdir_flag_spec\"
4832 libdir="$acl_save_libdir"
4833 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4835 for found_dir in $rpathdirs; do
4836 acl_save_libdir="$libdir"
4838 eval flag=\"$hardcode_libdir_flag_spec\"
4839 libdir="$acl_save_libdir"
4840 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4844 if test "X$ltrpathdirs" != "X"; then
4845 for found_dir in $ltrpathdirs; do
4846 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
4851 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
4852 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
4853 $as_echo_n "(cached) " >&6
4855 gt_save_CPPFLAGS="$CPPFLAGS"
4856 CPPFLAGS="$CPPFLAGS $INCINTL"
4857 gt_save_LIBS="$LIBS"
4858 LIBS="$LIBS $LIBINTL"
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4861 #include <libintl.h>
4862 extern int _nl_msg_cat_cntr;
4867 const char *_nl_expand_alias (const char *);
4871 bindtextdomain ("", "");
4872 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4877 if ac_fn_c_try_link "$LINENO"; then :
4878 gt_cv_func_gnugettext1_libintl=yes
4880 gt_cv_func_gnugettext1_libintl=no
4882 rm -f core conftest.err conftest.$ac_objext \
4883 conftest$ac_exeext conftest.$ac_ext
4884 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4885 LIBS="$LIBS $LIBICONV"
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4888 #include <libintl.h>
4889 extern int _nl_msg_cat_cntr;
4894 const char *_nl_expand_alias (const char *);
4898 bindtextdomain ("", "");
4899 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4904 if ac_fn_c_try_link "$LINENO"; then :
4905 LIBINTL="$LIBINTL $LIBICONV"
4906 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
4907 gt_cv_func_gnugettext1_libintl=yes
4910 rm -f core conftest.err conftest.$ac_objext \
4911 conftest$ac_exeext conftest.$ac_ext
4913 CPPFLAGS="$gt_save_CPPFLAGS"
4914 LIBS="$gt_save_LIBS"
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
4917 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
4920 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4921 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4922 && test "$PACKAGE" != gettext-runtime \
4923 && test "$PACKAGE" != gettext-tools; }; then
4924 gt_use_preinstalled_gnugettext=yes
4933 if test -n "$INTL_MACOSX_LIBS"; then
4934 if test "$gt_use_preinstalled_gnugettext" = "yes" \
4935 || test "$nls_cv_use_gnu_gettext" = "yes"; then
4936 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
4937 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
4941 if test "$gt_use_preinstalled_gnugettext" = "yes" \
4942 || test "$nls_cv_use_gnu_gettext" = "yes"; then
4944 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
4952 $as_echo_n "checking whether to use NLS... " >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4954 $as_echo "$USE_NLS" >&6; }
4955 if test "$USE_NLS" = "yes"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
4957 $as_echo_n "checking where the gettext function comes from... " >&6; }
4958 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4959 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4960 gt_source="external libintl"
4965 gt_source="included intl directory"
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
4968 $as_echo "$gt_source" >&6; }
4971 if test "$USE_NLS" = "yes"; then
4973 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4974 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
4976 $as_echo_n "checking how to link with libintl... " >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
4978 $as_echo "$LIBINTL" >&6; }
4980 for element in $INCINTL; do
4982 for x in $CPPFLAGS; do
4984 acl_save_prefix="$prefix"
4985 prefix="$acl_final_prefix"
4986 acl_save_exec_prefix="$exec_prefix"
4987 exec_prefix="$acl_final_exec_prefix"
4989 exec_prefix="$acl_save_exec_prefix"
4990 prefix="$acl_save_prefix"
4992 if test "X$x" = "X$element"; then
4997 if test -z "$haveit"; then
4998 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5005 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5008 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
5025 # Checks for programs.
5027 for ac_prog in gawk mawk nawk awk
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy $ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_AWK+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$AWK"; then
5037 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_AWK="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 if test -n "$AWK"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5059 $as_echo "$AWK" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$AWK" && break
5070 # Extract the first word of "msgfmt", so it can be a program name with args.
5071 set dummy msgfmt; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if test "${ac_cv_prog_HAVE_MSGFMT+set}" = set; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$HAVE_MSGFMT"; then
5078 ac_cv_prog_HAVE_MSGFMT="$HAVE_MSGFMT" # Let the user override the test.
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5087 ac_cv_prog_HAVE_MSGFMT="yes"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 HAVE_MSGFMT=$ac_cv_prog_HAVE_MSGFMT
5098 if test -n "$HAVE_MSGFMT"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MSGFMT" >&5
5100 $as_echo "$HAVE_MSGFMT" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5107 if test "x$HAVE_MSGFMT" != "xyes"; then
5108 echo " Please install the program \"msgfmt\" in advance."
5109 echo " It is usually included in the package \"gettext\"."
5114 # Checks for source data files.
5116 # Check whether --with-charmaps was given.
5117 if test "${with_charmaps+set}" = set; then :
5118 withval=$with_charmaps; CHARMAPS="$withval"
5126 if test "x$CHARMAPS" = "x"; then
5127 if test -d ./charmaps; then
5129 elif test -d /usr/share/i18n/charmaps; then
5130 CHARMAPS=/usr/share/i18n/charmaps
5137 if test "x$CHARMAPS" != "x"; then
5138 if test -r "$CHARMAPS/EUC-JP.gz"; then
5141 elif test -r "$CHARMAPS/EUC-JP"; then
5150 ICONS=`cd icons; echo *.png`
5153 LANGNAME_TABLES=`cd LANGDATA; echo *.lnm`
5156 ac_config_files="$ac_config_files Makefile mapconv m17n-db m17n-db.pc icons/Makefile po/Makefile.in FLT/Makefile MIM/Makefile LANGDATA/Makefile"
5158 cat >confcache <<\_ACEOF
5159 # This file is a shell script that caches the results of configure
5160 # tests run on this system so they can be shared between configure
5161 # scripts and configure runs, see configure's option --config-cache.
5162 # It is not useful on other systems. If it contains results you don't
5163 # want to keep, you may remove or edit it.
5165 # config.status only pays attention to the cache file if you give it
5166 # the --recheck option to rerun configure.
5168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5174 # The following way of writing the cache mishandles newlines in values,
5175 # but we know of no workaround that is simple, portable, and efficient.
5176 # So, we kill variables containing newlines.
5177 # Ultrix sh set writes to stderr and can't be redirected directly,
5178 # and sets the high bit in the cache file unless we assign to the vars.
5180 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5181 eval ac_val=\$$ac_var
5185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5189 _ | IFS | as_nl) ;; #(
5190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5191 *) { eval $ac_var=; unset $ac_var;} ;;
5197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5198 *${as_nl}ac_space=\ *)
5199 # `set' does not quote correctly, so add quotes: double-quote
5200 # substitution turns \\\\ into \\, and sed turns \\ into \.
5203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5206 # `set' quotes correctly as required by POSIX, so do not add quotes.
5207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5221 if test -w "$cache_file"; then
5222 test "x$cache_file" != "x/dev/null" &&
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5224 $as_echo "$as_me: updating cache $cache_file" >&6;}
5225 cat confcache >$cache_file
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5233 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5234 # Let make expand exec_prefix.
5235 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5237 # Transform confdefs.h into DEFS.
5238 # Protect against shell expansion while executing Makefile rules.
5239 # Protect against Makefile macro expansion.
5241 # If the first sed substitution is executed (which looks for macros that
5242 # take arguments), then branch to the quote section. Otherwise,
5243 # look for a macro that doesn't take arguments.
5253 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5255 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5259 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5272 DEFS=`sed -n "$ac_script" confdefs.h`
5277 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5278 # 1. Remove the extension, and $U if already installed.
5279 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5280 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5281 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5282 # will be set to the directory where LIBOBJS objects are built.
5283 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5284 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5288 LTLIBOBJS=$ac_ltlibobjs
5291 if test -n "$EXEEXT"; then
5293 am__EXEEXT_FALSE='#'
5299 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5300 as_fn_error "conditional \"AMDEP\" was never defined.
5301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5303 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5304 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5308 : ${CONFIG_STATUS=./config.status}
5310 ac_clean_files_save=$ac_clean_files
5311 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5313 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5315 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5317 # Generated by $as_me.
5318 # Run this file to recreate the current configuration.
5319 # Compiler output produced by configure, useful for debugging
5320 # configure, is in config.log if it exists.
5326 SHELL=\${CONFIG_SHELL-$SHELL}
5329 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5330 ## -------------------- ##
5331 ## M4sh Initialization. ##
5332 ## -------------------- ##
5334 # Be more Bourne compatible
5335 DUALCASE=1; export DUALCASE # for MKS sh
5336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5339 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5340 # is contrary to our usage. Disable this feature.
5341 alias -g '${1+"$@"}'='"$@"'
5342 setopt NO_GLOB_SUBST
5344 case `(set -o) 2>/dev/null` in #(
5356 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5357 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5359 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5360 # Prefer a ksh shell builtin over an external printf program on Solaris,
5361 # but without wasting forks for bash or zsh.
5362 if test -z "$BASH_VERSION$ZSH_VERSION" \
5363 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5364 as_echo='print -r --'
5365 as_echo_n='print -rn --'
5366 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5367 as_echo='printf %s\n'
5368 as_echo_n='printf %s'
5370 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5371 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5372 as_echo_n='/usr/ucb/echo -n'
5374 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5375 as_echo_n_body='eval
5379 expr "X$arg" : "X\\(.*\\)$as_nl";
5380 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5382 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5384 export as_echo_n_body
5385 as_echo_n='sh -c $as_echo_n_body as_echo'
5388 as_echo='sh -c $as_echo_body as_echo'
5391 # The user is always right.
5392 if test "${PATH_SEPARATOR+set}" != set; then
5394 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5395 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5402 # We need space, tab and new line, in precisely that order. Quoting is
5403 # there to prevent editors from complaining about space-tab.
5404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5405 # splitting by setting IFS to empty value.)
5408 # Find who we are. Look in the path if we contain no directory separator.
5410 *[\\/]* ) as_myself=$0 ;;
5411 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir=.
5416 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5422 # We did not find ourselves, most probably we were run as `sh COMMAND'
5423 # in which case we are not to be found in the path.
5424 if test "x$as_myself" = x; then
5427 if test ! -f "$as_myself"; then
5428 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5432 # Unset variables that we do not need and which cause bugs (e.g. in
5433 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5434 # suppresses any "Segmentation fault" message there. '((' could
5435 # trigger a bug in pdksh 5.2.14.
5436 for as_var in BASH_ENV ENV MAIL MAILPATH
5437 do eval test x\${$as_var+set} = xset \
5438 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5454 # as_fn_error ERROR [LINENO LOG_FD]
5455 # ---------------------------------
5456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5458 # script with status $?, using 1 if that was 0.
5461 as_status=$?; test $as_status -eq 0 && as_status=1
5463 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5464 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5466 $as_echo "$as_me: error: $1" >&2
5467 as_fn_exit $as_status
5471 # as_fn_set_status STATUS
5472 # -----------------------
5473 # Set $? to STATUS, without forking.
5477 } # as_fn_set_status
5481 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5491 # Portably unset VAR.
5494 { eval $1=; unset $1;}
5496 as_unset=as_fn_unset
5497 # as_fn_append VAR VALUE
5498 # ----------------------
5499 # Append the text in VALUE to the end of the definition contained in VAR. Take
5500 # advantage of any shell optimizations that allow amortized linear growth over
5501 # repeated appends, instead of the typical quadratic growth present in naive
5503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5504 eval 'as_fn_append ()
5515 # as_fn_arith ARG...
5516 # ------------------
5517 # Perform arithmetic evaluation on the ARGs, and store the result in the
5518 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5519 # must be portable across $(()) and expr.
5520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5521 eval 'as_fn_arith ()
5528 as_val=`expr "$@" || test $? -eq 1`
5533 if expr a : '\(a\)' >/dev/null 2>&1 &&
5534 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5541 as_basename=basename
5546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5552 as_me=`$as_basename -- "$0" ||
5553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5554 X"$0" : 'X\(//\)$' \| \
5555 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5557 sed '/^.*\/\([^/][^/]*\)\/*$/{
5571 # Avoid depending upon Character Ranges.
5572 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5573 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5574 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5575 as_cr_digits='0123456789'
5576 as_cr_alnum=$as_cr_Letters$as_cr_digits
5578 ECHO_C= ECHO_N= ECHO_T=
5579 case `echo -n x` in #(((((
5581 case `echo 'xy\c'` in
5582 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5584 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5591 rm -f conf$$ conf$$.exe conf$$.file
5592 if test -d conf$$.dir; then
5593 rm -f conf$$.dir/conf$$.file
5596 mkdir conf$$.dir 2>/dev/null
5598 if (echo >conf$$.file) 2>/dev/null; then
5599 if ln -s conf$$.file conf$$ 2>/dev/null; then
5601 # ... but there are two gotchas:
5602 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5603 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5604 # In both cases, we have to default to `cp -p'.
5605 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5607 elif ln conf$$.file conf$$ 2>/dev/null; then
5615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5616 rmdir conf$$.dir 2>/dev/null
5621 # Create "$as_dir" as a directory, including parents if necessary.
5626 -*) as_dir=./$as_dir;;
5628 test -d "$as_dir" || eval $as_mkdir_p || {
5632 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5633 *) as_qdir=$as_dir;;
5635 as_dirs="'$as_qdir' $as_dirs"
5636 as_dir=`$as_dirname -- "$as_dir" ||
5637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5638 X"$as_dir" : 'X\(//\)[^/]' \| \
5639 X"$as_dir" : 'X\(//\)$' \| \
5640 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5641 $as_echo X"$as_dir" |
5642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5659 test -d "$as_dir" && break
5661 test -z "$as_dirs" || eval "mkdir $as_dirs"
5662 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5666 if mkdir -p . 2>/dev/null; then
5667 as_mkdir_p='mkdir -p "$as_dir"'
5669 test -d ./-p && rmdir ./-p
5673 if test -x / >/dev/null 2>&1; then
5676 if ls -dL / >/dev/null 2>&1; then
5683 if test -d "$1"; then
5689 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5690 ???[sx]*):;;*)false;;esac;fi
5694 as_executable_p=$as_test_x
5696 # Sed expression to map a string onto a valid CPP name.
5697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5699 # Sed expression to map a string onto a valid variable name.
5700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5704 ## ----------------------------------- ##
5705 ## Main body of $CONFIG_STATUS script. ##
5706 ## ----------------------------------- ##
5708 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5711 # Save the log message, to keep $0 and so on meaningful, and to
5712 # report actual input values of CONFIG_FILES etc. instead of their
5713 # values after options handling.
5715 This file was extended by m17n-db $as_me 1.6.1, which was
5716 generated by GNU Autoconf 2.64. Invocation command line was
5718 CONFIG_FILES = $CONFIG_FILES
5719 CONFIG_HEADERS = $CONFIG_HEADERS
5720 CONFIG_LINKS = $CONFIG_LINKS
5721 CONFIG_COMMANDS = $CONFIG_COMMANDS
5724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5729 case $ac_config_files in *"
5730 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5736 # Files that config.status was made for.
5737 config_files="$ac_config_files"
5738 config_commands="$ac_config_commands"
5742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744 \`$as_me' instantiates files and other configuration actions
5745 from templates according to the current configuration. Unless the files
5746 and actions are specified as TAGs, all are instantiated by default.
5748 Usage: $0 [OPTION]... [TAG]...
5750 -h, --help print this help, then exit
5751 -V, --version print version number and configuration settings, then exit
5752 -q, --quiet, --silent
5753 do not print progress messages
5754 -d, --debug don't remove temporary files
5755 --recheck update $as_me by reconfiguring in the same conditions
5756 --file=FILE[:TEMPLATE]
5757 instantiate the configuration file FILE
5759 Configuration files:
5762 Configuration commands:
5765 Report bugs to <bugs-m17n-lib@m17n.org>."
5768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5770 m17n-db config.status 1.6.1
5771 configured by $0, generated by GNU Autoconf 2.64,
5772 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5774 Copyright (C) 2009 Free Software Foundation, Inc.
5775 This config.status script is free software; the Free Software Foundation
5776 gives unlimited permission to copy, distribute and modify it."
5783 test -n "\$AWK" || AWK=awk
5786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5787 # The default lists apply if the user does not specify any file.
5793 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5794 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5805 # Handling of the options.
5806 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5808 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5809 $as_echo "$ac_cs_version"; exit ;;
5810 --debug | --debu | --deb | --de | --d | -d )
5812 --file | --fil | --fi | --f )
5815 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5817 as_fn_append CONFIG_FILES " '$ac_optarg'"
5818 ac_need_defaults=false;;
5819 --he | --h | --help | --hel | -h )
5820 $as_echo "$ac_cs_usage"; exit ;;
5821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5822 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5826 -*) as_fn_error "unrecognized option: \`$1'
5827 Try \`$0 --help' for more information." ;;
5829 *) as_fn_append ac_config_targets " $1"
5830 ac_need_defaults=false ;;
5836 ac_configure_extra_args=
5838 if $ac_cs_silent; then
5840 ac_configure_extra_args="$ac_configure_extra_args --silent"
5844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5845 if \$ac_cs_recheck; then
5846 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5848 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5849 CONFIG_SHELL='$SHELL'
5855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5859 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5860 ## Running $as_me. ##
5866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5870 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5871 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5872 # from automake < 1.5.
5873 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5874 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5875 LINGUAS="${LINGUAS-%UNSET%}"
5877 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5883 # Handling of arguments.
5884 for ac_config_target in $ac_config_targets
5886 case $ac_config_target in
5887 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
5888 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5889 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5890 "mapconv") CONFIG_FILES="$CONFIG_FILES mapconv" ;;
5891 "m17n-db") CONFIG_FILES="$CONFIG_FILES m17n-db" ;;
5892 "m17n-db.pc") CONFIG_FILES="$CONFIG_FILES m17n-db.pc" ;;
5893 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
5894 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5895 "FLT/Makefile") CONFIG_FILES="$CONFIG_FILES FLT/Makefile" ;;
5896 "MIM/Makefile") CONFIG_FILES="$CONFIG_FILES MIM/Makefile" ;;
5897 "LANGDATA/Makefile") CONFIG_FILES="$CONFIG_FILES LANGDATA/Makefile" ;;
5899 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5904 # If the user did not use the arguments to specify the items to instantiate,
5905 # then the envvar interface is used. Set only those that are not.
5906 # We use the long form for the default assignment because of an extremely
5907 # bizarre bug on SunOS 4.1.3.
5908 if $ac_need_defaults; then
5909 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5913 # Have a temporary directory for convenience. Make it in the build tree
5914 # simply because there is no reason against having it here, and in addition,
5915 # creating and moving files from /tmp can sometimes cause problems.
5916 # Hook for its removal unless debugging.
5917 # Note that there is a small window in which the directory will not be cleaned:
5918 # after its creation but before its name has been assigned to `$tmp'.
5922 trap 'exit_status=$?
5923 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5925 trap 'as_fn_exit 1' 1 2 13 15
5927 # Create a (secure) tmp directory for tmp files.
5930 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5931 test -n "$tmp" && test -d "$tmp"
5934 tmp=./conf$$-$RANDOM
5935 (umask 077 && mkdir "$tmp")
5936 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5938 # Set up the scripts for CONFIG_FILES section.
5939 # No need to generate them if there are no CONFIG_FILES.
5940 # This happens for instance with `./config.status config.h'.
5941 if test -n "$CONFIG_FILES"; then
5944 ac_cr=`echo X | tr X '\015'`
5945 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5946 # But we know of no other shell where ac_cr would be empty at this
5947 # point, so we can use a bashism as a fallback.
5948 if test "x$ac_cr" = x; then
5949 eval ac_cr=\$\'\\r\'
5951 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5952 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5958 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5963 echo "cat >conf$$subs.awk <<_ACEOF" &&
5964 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5967 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5968 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5970 for ac_last_try in false false false false false :; do
5971 . ./conf$$subs.sh ||
5972 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5974 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5975 if test $ac_delim_n = $ac_delim_num; then
5977 elif $ac_last_try; then
5978 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5980 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5986 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5990 s/^/S["/; s/!.*/"]=/
6000 s/\(.\{148\}\).*/\1/
6002 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6007 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6014 s/\(.\{148\}\).*/\1/
6016 s/["\\]/\\&/g; s/^/"/; s/$/"/
6020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6025 ' <conf$$subs.awk | sed '
6030 ' >>$CONFIG_STATUS || ac_write_fail=1
6031 rm -f conf$$subs.awk
6032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6034 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6035 for (key in S) S_is_set[key] = 1
6041 nfields = split(line, field, "@")
6043 len = length(field[1])
6044 for (i = 2; i < nfields; i++) {
6046 keylen = length(key)
6047 if (S_is_set[key]) {
6049 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6050 len += length(value) + length(field[++i])
6061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6062 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6063 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6066 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6067 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6070 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6071 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6072 # trailing colons and then remove the whole line if VPATH becomes empty
6073 # (actually we leave an empty line to preserve line numbers).
6074 if test "x$srcdir" = x.; then
6075 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6079 s/^\([^=]*=[ ]*\):*/\1/
6085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6086 fi # test -n "$CONFIG_FILES"
6089 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
6094 :[FHLC]) ac_mode=$ac_tag; continue;;
6096 case $ac_mode$ac_tag in
6098 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6099 :[FH]-) ac_tag=-:-;;
6100 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6117 -) ac_f="$tmp/stdin";;
6118 *) # Look for the file first in the build tree, then in the source tree
6119 # (if the path is not absolute). The absolute path cannot be DOS-style,
6120 # because $ac_f cannot contain `:'.
6124 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6126 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6128 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6129 as_fn_append ac_file_inputs " '$ac_f'"
6132 # Let's still pretend it is `configure' which instantiates (i.e., don't
6133 # use $as_me), people would be surprised to read:
6134 # /* config.h. Generated by config.status. */
6135 configure_input='Generated from '`
6136 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6138 if test x"$ac_file" != x-; then
6139 configure_input="$ac_file. $configure_input"
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6141 $as_echo "$as_me: creating $ac_file" >&6;}
6143 # Neutralize special characters interpreted by sed in replacement strings.
6144 case $configure_input in #(
6145 *\&* | *\|* | *\\* )
6146 ac_sed_conf_input=`$as_echo "$configure_input" |
6147 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6148 *) ac_sed_conf_input=$configure_input;;
6152 *:-:* | *:-) cat >"$tmp/stdin" \
6153 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6158 ac_dir=`$as_dirname -- "$ac_file" ||
6159 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6160 X"$ac_file" : 'X\(//\)[^/]' \| \
6161 X"$ac_file" : 'X\(//\)$' \| \
6162 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6163 $as_echo X"$ac_file" |
6164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6181 as_dir="$ac_dir"; as_fn_mkdir_p
6185 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6187 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6188 # A ".." for each directory in $ac_dir_suffix.
6189 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6190 case $ac_top_builddir_sub in
6191 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6192 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6195 ac_abs_top_builddir=$ac_pwd
6196 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6197 # for backward compatibility:
6198 ac_top_builddir=$ac_top_build_prefix
6201 .) # We are building in place.
6203 ac_top_srcdir=$ac_top_builddir_sub
6204 ac_abs_top_srcdir=$ac_pwd ;;
6205 [\\/]* | ?:[\\/]* ) # Absolute name.
6206 ac_srcdir=$srcdir$ac_dir_suffix;
6207 ac_top_srcdir=$srcdir
6208 ac_abs_top_srcdir=$srcdir ;;
6210 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6211 ac_top_srcdir=$ac_top_build_prefix$srcdir
6212 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6214 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6224 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6225 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6229 [\\/$]* | ?:[\\/]* ) ;;
6230 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6235 # If the template does not know about datarootdir, expand it.
6236 # FIXME: This hack should be removed a few years after 2.60.
6237 ac_datarootdir_hack=; ac_datarootdir_seen=
6248 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6249 *datarootdir*) ac_datarootdir_seen=yes;;
6250 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6252 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6255 ac_datarootdir_hack='
6256 s&@datadir@&$datadir&g
6257 s&@docdir@&$docdir&g
6258 s&@infodir@&$infodir&g
6259 s&@localedir@&$localedir&g
6260 s&@mandir@&$mandir&g
6261 s&\\\${datarootdir}&$datarootdir&g' ;;
6265 # Neutralize VPATH when `$srcdir' = `.'.
6266 # Shell code in configure.ac might set extrasub.
6267 # FIXME: do we really want to maintain this feature?
6268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6269 ac_sed_extra="$ac_vpsub
6272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6275 s|@configure_input@|$ac_sed_conf_input|;t t
6276 s&@top_builddir@&$ac_top_builddir_sub&;t t
6277 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6278 s&@srcdir@&$ac_srcdir&;t t
6279 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6280 s&@top_srcdir@&$ac_top_srcdir&;t t
6281 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6282 s&@builddir@&$ac_builddir&;t t
6283 s&@abs_builddir@&$ac_abs_builddir&;t t
6284 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6285 s&@INSTALL@&$ac_INSTALL&;t t
6286 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6287 $ac_datarootdir_hack
6289 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6290 || as_fn_error "could not create $ac_file" "$LINENO" 5
6292 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6293 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6294 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6296 which seems to be undefined. Please make sure it is defined." >&5
6297 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6298 which seems to be undefined. Please make sure it is defined." >&2;}
6302 -) cat "$tmp/out" && rm -f "$tmp/out";;
6303 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6305 || as_fn_error "could not create $ac_file" "$LINENO" 5
6309 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6310 $as_echo "$as_me: executing $ac_file commands" >&6;}
6315 case $ac_file$ac_mode in
6317 for ac_file in $CONFIG_FILES; do
6318 # Support "outfile[:infile[:infile...]]"
6320 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6322 # PO directories have a Makefile.in generated from Makefile.in.in.
6323 case "$ac_file" in */Makefile.in)
6324 # Adjust a relative srcdir.
6325 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6326 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6327 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6328 # In autoconf-2.13 it is called $ac_given_srcdir.
6329 # In autoconf-2.50 it is called $srcdir.
6330 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6331 case "$ac_given_srcdir" in
6332 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6333 /*) top_srcdir="$ac_given_srcdir" ;;
6334 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
6336 # Treat a directory as a PO directory if and only if it has a
6337 # POTFILES.in file. This allows packages to have multiple PO
6338 # directories under different names or in different locations.
6339 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6340 rm -f "$ac_dir/POTFILES"
6341 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6342 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6343 POMAKEFILEDEPS="POTFILES.in"
6344 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
6345 # on $ac_dir but don't depend on user-specified configuration
6347 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6348 # The LINGUAS file contains the set of available languages.
6349 if test -n "$OBSOLETE_ALL_LINGUAS"; then
6350 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6352 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6353 # Hide the ALL_LINGUAS assigment from automake < 1.5.
6354 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6355 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6357 # The set of available languages was given in configure.in.
6358 # Hide the ALL_LINGUAS assigment from automake < 1.5.
6359 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6362 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
6363 # Compute UPDATEPOFILES
6364 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
6365 # Compute DUMMYPOFILES
6366 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
6368 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
6369 case "$ac_given_srcdir" in
6371 *) srcdirpre='$(srcdir)/' ;;
6377 for lang in $ALL_LINGUAS; do
6378 POFILES="$POFILES $srcdirpre$lang.po"
6379 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6380 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
6381 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6383 # CATALOGS depends on both $ac_dir and the user's LINGUAS
6384 # environment variable.
6386 if test -n "$ALL_LINGUAS"; then
6387 for presentlang in $ALL_LINGUAS; do
6389 if test "%UNSET%" != "$LINGUAS"; then
6390 desiredlanguages="$LINGUAS"
6392 desiredlanguages="$ALL_LINGUAS"
6394 for desiredlang in $desiredlanguages; do
6395 # Use the presentlang catalog if desiredlang is
6396 # a. equal to presentlang, or
6397 # b. a variant of presentlang (because in this case,
6398 # presentlang can be used as a fallback for messages
6399 # which are not translated in the desiredlang catalog).
6400 case "$desiredlang" in
6401 "$presentlang"*) useit=yes;;
6404 if test $useit = yes; then
6405 INST_LINGUAS="$INST_LINGUAS $presentlang"
6410 if test -n "$INST_LINGUAS"; then
6411 for lang in $INST_LINGUAS; do
6412 CATALOGS="$CATALOGS $lang.gmo"
6415 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6416 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
6417 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6418 if test -f "$f"; then
6420 *.orig | *.bak | *~) ;;
6421 *) cat "$f" >> "$ac_dir/Makefile" ;;
6429 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6430 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6431 # are listed without --file. Let's play safe and only enable the eval
6432 # if we detect the quoting.
6433 case $CONFIG_FILES in
6434 *\'*) eval set x "$CONFIG_FILES" ;;
6435 *) set x $CONFIG_FILES ;;
6440 # Strip MF so we end up with the name of the file.
6441 mf=`echo "$mf" | sed -e 's/:.*$//'`
6442 # Check whether this is an Automake generated Makefile or not.
6443 # We used to match only the files named `Makefile.in', but
6444 # some people rename them; so instead we look at the file content.
6445 # Grep'ing the first line is not enough: some people post-process
6446 # each Makefile.in and add a new line on top of each file to say so.
6447 # Grep'ing the whole file is not good either: AIX grep has a line
6448 # limit of 2048, but all sed's we know have understand at least 4000.
6449 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6450 dirpart=`$as_dirname -- "$mf" ||
6451 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6452 X"$mf" : 'X\(//\)[^/]' \| \
6453 X"$mf" : 'X\(//\)$' \| \
6454 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6476 # Extract the definition of DEPDIR, am__include, and am__quote
6477 # from the Makefile without running `make'.
6478 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6479 test -z "$DEPDIR" && continue
6480 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6481 test -z "am__include" && continue
6482 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6483 # When using ansi2knr, U may be empty or an underscore; expand it
6484 U=`sed -n 's/^U = //p' < "$mf"`
6485 # Find all dependency output files, they are included files with
6486 # $(DEPDIR) in their names. We invoke sed twice because it is the
6487 # simplest approach to changing $(DEPDIR) to its actual value in the
6489 for file in `sed -n "
6490 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6491 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6492 # Make sure the directory exists.
6493 test -f "$dirpart/$file" && continue
6494 fdir=`$as_dirname -- "$file" ||
6495 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6496 X"$file" : 'X\(//\)[^/]' \| \
6497 X"$file" : 'X\(//\)$' \| \
6498 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6517 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6518 # echo "creating $dirpart/$file"
6519 echo '# dummy' > "$dirpart/$file"
6531 ac_clean_files=$ac_clean_files_save
6533 test $ac_write_fail = 0 ||
6534 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6537 # configure is writing to config.log, and then calls config.status.
6538 # config.status does its own redirection, appending to config.log.
6539 # Unfortunately, on DOS this fails, as config.log is still kept open
6540 # by configure, so config.status won't be able to write to it; its
6541 # output is simply discarded. So we exec the FD to /dev/null,
6542 # effectively closing config.log, so it can be properly (re)opened and
6543 # appended to by config.status. When coming back to configure, we
6544 # need to make the FD available again.
6545 if test "$no_create" != yes; then
6547 ac_config_status_args=
6548 test "$silent" = yes &&
6549 ac_config_status_args="$ac_config_status_args --quiet"
6551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6554 # would make configure fail if this is the last instruction.
6555 $ac_cs_success || as_fn_exit $?
6557 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6559 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6563 # Print configuration message.
6564 if test "x$CHARMAPS" != "x"; then
6565 echo "------------------------------------------------------------"
6566 echo "Charset maps are generated from files under thie directory:"
6568 echo "------------------------------------------------------------"
6570 echo "-----------ERROR-----------ERROR-----------ERROR------------"
6571 echo "Can't find source files for generating charset maps."
6572 echo "Run the script \"./get-glibc.sh\", and try again."
6573 echo "Or, read the installation procedure in the file README."
6574 echo " --with-charmaps=--DIRECTORY-OF-GLIBC-SOURCE--/localedata/charmaps"
6575 echo "-----------ERROR-----------ERROR-----------ERROR------------"