2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
239 SHELL=${CONFIG_SHELL-/bin/sh}
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
250 # Portably unset VAR.
253 { eval $1=; unset $1;}
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 # Create "$as_dir" as a directory, including parents if necessary.
282 -*) as_dir=./$as_dir;;
284 test -d "$as_dir" || eval $as_mkdir_p || {
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315 test -d "$as_dir" && break
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 as_val=`expr "$@" || test $? -eq 1`
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
365 as_status=$?; test $as_status -eq 0 && as_status=1
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
447 # Exit status is that of the last command.
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 elif ln conf$$.file conf$$ 2>/dev/null; then
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
494 test -d ./-p && rmdir ./-p
498 if test -x / >/dev/null 2>&1; then
501 if ls -dL / >/dev/null 2>&1; then
508 if test -d "$1"; then
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
556 ac_unique_file="installpaths.in"
557 ac_subst_vars='LTLIBOBJS
560 XGETTEXT_EXTRA_OPTIONS
568 GETTEXT_MACRO_VERSION
580 INSTALL_STRIP_PROGRAM
622 program_transform_name
635 enable_option_checking
639 ac_precious_vars='build_alias
644 # Initialize some variables set by options.
646 ac_init_version=false
647 ac_unrecognized_opts=
649 # The variables have the same names as the options, with
650 # dashes changed to underlines.
658 program_transform_name=s,x,x,
666 # Installation directory options.
667 # These are left unexpanded so users can "make install exec_prefix=/foo"
668 # and all the variables that are supposed to be based on exec_prefix
669 # by default will actually change.
670 # Use braces instead of parens because sh, perl, etc. also accept them.
671 # (The list follows the same order as the GNU Coding Standards.)
672 bindir='${exec_prefix}/bin'
673 sbindir='${exec_prefix}/sbin'
674 libexecdir='${exec_prefix}/libexec'
675 datarootdir='${prefix}/share'
676 datadir='${datarootdir}'
677 sysconfdir='${prefix}/etc'
678 sharedstatedir='${prefix}/com'
679 localstatedir='${prefix}/var'
680 includedir='${prefix}/include'
681 oldincludedir='/usr/include'
682 docdir='${datarootdir}/doc/${PACKAGE}'
683 infodir='${datarootdir}/info'
688 libdir='${exec_prefix}/lib'
689 localedir='${datarootdir}/locale'
690 mandir='${datarootdir}/man'
696 # If the previous option needs an argument, assign it.
697 if test -n "$ac_prev"; then
698 eval $ac_prev=\$ac_option
704 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
708 # Accept the important Cygnus configure options, so we can diagnose typos.
710 case $ac_dashdash$ac_option in
714 -bindir | --bindir | --bindi | --bind | --bin | --bi)
716 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
719 -build | --build | --buil | --bui | --bu)
720 ac_prev=build_alias ;;
721 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
722 build_alias=$ac_optarg ;;
724 -cache-file | --cache-file | --cache-fil | --cache-fi \
725 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
726 ac_prev=cache_file ;;
727 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
728 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
729 cache_file=$ac_optarg ;;
732 cache_file=config.cache ;;
734 -datadir | --datadir | --datadi | --datad)
736 -datadir=* | --datadir=* | --datadi=* | --datad=*)
737 datadir=$ac_optarg ;;
739 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
740 | --dataroo | --dataro | --datar)
741 ac_prev=datarootdir ;;
742 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
743 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
744 datarootdir=$ac_optarg ;;
746 -disable-* | --disable-*)
747 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
748 # Reject names that are not valid shell variable names.
749 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
750 as_fn_error "invalid feature name: $ac_useropt"
751 ac_useropt_orig=$ac_useropt
752 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
753 case $ac_user_opts in
757 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
758 ac_unrecognized_sep=', ';;
760 eval enable_$ac_useropt=no ;;
762 -docdir | --docdir | --docdi | --doc | --do)
764 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
767 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
769 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
772 -enable-* | --enable-*)
773 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
776 as_fn_error "invalid feature name: $ac_useropt"
777 ac_useropt_orig=$ac_useropt
778 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
779 case $ac_user_opts in
783 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
784 ac_unrecognized_sep=', ';;
786 eval enable_$ac_useropt=\$ac_optarg ;;
788 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
789 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
790 | --exec | --exe | --ex)
791 ac_prev=exec_prefix ;;
792 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
793 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
794 | --exec=* | --exe=* | --ex=*)
795 exec_prefix=$ac_optarg ;;
797 -gas | --gas | --ga | --g)
798 # Obsolete; use --with-gas.
801 -help | --help | --hel | --he | -h)
803 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
804 ac_init_help=recursive ;;
805 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
806 ac_init_help=short ;;
808 -host | --host | --hos | --ho)
809 ac_prev=host_alias ;;
810 -host=* | --host=* | --hos=* | --ho=*)
811 host_alias=$ac_optarg ;;
813 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
815 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
817 htmldir=$ac_optarg ;;
819 -includedir | --includedir | --includedi | --included | --include \
820 | --includ | --inclu | --incl | --inc)
821 ac_prev=includedir ;;
822 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
823 | --includ=* | --inclu=* | --incl=* | --inc=*)
824 includedir=$ac_optarg ;;
826 -infodir | --infodir | --infodi | --infod | --info | --inf)
828 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
829 infodir=$ac_optarg ;;
831 -libdir | --libdir | --libdi | --libd)
833 -libdir=* | --libdir=* | --libdi=* | --libd=*)
836 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
837 | --libexe | --libex | --libe)
838 ac_prev=libexecdir ;;
839 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
840 | --libexe=* | --libex=* | --libe=*)
841 libexecdir=$ac_optarg ;;
843 -localedir | --localedir | --localedi | --localed | --locale)
845 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
846 localedir=$ac_optarg ;;
848 -localstatedir | --localstatedir | --localstatedi | --localstated \
849 | --localstate | --localstat | --localsta | --localst | --locals)
850 ac_prev=localstatedir ;;
851 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
852 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
853 localstatedir=$ac_optarg ;;
855 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
857 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
861 # Obsolete; use --without-fp.
864 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
865 | --no-cr | --no-c | -n)
868 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
869 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
872 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
873 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
874 | --oldin | --oldi | --old | --ol | --o)
875 ac_prev=oldincludedir ;;
876 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
877 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
878 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
879 oldincludedir=$ac_optarg ;;
881 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
883 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
886 -program-prefix | --program-prefix | --program-prefi | --program-pref \
887 | --program-pre | --program-pr | --program-p)
888 ac_prev=program_prefix ;;
889 -program-prefix=* | --program-prefix=* | --program-prefi=* \
890 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
891 program_prefix=$ac_optarg ;;
893 -program-suffix | --program-suffix | --program-suffi | --program-suff \
894 | --program-suf | --program-su | --program-s)
895 ac_prev=program_suffix ;;
896 -program-suffix=* | --program-suffix=* | --program-suffi=* \
897 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
898 program_suffix=$ac_optarg ;;
900 -program-transform-name | --program-transform-name \
901 | --program-transform-nam | --program-transform-na \
902 | --program-transform-n | --program-transform- \
903 | --program-transform | --program-transfor \
904 | --program-transfo | --program-transf \
905 | --program-trans | --program-tran \
906 | --progr-tra | --program-tr | --program-t)
907 ac_prev=program_transform_name ;;
908 -program-transform-name=* | --program-transform-name=* \
909 | --program-transform-nam=* | --program-transform-na=* \
910 | --program-transform-n=* | --program-transform-=* \
911 | --program-transform=* | --program-transfor=* \
912 | --program-transfo=* | --program-transf=* \
913 | --program-trans=* | --program-tran=* \
914 | --progr-tra=* | --program-tr=* | --program-t=*)
915 program_transform_name=$ac_optarg ;;
917 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
919 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922 -psdir | --psdir | --psdi | --psd | --ps)
924 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
928 | -silent | --silent | --silen | --sile | --sil)
931 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
933 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
935 sbindir=$ac_optarg ;;
937 -sharedstatedir | --sharedstatedir | --sharedstatedi \
938 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
939 | --sharedst | --shareds | --shared | --share | --shar \
941 ac_prev=sharedstatedir ;;
942 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
943 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
944 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
946 sharedstatedir=$ac_optarg ;;
948 -site | --site | --sit)
950 -site=* | --site=* | --sit=*)
953 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
955 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
958 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
959 | --syscon | --sysco | --sysc | --sys | --sy)
960 ac_prev=sysconfdir ;;
961 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
962 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
963 sysconfdir=$ac_optarg ;;
965 -target | --target | --targe | --targ | --tar | --ta | --t)
966 ac_prev=target_alias ;;
967 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
968 target_alias=$ac_optarg ;;
970 -v | -verbose | --verbose | --verbos | --verbo | --verb)
973 -version | --version | --versio | --versi | --vers | -V)
977 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980 as_fn_error "invalid package name: $ac_useropt"
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
990 eval with_$ac_useropt=\$ac_optarg ;;
992 -without-* | --without-*)
993 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error "invalid package name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
999 case $ac_user_opts in
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1006 eval with_$ac_useropt=no ;;
1009 # Obsolete; use --with-x.
1012 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1013 | --x-incl | --x-inc | --x-in | --x-i)
1014 ac_prev=x_includes ;;
1015 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1016 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1017 x_includes=$ac_optarg ;;
1019 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1020 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1021 ac_prev=x_libraries ;;
1022 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1023 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1024 x_libraries=$ac_optarg ;;
1026 -*) as_fn_error "unrecognized option: \`$ac_option'
1027 Try \`$0 --help' for more information."
1031 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1032 # Reject names that are not valid shell variable names.
1033 case $ac_envvar in #(
1034 '' | [0-9]* | *[!_$as_cr_alnum]* )
1035 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1037 eval $ac_envvar=\$ac_optarg
1038 export $ac_envvar ;;
1041 # FIXME: should be removed in autoconf 3.0.
1042 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1043 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1045 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1051 if test -n "$ac_prev"; then
1052 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1053 as_fn_error "missing argument to $ac_option"
1056 if test -n "$ac_unrecognized_opts"; then
1057 case $enable_option_checking in
1059 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1060 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1064 # Check all directory arguments for consistency.
1065 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1066 datadir sysconfdir sharedstatedir localstatedir includedir \
1067 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1068 libdir localedir mandir
1070 eval ac_val=\$$ac_var
1071 # Remove trailing slashes.
1074 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1075 eval $ac_var=\$ac_val;;
1077 # Be sure to have absolute directory names.
1079 [\\/$]* | ?:[\\/]* ) continue;;
1080 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1082 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1085 # There might be people who depend on the old broken behavior: `$host'
1086 # used to hold the argument of --host etc.
1087 # FIXME: To remove some day.
1090 target=$target_alias
1092 # FIXME: To remove some day.
1093 if test "x$host_alias" != x; then
1094 if test "x$build_alias" = x; then
1095 cross_compiling=maybe
1096 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1097 If a cross compiler is detected then cross compile mode will be used." >&2
1098 elif test "x$build_alias" != "x$host_alias"; then
1104 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1106 test "$silent" = yes && exec 6>/dev/null
1109 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1110 ac_ls_di=`ls -di .` &&
1111 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1112 as_fn_error "working directory cannot be determined"
1113 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1114 as_fn_error "pwd does not report name of working directory"
1117 # Find the source files, if location was not specified.
1118 if test -z "$srcdir"; then
1119 ac_srcdir_defaulted=yes
1120 # Try the directory containing this script, then the parent directory.
1121 ac_confdir=`$as_dirname -- "$as_myself" ||
1122 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123 X"$as_myself" : 'X\(//\)[^/]' \| \
1124 X"$as_myself" : 'X\(//\)$' \| \
1125 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1126 $as_echo X"$as_myself" |
1127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145 if test ! -r "$srcdir/$ac_unique_file"; then
1149 ac_srcdir_defaulted=no
1151 if test ! -r "$srcdir/$ac_unique_file"; then
1152 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1153 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1155 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1157 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1159 # When building in place, set srcdir=.
1160 if test "$ac_abs_confdir" = "$ac_pwd"; then
1163 # Remove unnecessary trailing slashes from srcdir.
1164 # Double slashes in file names in object file debugging info
1165 # mess up M-x gdb in Emacs.
1167 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169 for ac_var in $ac_precious_vars; do
1170 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1171 eval ac_env_${ac_var}_value=\$${ac_var}
1172 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1173 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1177 # Report the --help message.
1179 if test "$ac_init_help" = "long"; then
1180 # Omit some internal or obsolete options to make the list less imposing.
1181 # This message is too long to be a string in the A/UX 3.1 sh.
1183 \`configure' configures this package to adapt to many kinds of systems.
1185 Usage: $0 [OPTION]... [VAR=VALUE]...
1187 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1188 VAR=VALUE. See below for descriptions of some of the useful variables.
1190 Defaults for the options are specified in brackets.
1193 -h, --help display this help and exit
1194 --help=short display options specific to this package
1195 --help=recursive display the short help of all the included packages
1196 -V, --version display version information and exit
1197 -q, --quiet, --silent do not print \`checking...' messages
1198 --cache-file=FILE cache test results in FILE [disabled]
1199 -C, --config-cache alias for \`--cache-file=config.cache'
1200 -n, --no-create do not create output files
1201 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1203 Installation directories:
1204 --prefix=PREFIX install architecture-independent files in PREFIX
1205 [$ac_default_prefix]
1206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1209 By default, \`make install' will install all the files in
1210 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1211 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1212 for instance \`--prefix=\$HOME'.
1214 For better control, use the options below.
1216 Fine tuning of the installation directories:
1217 --bindir=DIR user executables [EPREFIX/bin]
1218 --sbindir=DIR system admin executables [EPREFIX/sbin]
1219 --libexecdir=DIR program executables [EPREFIX/libexec]
1220 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1221 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1222 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1223 --libdir=DIR object code libraries [EPREFIX/lib]
1224 --includedir=DIR C header files [PREFIX/include]
1225 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1226 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1227 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1228 --infodir=DIR info documentation [DATAROOTDIR/info]
1229 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1230 --mandir=DIR man documentation [DATAROOTDIR/man]
1231 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1232 --htmldir=DIR html documentation [DOCDIR]
1233 --dvidir=DIR dvi documentation [DOCDIR]
1234 --pdfdir=DIR pdf documentation [DOCDIR]
1235 --psdir=DIR ps documentation [DOCDIR]
1241 --program-prefix=PREFIX prepend PREFIX to installed program names
1242 --program-suffix=SUFFIX append SUFFIX to installed program names
1243 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1247 if test -n "$ac_init_help"; then
1252 --disable-option-checking ignore unrecognized --enable/--with options
1253 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1254 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1255 --enable-silent-rules less verbose build output (undo: `make V=1')
1256 --disable-silent-rules verbose build output (undo: `make V=0')
1257 --disable-nls do not use Native Language Support
1259 Report bugs to the package provider.
1264 if test "$ac_init_help" = "recursive"; then
1265 # If there are subdirs, report their specific --help.
1266 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1267 test -d "$ac_dir" ||
1268 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1275 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1276 # A ".." for each directory in $ac_dir_suffix.
1277 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1278 case $ac_top_builddir_sub in
1279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1283 ac_abs_top_builddir=$ac_pwd
1284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1285 # for backward compatibility:
1286 ac_top_builddir=$ac_top_build_prefix
1289 .) # We are building in place.
1291 ac_top_srcdir=$ac_top_builddir_sub
1292 ac_abs_top_srcdir=$ac_pwd ;;
1293 [\\/]* | ?:[\\/]* ) # Absolute name.
1294 ac_srcdir=$srcdir$ac_dir_suffix;
1295 ac_top_srcdir=$srcdir
1296 ac_abs_top_srcdir=$srcdir ;;
1298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1299 ac_top_srcdir=$ac_top_build_prefix$srcdir
1300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1304 cd "$ac_dir" || { ac_status=$?; continue; }
1305 # Check for guested configure.
1306 if test -f "$ac_srcdir/configure.gnu"; then
1308 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1309 elif test -f "$ac_srcdir/configure"; then
1311 $SHELL "$ac_srcdir/configure" --help=recursive
1313 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315 cd "$ac_pwd" || { ac_status=$?; break; }
1319 test -n "$ac_init_help" && exit $ac_status
1320 if $ac_init_version; then
1323 generated by GNU Autoconf 2.65
1325 Copyright (C) 2009 Free Software Foundation, Inc.
1326 This configure script is free software; the Free Software Foundation
1327 gives unlimited permission to copy, distribute and modify it.
1332 ## ------------------------ ##
1333 ## Autoconf initialization. ##
1334 ## ------------------------ ##
1335 cat >config.log <<_ACEOF
1336 This file contains any messages produced by compilers while
1337 running configure, to aid debugging if configure makes a mistake.
1339 It was created by $as_me, which was
1340 generated by GNU Autoconf 2.65. Invocation command line was
1352 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1353 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1354 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1355 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1356 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1358 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1359 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1361 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1362 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1363 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1364 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1365 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1366 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1367 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375 test -z "$as_dir" && as_dir=.
1376 $as_echo "PATH: $as_dir"
1392 # Keep a trace of the command line.
1393 # Strip out --no-create and --no-recursion so they do not pile up.
1394 # Strip out --silent because we don't want to record it for future runs.
1395 # Also quote any args containing shell meta-characters.
1396 # Make two passes to allow for proper duplicate-argument suppression.
1400 ac_must_keep_next=false
1406 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1407 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1408 | -silent | --silent | --silen | --sile | --sil)
1411 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1414 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1416 as_fn_append ac_configure_args1 " '$ac_arg'"
1417 if test $ac_must_keep_next = true; then
1418 ac_must_keep_next=false # Got value, back to normal.
1421 *=* | --config-cache | -C | -disable-* | --disable-* \
1422 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1423 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1424 | -with-* | --with-* | -without-* | --without-* | --x)
1425 case "$ac_configure_args0 " in
1426 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1429 -* ) ac_must_keep_next=true ;;
1432 as_fn_append ac_configure_args " '$ac_arg'"
1437 { ac_configure_args0=; unset ac_configure_args0;}
1438 { ac_configure_args1=; unset ac_configure_args1;}
1440 # When interrupted or exit'd, cleanup temporary files, and complete
1441 # config.log. We remove comments because anyway the quotes in there
1442 # would cause problems or look ugly.
1443 # WARNING: Use '\'' to represent an apostrophe within the trap.
1444 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1445 trap 'exit_status=$?
1446 # Save into config.log some information that might help in debugging.
1451 ## ---------------- ##
1452 ## Cache variables. ##
1453 ## ---------------- ##
1456 # The following way of writing the cache mishandles newlines in values,
1458 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1459 eval ac_val=\$$ac_var
1463 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1467 _ | IFS | as_nl) ;; #(
1468 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1469 *) { eval $ac_var=; unset $ac_var;} ;;
1474 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1475 *${as_nl}ac_space=\ *)
1477 "s/'\''/'\''\\\\'\'''\''/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1494 for ac_var in $ac_subst_vars
1496 eval ac_val=\$$ac_var
1498 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1500 $as_echo "$ac_var='\''$ac_val'\''"
1504 if test -n "$ac_subst_files"; then
1506 ## ------------------- ##
1507 ## File substitutions. ##
1508 ## ------------------- ##
1511 for ac_var in $ac_subst_files
1513 eval ac_val=\$$ac_var
1515 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517 $as_echo "$ac_var='\''$ac_val'\''"
1522 if test -s confdefs.h; then
1532 test "$ac_signal" != 0 &&
1533 $as_echo "$as_me: caught signal $ac_signal"
1534 $as_echo "$as_me: exit $exit_status"
1536 rm -f core *.core core.conftest.* &&
1537 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1540 for ac_signal in 1 2 13 15; do
1541 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1545 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1546 rm -f -r conftest* confdefs.h
1548 $as_echo "/* confdefs.h */" > confdefs.h
1550 # Predefined preprocessor variables.
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_NAME "$PACKAGE_NAME"
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_URL "$PACKAGE_URL"
1577 # Let the site file select an alternate cache file if it wants to.
1578 # Prefer an explicitly selected file to automatically selected ones.
1581 if test -n "$CONFIG_SITE"; then
1582 ac_site_file1=$CONFIG_SITE
1583 elif test "x$prefix" != xNONE; then
1584 ac_site_file1=$prefix/share/config.site
1585 ac_site_file2=$prefix/etc/config.site
1587 ac_site_file1=$ac_default_prefix/share/config.site
1588 ac_site_file2=$ac_default_prefix/etc/config.site
1590 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1592 test "x$ac_site_file" = xNONE && continue
1593 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1595 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1596 sed 's/^/| /' "$ac_site_file" >&5
1601 if test -r "$cache_file"; then
1602 # Some versions of bash will fail to source /dev/null (special files
1603 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1604 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1606 $as_echo "$as_me: loading cache $cache_file" >&6;}
1608 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1609 *) . "./$cache_file";;
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1614 $as_echo "$as_me: creating cache $cache_file" >&6;}
1618 # Check that the precious variables saved in the cache have kept the same
1620 ac_cache_corrupted=false
1621 for ac_var in $ac_precious_vars; do
1622 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1623 eval ac_new_set=\$ac_env_${ac_var}_set
1624 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1625 eval ac_new_val=\$ac_env_${ac_var}_value
1626 case $ac_old_set,$ac_new_set in
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1629 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1630 ac_cache_corrupted=: ;;
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1633 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1634 ac_cache_corrupted=: ;;
1637 if test "x$ac_old_val" != "x$ac_new_val"; then
1638 # differences in whitespace do not lead to failure.
1639 ac_old_val_w=`echo x $ac_old_val`
1640 ac_new_val_w=`echo x $ac_new_val`
1641 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1643 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1644 ac_cache_corrupted=:
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1647 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1648 eval $ac_var=\$ac_old_val
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1651 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1653 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1656 # Pass precious variables to config.status.
1657 if test "$ac_new_set" = set; then
1659 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1660 *) ac_arg=$ac_var=$ac_new_val ;;
1662 case " $ac_configure_args " in
1663 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1664 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1668 if $ac_cache_corrupted; then
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1672 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1673 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1675 ## -------------------- ##
1676 ## Main body of script. ##
1677 ## -------------------- ##
1680 ac_cpp='$CPP $CPPFLAGS'
1681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1688 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
1689 for ac_t in install-sh install.sh shtool; do
1690 if test -f "$ac_dir/$ac_t"; then
1692 ac_install_sh="$ac_aux_dir/$ac_t -c"
1697 if test -z "$ac_aux_dir"; then
1698 as_fn_error "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
1701 # These three variables are undocumented and unsupported,
1702 # and are intended to be withdrawn in a future Autoconf release.
1703 # They can cause serious problems if a builder's source tree is in a directory
1704 # whose full name contains unusual characters.
1705 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1706 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1707 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1710 . $srcdir/../../version.sh
1717 am__api_version='1.11'
1719 # Find a good install program. We prefer a C program (faster),
1720 # so one script is as good as another. But avoid the broken or
1721 # incompatible versions:
1722 # SysV /etc/install, /usr/sbin/install
1723 # SunOS /usr/etc/install
1724 # IRIX /sbin/install
1726 # AmigaOS /C/install, which installs bootblocks on floppy discs
1727 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1728 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1729 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1730 # OS/2's system install, which has a completely different semantic
1731 # ./install, which can be erroneously created by make from ./install.sh.
1732 # Reject install programs that cannot install multiple files.
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1734 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1735 if test -z "$INSTALL"; then
1736 if test "${ac_cv_path_install+set}" = set; then :
1737 $as_echo_n "(cached) " >&6
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir=.
1744 # Account for people who put trailing slashes in PATH elements.
1745 case $as_dir/ in #((
1746 ./ | .// | /[cC]/* | \
1747 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1748 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1751 # OSF1 and SCO ODT 3.0 have their own names for install.
1752 # Don't use installbsd from OSF since it installs stuff as root
1754 for ac_prog in ginstall scoinst install; do
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1757 if test $ac_prog = install &&
1758 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1759 # AIX install. It has an incompatible calling convention.
1761 elif test $ac_prog = install &&
1762 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763 # program-specific install script used by HP pwplus--don't use.
1766 rm -rf conftest.one conftest.two conftest.dir
1767 echo one > conftest.one
1768 echo two > conftest.two
1770 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1771 test -s conftest.one && test -s conftest.two &&
1772 test -s conftest.dir/conftest.one &&
1773 test -s conftest.dir/conftest.two
1775 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1788 rm -rf conftest.one conftest.two conftest.dir
1791 if test "${ac_cv_path_install+set}" = set; then
1792 INSTALL=$ac_cv_path_install
1794 # As a last resort, use the slow shell script. Don't cache a
1795 # value for INSTALL within a source directory, because that will
1796 # break other packages using the cache if that directory is
1797 # removed, or if the value is a relative name.
1798 INSTALL=$ac_install_sh
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1802 $as_echo "$INSTALL" >&6; }
1804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1805 # It thinks the first close brace ends the variable substitution.
1806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1810 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1813 $as_echo_n "checking whether build environment is sane... " >&6; }
1816 echo timestamp > conftest.file
1817 # Reject unsafe characters in $srcdir or the absolute working directory
1818 # name. Accept space and tab only in the latter.
1822 *[\\\"\#\$\&\'\`$am_lf]*)
1823 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1826 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1827 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1830 # Do `set' in a subshell so we don't clobber the current shell's
1831 # arguments. Must try -L first in case configure is actually a
1832 # symlink; some systems play weird games with the mod time of symlinks
1833 # (eg FreeBSD returns the mod time of the symlink's containing
1836 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1837 if test "$*" = "X"; then
1839 set X `ls -t "$srcdir/configure" conftest.file`
1842 if test "$*" != "X $srcdir/configure conftest.file" \
1843 && test "$*" != "X conftest.file $srcdir/configure"; then
1845 # If neither matched, then we have a broken ls. This can happen
1846 # if, for instance, CONFIG_SHELL is bash and it inherits a
1847 # broken ls alias from the environment. This has actually
1848 # happened. Such a system could not be considered "sane".
1849 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1850 alias in your environment" "$LINENO" 5
1853 test "$2" = conftest.file
1859 as_fn_error "newly created file is older than distributed files!
1860 Check your system clock" "$LINENO" 5
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1863 $as_echo "yes" >&6; }
1864 test "$program_prefix" != NONE &&
1865 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1866 # Use a double $ so make ignores it.
1867 test "$program_suffix" != NONE &&
1868 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1869 # Double any \ or $.
1870 # By default was `s,x,x', remove it if useless.
1871 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1872 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1874 # expand $ac_aux_dir to an absolute path
1875 am_aux_dir=`cd $ac_aux_dir && pwd`
1877 if test x"${MISSING+set}" != xset; then
1880 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1882 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1885 # Use eval to expand $SHELL
1886 if eval "$MISSING --run true"; then
1887 am_missing_run="$MISSING --run "
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1891 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1894 if test x"${install_sh}" != xset; then
1897 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1899 install_sh="\${SHELL} $am_aux_dir/install-sh"
1903 # Installed binaries are usually stripped using `strip' when the user
1904 # run `make install-strip'. However `strip' might not be the right
1905 # tool to use in cross-compilation environments, therefore Automake
1906 # will honor the `STRIP' environment variable to overrule this program.
1907 if test "$cross_compiling" != no; then
1908 if test -n "$ac_tool_prefix"; then
1909 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1910 set dummy ${ac_tool_prefix}strip; ac_word=$2
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1912 $as_echo_n "checking for $ac_word... " >&6; }
1913 if test "${ac_cv_prog_STRIP+set}" = set; then :
1914 $as_echo_n "(cached) " >&6
1916 if test -n "$STRIP"; then
1917 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1926 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 STRIP=$ac_cv_prog_STRIP
1937 if test -n "$STRIP"; then
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1939 $as_echo "$STRIP" >&6; }
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1942 $as_echo "no" >&6; }
1947 if test -z "$ac_cv_prog_STRIP"; then
1949 # Extract the first word of "strip", so it can be a program name with args.
1950 set dummy strip; ac_word=$2
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1952 $as_echo_n "checking for $ac_word... " >&6; }
1953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1954 $as_echo_n "(cached) " >&6
1956 if test -n "$ac_ct_STRIP"; then
1957 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1966 ac_cv_prog_ac_ct_STRIP="strip"
1967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1977 if test -n "$ac_ct_STRIP"; then
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1979 $as_echo "$ac_ct_STRIP" >&6; }
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1982 $as_echo "no" >&6; }
1985 if test "x$ac_ct_STRIP" = x; then
1988 case $cross_compiling:$ac_tool_warned in
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1992 ac_tool_warned=yes ;;
1997 STRIP="$ac_cv_prog_STRIP"
2001 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2004 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2005 if test -z "$MKDIR_P"; then
2006 if test "${ac_cv_path_mkdir+set}" = set; then :
2007 $as_echo_n "(cached) " >&6
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2013 test -z "$as_dir" && as_dir=.
2014 for ac_prog in mkdir gmkdir; do
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2017 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2018 'mkdir (GNU coreutils) '* | \
2019 'mkdir (coreutils) '* | \
2020 'mkdir (fileutils) '4.1*)
2021 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2031 test -d ./--version && rmdir ./--version
2032 if test "${ac_cv_path_mkdir+set}" = set; then
2033 MKDIR_P="$ac_cv_path_mkdir -p"
2035 # As a last resort, use the slow shell script. Don't cache a
2036 # value for MKDIR_P within a source directory, because that will
2037 # break other packages using the cache if that directory is
2038 # removed, or if the value is a relative name.
2039 MKDIR_P="$ac_install_sh -d"
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2043 $as_echo "$MKDIR_P" >&6; }
2047 [\\/$]* | ?:[\\/]*) ;;
2048 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2051 for ac_prog in gawk mawk nawk awk
2053 # Extract the first word of "$ac_prog", so it can be a program name with args.
2054 set dummy $ac_prog; ac_word=$2
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2056 $as_echo_n "checking for $ac_word... " >&6; }
2057 if test "${ac_cv_prog_AWK+set}" = set; then :
2058 $as_echo_n "(cached) " >&6
2060 if test -n "$AWK"; then
2061 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2070 ac_cv_prog_AWK="$ac_prog"
2071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 if test -n "$AWK"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2083 $as_echo "$AWK" >&6; }
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2086 $as_echo "no" >&6; }
2090 test -n "$AWK" && break
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2094 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2096 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2097 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2098 $as_echo_n "(cached) " >&6
2100 cat >conftest.make <<\_ACEOF
2103 @echo '@@@%%%=$(MAKE)=@@@%%%'
2105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2106 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2108 eval ac_cv_prog_make_${ac_make}_set=yes;;
2110 eval ac_cv_prog_make_${ac_make}_set=no;;
2114 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2116 $as_echo "yes" >&6; }
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2120 $as_echo "no" >&6; }
2121 SET_MAKE="MAKE=${MAKE-make}"
2124 rm -rf .tst 2>/dev/null
2125 mkdir .tst 2>/dev/null
2126 if test -d .tst; then
2131 rmdir .tst 2>/dev/null
2133 # Check whether --enable-silent-rules was given.
2134 if test "${enable_silent_rules+set}" = set; then :
2135 enableval=$enable_silent_rules;
2138 case $enable_silent_rules in
2139 yes) AM_DEFAULT_VERBOSITY=0;;
2140 no) AM_DEFAULT_VERBOSITY=1;;
2141 *) AM_DEFAULT_VERBOSITY=1;;
2147 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2148 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2149 # is not polluted with repeated "-I."
2150 am__isrc=' -I$(srcdir)'
2151 # test to see if srcdir already configured
2152 if test -f $srcdir/config.status; then
2153 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2157 # test whether we have cygpath
2158 if test -z "$CYGPATH_W"; then
2159 if (cygpath --version) >/dev/null 2>/dev/null; then
2160 CYGPATH_W='cygpath -w'
2167 # Define the identity of the package.
2172 # Some tools Automake needs.
2174 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2177 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2180 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2183 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2186 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2188 # We need awk for the "check" target. The system "awk" is bad on
2190 # Always define AMTAR for backward compatibility.
2192 AMTAR=${AMTAR-"${am_missing_run}tar"}
2194 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2200 PACKAGE=gettext-examples
2202 VERSION=$VERSION_NUMBER
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE "$PACKAGE"
2211 cat >>confdefs.h <<_ACEOF
2212 #define VERSION "$VERSION"
2218 test "$docdir" != '${datarootdir}/doc/${PACKAGE}' || docdir='${datarootdir}/doc/gettext'
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2222 $as_echo_n "checking whether NLS is requested... " >&6; }
2223 # Check whether --enable-nls was given.
2224 if test "${enable_nls+set}" = set; then :
2225 enableval=$enable_nls; USE_NLS=$enableval
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2231 $as_echo "$USE_NLS" >&6; }
2236 GETTEXT_MACRO_VERSION=0.18
2241 # Prepare PATH_SEPARATOR.
2242 # The user is always right.
2243 if test "${PATH_SEPARATOR+set}" != set; then
2244 echo "#! /bin/sh" >conf$$.sh
2245 echo "exit 0" >>conf$$.sh
2247 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2255 # Find out how to test for executable files. Don't use a zero-byte file,
2256 # as systems may use methods other than mode bits to determine executability.
2257 cat >conf$$.file <<_ASEOF
2261 chmod +x conf$$.file
2262 if test -x conf$$.file >/dev/null 2>&1; then
2263 ac_executable_p="test -x"
2265 ac_executable_p="test -f"
2269 # Extract the first word of "msgfmt", so it can be a program name with args.
2270 set dummy msgfmt; ac_word=$2
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2272 $as_echo_n "checking for $ac_word... " >&6; }
2273 if test "${ac_cv_path_MSGFMT+set}" = set; then :
2274 $as_echo_n "(cached) " >&6
2278 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2281 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2282 for ac_dir in $PATH; do
2284 test -z "$ac_dir" && ac_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2287 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2288 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2289 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2290 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2297 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2301 MSGFMT="$ac_cv_path_MSGFMT"
2302 if test "$MSGFMT" != ":"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2304 $as_echo "$MSGFMT" >&6; }
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307 $as_echo "no" >&6; }
2310 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2311 set dummy gmsgfmt; ac_word=$2
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313 $as_echo_n "checking for $ac_word... " >&6; }
2314 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
2315 $as_echo_n "(cached) " >&6
2319 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2341 GMSGFMT=$ac_cv_path_GMSGFMT
2342 if test -n "$GMSGFMT"; then
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2344 $as_echo "$GMSGFMT" >&6; }
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2347 $as_echo "no" >&6; }
2352 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2353 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2354 *) MSGFMT_015=$MSGFMT ;;
2357 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2358 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2359 *) GMSGFMT_015=$GMSGFMT ;;
2364 # Prepare PATH_SEPARATOR.
2365 # The user is always right.
2366 if test "${PATH_SEPARATOR+set}" != set; then
2367 echo "#! /bin/sh" >conf$$.sh
2368 echo "exit 0" >>conf$$.sh
2370 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2378 # Find out how to test for executable files. Don't use a zero-byte file,
2379 # as systems may use methods other than mode bits to determine executability.
2380 cat >conf$$.file <<_ASEOF
2384 chmod +x conf$$.file
2385 if test -x conf$$.file >/dev/null 2>&1; then
2386 ac_executable_p="test -x"
2388 ac_executable_p="test -f"
2392 # Extract the first word of "xgettext", so it can be a program name with args.
2393 set dummy xgettext; ac_word=$2
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395 $as_echo_n "checking for $ac_word... " >&6; }
2396 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2401 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2404 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2405 for ac_dir in $PATH; do
2407 test -z "$ac_dir" && ac_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2410 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2411 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2412 (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
2413 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2420 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2424 XGETTEXT="$ac_cv_path_XGETTEXT"
2425 if test "$XGETTEXT" != ":"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
2427 $as_echo "$XGETTEXT" >&6; }
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2435 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2436 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2437 *) XGETTEXT_015=$XGETTEXT ;;
2442 # Prepare PATH_SEPARATOR.
2443 # The user is always right.
2444 if test "${PATH_SEPARATOR+set}" != set; then
2445 echo "#! /bin/sh" >conf$$.sh
2446 echo "exit 0" >>conf$$.sh
2448 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2456 # Find out how to test for executable files. Don't use a zero-byte file,
2457 # as systems may use methods other than mode bits to determine executability.
2458 cat >conf$$.file <<_ASEOF
2462 chmod +x conf$$.file
2463 if test -x conf$$.file >/dev/null 2>&1; then
2464 ac_executable_p="test -x"
2466 ac_executable_p="test -f"
2470 # Extract the first word of "msgmerge", so it can be a program name with args.
2471 set dummy msgmerge; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2479 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2482 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2483 for ac_dir in $PATH; do
2485 test -z "$ac_dir" && ac_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2488 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2489 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2490 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2497 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2501 MSGMERGE="$ac_cv_path_MSGMERGE"
2502 if test "$MSGMERGE" != ":"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
2504 $as_echo "$MSGMERGE" >&6; }
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 $as_echo "no" >&6; }
2511 test -n "$localedir" || localedir='${datadir}/locale'
2514 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
2517 ac_config_commands="$ac_config_commands po-directories"
2521 aclocaldir='${datadir}/aclocal'
2524 ac_config_files="$ac_config_files Makefile"
2526 ac_config_files="$ac_config_files installpaths"
2528 ac_config_files="$ac_config_files po/Makefile"
2531 cat >confcache <<\_ACEOF
2532 # This file is a shell script that caches the results of configure
2533 # tests run on this system so they can be shared between configure
2534 # scripts and configure runs, see configure's option --config-cache.
2535 # It is not useful on other systems. If it contains results you don't
2536 # want to keep, you may remove or edit it.
2538 # config.status only pays attention to the cache file if you give it
2539 # the --recheck option to rerun configure.
2541 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2542 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2547 # The following way of writing the cache mishandles newlines in values,
2548 # but we know of no workaround that is simple, portable, and efficient.
2549 # So, we kill variables containing newlines.
2550 # Ultrix sh set writes to stderr and can't be redirected directly,
2551 # and sets the high bit in the cache file unless we assign to the vars.
2553 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2554 eval ac_val=\$$ac_var
2558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2562 _ | IFS | as_nl) ;; #(
2563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2564 *) { eval $ac_var=; unset $ac_var;} ;;
2570 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2571 *${as_nl}ac_space=\ *)
2572 # `set' does not quote correctly, so add quotes: double-quote
2573 # substitution turns \\\\ into \\, and sed turns \\ into \.
2576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2579 # `set' quotes correctly as required by POSIX, so do not add quotes.
2580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2591 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2593 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2594 if test -w "$cache_file"; then
2595 test "x$cache_file" != "x/dev/null" &&
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2597 $as_echo "$as_me: updating cache $cache_file" >&6;}
2598 cat confcache >$cache_file
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2606 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2607 # Let make expand exec_prefix.
2608 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2610 # Transform confdefs.h into DEFS.
2611 # Protect against shell expansion while executing Makefile rules.
2612 # Protect against Makefile macro expansion.
2614 # If the first sed substitution is executed (which looks for macros that
2615 # take arguments), then branch to the quote section. Otherwise,
2616 # look for a macro that doesn't take arguments.
2626 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2628 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2632 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2645 DEFS=`sed -n "$ac_script" confdefs.h`
2650 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2651 # 1. Remove the extension, and $U if already installed.
2652 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2653 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2654 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2655 # will be set to the directory where LIBOBJS objects are built.
2656 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2657 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2661 LTLIBOBJS=$ac_ltlibobjs
2666 : ${CONFIG_STATUS=./config.status}
2668 ac_clean_files_save=$ac_clean_files
2669 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2671 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2673 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2675 # Generated by $as_me.
2676 # Run this file to recreate the current configuration.
2677 # Compiler output produced by configure, useful for debugging
2678 # configure, is in config.log if it exists.
2684 SHELL=\${CONFIG_SHELL-$SHELL}
2687 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2688 ## -------------------- ##
2689 ## M4sh Initialization. ##
2690 ## -------------------- ##
2692 # Be more Bourne compatible
2693 DUALCASE=1; export DUALCASE # for MKS sh
2694 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2697 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2698 # is contrary to our usage. Disable this feature.
2699 alias -g '${1+"$@"}'='"$@"'
2700 setopt NO_GLOB_SUBST
2702 case `(set -o) 2>/dev/null` in #(
2714 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2715 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2716 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2717 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2718 # Prefer a ksh shell builtin over an external printf program on Solaris,
2719 # but without wasting forks for bash or zsh.
2720 if test -z "$BASH_VERSION$ZSH_VERSION" \
2721 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2722 as_echo='print -r --'
2723 as_echo_n='print -rn --'
2724 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2725 as_echo='printf %s\n'
2726 as_echo_n='printf %s'
2728 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2729 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2730 as_echo_n='/usr/ucb/echo -n'
2732 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2733 as_echo_n_body='eval
2737 expr "X$arg" : "X\\(.*\\)$as_nl";
2738 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2740 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2742 export as_echo_n_body
2743 as_echo_n='sh -c $as_echo_n_body as_echo'
2746 as_echo='sh -c $as_echo_body as_echo'
2749 # The user is always right.
2750 if test "${PATH_SEPARATOR+set}" != set; then
2752 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2753 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2760 # We need space, tab and new line, in precisely that order. Quoting is
2761 # there to prevent editors from complaining about space-tab.
2762 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2763 # splitting by setting IFS to empty value.)
2766 # Find who we are. Look in the path if we contain no directory separator.
2768 *[\\/]* ) as_myself=$0 ;;
2769 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2780 # We did not find ourselves, most probably we were run as `sh COMMAND'
2781 # in which case we are not to be found in the path.
2782 if test "x$as_myself" = x; then
2785 if test ! -f "$as_myself"; then
2786 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2790 # Unset variables that we do not need and which cause bugs (e.g. in
2791 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2792 # suppresses any "Segmentation fault" message there. '((' could
2793 # trigger a bug in pdksh 5.2.14.
2794 for as_var in BASH_ENV ENV MAIL MAILPATH
2795 do eval test x\${$as_var+set} = xset \
2796 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2809 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2812 # as_fn_error ERROR [LINENO LOG_FD]
2813 # ---------------------------------
2814 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2815 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2816 # script with status $?, using 1 if that was 0.
2819 as_status=$?; test $as_status -eq 0 && as_status=1
2821 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2822 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2824 $as_echo "$as_me: error: $1" >&2
2825 as_fn_exit $as_status
2829 # as_fn_set_status STATUS
2830 # -----------------------
2831 # Set $? to STATUS, without forking.
2835 } # as_fn_set_status
2839 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2849 # Portably unset VAR.
2852 { eval $1=; unset $1;}
2854 as_unset=as_fn_unset
2855 # as_fn_append VAR VALUE
2856 # ----------------------
2857 # Append the text in VALUE to the end of the definition contained in VAR. Take
2858 # advantage of any shell optimizations that allow amortized linear growth over
2859 # repeated appends, instead of the typical quadratic growth present in naive
2861 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2862 eval 'as_fn_append ()
2873 # as_fn_arith ARG...
2874 # ------------------
2875 # Perform arithmetic evaluation on the ARGs, and store the result in the
2876 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2877 # must be portable across $(()) and expr.
2878 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2879 eval 'as_fn_arith ()
2886 as_val=`expr "$@" || test $? -eq 1`
2891 if expr a : '\(a\)' >/dev/null 2>&1 &&
2892 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2898 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2899 as_basename=basename
2904 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2910 as_me=`$as_basename -- "$0" ||
2911 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2912 X"$0" : 'X\(//\)$' \| \
2913 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2915 sed '/^.*\/\([^/][^/]*\)\/*$/{
2929 # Avoid depending upon Character Ranges.
2930 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2931 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2932 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2933 as_cr_digits='0123456789'
2934 as_cr_alnum=$as_cr_Letters$as_cr_digits
2936 ECHO_C= ECHO_N= ECHO_T=
2937 case `echo -n x` in #(((((
2939 case `echo 'xy\c'` in
2940 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2942 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2949 rm -f conf$$ conf$$.exe conf$$.file
2950 if test -d conf$$.dir; then
2951 rm -f conf$$.dir/conf$$.file
2954 mkdir conf$$.dir 2>/dev/null
2956 if (echo >conf$$.file) 2>/dev/null; then
2957 if ln -s conf$$.file conf$$ 2>/dev/null; then
2959 # ... but there are two gotchas:
2960 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2961 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2962 # In both cases, we have to default to `cp -p'.
2963 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2965 elif ln conf$$.file conf$$ 2>/dev/null; then
2973 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2974 rmdir conf$$.dir 2>/dev/null
2979 # Create "$as_dir" as a directory, including parents if necessary.
2984 -*) as_dir=./$as_dir;;
2986 test -d "$as_dir" || eval $as_mkdir_p || {
2990 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2991 *) as_qdir=$as_dir;;
2993 as_dirs="'$as_qdir' $as_dirs"
2994 as_dir=`$as_dirname -- "$as_dir" ||
2995 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2996 X"$as_dir" : 'X\(//\)[^/]' \| \
2997 X"$as_dir" : 'X\(//\)$' \| \
2998 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2999 $as_echo X"$as_dir" |
3000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3017 test -d "$as_dir" && break
3019 test -z "$as_dirs" || eval "mkdir $as_dirs"
3020 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3024 if mkdir -p . 2>/dev/null; then
3025 as_mkdir_p='mkdir -p "$as_dir"'
3027 test -d ./-p && rmdir ./-p
3031 if test -x / >/dev/null 2>&1; then
3034 if ls -dL / >/dev/null 2>&1; then
3041 if test -d "$1"; then
3047 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3048 ???[sx]*):;;*)false;;esac;fi
3052 as_executable_p=$as_test_x
3054 # Sed expression to map a string onto a valid CPP name.
3055 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3057 # Sed expression to map a string onto a valid variable name.
3058 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3062 ## ----------------------------------- ##
3063 ## Main body of $CONFIG_STATUS script. ##
3064 ## ----------------------------------- ##
3066 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3069 # Save the log message, to keep $0 and so on meaningful, and to
3070 # report actual input values of CONFIG_FILES etc. instead of their
3071 # values after options handling.
3073 This file was extended by gettext-examples $as_me, which was
3074 generated by GNU Autoconf 2.65. Invocation command line was
3076 CONFIG_FILES = $CONFIG_FILES
3077 CONFIG_HEADERS = $CONFIG_HEADERS
3078 CONFIG_LINKS = $CONFIG_LINKS
3079 CONFIG_COMMANDS = $CONFIG_COMMANDS
3082 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3087 case $ac_config_files in *"
3088 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3094 # Files that config.status was made for.
3095 config_files="$ac_config_files"
3096 config_commands="$ac_config_commands"
3100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3102 \`$as_me' instantiates files and other configuration actions
3103 from templates according to the current configuration. Unless the files
3104 and actions are specified as TAGs, all are instantiated by default.
3106 Usage: $0 [OPTION]... [TAG]...
3108 -h, --help print this help, then exit
3109 -V, --version print version number and configuration settings, then exit
3110 --config print configuration, then exit
3111 -q, --quiet, --silent
3112 do not print progress messages
3113 -d, --debug don't remove temporary files
3114 --recheck update $as_me by reconfiguring in the same conditions
3115 --file=FILE[:TEMPLATE]
3116 instantiate the configuration file FILE
3118 Configuration files:
3121 Configuration commands:
3124 Report bugs to the package provider."
3127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3128 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3130 gettext-examples config.status
3131 configured by $0, generated by GNU Autoconf 2.65,
3132 with options \\"\$ac_cs_config\\"
3134 Copyright (C) 2009 Free Software Foundation, Inc.
3135 This config.status script is free software; the Free Software Foundation
3136 gives unlimited permission to copy, distribute and modify it."
3143 test -n "\$AWK" || AWK=awk
3146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3147 # The default lists apply if the user does not specify any file.
3153 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3165 # Handling of the options.
3166 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3168 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3169 $as_echo "$ac_cs_version"; exit ;;
3170 --config | --confi | --conf | --con | --co | --c )
3171 $as_echo "$ac_cs_config"; exit ;;
3172 --debug | --debu | --deb | --de | --d | -d )
3174 --file | --fil | --fi | --f )
3177 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3179 as_fn_append CONFIG_FILES " '$ac_optarg'"
3180 ac_need_defaults=false;;
3181 --he | --h | --help | --hel | -h )
3182 $as_echo "$ac_cs_usage"; exit ;;
3183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3184 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3188 -*) as_fn_error "unrecognized option: \`$1'
3189 Try \`$0 --help' for more information." ;;
3191 *) as_fn_append ac_config_targets " $1"
3192 ac_need_defaults=false ;;
3198 ac_configure_extra_args=
3200 if $ac_cs_silent; then
3202 ac_configure_extra_args="$ac_configure_extra_args --silent"
3206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3207 if \$ac_cs_recheck; then
3208 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3210 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3211 CONFIG_SHELL='$SHELL'
3217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3221 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3222 ## Running $as_me. ##
3228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3232 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
3233 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
3234 # from automake < 1.5.
3235 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
3236 # Capture the value of LINGUAS because we need it to compute CATALOGS.
3237 LINGUAS="${LINGUAS-%UNSET%}"
3242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3244 # Handling of arguments.
3245 for ac_config_target in $ac_config_targets
3247 case $ac_config_target in
3248 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
3249 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3250 "installpaths") CONFIG_FILES="$CONFIG_FILES installpaths" ;;
3251 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
3253 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3258 # If the user did not use the arguments to specify the items to instantiate,
3259 # then the envvar interface is used. Set only those that are not.
3260 # We use the long form for the default assignment because of an extremely
3261 # bizarre bug on SunOS 4.1.3.
3262 if $ac_need_defaults; then
3263 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3264 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3267 # Have a temporary directory for convenience. Make it in the build tree
3268 # simply because there is no reason against having it here, and in addition,
3269 # creating and moving files from /tmp can sometimes cause problems.
3270 # Hook for its removal unless debugging.
3271 # Note that there is a small window in which the directory will not be cleaned:
3272 # after its creation but before its name has been assigned to `$tmp'.
3276 trap 'exit_status=$?
3277 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3279 trap 'as_fn_exit 1' 1 2 13 15
3281 # Create a (secure) tmp directory for tmp files.
3284 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3285 test -n "$tmp" && test -d "$tmp"
3288 tmp=./conf$$-$RANDOM
3289 (umask 077 && mkdir "$tmp")
3290 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3292 # Set up the scripts for CONFIG_FILES section.
3293 # No need to generate them if there are no CONFIG_FILES.
3294 # This happens for instance with `./config.status config.h'.
3295 if test -n "$CONFIG_FILES"; then
3298 ac_cr=`echo X | tr X '\015'`
3299 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3300 # But we know of no other shell where ac_cr would be empty at this
3301 # point, so we can use a bashism as a fallback.
3302 if test "x$ac_cr" = x; then
3303 eval ac_cr=\$\'\\r\'
3305 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3306 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3312 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3317 echo "cat >conf$$subs.awk <<_ACEOF" &&
3318 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3321 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3322 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3324 for ac_last_try in false false false false false :; do
3325 . ./conf$$subs.sh ||
3326 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3328 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3329 if test $ac_delim_n = $ac_delim_num; then
3331 elif $ac_last_try; then
3332 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3334 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3340 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3344 s/^/S["/; s/!.*/"]=/
3354 s/\(.\{148\}\)..*/\1/
3356 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3361 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3368 s/\(.\{148\}\)..*/\1/
3370 s/["\\]/\\&/g; s/^/"/; s/$/"/
3374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3379 ' <conf$$subs.awk | sed '
3384 ' >>$CONFIG_STATUS || ac_write_fail=1
3385 rm -f conf$$subs.awk
3386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3388 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3389 for (key in S) S_is_set[key] = 1
3395 nfields = split(line, field, "@")
3397 len = length(field[1])
3398 for (i = 2; i < nfields; i++) {
3400 keylen = length(key)
3401 if (S_is_set[key]) {
3403 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3404 len += length(value) + length(field[++i])
3415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3416 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3417 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3420 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3421 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3424 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3425 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3426 # trailing colons and then remove the whole line if VPATH becomes empty
3427 # (actually we leave an empty line to preserve line numbers).
3428 if test "x$srcdir" = x.; then
3429 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3433 s/^\([^=]*=[ ]*\):*/\1/
3439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3440 fi # test -n "$CONFIG_FILES"
3443 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3448 :[FHLC]) ac_mode=$ac_tag; continue;;
3450 case $ac_mode$ac_tag in
3452 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3453 :[FH]-) ac_tag=-:-;;
3454 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3471 -) ac_f="$tmp/stdin";;
3472 *) # Look for the file first in the build tree, then in the source tree
3473 # (if the path is not absolute). The absolute path cannot be DOS-style,
3474 # because $ac_f cannot contain `:'.
3478 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3480 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3482 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3483 as_fn_append ac_file_inputs " '$ac_f'"
3486 # Let's still pretend it is `configure' which instantiates (i.e., don't
3487 # use $as_me), people would be surprised to read:
3488 # /* config.h. Generated by config.status. */
3489 configure_input='Generated from '`
3490 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3492 if test x"$ac_file" != x-; then
3493 configure_input="$ac_file. $configure_input"
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3495 $as_echo "$as_me: creating $ac_file" >&6;}
3497 # Neutralize special characters interpreted by sed in replacement strings.
3498 case $configure_input in #(
3499 *\&* | *\|* | *\\* )
3500 ac_sed_conf_input=`$as_echo "$configure_input" |
3501 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3502 *) ac_sed_conf_input=$configure_input;;
3506 *:-:* | *:-) cat >"$tmp/stdin" \
3507 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3512 ac_dir=`$as_dirname -- "$ac_file" ||
3513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3514 X"$ac_file" : 'X\(//\)[^/]' \| \
3515 X"$ac_file" : 'X\(//\)$' \| \
3516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3517 $as_echo X"$ac_file" |
3518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3535 as_dir="$ac_dir"; as_fn_mkdir_p
3539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3541 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3542 # A ".." for each directory in $ac_dir_suffix.
3543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3544 case $ac_top_builddir_sub in
3545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3549 ac_abs_top_builddir=$ac_pwd
3550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3551 # for backward compatibility:
3552 ac_top_builddir=$ac_top_build_prefix
3555 .) # We are building in place.
3557 ac_top_srcdir=$ac_top_builddir_sub
3558 ac_abs_top_srcdir=$ac_pwd ;;
3559 [\\/]* | ?:[\\/]* ) # Absolute name.
3560 ac_srcdir=$srcdir$ac_dir_suffix;
3561 ac_top_srcdir=$srcdir
3562 ac_abs_top_srcdir=$srcdir ;;
3564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3565 ac_top_srcdir=$ac_top_build_prefix$srcdir
3566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3578 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3579 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3583 [\\/$]* | ?:[\\/]* ) ;;
3584 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3589 # If the template does not know about datarootdir, expand it.
3590 # FIXME: This hack should be removed a few years after 2.60.
3591 ac_datarootdir_hack=; ac_datarootdir_seen=
3602 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3603 *datarootdir*) ac_datarootdir_seen=yes;;
3604 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3606 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3609 ac_datarootdir_hack='
3610 s&@datadir@&$datadir&g
3611 s&@docdir@&$docdir&g
3612 s&@infodir@&$infodir&g
3613 s&@localedir@&$localedir&g
3614 s&@mandir@&$mandir&g
3615 s&\\\${datarootdir}&$datarootdir&g' ;;
3619 # Neutralize VPATH when `$srcdir' = `.'.
3620 # Shell code in configure.ac might set extrasub.
3621 # FIXME: do we really want to maintain this feature?
3622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3623 ac_sed_extra="$ac_vpsub
3626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3629 s|@configure_input@|$ac_sed_conf_input|;t t
3630 s&@top_builddir@&$ac_top_builddir_sub&;t t
3631 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3632 s&@srcdir@&$ac_srcdir&;t t
3633 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3634 s&@top_srcdir@&$ac_top_srcdir&;t t
3635 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3636 s&@builddir@&$ac_builddir&;t t
3637 s&@abs_builddir@&$ac_abs_builddir&;t t
3638 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3639 s&@INSTALL@&$ac_INSTALL&;t t
3640 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3641 $ac_datarootdir_hack
3643 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3644 || as_fn_error "could not create $ac_file" "$LINENO" 5
3646 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3647 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3648 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3650 which seems to be undefined. Please make sure it is defined." >&5
3651 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3652 which seems to be undefined. Please make sure it is defined." >&2;}
3656 -) cat "$tmp/out" && rm -f "$tmp/out";;
3657 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3659 || as_fn_error "could not create $ac_file" "$LINENO" 5
3663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3664 $as_echo "$as_me: executing $ac_file commands" >&6;}
3669 case $ac_file$ac_mode in
3671 for ac_file in $CONFIG_FILES; do
3672 # Support "outfile[:infile[:infile...]]"
3674 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3676 # PO directories have a Makefile.in generated from Makefile.in.in.
3677 case "$ac_file" in */Makefile.in)
3678 # Adjust a relative srcdir.
3679 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3680 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3681 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3682 # In autoconf-2.13 it is called $ac_given_srcdir.
3683 # In autoconf-2.50 it is called $srcdir.
3684 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3685 case "$ac_given_srcdir" in
3686 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3687 /*) top_srcdir="$ac_given_srcdir" ;;
3688 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3690 # Treat a directory as a PO directory if and only if it has a
3691 # POTFILES.in file. This allows packages to have multiple PO
3692 # directories under different names or in different locations.
3693 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3694 rm -f "$ac_dir/POTFILES"
3695 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3696 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3697 POMAKEFILEDEPS="POTFILES.in"
3698 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3699 # on $ac_dir but don't depend on user-specified configuration
3701 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3702 # The LINGUAS file contains the set of available languages.
3703 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3704 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3706 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3707 # Hide the ALL_LINGUAS assigment from automake < 1.5.
3708 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3709 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3711 # The set of available languages was given in configure.in.
3712 # Hide the ALL_LINGUAS assigment from automake < 1.5.
3713 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
3716 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3717 # Compute UPDATEPOFILES
3718 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3719 # Compute DUMMYPOFILES
3720 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3722 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3723 case "$ac_given_srcdir" in
3725 *) srcdirpre='$(srcdir)/' ;;
3731 for lang in $ALL_LINGUAS; do
3732 POFILES="$POFILES $srcdirpre$lang.po"
3733 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3734 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3735 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3737 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3738 # environment variable.
3740 if test -n "$ALL_LINGUAS"; then
3741 for presentlang in $ALL_LINGUAS; do
3743 if test "%UNSET%" != "$LINGUAS"; then
3744 desiredlanguages="$LINGUAS"
3746 desiredlanguages="$ALL_LINGUAS"
3748 for desiredlang in $desiredlanguages; do
3749 # Use the presentlang catalog if desiredlang is
3750 # a. equal to presentlang, or
3751 # b. a variant of presentlang (because in this case,
3752 # presentlang can be used as a fallback for messages
3753 # which are not translated in the desiredlang catalog).
3754 case "$desiredlang" in
3755 "$presentlang"*) useit=yes;;
3758 if test $useit = yes; then
3759 INST_LINGUAS="$INST_LINGUAS $presentlang"
3764 if test -n "$INST_LINGUAS"; then
3765 for lang in $INST_LINGUAS; do
3766 CATALOGS="$CATALOGS $lang.gmo"
3769 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3770 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"
3771 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3772 if test -f "$f"; then
3774 *.orig | *.bak | *~) ;;
3775 *) cat "$f" >> "$ac_dir/Makefile" ;;
3784 sed_script='/mkdir "*\$(distdir)"*$/{a\
3787 sed -e "$sed_script" < $ac_file > $ac_file.tmp
3788 mv $ac_file.tmp $ac_file
3791 # When this code is run, in config.status, two variables have already been
3793 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
3794 # - LINGUAS is the value of the environment variable LINGUAS at configure
3797 # Adjust a relative srcdir.
3798 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3799 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3800 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3801 # In autoconf-2.13 it is called $ac_given_srcdir.
3802 # In autoconf-2.50 it is called $srcdir.
3803 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3804 case "$ac_given_srcdir" in
3805 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3806 /*) top_srcdir="$ac_given_srcdir" ;;
3807 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3810 # Find a way to echo strings without interpreting backslash.
3811 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3814 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3815 gt_echo='printf %s\n'
3826 # A sed script that extracts the value of VARIABLE from a Makefile.
3828 # Test if the hold space is empty.
3833 # Yes it was empty. Look if we have the expected variable definition.
3834 /^[ ]*VARIABLE[ ]*=/{
3835 # Seen the first line of the variable definition.
3836 s/^[ ]*VARIABLE[ ]*=//
3841 # Here we are processing a line from the variable definition.
3842 # Remove comment, more precisely replace it with a space.
3844 # See if the line ends in a backslash.
3848 # Print the line, without the trailing backslash.
3851 # There was no trailing backslash. The end of the variable definition is
3852 # reached. Clear the hold space.
3857 # A trailing backslash means that the variable definition continues in the
3858 # next line. Put a nonempty string into the hold space to indicate this.
3864 # Set POTFILES to the value of the Makefile variable POTFILES.
3865 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
3866 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
3867 # Compute POTFILES_DEPS as
3868 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
3870 for file in $POTFILES; do
3871 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3875 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3876 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3878 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3879 # The LINGUAS file contains the set of available languages.
3880 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3881 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3883 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
3884 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
3885 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
3887 # Hide the ALL_LINGUAS assigment from automake < 1.5.
3888 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3890 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3891 # Compute UPDATEPOFILES
3892 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3893 # Compute DUMMYPOFILES
3894 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3896 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3897 # Compute PROPERTIESFILES
3898 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
3899 # Compute CLASSFILES
3900 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
3902 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3904 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
3905 # Compute RESOURCESDLLFILES
3906 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
3907 case "$ac_given_srcdir" in
3909 *) srcdirpre='$(srcdir)/' ;;
3920 for lang in $ALL_LINGUAS; do
3921 POFILES="$POFILES $srcdirpre$lang.po"
3922 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3923 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3924 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3925 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
3926 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
3927 QMFILES="$QMFILES $srcdirpre$lang.qm"
3928 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3929 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
3930 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/'`
3931 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
3933 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3934 # environment variable.
3936 if test -n "$ALL_LINGUAS"; then
3937 for presentlang in $ALL_LINGUAS; do
3939 if test "%UNSET%" != "$LINGUAS"; then
3940 desiredlanguages="$LINGUAS"
3942 desiredlanguages="$ALL_LINGUAS"
3944 for desiredlang in $desiredlanguages; do
3945 # Use the presentlang catalog if desiredlang is
3946 # a. equal to presentlang, or
3947 # b. a variant of presentlang (because in this case,
3948 # presentlang can be used as a fallback for messages
3949 # which are not translated in the desiredlang catalog).
3950 case "$desiredlang" in
3951 "$presentlang"*) useit=yes;;
3954 if test $useit = yes; then
3955 INST_LINGUAS="$INST_LINGUAS $presentlang"
3964 if test -n "$INST_LINGUAS"; then
3965 for lang in $INST_LINGUAS; do
3966 CATALOGS="$CATALOGS $lang.gmo"
3967 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
3968 QTCATALOGS="$QTCATALOGS $lang.qm"
3969 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3970 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
3971 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/'`
3972 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
3976 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"
3977 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
3978 # Add dependencies that cannot be formulated as a simple suffix rule.
3979 for lang in $ALL_LINGUAS; do
3980 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3981 cat >> "$ac_file.tmp" <<EOF
3982 $frobbedlang.msg: $lang.po
3983 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
3984 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3988 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
3989 # Add dependencies that cannot be formulated as a simple suffix rule.
3990 for lang in $ALL_LINGUAS; do
3991 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/'`
3992 cat >> "$ac_file.tmp" <<EOF
3993 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
3994 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
3995 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3999 if test -n "$POMAKEFILEDEPS"; then
4000 cat >> "$ac_file.tmp" <<EOF
4001 Makefile: $POMAKEFILEDEPS
4004 mv "$ac_file.tmp" "$ac_file"
4013 ac_clean_files=$ac_clean_files_save
4015 test $ac_write_fail = 0 ||
4016 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4019 # configure is writing to config.log, and then calls config.status.
4020 # config.status does its own redirection, appending to config.log.
4021 # Unfortunately, on DOS this fails, as config.log is still kept open
4022 # by configure, so config.status won't be able to write to it; its
4023 # output is simply discarded. So we exec the FD to /dev/null,
4024 # effectively closing config.log, so it can be properly (re)opened and
4025 # appended to by config.status. When coming back to configure, we
4026 # need to make the FD available again.
4027 if test "$no_create" != yes; then
4029 ac_config_status_args=
4030 test "$silent" = yes &&
4031 ac_config_status_args="$ac_config_status_args --quiet"
4033 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4035 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4036 # would make configure fail if this is the last instruction.
4037 $ac_cs_success || as_fn_exit $?
4039 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4041 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}