2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gettext-examples 0.19.8.1.
5 # Report bugs to <bug-gnu-gettext@gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: bug-gnu-gettext@gnu.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='gettext-examples'
582 PACKAGE_TARNAME='gettext-examples'
583 PACKAGE_VERSION='0.19.8.1'
584 PACKAGE_STRING='gettext-examples 0.19.8.1'
585 PACKAGE_BUGREPORT='bug-gnu-gettext@gnu.org'
588 ac_unique_file="installpaths.in"
589 ac_subst_vars='LTLIBOBJS
592 XGETTEXT_EXTRA_OPTIONS
600 GETTEXT_MACRO_VERSION
615 INSTALL_STRIP_PROGRAM
658 program_transform_name
671 enable_option_checking
675 ac_precious_vars='build_alias
680 # Initialize some variables set by options.
682 ac_init_version=false
683 ac_unrecognized_opts=
685 # The variables have the same names as the options, with
686 # dashes changed to underlines.
694 program_transform_name=s,x,x,
702 # Installation directory options.
703 # These are left unexpanded so users can "make install exec_prefix=/foo"
704 # and all the variables that are supposed to be based on exec_prefix
705 # by default will actually change.
706 # Use braces instead of parens because sh, perl, etc. also accept them.
707 # (The list follows the same order as the GNU Coding Standards.)
708 bindir='${exec_prefix}/bin'
709 sbindir='${exec_prefix}/sbin'
710 libexecdir='${exec_prefix}/libexec'
711 datarootdir='${prefix}/share'
712 datadir='${datarootdir}'
713 sysconfdir='${prefix}/etc'
714 sharedstatedir='${prefix}/com'
715 localstatedir='${prefix}/var'
716 runstatedir='${localstatedir}/run'
717 includedir='${prefix}/include'
718 oldincludedir='/usr/include'
719 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir='${datarootdir}/info'
725 libdir='${exec_prefix}/lib'
726 localedir='${datarootdir}/locale'
727 mandir='${datarootdir}/man'
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\$ac_option
741 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
757 -build | --build | --buil | --bui | --bu)
758 ac_prev=build_alias ;;
759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
760 build_alias=$ac_optarg ;;
762 -cache-file | --cache-file | --cache-fil | --cache-fi \
763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
764 ac_prev=cache_file ;;
765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
767 cache_file=$ac_optarg ;;
770 cache_file=config.cache ;;
772 -datadir | --datadir | --datadi | --datad)
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
775 datadir=$ac_optarg ;;
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
784 -disable-* | --disable-*)
785 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
788 as_fn_error $? "invalid feature name: $ac_useropt"
789 ac_useropt_orig=$ac_useropt
790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
798 eval enable_$ac_useropt=no ;;
800 -docdir | --docdir | --docdi | --doc | --do)
802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 -enable-* | --enable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
824 eval enable_$ac_useropt=\$ac_optarg ;;
826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828 | --exec | --exe | --ex)
829 ac_prev=exec_prefix ;;
830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832 | --exec=* | --exe=* | --ex=*)
833 exec_prefix=$ac_optarg ;;
835 -gas | --gas | --ga | --g)
836 # Obsolete; use --with-gas.
839 -help | --help | --hel | --he | -h)
841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842 ac_init_help=recursive ;;
843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844 ac_init_help=short ;;
846 -host | --host | --hos | --ho)
847 ac_prev=host_alias ;;
848 -host=* | --host=* | --hos=* | --ho=*)
849 host_alias=$ac_optarg ;;
851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
855 htmldir=$ac_optarg ;;
857 -includedir | --includedir | --includedi | --included | --include \
858 | --includ | --inclu | --incl | --inc)
859 ac_prev=includedir ;;
860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861 | --includ=* | --inclu=* | --incl=* | --inc=*)
862 includedir=$ac_optarg ;;
864 -infodir | --infodir | --infodi | --infod | --info | --inf)
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
869 -libdir | --libdir | --libdi | --libd)
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875 | --libexe | --libex | --libe)
876 ac_prev=libexecdir ;;
877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878 | --libexe=* | --libex=* | --libe=*)
879 libexecdir=$ac_optarg ;;
881 -localedir | --localedir | --localedi | --localed | --locale)
883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884 localedir=$ac_optarg ;;
886 -localstatedir | --localstatedir | --localstatedi | --localstated \
887 | --localstate | --localstat | --localsta | --localst | --locals)
888 ac_prev=localstatedir ;;
889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891 localstatedir=$ac_optarg ;;
893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
899 # Obsolete; use --without-fp.
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912 | --oldin | --oldi | --old | --ol | --o)
913 ac_prev=oldincludedir ;;
914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917 oldincludedir=$ac_optarg ;;
919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
925 | --program-pre | --program-pr | --program-p)
926 ac_prev=program_prefix ;;
927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929 program_prefix=$ac_optarg ;;
931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
932 | --program-suf | --program-su | --program-s)
933 ac_prev=program_suffix ;;
934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936 program_suffix=$ac_optarg ;;
938 -program-transform-name | --program-transform-name \
939 | --program-transform-nam | --program-transform-na \
940 | --program-transform-n | --program-transform- \
941 | --program-transform | --program-transfor \
942 | --program-transfo | --program-transf \
943 | --program-trans | --program-tran \
944 | --progr-tra | --program-tr | --program-t)
945 ac_prev=program_transform_name ;;
946 -program-transform-name=* | --program-transform-name=* \
947 | --program-transform-nam=* | --program-transform-na=* \
948 | --program-transform-n=* | --program-transform-=* \
949 | --program-transform=* | --program-transfor=* \
950 | --program-transfo=* | --program-transf=* \
951 | --program-trans=* | --program-tran=* \
952 | --progr-tra=* | --program-tr=* | --program-t=*)
953 program_transform_name=$ac_optarg ;;
955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
960 -psdir | --psdir | --psdi | --psd | --ps)
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
969 -runstatedir | --runstatedir | --runstatedi | --runstated \
970 | --runstate | --runstat | --runsta | --runst | --runs \
971 | --run | --ru | --r)
972 ac_prev=runstatedir ;;
973 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
974 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
975 | --run=* | --ru=* | --r=*)
976 runstatedir=$ac_optarg ;;
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
997 -site=* | --site=* | --sit=*)
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1037 eval with_$ac_useropt=\$ac_optarg ;;
1039 -without-* | --without-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval with_$ac_useropt=no ;;
1056 # Obsolete; use --with-x.
1059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060 | --x-incl | --x-inc | --x-in | --x-i)
1061 ac_prev=x_includes ;;
1062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064 x_includes=$ac_optarg ;;
1066 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068 ac_prev=x_libraries ;;
1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071 x_libraries=$ac_optarg ;;
1073 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074 Try \`$0 --help' for more information"
1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 case $ac_envvar in #(
1081 '' | [0-9]* | *[!_$as_cr_alnum]* )
1082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1084 eval $ac_envvar=\$ac_optarg
1085 export $ac_envvar ;;
1088 # FIXME: should be removed in autoconf 3.0.
1089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1098 if test -n "$ac_prev"; then
1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 as_fn_error $? "missing argument to $ac_option"
1103 if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1111 # Check all directory arguments for consistency.
1112 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113 datadir sysconfdir sharedstatedir localstatedir includedir \
1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115 libdir localedir mandir runstatedir
1117 eval ac_val=\$$ac_var
1118 # Remove trailing slashes.
1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\$ac_val;;
1124 # Be sure to have absolute directory names.
1126 [\\/$]* | ?:[\\/]* ) continue;;
1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 elif test "x$build_alias" != "x$host_alias"; then
1149 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151 test "$silent" = yes && exec 6>/dev/null
1154 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155 ac_ls_di=`ls -di .` &&
1156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error $? "working directory cannot be determined"
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error $? "pwd does not report name of working directory"
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171 $as_echo X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1194 ac_srcdir_defaulted=no
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204 # When building in place, set srcdir=.
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 # Remove unnecessary trailing slashes from srcdir.
1209 # Double slashes in file names in object file debugging info
1210 # mess up M-x gdb in Emacs.
1212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214 for ac_var in $ac_precious_vars; do
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_${ac_var}_value=\$${ac_var}
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1222 # Report the --help message.
1224 if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1228 \`configure' configures gettext-examples 0.19.8.1 to adapt to many kinds of systems.
1230 Usage: $0 [OPTION]... [VAR=VALUE]...
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233 VAR=VALUE. See below for descriptions of some of the useful variables.
1235 Defaults for the options are specified in brackets.
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking ...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248 Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254 By default, \`make install' will install all the files in
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257 for instance \`--prefix=\$HOME'.
1259 For better control, use the options below.
1261 Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1269 --libdir=DIR object code libraries [EPREFIX/lib]
1270 --includedir=DIR C header files [PREFIX/include]
1271 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1274 --infodir=DIR info documentation [DATAROOTDIR/info]
1275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1276 --mandir=DIR man documentation [DATAROOTDIR/man]
1277 --docdir=DIR documentation root
1278 [DATAROOTDIR/doc/gettext-examples]
1279 --htmldir=DIR html documentation [DOCDIR]
1280 --dvidir=DIR dvi documentation [DOCDIR]
1281 --pdfdir=DIR pdf documentation [DOCDIR]
1282 --psdir=DIR ps documentation [DOCDIR]
1288 --program-prefix=PREFIX prepend PREFIX to installed program names
1289 --program-suffix=SUFFIX append SUFFIX to installed program names
1290 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1294 if test -n "$ac_init_help"; then
1295 case $ac_init_help in
1296 short | recursive ) echo "Configuration of gettext-examples 0.19.8.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 --enable-silent-rules less verbose build output (undo: "make V=1")
1305 --disable-silent-rules verbose build output (undo: "make V=0")
1306 --disable-nls do not use Native Language Support
1308 Report bugs to <bug-gnu-gettext@gnu.org>.
1313 if test "$ac_init_help" = "recursive"; then
1314 # If there are subdirs, report their specific --help.
1315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1316 test -d "$ac_dir" ||
1317 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1325 # A ".." for each directory in $ac_dir_suffix.
1326 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1327 case $ac_top_builddir_sub in
1328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1332 ac_abs_top_builddir=$ac_pwd
1333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1334 # for backward compatibility:
1335 ac_top_builddir=$ac_top_build_prefix
1338 .) # We are building in place.
1340 ac_top_srcdir=$ac_top_builddir_sub
1341 ac_abs_top_srcdir=$ac_pwd ;;
1342 [\\/]* | ?:[\\/]* ) # Absolute name.
1343 ac_srcdir=$srcdir$ac_dir_suffix;
1344 ac_top_srcdir=$srcdir
1345 ac_abs_top_srcdir=$srcdir ;;
1347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353 cd "$ac_dir" || { ac_status=$?; continue; }
1354 # Check for guested configure.
1355 if test -f "$ac_srcdir/configure.gnu"; then
1357 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1358 elif test -f "$ac_srcdir/configure"; then
1360 $SHELL "$ac_srcdir/configure" --help=recursive
1362 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 cd "$ac_pwd" || { ac_status=$?; break; }
1368 test -n "$ac_init_help" && exit $ac_status
1369 if $ac_init_version; then
1371 gettext-examples configure 0.19.8.1
1372 generated by GNU Autoconf 2.69
1374 Copyright (C) 2012 Free Software Foundation, Inc.
1375 This configure script is free software; the Free Software Foundation
1376 gives unlimited permission to copy, distribute and modify it.
1381 ## ------------------------ ##
1382 ## Autoconf initialization. ##
1383 ## ------------------------ ##
1384 cat >config.log <<_ACEOF
1385 This file contains any messages produced by compilers while
1386 running configure, to aid debugging if configure makes a mistake.
1388 It was created by gettext-examples $as_me 0.19.8.1, which was
1389 generated by GNU Autoconf 2.69. Invocation command line was
1401 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1402 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1403 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1404 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1405 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1407 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1408 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1410 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1411 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1412 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1413 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1414 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1415 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1416 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1424 test -z "$as_dir" && as_dir=.
1425 $as_echo "PATH: $as_dir"
1441 # Keep a trace of the command line.
1442 # Strip out --no-create and --no-recursion so they do not pile up.
1443 # Strip out --silent because we don't want to record it for future runs.
1444 # Also quote any args containing shell meta-characters.
1445 # Make two passes to allow for proper duplicate-argument suppression.
1449 ac_must_keep_next=false
1455 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1457 | -silent | --silent | --silen | --sile | --sil)
1460 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1463 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1465 as_fn_append ac_configure_args1 " '$ac_arg'"
1466 if test $ac_must_keep_next = true; then
1467 ac_must_keep_next=false # Got value, back to normal.
1470 *=* | --config-cache | -C | -disable-* | --disable-* \
1471 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1472 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1473 | -with-* | --with-* | -without-* | --without-* | --x)
1474 case "$ac_configure_args0 " in
1475 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1478 -* ) ac_must_keep_next=true ;;
1481 as_fn_append ac_configure_args " '$ac_arg'"
1486 { ac_configure_args0=; unset ac_configure_args0;}
1487 { ac_configure_args1=; unset ac_configure_args1;}
1489 # When interrupted or exit'd, cleanup temporary files, and complete
1490 # config.log. We remove comments because anyway the quotes in there
1491 # would cause problems or look ugly.
1492 # WARNING: Use '\'' to represent an apostrophe within the trap.
1493 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1494 trap 'exit_status=$?
1495 # Save into config.log some information that might help in debugging.
1499 $as_echo "## ---------------- ##
1500 ## Cache variables. ##
1501 ## ---------------- ##"
1503 # The following way of writing the cache mishandles newlines in values,
1505 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1506 eval ac_val=\$$ac_var
1510 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1511 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1514 _ | IFS | as_nl) ;; #(
1515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1516 *) { eval $ac_var=; unset $ac_var;} ;;
1521 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1522 *${as_nl}ac_space=\ *)
1524 "s/'\''/'\''\\\\'\'''\''/g;
1525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1528 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 $as_echo "## ----------------- ##
1536 ## Output variables. ##
1537 ## ----------------- ##"
1539 for ac_var in $ac_subst_vars
1541 eval ac_val=\$$ac_var
1543 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 $as_echo "$ac_var='\''$ac_val'\''"
1549 if test -n "$ac_subst_files"; then
1550 $as_echo "## ------------------- ##
1551 ## File substitutions. ##
1552 ## ------------------- ##"
1554 for ac_var in $ac_subst_files
1556 eval ac_val=\$$ac_var
1558 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 $as_echo "$ac_var='\''$ac_val'\''"
1565 if test -s confdefs.h; then
1566 $as_echo "## ----------- ##
1573 test "$ac_signal" != 0 &&
1574 $as_echo "$as_me: caught signal $ac_signal"
1575 $as_echo "$as_me: exit $exit_status"
1577 rm -f core *.core core.conftest.* &&
1578 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1581 for ac_signal in 1 2 13 15; do
1582 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1586 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1587 rm -f -r conftest* confdefs.h
1589 $as_echo "/* confdefs.h */" > confdefs.h
1591 # Predefined preprocessor variables.
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE_NAME "$PACKAGE_NAME"
1597 cat >>confdefs.h <<_ACEOF
1598 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601 cat >>confdefs.h <<_ACEOF
1602 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_STRING "$PACKAGE_STRING"
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_URL "$PACKAGE_URL"
1618 # Let the site file select an alternate cache file if it wants to.
1619 # Prefer an explicitly selected file to automatically selected ones.
1622 if test -n "$CONFIG_SITE"; then
1623 # We do not want a PATH search for config.site.
1624 case $CONFIG_SITE in #((
1625 -*) ac_site_file1=./$CONFIG_SITE;;
1626 */*) ac_site_file1=$CONFIG_SITE;;
1627 *) ac_site_file1=./$CONFIG_SITE;;
1629 elif test "x$prefix" != xNONE; then
1630 ac_site_file1=$prefix/share/config.site
1631 ac_site_file2=$prefix/etc/config.site
1633 ac_site_file1=$ac_default_prefix/share/config.site
1634 ac_site_file2=$ac_default_prefix/etc/config.site
1636 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1638 test "x$ac_site_file" = xNONE && continue
1639 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1641 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1642 sed 's/^/| /' "$ac_site_file" >&5
1644 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1646 as_fn_error $? "failed to load site script $ac_site_file
1647 See \`config.log' for more details" "$LINENO" 5; }
1651 if test -r "$cache_file"; then
1652 # Some versions of bash will fail to source /dev/null (special files
1653 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1654 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1656 $as_echo "$as_me: loading cache $cache_file" >&6;}
1658 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1659 *) . "./$cache_file";;
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1664 $as_echo "$as_me: creating cache $cache_file" >&6;}
1668 # Check that the precious variables saved in the cache have kept the same
1670 ac_cache_corrupted=false
1671 for ac_var in $ac_precious_vars; do
1672 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1673 eval ac_new_set=\$ac_env_${ac_var}_set
1674 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1675 eval ac_new_val=\$ac_env_${ac_var}_value
1676 case $ac_old_set,$ac_new_set in
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1679 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1680 ac_cache_corrupted=: ;;
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1683 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1684 ac_cache_corrupted=: ;;
1687 if test "x$ac_old_val" != "x$ac_new_val"; then
1688 # differences in whitespace do not lead to failure.
1689 ac_old_val_w=`echo x $ac_old_val`
1690 ac_new_val_w=`echo x $ac_new_val`
1691 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1693 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1694 ac_cache_corrupted=:
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1697 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1698 eval $ac_var=\$ac_old_val
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1701 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1703 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1706 # Pass precious variables to config.status.
1707 if test "$ac_new_set" = set; then
1709 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1710 *) ac_arg=$ac_var=$ac_new_val ;;
1712 case " $ac_configure_args " in
1713 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1714 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1718 if $ac_cache_corrupted; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1722 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1723 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1725 ## -------------------- ##
1726 ## Main body of script. ##
1727 ## -------------------- ##
1730 ac_cpp='$CPP $CPPFLAGS'
1731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
1739 if test -f "$ac_dir/install-sh"; then
1741 ac_install_sh="$ac_aux_dir/install-sh -c"
1743 elif test -f "$ac_dir/install.sh"; then
1745 ac_install_sh="$ac_aux_dir/install.sh -c"
1747 elif test -f "$ac_dir/shtool"; then
1749 ac_install_sh="$ac_aux_dir/shtool install -c"
1753 if test -z "$ac_aux_dir"; then
1754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
1757 # These three variables are undocumented and unsupported,
1758 # and are intended to be withdrawn in a future Autoconf release.
1759 # They can cause serious problems if a builder's source tree is in a directory
1760 # whose full name contains unusual characters.
1761 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1762 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1763 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1766 am__api_version='1.15'
1768 # Find a good install program. We prefer a C program (faster),
1769 # so one script is as good as another. But avoid the broken or
1770 # incompatible versions:
1771 # SysV /etc/install, /usr/sbin/install
1772 # SunOS /usr/etc/install
1773 # IRIX /sbin/install
1775 # AmigaOS /C/install, which installs bootblocks on floppy discs
1776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1779 # OS/2's system install, which has a completely different semantic
1780 # ./install, which can be erroneously created by make from ./install.sh.
1781 # Reject install programs that cannot install multiple files.
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1783 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1784 if test -z "$INSTALL"; then
1785 if ${ac_cv_path_install+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 # Account for people who put trailing slashes in PATH elements.
1794 case $as_dir/ in #((
1795 ./ | .// | /[cC]/* | \
1796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1797 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1800 # OSF1 and SCO ODT 3.0 have their own names for install.
1801 # Don't use installbsd from OSF since it installs stuff as root
1803 for ac_prog in ginstall scoinst install; do
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1806 if test $ac_prog = install &&
1807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1808 # AIX install. It has an incompatible calling convention.
1810 elif test $ac_prog = install &&
1811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # program-specific install script used by HP pwplus--don't use.
1815 rm -rf conftest.one conftest.two conftest.dir
1816 echo one > conftest.one
1817 echo two > conftest.two
1819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1820 test -s conftest.one && test -s conftest.two &&
1821 test -s conftest.dir/conftest.one &&
1822 test -s conftest.dir/conftest.two
1824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1837 rm -rf conftest.one conftest.two conftest.dir
1840 if test "${ac_cv_path_install+set}" = set; then
1841 INSTALL=$ac_cv_path_install
1843 # As a last resort, use the slow shell script. Don't cache a
1844 # value for INSTALL within a source directory, because that will
1845 # break other packages using the cache if that directory is
1846 # removed, or if the value is a relative name.
1847 INSTALL=$ac_install_sh
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1851 $as_echo "$INSTALL" >&6; }
1853 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1854 # It thinks the first close brace ends the variable substitution.
1855 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1857 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1859 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1862 $as_echo_n "checking whether build environment is sane... " >&6; }
1863 # Reject unsafe characters in $srcdir or the absolute working directory
1864 # name. Accept space and tab only in the latter.
1868 *[\\\"\#\$\&\'\`$am_lf]*)
1869 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1872 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1873 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1876 # Do 'set' in a subshell so we don't clobber the current shell's
1877 # arguments. Must try -L first in case configure is actually a
1878 # symlink; some systems play weird games with the mod time of symlinks
1879 # (eg FreeBSD returns the mod time of the symlink's containing
1883 for am_try in 1 2; do
1884 echo "timestamp, slept: $am_has_slept" > conftest.file
1885 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1886 if test "$*" = "X"; then
1888 set X `ls -t "$srcdir/configure" conftest.file`
1890 if test "$*" != "X $srcdir/configure conftest.file" \
1891 && test "$*" != "X conftest.file $srcdir/configure"; then
1893 # If neither matched, then we have a broken ls. This can happen
1894 # if, for instance, CONFIG_SHELL is bash and it inherits a
1895 # broken ls alias from the environment. This has actually
1896 # happened. Such a system could not be considered "sane".
1897 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1898 alias in your environment" "$LINENO" 5
1900 if test "$2" = conftest.file || test $am_try -eq 2; then
1907 test "$2" = conftest.file
1913 as_fn_error $? "newly created file is older than distributed files!
1914 Check your system clock" "$LINENO" 5
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1917 $as_echo "yes" >&6; }
1918 # If we didn't sleep, we still need to ensure time stamps of config.status and
1919 # generated files are strictly newer.
1921 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1928 test "$program_prefix" != NONE &&
1929 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1930 # Use a double $ so make ignores it.
1931 test "$program_suffix" != NONE &&
1932 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1933 # Double any \ or $.
1934 # By default was `s,x,x', remove it if useless.
1935 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1936 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1938 # Expand $ac_aux_dir to an absolute path.
1939 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1941 if test x"${MISSING+set}" != xset; then
1944 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1946 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1949 # Use eval to expand $SHELL
1950 if eval "$MISSING --is-lightweight"; then
1951 am_missing_run="$MISSING "
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1955 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1958 if test x"${install_sh+set}" != xset; then
1961 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1963 install_sh="\${SHELL} $am_aux_dir/install-sh"
1967 # Installed binaries are usually stripped using 'strip' when the user
1968 # run "make install-strip". However 'strip' might not be the right
1969 # tool to use in cross-compilation environments, therefore Automake
1970 # will honor the 'STRIP' environment variable to overrule this program.
1971 if test "$cross_compiling" != no; then
1972 if test -n "$ac_tool_prefix"; then
1973 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1974 set dummy ${ac_tool_prefix}strip; ac_word=$2
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1976 $as_echo_n "checking for $ac_word... " >&6; }
1977 if ${ac_cv_prog_STRIP+:} false; then :
1978 $as_echo_n "(cached) " >&6
1980 if test -n "$STRIP"; then
1981 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 STRIP=$ac_cv_prog_STRIP
2001 if test -n "$STRIP"; then
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2003 $as_echo "$STRIP" >&6; }
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2006 $as_echo "no" >&6; }
2011 if test -z "$ac_cv_prog_STRIP"; then
2013 # Extract the first word of "strip", so it can be a program name with args.
2014 set dummy strip; ac_word=$2
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2016 $as_echo_n "checking for $ac_word... " >&6; }
2017 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 if test -n "$ac_ct_STRIP"; then
2021 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_ac_ct_STRIP="strip"
2031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2041 if test -n "$ac_ct_STRIP"; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2043 $as_echo "$ac_ct_STRIP" >&6; }
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2046 $as_echo "no" >&6; }
2049 if test "x$ac_ct_STRIP" = x; then
2052 case $cross_compiling:$ac_tool_warned in
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2056 ac_tool_warned=yes ;;
2061 STRIP="$ac_cv_prog_STRIP"
2065 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2068 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2069 if test -z "$MKDIR_P"; then
2070 if ${ac_cv_path_mkdir+:} false; then :
2071 $as_echo_n "(cached) " >&6
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2077 test -z "$as_dir" && as_dir=.
2078 for ac_prog in mkdir gmkdir; do
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2081 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2082 'mkdir (GNU coreutils) '* | \
2083 'mkdir (coreutils) '* | \
2084 'mkdir (fileutils) '4.1*)
2085 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2095 test -d ./--version && rmdir ./--version
2096 if test "${ac_cv_path_mkdir+set}" = set; then
2097 MKDIR_P="$ac_cv_path_mkdir -p"
2099 # As a last resort, use the slow shell script. Don't cache a
2100 # value for MKDIR_P within a source directory, because that will
2101 # break other packages using the cache if that directory is
2102 # removed, or if the value is a relative name.
2103 MKDIR_P="$ac_install_sh -d"
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2107 $as_echo "$MKDIR_P" >&6; }
2109 for ac_prog in gawk mawk nawk awk
2111 # Extract the first word of "$ac_prog", so it can be a program name with args.
2112 set dummy $ac_prog; ac_word=$2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if ${ac_cv_prog_AWK+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 if test -n "$AWK"; then
2119 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_AWK="$ac_prog"
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 if test -n "$AWK"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2141 $as_echo "$AWK" >&6; }
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2144 $as_echo "no" >&6; }
2148 test -n "$AWK" && break
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2152 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2154 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2155 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2156 $as_echo_n "(cached) " >&6
2158 cat >conftest.make <<\_ACEOF
2161 @echo '@@@%%%=$(MAKE)=@@@%%%'
2163 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2164 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2166 eval ac_cv_prog_make_${ac_make}_set=yes;;
2168 eval ac_cv_prog_make_${ac_make}_set=no;;
2172 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2174 $as_echo "yes" >&6; }
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2178 $as_echo "no" >&6; }
2179 SET_MAKE="MAKE=${MAKE-make}"
2182 rm -rf .tst 2>/dev/null
2183 mkdir .tst 2>/dev/null
2184 if test -d .tst; then
2189 rmdir .tst 2>/dev/null
2191 # Check whether --enable-silent-rules was given.
2192 if test "${enable_silent_rules+set}" = set; then :
2193 enableval=$enable_silent_rules;
2196 case $enable_silent_rules in # (((
2197 yes) AM_DEFAULT_VERBOSITY=0;;
2198 no) AM_DEFAULT_VERBOSITY=1;;
2199 *) AM_DEFAULT_VERBOSITY=1;;
2201 am_make=${MAKE-make}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2203 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2204 if ${am_cv_make_support_nested_variables+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 if $as_echo 'TRUE=$(BAR$(V))
2213 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2214 am_cv_make_support_nested_variables=yes
2216 am_cv_make_support_nested_variables=no
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2220 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2221 if test $am_cv_make_support_nested_variables = yes; then
2223 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2225 AM_V=$AM_DEFAULT_VERBOSITY
2226 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2230 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2231 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2232 # is not polluted with repeated "-I."
2233 am__isrc=' -I$(srcdir)'
2234 # test to see if srcdir already configured
2235 if test -f $srcdir/config.status; then
2236 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2240 # test whether we have cygpath
2241 if test -z "$CYGPATH_W"; then
2242 if (cygpath --version) >/dev/null 2>/dev/null; then
2243 CYGPATH_W='cygpath -w'
2250 # Define the identity of the package.
2251 PACKAGE='gettext-examples'
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE "$PACKAGE"
2260 cat >>confdefs.h <<_ACEOF
2261 #define VERSION "$VERSION"
2264 # Some tools Automake needs.
2266 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2269 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2272 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2275 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2278 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2280 # For better backward compatibility. To be removed once Automake 1.9.x
2281 # dies out for good. For more background, see:
2282 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2283 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2284 mkdir_p='$(MKDIR_P)'
2286 # We need awk for the "check" target (and possibly the TAP driver). The
2287 # system "awk" is bad on some platforms.
2288 # Always define AMTAR for backward compatibility. Yes, it's still used
2289 # in the wild :-( We should find a proper way to deprecate it ...
2293 # We'll loop over all known methods to create a tar archive until one works.
2294 _am_tools='gnutar pax cpio none'
2296 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2303 # POSIX will say in a future version that running "rm -f" with no argument
2304 # is OK; and we want to be able to make that assumption in our Makefile
2305 # recipes. So use an aggressive probe to check that the usage we want is
2306 # actually supported "in the wild" to an acceptable degree.
2307 # See automake bug#10828.
2308 # To make any issue more visible, cause the running configure to be aborted
2309 # by default if the 'rm' program in use doesn't match our expectations; the
2310 # user can still override this though.
2311 if rm -f && rm -fr && rm -rf; then : OK; else
2315 Your 'rm' program seems unable to run without file operands specified
2316 on the command line, even when the '-f' option is present. This is contrary
2317 to the behaviour of most rm programs out there, and not conforming with
2318 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2320 Please tell bug-automake@gnu.org about your system, including the value
2321 of your $PATH and any error possibly output before this message. This
2322 can help us improve future automake versions.
2325 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2326 echo 'Configuration will proceed anyway, since you have set the' >&2
2327 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2331 Aborting the configuration process, to ensure you take notice of the issue.
2333 You can download and install GNU coreutils to get an 'rm' implementation
2334 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2336 If you want to complete the configuration process using your problematic
2337 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2338 to "yes", and re-run configure.
2341 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2346 test "$docdir" != '${datarootdir}/doc/${PACKAGE_TARNAME}' || docdir='${datarootdir}/doc/gettext'
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2349 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2350 if ${ac_cv_path_SED+:} false; then :
2351 $as_echo_n "(cached) " >&6
2353 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2354 for ac_i in 1 2 3 4 5 6 7; do
2355 ac_script="$ac_script$as_nl$ac_script"
2357 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2358 { ac_script=; unset ac_script;}
2359 if test -z "$SED"; then
2360 ac_path_SED_found=false
2361 # Loop through the user's path and test for each of PROGNAME-LIST
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_prog in sed gsed; do
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2370 as_fn_executable_p "$ac_path_SED" || continue
2371 # Check for GNU ac_path_SED and select it if it is found.
2372 # Check for GNU $ac_path_SED
2373 case `"$ac_path_SED" --version 2>&1` in
2375 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2378 $as_echo_n 0123456789 >"conftest.in"
2381 cat "conftest.in" "conftest.in" >"conftest.tmp"
2382 mv "conftest.tmp" "conftest.in"
2383 cp "conftest.in" "conftest.nl"
2384 $as_echo '' >> "conftest.nl"
2385 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2387 as_fn_arith $ac_count + 1 && ac_count=$as_val
2388 if test $ac_count -gt ${ac_path_SED_max-0}; then
2389 # Best one so far, save it but keep looking for a better one
2390 ac_cv_path_SED="$ac_path_SED"
2391 ac_path_SED_max=$ac_count
2393 # 10*(2^10) chars as input seems more than enough
2394 test $ac_count -gt 10 && break
2396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2399 $ac_path_SED_found && break 3
2404 if test -z "$ac_cv_path_SED"; then
2405 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2413 $as_echo "$ac_cv_path_SED" >&6; }
2414 SED="$ac_cv_path_SED"
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2419 $as_echo_n "checking whether NLS is requested... " >&6; }
2420 # Check whether --enable-nls was given.
2421 if test "${enable_nls+set}" = set; then :
2422 enableval=$enable_nls; USE_NLS=$enableval
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2428 $as_echo "$USE_NLS" >&6; }
2433 GETTEXT_MACRO_VERSION=0.19
2438 # Prepare PATH_SEPARATOR.
2439 # The user is always right.
2440 if test "${PATH_SEPARATOR+set}" != set; then
2441 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2442 # contains only /bin. Note that ksh looks also at the FPATH variable,
2443 # so we have to set that as well for the test.
2445 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2446 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2447 || PATH_SEPARATOR=';'
2451 # Find out how to test for executable files. Don't use a zero-byte file,
2452 # as systems may use methods other than mode bits to determine executability.
2453 cat >conf$$.file <<_ASEOF
2457 chmod +x conf$$.file
2458 if test -x conf$$.file >/dev/null 2>&1; then
2459 ac_executable_p="test -x"
2461 ac_executable_p="test -f"
2465 # Extract the first word of "msgfmt", so it can be a program name with args.
2466 set dummy msgfmt; ac_word=$2
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if ${ac_cv_path_MSGFMT+:} false; then :
2470 $as_echo_n "(cached) " >&6
2474 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2477 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2478 for ac_dir in $PATH; do
2480 test -z "$ac_dir" && ac_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2483 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2484 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2485 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2486 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2493 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2497 MSGFMT="$ac_cv_path_MSGFMT"
2498 if test "$MSGFMT" != ":"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2500 $as_echo "$MSGFMT" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2506 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2507 set dummy gmsgfmt; ac_word=$2
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509 $as_echo_n "checking for $ac_word... " >&6; }
2510 if ${ac_cv_path_GMSGFMT+:} false; then :
2511 $as_echo_n "(cached) " >&6
2515 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir=.
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2525 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2537 GMSGFMT=$ac_cv_path_GMSGFMT
2538 if test -n "$GMSGFMT"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2540 $as_echo "$GMSGFMT" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2548 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2549 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2550 *) MSGFMT_015=$MSGFMT ;;
2553 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2554 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2555 *) GMSGFMT_015=$GMSGFMT ;;
2560 # Prepare PATH_SEPARATOR.
2561 # The user is always right.
2562 if test "${PATH_SEPARATOR+set}" != set; then
2563 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2564 # contains only /bin. Note that ksh looks also at the FPATH variable,
2565 # so we have to set that as well for the test.
2567 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2568 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2569 || PATH_SEPARATOR=';'
2573 # Find out how to test for executable files. Don't use a zero-byte file,
2574 # as systems may use methods other than mode bits to determine executability.
2575 cat >conf$$.file <<_ASEOF
2579 chmod +x conf$$.file
2580 if test -x conf$$.file >/dev/null 2>&1; then
2581 ac_executable_p="test -x"
2583 ac_executable_p="test -f"
2587 # Extract the first word of "xgettext", so it can be a program name with args.
2588 set dummy xgettext; ac_word=$2
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if ${ac_cv_path_XGETTEXT+:} false; then :
2592 $as_echo_n "(cached) " >&6
2596 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2599 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2600 for ac_dir in $PATH; do
2602 test -z "$ac_dir" && ac_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2605 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2606 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2607 (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
2608 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2615 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2619 XGETTEXT="$ac_cv_path_XGETTEXT"
2620 if test "$XGETTEXT" != ":"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
2622 $as_echo "$XGETTEXT" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2630 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2631 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2632 *) XGETTEXT_015=$XGETTEXT ;;
2637 # Prepare PATH_SEPARATOR.
2638 # The user is always right.
2639 if test "${PATH_SEPARATOR+set}" != set; then
2640 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2641 # contains only /bin. Note that ksh looks also at the FPATH variable,
2642 # so we have to set that as well for the test.
2644 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2645 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2646 || PATH_SEPARATOR=';'
2650 # Find out how to test for executable files. Don't use a zero-byte file,
2651 # as systems may use methods other than mode bits to determine executability.
2652 cat >conf$$.file <<_ASEOF
2656 chmod +x conf$$.file
2657 if test -x conf$$.file >/dev/null 2>&1; then
2658 ac_executable_p="test -x"
2660 ac_executable_p="test -f"
2664 # Extract the first word of "msgmerge", so it can be a program name with args.
2665 set dummy msgmerge; ac_word=$2
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if ${ac_cv_path_MSGMERGE+:} false; then :
2669 $as_echo_n "(cached) " >&6
2673 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2676 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2677 for ac_dir in $PATH; do
2679 test -z "$ac_dir" && ac_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2682 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2683 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2684 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2691 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2695 MSGMERGE="$ac_cv_path_MSGMERGE"
2696 if test "$MSGMERGE" != ":"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
2698 $as_echo "$MSGMERGE" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2705 test -n "$localedir" || localedir='${datadir}/locale'
2708 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
2711 ac_config_commands="$ac_config_commands po-directories"
2715 aclocaldir='${datadir}/aclocal'
2718 ac_config_files="$ac_config_files Makefile"
2720 ac_config_files="$ac_config_files installpaths"
2722 ac_config_files="$ac_config_files po/Makefile"
2725 cat >confcache <<\_ACEOF
2726 # This file is a shell script that caches the results of configure
2727 # tests run on this system so they can be shared between configure
2728 # scripts and configure runs, see configure's option --config-cache.
2729 # It is not useful on other systems. If it contains results you don't
2730 # want to keep, you may remove or edit it.
2732 # config.status only pays attention to the cache file if you give it
2733 # the --recheck option to rerun configure.
2735 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2736 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2741 # The following way of writing the cache mishandles newlines in values,
2742 # but we know of no workaround that is simple, portable, and efficient.
2743 # So, we kill variables containing newlines.
2744 # Ultrix sh set writes to stderr and can't be redirected directly,
2745 # and sets the high bit in the cache file unless we assign to the vars.
2747 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2748 eval ac_val=\$$ac_var
2752 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2753 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2756 _ | IFS | as_nl) ;; #(
2757 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2758 *) { eval $ac_var=; unset $ac_var;} ;;
2764 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2765 *${as_nl}ac_space=\ *)
2766 # `set' does not quote correctly, so add quotes: double-quote
2767 # substitution turns \\\\ into \\, and sed turns \\ into \.
2770 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2773 # `set' quotes correctly as required by POSIX, so do not add quotes.
2774 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2785 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2787 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2788 if test -w "$cache_file"; then
2789 if test "x$cache_file" != "x/dev/null"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2791 $as_echo "$as_me: updating cache $cache_file" >&6;}
2792 if test ! -f "$cache_file" || test -h "$cache_file"; then
2793 cat confcache >"$cache_file"
2795 case $cache_file in #(
2797 mv -f confcache "$cache_file"$$ &&
2798 mv -f "$cache_file"$$ "$cache_file" ;; #(
2800 mv -f confcache "$cache_file" ;;
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2806 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2811 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2812 # Let make expand exec_prefix.
2813 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2815 # Transform confdefs.h into DEFS.
2816 # Protect against shell expansion while executing Makefile rules.
2817 # Protect against Makefile macro expansion.
2819 # If the first sed substitution is executed (which looks for macros that
2820 # take arguments), then branch to the quote section. Otherwise,
2821 # look for a macro that doesn't take arguments.
2831 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2833 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2837 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2850 DEFS=`sed -n "$ac_script" confdefs.h`
2856 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2857 # 1. Remove the extension, and $U if already installed.
2858 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2859 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2860 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2861 # will be set to the directory where LIBOBJS objects are built.
2862 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2863 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2867 LTLIBOBJS=$ac_ltlibobjs
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2871 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2872 if test -n "$am_sleep_pid"; then
2873 # Hide warnings about reused PIDs.
2874 wait $am_sleep_pid 2>/dev/null
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2877 $as_echo "done" >&6; }
2880 : "${CONFIG_STATUS=./config.status}"
2882 ac_clean_files_save=$ac_clean_files
2883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2885 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2887 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2889 # Generated by $as_me.
2890 # Run this file to recreate the current configuration.
2891 # Compiler output produced by configure, useful for debugging
2892 # configure, is in config.log if it exists.
2898 SHELL=\${CONFIG_SHELL-$SHELL}
2901 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2902 ## -------------------- ##
2903 ## M4sh Initialization. ##
2904 ## -------------------- ##
2906 # Be more Bourne compatible
2907 DUALCASE=1; export DUALCASE # for MKS sh
2908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2911 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2912 # is contrary to our usage. Disable this feature.
2913 alias -g '${1+"$@"}'='"$@"'
2914 setopt NO_GLOB_SUBST
2916 case `(set -o) 2>/dev/null` in #(
2928 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2929 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2930 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2931 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2932 # Prefer a ksh shell builtin over an external printf program on Solaris,
2933 # but without wasting forks for bash or zsh.
2934 if test -z "$BASH_VERSION$ZSH_VERSION" \
2935 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2936 as_echo='print -r --'
2937 as_echo_n='print -rn --'
2938 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2939 as_echo='printf %s\n'
2940 as_echo_n='printf %s'
2942 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2943 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2944 as_echo_n='/usr/ucb/echo -n'
2946 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2947 as_echo_n_body='eval
2951 expr "X$arg" : "X\\(.*\\)$as_nl";
2952 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2954 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2956 export as_echo_n_body
2957 as_echo_n='sh -c $as_echo_n_body as_echo'
2960 as_echo='sh -c $as_echo_body as_echo'
2963 # The user is always right.
2964 if test "${PATH_SEPARATOR+set}" != set; then
2966 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2967 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2974 # We need space, tab and new line, in precisely that order. Quoting is
2975 # there to prevent editors from complaining about space-tab.
2976 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2977 # splitting by setting IFS to empty value.)
2980 # Find who we are. Look in the path if we contain no directory separator.
2983 *[\\/]* ) as_myself=$0 ;;
2984 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 test -z "$as_dir" && as_dir=.
2989 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2995 # We did not find ourselves, most probably we were run as `sh COMMAND'
2996 # in which case we are not to be found in the path.
2997 if test "x$as_myself" = x; then
3000 if test ! -f "$as_myself"; then
3001 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3005 # Unset variables that we do not need and which cause bugs (e.g. in
3006 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3007 # suppresses any "Segmentation fault" message there. '((' could
3008 # trigger a bug in pdksh 5.2.14.
3009 for as_var in BASH_ENV ENV MAIL MAILPATH
3010 do eval test x\${$as_var+set} = xset \
3011 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3024 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3027 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3028 # ----------------------------------------
3029 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3030 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3031 # script with STATUS, using 1 if that was 0.
3034 as_status=$1; test $as_status -eq 0 && as_status=1
3036 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3039 $as_echo "$as_me: error: $2" >&2
3040 as_fn_exit $as_status
3044 # as_fn_set_status STATUS
3045 # -----------------------
3046 # Set $? to STATUS, without forking.
3050 } # as_fn_set_status
3054 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3064 # Portably unset VAR.
3067 { eval $1=; unset $1;}
3069 as_unset=as_fn_unset
3070 # as_fn_append VAR VALUE
3071 # ----------------------
3072 # Append the text in VALUE to the end of the definition contained in VAR. Take
3073 # advantage of any shell optimizations that allow amortized linear growth over
3074 # repeated appends, instead of the typical quadratic growth present in naive
3076 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3077 eval 'as_fn_append ()
3088 # as_fn_arith ARG...
3089 # ------------------
3090 # Perform arithmetic evaluation on the ARGs, and store the result in the
3091 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3092 # must be portable across $(()) and expr.
3093 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3094 eval 'as_fn_arith ()
3101 as_val=`expr "$@" || test $? -eq 1`
3106 if expr a : '\(a\)' >/dev/null 2>&1 &&
3107 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3113 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3114 as_basename=basename
3119 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3125 as_me=`$as_basename -- "$0" ||
3126 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3127 X"$0" : 'X\(//\)$' \| \
3128 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3130 sed '/^.*\/\([^/][^/]*\)\/*$/{
3144 # Avoid depending upon Character Ranges.
3145 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3146 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3147 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3148 as_cr_digits='0123456789'
3149 as_cr_alnum=$as_cr_Letters$as_cr_digits
3151 ECHO_C= ECHO_N= ECHO_T=
3152 case `echo -n x` in #(((((
3154 case `echo 'xy\c'` in
3155 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3157 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3164 rm -f conf$$ conf$$.exe conf$$.file
3165 if test -d conf$$.dir; then
3166 rm -f conf$$.dir/conf$$.file
3169 mkdir conf$$.dir 2>/dev/null
3171 if (echo >conf$$.file) 2>/dev/null; then
3172 if ln -s conf$$.file conf$$ 2>/dev/null; then
3174 # ... but there are two gotchas:
3175 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3176 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3177 # In both cases, we have to default to `cp -pR'.
3178 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3180 elif ln conf$$.file conf$$ 2>/dev/null; then
3188 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3189 rmdir conf$$.dir 2>/dev/null
3194 # Create "$as_dir" as a directory, including parents if necessary.
3199 -*) as_dir=./$as_dir;;
3201 test -d "$as_dir" || eval $as_mkdir_p || {
3205 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3206 *) as_qdir=$as_dir;;
3208 as_dirs="'$as_qdir' $as_dirs"
3209 as_dir=`$as_dirname -- "$as_dir" ||
3210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3211 X"$as_dir" : 'X\(//\)[^/]' \| \
3212 X"$as_dir" : 'X\(//\)$' \| \
3213 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3214 $as_echo X"$as_dir" |
3215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3232 test -d "$as_dir" && break
3234 test -z "$as_dirs" || eval "mkdir $as_dirs"
3235 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3239 if mkdir -p . 2>/dev/null; then
3240 as_mkdir_p='mkdir -p "$as_dir"'
3242 test -d ./-p && rmdir ./-p
3247 # as_fn_executable_p FILE
3248 # -----------------------
3249 # Test if FILE is an executable regular file.
3250 as_fn_executable_p ()
3252 test -f "$1" && test -x "$1"
3253 } # as_fn_executable_p
3255 as_executable_p=as_fn_executable_p
3257 # Sed expression to map a string onto a valid CPP name.
3258 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3260 # Sed expression to map a string onto a valid variable name.
3261 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3265 ## ----------------------------------- ##
3266 ## Main body of $CONFIG_STATUS script. ##
3267 ## ----------------------------------- ##
3269 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3272 # Save the log message, to keep $0 and so on meaningful, and to
3273 # report actual input values of CONFIG_FILES etc. instead of their
3274 # values after options handling.
3276 This file was extended by gettext-examples $as_me 0.19.8.1, which was
3277 generated by GNU Autoconf 2.69. Invocation command line was
3279 CONFIG_FILES = $CONFIG_FILES
3280 CONFIG_HEADERS = $CONFIG_HEADERS
3281 CONFIG_LINKS = $CONFIG_LINKS
3282 CONFIG_COMMANDS = $CONFIG_COMMANDS
3285 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3290 case $ac_config_files in *"
3291 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3297 # Files that config.status was made for.
3298 config_files="$ac_config_files"
3299 config_commands="$ac_config_commands"
3303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3305 \`$as_me' instantiates files and other configuration actions
3306 from templates according to the current configuration. Unless the files
3307 and actions are specified as TAGs, all are instantiated by default.
3309 Usage: $0 [OPTION]... [TAG]...
3311 -h, --help print this help, then exit
3312 -V, --version print version number and configuration settings, then exit
3313 --config print configuration, then exit
3314 -q, --quiet, --silent
3315 do not print progress messages
3316 -d, --debug don't remove temporary files
3317 --recheck update $as_me by reconfiguring in the same conditions
3318 --file=FILE[:TEMPLATE]
3319 instantiate the configuration file FILE
3321 Configuration files:
3324 Configuration commands:
3327 Report bugs to <bug-gnu-gettext@gnu.org>."
3330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3331 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3333 gettext-examples config.status 0.19.8.1
3334 configured by $0, generated by GNU Autoconf 2.69,
3335 with options \\"\$ac_cs_config\\"
3337 Copyright (C) 2012 Free Software Foundation, Inc.
3338 This config.status script is free software; the Free Software Foundation
3339 gives unlimited permission to copy, distribute and modify it."
3346 test -n "\$AWK" || AWK=awk
3349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3350 # The default lists apply if the user does not specify any file.
3356 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3357 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3361 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3373 # Handling of the options.
3374 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3376 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3377 $as_echo "$ac_cs_version"; exit ;;
3378 --config | --confi | --conf | --con | --co | --c )
3379 $as_echo "$ac_cs_config"; exit ;;
3380 --debug | --debu | --deb | --de | --d | -d )
3382 --file | --fil | --fi | --f )
3385 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3386 '') as_fn_error $? "missing file argument" ;;
3388 as_fn_append CONFIG_FILES " '$ac_optarg'"
3389 ac_need_defaults=false;;
3390 --he | --h | --help | --hel | -h )
3391 $as_echo "$ac_cs_usage"; exit ;;
3392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3393 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3397 -*) as_fn_error $? "unrecognized option: \`$1'
3398 Try \`$0 --help' for more information." ;;
3400 *) as_fn_append ac_config_targets " $1"
3401 ac_need_defaults=false ;;
3407 ac_configure_extra_args=
3409 if $ac_cs_silent; then
3411 ac_configure_extra_args="$ac_configure_extra_args --silent"
3415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3416 if \$ac_cs_recheck; then
3417 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3419 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3420 CONFIG_SHELL='$SHELL'
3426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3431 ## Running $as_me. ##
3437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3441 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
3442 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
3443 # from automake < 1.5.
3444 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
3445 # Capture the value of LINGUAS because we need it to compute CATALOGS.
3446 LINGUAS="${LINGUAS-%UNSET%}"
3451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3453 # Handling of arguments.
3454 for ac_config_target in $ac_config_targets
3456 case $ac_config_target in
3457 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
3458 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3459 "installpaths") CONFIG_FILES="$CONFIG_FILES installpaths" ;;
3460 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
3462 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3467 # If the user did not use the arguments to specify the items to instantiate,
3468 # then the envvar interface is used. Set only those that are not.
3469 # We use the long form for the default assignment because of an extremely
3470 # bizarre bug on SunOS 4.1.3.
3471 if $ac_need_defaults; then
3472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3473 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3476 # Have a temporary directory for convenience. Make it in the build tree
3477 # simply because there is no reason against having it here, and in addition,
3478 # creating and moving files from /tmp can sometimes cause problems.
3479 # Hook for its removal unless debugging.
3480 # Note that there is a small window in which the directory will not be cleaned:
3481 # after its creation but before its name has been assigned to `$tmp'.
3485 trap 'exit_status=$?
3487 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3489 trap 'as_fn_exit 1' 1 2 13 15
3491 # Create a (secure) tmp directory for tmp files.
3494 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3498 tmp=./conf$$-$RANDOM
3499 (umask 077 && mkdir "$tmp")
3500 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3503 # Set up the scripts for CONFIG_FILES section.
3504 # No need to generate them if there are no CONFIG_FILES.
3505 # This happens for instance with `./config.status config.h'.
3506 if test -n "$CONFIG_FILES"; then
3509 ac_cr=`echo X | tr X '\015'`
3510 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3511 # But we know of no other shell where ac_cr would be empty at this
3512 # point, so we can use a bashism as a fallback.
3513 if test "x$ac_cr" = x; then
3514 eval ac_cr=\$\'\\r\'
3516 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3517 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3523 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3528 echo "cat >conf$$subs.awk <<_ACEOF" &&
3529 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3532 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3533 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3535 for ac_last_try in false false false false false :; do
3536 . ./conf$$subs.sh ||
3537 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3539 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3540 if test $ac_delim_n = $ac_delim_num; then
3542 elif $ac_last_try; then
3543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3551 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3555 s/^/S["/; s/!.*/"]=/
3565 s/\(.\{148\}\)..*/\1/
3567 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3572 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3579 s/\(.\{148\}\)..*/\1/
3581 s/["\\]/\\&/g; s/^/"/; s/$/"/
3585 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3590 ' <conf$$subs.awk | sed '
3595 ' >>$CONFIG_STATUS || ac_write_fail=1
3596 rm -f conf$$subs.awk
3597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3599 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3600 for (key in S) S_is_set[key] = 1
3606 nfields = split(line, field, "@")
3608 len = length(field[1])
3609 for (i = 2; i < nfields; i++) {
3611 keylen = length(key)
3612 if (S_is_set[key]) {
3614 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3615 len += length(value) + length(field[++i])
3626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3627 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3628 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3631 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3632 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3635 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3636 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3637 # trailing colons and then remove the whole line if VPATH becomes empty
3638 # (actually we leave an empty line to preserve line numbers).
3639 if test "x$srcdir" = x.; then
3640 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3659 fi # test -n "$CONFIG_FILES"
3662 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3667 :[FHLC]) ac_mode=$ac_tag; continue;;
3669 case $ac_mode$ac_tag in
3671 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3672 :[FH]-) ac_tag=-:-;;
3673 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3690 -) ac_f="$ac_tmp/stdin";;
3691 *) # Look for the file first in the build tree, then in the source tree
3692 # (if the path is not absolute). The absolute path cannot be DOS-style,
3693 # because $ac_f cannot contain `:'.
3697 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3699 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3701 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3702 as_fn_append ac_file_inputs " '$ac_f'"
3705 # Let's still pretend it is `configure' which instantiates (i.e., don't
3706 # use $as_me), people would be surprised to read:
3707 # /* config.h. Generated by config.status. */
3708 configure_input='Generated from '`
3709 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3711 if test x"$ac_file" != x-; then
3712 configure_input="$ac_file. $configure_input"
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3714 $as_echo "$as_me: creating $ac_file" >&6;}
3716 # Neutralize special characters interpreted by sed in replacement strings.
3717 case $configure_input in #(
3718 *\&* | *\|* | *\\* )
3719 ac_sed_conf_input=`$as_echo "$configure_input" |
3720 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3721 *) ac_sed_conf_input=$configure_input;;
3725 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3731 ac_dir=`$as_dirname -- "$ac_file" ||
3732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3733 X"$ac_file" : 'X\(//\)[^/]' \| \
3734 X"$ac_file" : 'X\(//\)$' \| \
3735 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3736 $as_echo X"$ac_file" |
3737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3754 as_dir="$ac_dir"; as_fn_mkdir_p
3758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3760 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3761 # A ".." for each directory in $ac_dir_suffix.
3762 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3763 case $ac_top_builddir_sub in
3764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3768 ac_abs_top_builddir=$ac_pwd
3769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3770 # for backward compatibility:
3771 ac_top_builddir=$ac_top_build_prefix
3774 .) # We are building in place.
3776 ac_top_srcdir=$ac_top_builddir_sub
3777 ac_abs_top_srcdir=$ac_pwd ;;
3778 [\\/]* | ?:[\\/]* ) # Absolute name.
3779 ac_srcdir=$srcdir$ac_dir_suffix;
3780 ac_top_srcdir=$srcdir
3781 ac_abs_top_srcdir=$srcdir ;;
3783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3784 ac_top_srcdir=$ac_top_build_prefix$srcdir
3785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3797 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3798 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3802 [\\/$]* | ?:[\\/]* ) ;;
3803 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3808 # If the template does not know about datarootdir, expand it.
3809 # FIXME: This hack should be removed a few years after 2.60.
3810 ac_datarootdir_hack=; ac_datarootdir_seen=
3821 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3822 *datarootdir*) ac_datarootdir_seen=yes;;
3823 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3825 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3828 ac_datarootdir_hack='
3829 s&@datadir@&$datadir&g
3830 s&@docdir@&$docdir&g
3831 s&@infodir@&$infodir&g
3832 s&@localedir@&$localedir&g
3833 s&@mandir@&$mandir&g
3834 s&\\\${datarootdir}&$datarootdir&g' ;;
3838 # Neutralize VPATH when `$srcdir' = `.'.
3839 # Shell code in configure.ac might set extrasub.
3840 # FIXME: do we really want to maintain this feature?
3841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842 ac_sed_extra="$ac_vpsub
3845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3847 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3848 s|@configure_input@|$ac_sed_conf_input|;t t
3849 s&@top_builddir@&$ac_top_builddir_sub&;t t
3850 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3851 s&@srcdir@&$ac_srcdir&;t t
3852 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3853 s&@top_srcdir@&$ac_top_srcdir&;t t
3854 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3855 s&@builddir@&$ac_builddir&;t t
3856 s&@abs_builddir@&$ac_abs_builddir&;t t
3857 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3858 s&@INSTALL@&$ac_INSTALL&;t t
3859 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3860 $ac_datarootdir_hack
3862 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3863 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3865 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3866 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3867 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3868 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3870 which seems to be undefined. Please make sure it is defined" >&5
3871 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3872 which seems to be undefined. Please make sure it is defined" >&2;}
3874 rm -f "$ac_tmp/stdin"
3876 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3877 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3879 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3883 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3884 $as_echo "$as_me: executing $ac_file commands" >&6;}
3889 case $ac_file$ac_mode in
3891 for ac_file in $CONFIG_FILES; do
3892 # Support "outfile[:infile[:infile...]]"
3894 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3896 # PO directories have a Makefile.in generated from Makefile.in.in.
3897 case "$ac_file" in */Makefile.in)
3898 # Adjust a relative srcdir.
3899 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3900 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
3901 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3902 # In autoconf-2.13 it is called $ac_given_srcdir.
3903 # In autoconf-2.50 it is called $srcdir.
3904 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3905 case "$ac_given_srcdir" in
3906 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3907 /*) top_srcdir="$ac_given_srcdir" ;;
3908 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3910 # Treat a directory as a PO directory if and only if it has a
3911 # POTFILES.in file. This allows packages to have multiple PO
3912 # directories under different names or in different locations.
3913 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3914 rm -f "$ac_dir/POTFILES"
3915 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3916 gt_tab=`printf '\t'`
3917 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3918 POMAKEFILEDEPS="POTFILES.in"
3919 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3920 # on $ac_dir but don't depend on user-specified configuration
3922 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3923 # The LINGUAS file contains the set of available languages.
3924 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3925 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3927 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3928 # Hide the ALL_LINGUAS assignment from automake < 1.5.
3929 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3930 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3932 # The set of available languages was given in configure.in.
3933 # Hide the ALL_LINGUAS assignment from automake < 1.5.
3934 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
3937 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3938 # Compute UPDATEPOFILES
3939 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3940 # Compute DUMMYPOFILES
3941 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3943 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3944 case "$ac_given_srcdir" in
3946 *) srcdirpre='$(srcdir)/' ;;
3952 for lang in $ALL_LINGUAS; do
3953 POFILES="$POFILES $srcdirpre$lang.po"
3954 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3955 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3956 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3958 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3959 # environment variable.
3961 if test -n "$ALL_LINGUAS"; then
3962 for presentlang in $ALL_LINGUAS; do
3964 if test "%UNSET%" != "$LINGUAS"; then
3965 desiredlanguages="$LINGUAS"
3967 desiredlanguages="$ALL_LINGUAS"
3969 for desiredlang in $desiredlanguages; do
3970 # Use the presentlang catalog if desiredlang is
3971 # a. equal to presentlang, or
3972 # b. a variant of presentlang (because in this case,
3973 # presentlang can be used as a fallback for messages
3974 # which are not translated in the desiredlang catalog).
3975 case "$desiredlang" in
3976 "$presentlang"*) useit=yes;;
3979 if test $useit = yes; then
3980 INST_LINGUAS="$INST_LINGUAS $presentlang"
3985 if test -n "$INST_LINGUAS"; then
3986 for lang in $INST_LINGUAS; do
3987 CATALOGS="$CATALOGS $lang.gmo"
3990 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3991 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"
3992 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3993 if test -f "$f"; then
3995 *.orig | *.bak | *~) ;;
3996 *) cat "$f" >> "$ac_dir/Makefile" ;;
4005 sed_script='/mkdir "*\$(distdir)"*$/{a\
4008 sed -e "$sed_script" < $ac_file > $ac_file.tmp
4009 mv $ac_file.tmp $ac_file
4012 # When this code is run, in config.status, two variables have already been
4014 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
4015 # - LINGUAS is the value of the environment variable LINGUAS at configure
4018 # Adjust a relative srcdir.
4019 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
4020 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
4021 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
4022 # In autoconf-2.13 it is called $ac_given_srcdir.
4023 # In autoconf-2.50 it is called $srcdir.
4024 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4025 case "$ac_given_srcdir" in
4026 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
4027 /*) top_srcdir="$ac_given_srcdir" ;;
4028 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
4031 # Find a way to echo strings without interpreting backslash.
4032 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
4035 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
4036 gt_echo='printf %s\n'
4047 # A sed script that extracts the value of VARIABLE from a Makefile.
4050 # Test if the hold space is empty.
4055 # Yes it was empty. Look if we have the expected variable definition.
4056 /^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
4057 # Seen the first line of the variable definition.
4058 s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
4063 # Here we are processing a line from the variable definition.
4064 # Remove comment, more precisely replace it with a space.
4066 # See if the line ends in a backslash.
4070 # Print the line, without the trailing backslash.
4073 # There was no trailing backslash. The end of the variable definition is
4074 # reached. Clear the hold space.
4079 # A trailing backslash means that the variable definition continues in the
4080 # next line. Put a nonempty string into the hold space to indicate this.
4086 # Set POTFILES to the value of the Makefile variable POTFILES.
4087 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
4088 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
4089 # Compute POTFILES_DEPS as
4090 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
4092 for file in $POTFILES; do
4093 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
4097 if test -n "$OBSOLETE_ALL_LINGUAS"; then
4098 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
4100 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
4101 # The LINGUAS file contains the set of available languages.
4102 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
4103 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
4105 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
4106 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
4107 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
4109 # Hide the ALL_LINGUAS assignment from automake < 1.5.
4110 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
4112 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
4113 # Compute UPDATEPOFILES
4114 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
4115 # Compute DUMMYPOFILES
4116 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
4118 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4119 # Compute PROPERTIESFILES
4120 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
4121 # Compute CLASSFILES
4122 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
4124 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
4126 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
4127 # Compute RESOURCESDLLFILES
4128 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
4129 case "$ac_given_srcdir" in
4131 *) srcdirpre='$(srcdir)/' ;;
4142 for lang in $ALL_LINGUAS; do
4143 POFILES="$POFILES $srcdirpre$lang.po"
4144 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
4145 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
4146 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
4147 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
4148 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
4149 QMFILES="$QMFILES $srcdirpre$lang.qm"
4150 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4151 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
4152 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
4153 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
4155 # CATALOGS depends on both $ac_dir and the user's LINGUAS
4156 # environment variable.
4158 if test -n "$ALL_LINGUAS"; then
4159 for presentlang in $ALL_LINGUAS; do
4161 if test "%UNSET%" != "$LINGUAS"; then
4162 desiredlanguages="$LINGUAS"
4164 desiredlanguages="$ALL_LINGUAS"
4166 for desiredlang in $desiredlanguages; do
4167 # Use the presentlang catalog if desiredlang is
4168 # a. equal to presentlang, or
4169 # b. a variant of presentlang (because in this case,
4170 # presentlang can be used as a fallback for messages
4171 # which are not translated in the desiredlang catalog).
4172 case "$desiredlang" in
4173 "$presentlang"*) useit=yes;;
4176 if test $useit = yes; then
4177 INST_LINGUAS="$INST_LINGUAS $presentlang"
4186 if test -n "$INST_LINGUAS"; then
4187 for lang in $INST_LINGUAS; do
4188 CATALOGS="$CATALOGS $lang.gmo"
4189 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
4190 QTCATALOGS="$QTCATALOGS $lang.qm"
4191 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4192 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
4193 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
4194 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
4198 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
4200 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
4201 # Add dependencies that cannot be formulated as a simple suffix rule.
4202 for lang in $ALL_LINGUAS; do
4203 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4204 cat >> "$ac_file.tmp" <<EOF
4205 $frobbedlang.msg: $lang.po
4206 ${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
4207 ${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4211 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
4212 # Add dependencies that cannot be formulated as a simple suffix rule.
4213 for lang in $ALL_LINGUAS; do
4214 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
4215 cat >> "$ac_file.tmp" <<EOF
4216 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
4217 ${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
4218 ${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4222 if test -n "$POMAKEFILEDEPS"; then
4223 cat >> "$ac_file.tmp" <<EOF
4224 Makefile: $POMAKEFILEDEPS
4227 mv "$ac_file.tmp" "$ac_file"
4236 ac_clean_files=$ac_clean_files_save
4238 test $ac_write_fail = 0 ||
4239 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4242 # configure is writing to config.log, and then calls config.status.
4243 # config.status does its own redirection, appending to config.log.
4244 # Unfortunately, on DOS this fails, as config.log is still kept open
4245 # by configure, so config.status won't be able to write to it; its
4246 # output is simply discarded. So we exec the FD to /dev/null,
4247 # effectively closing config.log, so it can be properly (re)opened and
4248 # appended to by config.status. When coming back to configure, we
4249 # need to make the FD available again.
4250 if test "$no_create" != yes; then
4252 ac_config_status_args=
4253 test "$silent" = yes &&
4254 ac_config_status_args="$ac_config_status_args --quiet"
4256 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4258 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4259 # would make configure fail if this is the last instruction.
4260 $ac_cs_success || as_fn_exit 1
4262 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4264 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}