Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / gettext-tools / examples / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
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 ## -------------------- ##
16
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 :
20   emulate sh
21   NULLCMD=:
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+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
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
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
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'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
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.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
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
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
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 || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
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 :
138   emulate sh
139   NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
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; }
158
159 exitcode=0
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 :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
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 :
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181 else
182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 do
186   IFS=$as_save_IFS
187   test -z "$as_dir" && as_dir=.
188   as_found=:
189   case $as_dir in #(
190          /*)
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 :
198   break 2
199 fi
200 fi
201            done;;
202        esac
203   as_found=false
204 done
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
208 fi; }
209 IFS=$as_save_IFS
210
211
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.
216         BASH_ENV=/dev/null
217         ENV=/dev/null
218         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219         export CONFIG_SHELL
220         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 fi
222
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."
229   else
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."
234   fi
235   exit 1
236 fi
237 fi
238 fi
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
244
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
252 {
253   { eval $1=; unset $1;}
254 }
255 as_unset=as_fn_unset
256
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
261 {
262   return $1
263 } # as_fn_set_status
264
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
269 {
270   set +e
271   as_fn_set_status $1
272   exit $1
273 } # as_fn_exit
274
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
279 {
280
281   case $as_dir in #(
282   -*) as_dir=./$as_dir;;
283   esac
284   test -d "$as_dir" || eval $as_mkdir_p || {
285     as_dirs=
286     while :; do
287       case $as_dir in #(
288       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289       *) as_qdir=$as_dir;;
290       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299             s//\1/
300             q
301           }
302           /^X\(\/\/\)[^/].*/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)$/{
307             s//\1/
308             q
309           }
310           /^X\(\/\).*/{
311             s//\1/
312             q
313           }
314           s/.*/./; q'`
315       test -d "$as_dir" && break
316     done
317     test -z "$as_dirs" || eval "mkdir $as_dirs"
318   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319
320
321 } # as_fn_mkdir_p
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
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329   eval 'as_fn_append ()
330   {
331     eval $1+=\$2
332   }'
333 else
334   as_fn_append ()
335   {
336     eval $1=\$$1\$2
337   }
338 fi # as_fn_append
339
340 # as_fn_arith ARG...
341 # ------------------
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 :
346   eval 'as_fn_arith ()
347   {
348     as_val=$(( $* ))
349   }'
350 else
351   as_fn_arith ()
352   {
353     as_val=`expr "$@" || test $? -eq 1`
354   }
355 fi # as_fn_arith
356
357
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.
363 as_fn_error ()
364 {
365   as_status=$?; test $as_status -eq 0 && as_status=1
366   if test "$3"; then
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
369   fi
370   $as_echo "$as_me: error: $1" >&2
371   as_fn_exit $as_status
372 } # as_fn_error
373
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375    test "X`expr 00001 : '.*\(...\)'`" = X001; then
376   as_expr=expr
377 else
378   as_expr=false
379 fi
380
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382   as_basename=basename
383 else
384   as_basename=false
385 fi
386
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388   as_dirname=dirname
389 else
390   as_dirname=false
391 fi
392
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395          X"$0" : 'X\(//\)$' \| \
396          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 $as_echo X/"$0" |
398     sed '/^.*\/\([^/][^/]*\)\/*$/{
399             s//\1/
400             q
401           }
402           /^X\/\(\/\/\)$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\).*/{
407             s//\1/
408             q
409           }
410           s/.*/./; q'`
411
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
418
419
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.  :-)
425   sed -n '
426     p
427     /[$]LINENO/=
428   ' <$as_myself |
429     sed '
430       s/[$]LINENO.*/&-/
431       t lineno
432       b
433       :lineno
434       N
435       :loop
436       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437       t loop
438       s/-\n.*//
439     ' >$as_me.lineno &&
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; }
442
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).
446   . "./$as_me.lineno"
447   # Exit status is that of the last command.
448   exit
449 }
450
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
453 -n*)
454   case `echo 'xy\c'` in
455   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
456   xy)  ECHO_C='\c';;
457   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
458        ECHO_T=' ';;
459   esac;;
460 *)
461   ECHO_N='-n';;
462 esac
463
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466   rm -f conf$$.dir/conf$$.file
467 else
468   rm -f conf$$.dir
469   mkdir conf$$.dir 2>/dev/null
470 fi
471 if (echo >conf$$.file) 2>/dev/null; then
472   if ln -s conf$$.file conf$$ 2>/dev/null; then
473     as_ln_s='ln -s'
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 ||
479       as_ln_s='cp -p'
480   elif ln conf$$.file conf$$ 2>/dev/null; then
481     as_ln_s=ln
482   else
483     as_ln_s='cp -p'
484   fi
485 else
486   as_ln_s='cp -p'
487 fi
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
490
491 if mkdir -p . 2>/dev/null; then
492   as_mkdir_p='mkdir -p "$as_dir"'
493 else
494   test -d ./-p && rmdir ./-p
495   as_mkdir_p=false
496 fi
497
498 if test -x / >/dev/null 2>&1; then
499   as_test_x='test -x'
500 else
501   if ls -dL / >/dev/null 2>&1; then
502     as_ls_L_option=L
503   else
504     as_ls_L_option=
505   fi
506   as_test_x='
507     eval sh -c '\''
508       if test -d "$1"; then
509         test -d "$1/.";
510       else
511         case $1 in #(
512         -*)set "./$1";;
513         esac;
514         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515         ???[sx]*):;;*)false;;esac;fi
516     '\'' sh
517   '
518 fi
519 as_executable_p=$as_test_x
520
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'"
523
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'"
526
527
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
530
531 # Name of the host.
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`
535
536 #
537 # Initializations.
538 #
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
547
548 # Identity of this package.
549 PACKAGE_NAME=
550 PACKAGE_TARNAME=
551 PACKAGE_VERSION=
552 PACKAGE_STRING=
553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
555
556 ac_unique_file="installpaths.in"
557 ac_subst_vars='LTLIBOBJS
558 LIBOBJS
559 aclocaldir
560 XGETTEXT_EXTRA_OPTIONS
561 MSGMERGE
562 XGETTEXT_015
563 XGETTEXT
564 GMSGFMT_015
565 MSGFMT_015
566 GMSGFMT
567 MSGFMT
568 GETTEXT_MACRO_VERSION
569 USE_NLS
570 AM_BACKSLASH
571 AM_DEFAULT_VERBOSITY
572 am__untar
573 am__tar
574 AMTAR
575 am__leading_dot
576 SET_MAKE
577 AWK
578 mkdir_p
579 MKDIR_P
580 INSTALL_STRIP_PROGRAM
581 STRIP
582 install_sh
583 MAKEINFO
584 AUTOHEADER
585 AUTOMAKE
586 AUTOCONF
587 ACLOCAL
588 VERSION
589 PACKAGE
590 CYGPATH_W
591 am__isrc
592 INSTALL_DATA
593 INSTALL_SCRIPT
594 INSTALL_PROGRAM
595 target_alias
596 host_alias
597 build_alias
598 LIBS
599 ECHO_T
600 ECHO_N
601 ECHO_C
602 DEFS
603 mandir
604 localedir
605 libdir
606 psdir
607 pdfdir
608 dvidir
609 htmldir
610 infodir
611 docdir
612 oldincludedir
613 includedir
614 localstatedir
615 sharedstatedir
616 sysconfdir
617 datadir
618 datarootdir
619 libexecdir
620 sbindir
621 bindir
622 program_transform_name
623 prefix
624 exec_prefix
625 PACKAGE_URL
626 PACKAGE_BUGREPORT
627 PACKAGE_STRING
628 PACKAGE_VERSION
629 PACKAGE_TARNAME
630 PACKAGE_NAME
631 PATH_SEPARATOR
632 SHELL'
633 ac_subst_files=''
634 ac_user_opts='
635 enable_option_checking
636 enable_silent_rules
637 enable_nls
638 '
639       ac_precious_vars='build_alias
640 host_alias
641 target_alias'
642
643
644 # Initialize some variables set by options.
645 ac_init_help=
646 ac_init_version=false
647 ac_unrecognized_opts=
648 ac_unrecognized_sep=
649 # The variables have the same names as the options, with
650 # dashes changed to underlines.
651 cache_file=/dev/null
652 exec_prefix=NONE
653 no_create=
654 no_recursion=
655 prefix=NONE
656 program_prefix=NONE
657 program_suffix=NONE
658 program_transform_name=s,x,x,
659 silent=
660 site=
661 srcdir=
662 verbose=
663 x_includes=NONE
664 x_libraries=NONE
665
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'
684 htmldir='${docdir}'
685 dvidir='${docdir}'
686 pdfdir='${docdir}'
687 psdir='${docdir}'
688 libdir='${exec_prefix}/lib'
689 localedir='${datarootdir}/locale'
690 mandir='${datarootdir}/man'
691
692 ac_prev=
693 ac_dashdash=
694 for ac_option
695 do
696   # If the previous option needs an argument, assign it.
697   if test -n "$ac_prev"; then
698     eval $ac_prev=\$ac_option
699     ac_prev=
700     continue
701   fi
702
703   case $ac_option in
704   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
705   *)    ac_optarg=yes ;;
706   esac
707
708   # Accept the important Cygnus configure options, so we can diagnose typos.
709
710   case $ac_dashdash$ac_option in
711   --)
712     ac_dashdash=yes ;;
713
714   -bindir | --bindir | --bindi | --bind | --bin | --bi)
715     ac_prev=bindir ;;
716   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
717     bindir=$ac_optarg ;;
718
719   -build | --build | --buil | --bui | --bu)
720     ac_prev=build_alias ;;
721   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
722     build_alias=$ac_optarg ;;
723
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 ;;
730
731   --config-cache | -C)
732     cache_file=config.cache ;;
733
734   -datadir | --datadir | --datadi | --datad)
735     ac_prev=datadir ;;
736   -datadir=* | --datadir=* | --datadi=* | --datad=*)
737     datadir=$ac_optarg ;;
738
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 ;;
745
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
754       *"
755 "enable_$ac_useropt"
756 "*) ;;
757       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
758          ac_unrecognized_sep=', ';;
759     esac
760     eval enable_$ac_useropt=no ;;
761
762   -docdir | --docdir | --docdi | --doc | --do)
763     ac_prev=docdir ;;
764   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
765     docdir=$ac_optarg ;;
766
767   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
768     ac_prev=dvidir ;;
769   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
770     dvidir=$ac_optarg ;;
771
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
780       *"
781 "enable_$ac_useropt"
782 "*) ;;
783       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
784          ac_unrecognized_sep=', ';;
785     esac
786     eval enable_$ac_useropt=\$ac_optarg ;;
787
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 ;;
796
797   -gas | --gas | --ga | --g)
798     # Obsolete; use --with-gas.
799     with_gas=yes ;;
800
801   -help | --help | --hel | --he | -h)
802     ac_init_help=long ;;
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 ;;
807
808   -host | --host | --hos | --ho)
809     ac_prev=host_alias ;;
810   -host=* | --host=* | --hos=* | --ho=*)
811     host_alias=$ac_optarg ;;
812
813   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
814     ac_prev=htmldir ;;
815   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
816   | --ht=*)
817     htmldir=$ac_optarg ;;
818
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 ;;
825
826   -infodir | --infodir | --infodi | --infod | --info | --inf)
827     ac_prev=infodir ;;
828   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
829     infodir=$ac_optarg ;;
830
831   -libdir | --libdir | --libdi | --libd)
832     ac_prev=libdir ;;
833   -libdir=* | --libdir=* | --libdi=* | --libd=*)
834     libdir=$ac_optarg ;;
835
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 ;;
842
843   -localedir | --localedir | --localedi | --localed | --locale)
844     ac_prev=localedir ;;
845   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
846     localedir=$ac_optarg ;;
847
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 ;;
854
855   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
856     ac_prev=mandir ;;
857   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
858     mandir=$ac_optarg ;;
859
860   -nfp | --nfp | --nf)
861     # Obsolete; use --without-fp.
862     with_fp=no ;;
863
864   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
865   | --no-cr | --no-c | -n)
866     no_create=yes ;;
867
868   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
869   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
870     no_recursion=yes ;;
871
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 ;;
880
881   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
882     ac_prev=prefix ;;
883   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
884     prefix=$ac_optarg ;;
885
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 ;;
892
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 ;;
899
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 ;;
916
917   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
918     ac_prev=pdfdir ;;
919   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
920     pdfdir=$ac_optarg ;;
921
922   -psdir | --psdir | --psdi | --psd | --ps)
923     ac_prev=psdir ;;
924   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
925     psdir=$ac_optarg ;;
926
927   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
928   | -silent | --silent | --silen | --sile | --sil)
929     silent=yes ;;
930
931   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
932     ac_prev=sbindir ;;
933   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
934   | --sbi=* | --sb=*)
935     sbindir=$ac_optarg ;;
936
937   -sharedstatedir | --sharedstatedir | --sharedstatedi \
938   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
939   | --sharedst | --shareds | --shared | --share | --shar \
940   | --sha | --sh)
941     ac_prev=sharedstatedir ;;
942   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
943   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
944   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
945   | --sha=* | --sh=*)
946     sharedstatedir=$ac_optarg ;;
947
948   -site | --site | --sit)
949     ac_prev=site ;;
950   -site=* | --site=* | --sit=*)
951     site=$ac_optarg ;;
952
953   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
954     ac_prev=srcdir ;;
955   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
956     srcdir=$ac_optarg ;;
957
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 ;;
964
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 ;;
969
970   -v | -verbose | --verbose | --verbos | --verbo | --verb)
971     verbose=yes ;;
972
973   -version | --version | --versio | --versi | --vers | -V)
974     ac_init_version=: ;;
975
976   -with-* | --with-*)
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
984       *"
985 "with_$ac_useropt"
986 "*) ;;
987       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
988          ac_unrecognized_sep=', ';;
989     esac
990     eval with_$ac_useropt=\$ac_optarg ;;
991
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
1000       *"
1001 "with_$ac_useropt"
1002 "*) ;;
1003       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1004          ac_unrecognized_sep=', ';;
1005     esac
1006     eval with_$ac_useropt=no ;;
1007
1008   --x)
1009     # Obsolete; use --with-x.
1010     with_x=yes ;;
1011
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 ;;
1018
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 ;;
1025
1026   -*) as_fn_error "unrecognized option: \`$ac_option'
1027 Try \`$0 --help' for more information."
1028     ;;
1029
1030   *=*)
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'" ;;
1036     esac
1037     eval $ac_envvar=\$ac_optarg
1038     export $ac_envvar ;;
1039
1040   *)
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}
1046     ;;
1047
1048   esac
1049 done
1050
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"
1054 fi
1055
1056 if test -n "$ac_unrecognized_opts"; then
1057   case $enable_option_checking in
1058     no) ;;
1059     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1060     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1061   esac
1062 fi
1063
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
1069 do
1070   eval ac_val=\$$ac_var
1071   # Remove trailing slashes.
1072   case $ac_val in
1073     */ )
1074       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1075       eval $ac_var=\$ac_val;;
1076   esac
1077   # Be sure to have absolute directory names.
1078   case $ac_val in
1079     [\\/$]* | ?:[\\/]* )  continue;;
1080     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1081   esac
1082   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1083 done
1084
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.
1088 build=$build_alias
1089 host=$host_alias
1090 target=$target_alias
1091
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
1099     cross_compiling=yes
1100   fi
1101 fi
1102
1103 ac_tool_prefix=
1104 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1105
1106 test "$silent" = yes && exec 6>/dev/null
1107
1108
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"
1115
1116
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1128             s//\1/
1129             q
1130           }
1131           /^X\(\/\/\)[^/].*/{
1132             s//\1/
1133             q
1134           }
1135           /^X\(\/\/\)$/{
1136             s//\1/
1137             q
1138           }
1139           /^X\(\/\).*/{
1140             s//\1/
1141             q
1142           }
1143           s/.*/./; q'`
1144   srcdir=$ac_confdir
1145   if test ! -r "$srcdir/$ac_unique_file"; then
1146     srcdir=..
1147   fi
1148 else
1149   ac_srcdir_defaulted=no
1150 fi
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"
1154 fi
1155 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1156 ac_abs_confdir=`(
1157         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1158         pwd)`
1159 # When building in place, set srcdir=.
1160 if test "$ac_abs_confdir" = "$ac_pwd"; then
1161   srcdir=.
1162 fi
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.
1166 case $srcdir in
1167 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1168 esac
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}
1174 done
1175
1176 #
1177 # Report the --help message.
1178 #
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.
1182   cat <<_ACEOF
1183 \`configure' configures this package to adapt to many kinds of systems.
1184
1185 Usage: $0 [OPTION]... [VAR=VALUE]...
1186
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.
1189
1190 Defaults for the options are specified in brackets.
1191
1192 Configuration:
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 \`..']
1202
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
1207                           [PREFIX]
1208
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'.
1213
1214 For better control, use the options below.
1215
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]
1236 _ACEOF
1237
1238   cat <<\_ACEOF
1239
1240 Program names:
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
1244 _ACEOF
1245 fi
1246
1247 if test -n "$ac_init_help"; then
1248
1249   cat <<\_ACEOF
1250
1251 Optional Features:
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
1258
1259 Report bugs to the package provider.
1260 _ACEOF
1261 ac_status=$?
1262 fi
1263
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"; } ||
1269       continue
1270     ac_builddir=.
1271
1272 case "$ac_dir" in
1273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1274 *)
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/ ;;
1281   esac ;;
1282 esac
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
1287
1288 case $srcdir in
1289   .)  # We are building in place.
1290     ac_srcdir=.
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 ;;
1297   *) # Relative name.
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 ;;
1301 esac
1302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1303
1304     cd "$ac_dir" || { ac_status=$?; continue; }
1305     # Check for guested configure.
1306     if test -f "$ac_srcdir/configure.gnu"; then
1307       echo &&
1308       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1309     elif test -f "$ac_srcdir/configure"; then
1310       echo &&
1311       $SHELL "$ac_srcdir/configure" --help=recursive
1312     else
1313       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1314     fi || ac_status=$?
1315     cd "$ac_pwd" || { ac_status=$?; break; }
1316   done
1317 fi
1318
1319 test -n "$ac_init_help" && exit $ac_status
1320 if $ac_init_version; then
1321   cat <<\_ACEOF
1322 configure
1323 generated by GNU Autoconf 2.65
1324
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.
1328 _ACEOF
1329   exit
1330 fi
1331
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.
1338
1339 It was created by $as_me, which was
1340 generated by GNU Autoconf 2.65.  Invocation command line was
1341
1342   $ $0 $@
1343
1344 _ACEOF
1345 exec 5>>config.log
1346 {
1347 cat <<_ASUNAME
1348 ## --------- ##
1349 ## Platform. ##
1350 ## --------- ##
1351
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`
1357
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`
1360
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`
1368
1369 _ASUNAME
1370
1371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1372 for as_dir in $PATH
1373 do
1374   IFS=$as_save_IFS
1375   test -z "$as_dir" && as_dir=.
1376     $as_echo "PATH: $as_dir"
1377   done
1378 IFS=$as_save_IFS
1379
1380 } >&5
1381
1382 cat >&5 <<_ACEOF
1383
1384
1385 ## ----------- ##
1386 ## Core tests. ##
1387 ## ----------- ##
1388
1389 _ACEOF
1390
1391
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.
1397 ac_configure_args=
1398 ac_configure_args0=
1399 ac_configure_args1=
1400 ac_must_keep_next=false
1401 for ac_pass in 1 2
1402 do
1403   for ac_arg
1404   do
1405     case $ac_arg in
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)
1409       continue ;;
1410     *\'*)
1411       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1412     esac
1413     case $ac_pass in
1414     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1415     2)
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.
1419       else
1420         case $ac_arg in
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 ;;
1427             esac
1428             ;;
1429           -* ) ac_must_keep_next=true ;;
1430         esac
1431       fi
1432       as_fn_append ac_configure_args " '$ac_arg'"
1433       ;;
1434     esac
1435   done
1436 done
1437 { ac_configure_args0=; unset ac_configure_args0;}
1438 { ac_configure_args1=; unset ac_configure_args1;}
1439
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.
1447   {
1448     echo
1449
1450     cat <<\_ASBOX
1451 ## ---------------- ##
1452 ## Cache variables. ##
1453 ## ---------------- ##
1454 _ASBOX
1455     echo
1456     # The following way of writing the cache mishandles newlines in values,
1457 (
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
1460     case $ac_val in #(
1461     *${as_nl}*)
1462       case $ac_var in #(
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;} ;;
1465       esac
1466       case $ac_var in #(
1467       _ | IFS | as_nl) ;; #(
1468       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1469       *) { eval $ac_var=; unset $ac_var;} ;;
1470       esac ;;
1471     esac
1472   done
1473   (set) 2>&1 |
1474     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1475     *${as_nl}ac_space=\ *)
1476       sed -n \
1477         "s/'\''/'\''\\\\'\'''\''/g;
1478           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1479       ;; #(
1480     *)
1481       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1482       ;;
1483     esac |
1484     sort
1485 )
1486     echo
1487
1488     cat <<\_ASBOX
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1492 _ASBOX
1493     echo
1494     for ac_var in $ac_subst_vars
1495     do
1496       eval ac_val=\$$ac_var
1497       case $ac_val in
1498       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1499       esac
1500       $as_echo "$ac_var='\''$ac_val'\''"
1501     done | sort
1502     echo
1503
1504     if test -n "$ac_subst_files"; then
1505       cat <<\_ASBOX
1506 ## ------------------- ##
1507 ## File substitutions. ##
1508 ## ------------------- ##
1509 _ASBOX
1510       echo
1511       for ac_var in $ac_subst_files
1512       do
1513         eval ac_val=\$$ac_var
1514         case $ac_val in
1515         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1516         esac
1517         $as_echo "$ac_var='\''$ac_val'\''"
1518       done | sort
1519       echo
1520     fi
1521
1522     if test -s confdefs.h; then
1523       cat <<\_ASBOX
1524 ## ----------- ##
1525 ## confdefs.h. ##
1526 ## ----------- ##
1527 _ASBOX
1528       echo
1529       cat confdefs.h
1530       echo
1531     fi
1532     test "$ac_signal" != 0 &&
1533       $as_echo "$as_me: caught signal $ac_signal"
1534     $as_echo "$as_me: exit $exit_status"
1535   } >&5
1536   rm -f core *.core core.conftest.* &&
1537     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1538     exit $exit_status
1539 ' 0
1540 for ac_signal in 1 2 13 15; do
1541   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1542 done
1543 ac_signal=0
1544
1545 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1546 rm -f -r conftest* confdefs.h
1547
1548 $as_echo "/* confdefs.h */" > confdefs.h
1549
1550 # Predefined preprocessor variables.
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_NAME "$PACKAGE_NAME"
1554 _ACEOF
1555
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 _ACEOF
1559
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 _ACEOF
1563
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 _ACEOF
1567
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570 _ACEOF
1571
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_URL "$PACKAGE_URL"
1574 _ACEOF
1575
1576
1577 # Let the site file select an alternate cache file if it wants to.
1578 # Prefer an explicitly selected file to automatically selected ones.
1579 ac_site_file1=NONE
1580 ac_site_file2=NONE
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
1586 else
1587   ac_site_file1=$ac_default_prefix/share/config.site
1588   ac_site_file2=$ac_default_prefix/etc/config.site
1589 fi
1590 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1591 do
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
1597     . "$ac_site_file"
1598   fi
1599 done
1600
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;}
1607     case $cache_file in
1608       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1609       *)                      . "./$cache_file";;
1610     esac
1611   fi
1612 else
1613   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1614 $as_echo "$as_me: creating cache $cache_file" >&6;}
1615   >$cache_file
1616 fi
1617
1618 # Check that the precious variables saved in the cache have kept the same
1619 # value.
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
1627     set,)
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=: ;;
1631     ,set)
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=: ;;
1635     ,);;
1636     *)
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=:
1645         else
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
1649         fi
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;}
1654       fi;;
1655   esac
1656   # Pass precious variables to config.status.
1657   if test "$ac_new_set" = set; then
1658     case $ac_new_val in
1659     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1660     *) ac_arg=$ac_var=$ac_new_val ;;
1661     esac
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'" ;;
1665     esac
1666   fi
1667 done
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
1674 fi
1675 ## -------------------- ##
1676 ## Main body of script. ##
1677 ## -------------------- ##
1678
1679 ac_ext=c
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
1684
1685
1686
1687 ac_aux_dir=
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
1691       ac_aux_dir=$ac_dir
1692       ac_install_sh="$ac_aux_dir/$ac_t -c"
1693       break 2
1694     fi
1695   done
1696 done
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
1699 fi
1700
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.
1708
1709
1710 . $srcdir/../../version.sh
1711
1712
1713
1714
1715
1716
1717 am__api_version='1.11'
1718
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
1725 # AIX /bin/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
1738 else
1739   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 for as_dir in $PATH
1741 do
1742   IFS=$as_save_IFS
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[\\/]* | \
1749   /usr/ucb/* ) ;;
1750   *)
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
1753     # by default.
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.
1760             :
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.
1764             :
1765           else
1766             rm -rf conftest.one conftest.two conftest.dir
1767             echo one > conftest.one
1768             echo two > conftest.two
1769             mkdir conftest.dir
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
1774             then
1775               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1776               break 3
1777             fi
1778           fi
1779         fi
1780       done
1781     done
1782     ;;
1783 esac
1784
1785   done
1786 IFS=$as_save_IFS
1787
1788 rm -rf conftest.one conftest.two conftest.dir
1789
1790 fi
1791   if test "${ac_cv_path_install+set}" = set; then
1792     INSTALL=$ac_cv_path_install
1793   else
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
1799   fi
1800 fi
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1802 $as_echo "$INSTALL" >&6; }
1803
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}'
1807
1808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1809
1810 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1811
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; }
1814 # Just in case
1815 sleep 1
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.
1819 am_lf='
1820 '
1821 case `pwd` in
1822   *[\\\"\#\$\&\'\`$am_lf]*)
1823     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1824 esac
1825 case $srcdir in
1826   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1827     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1828 esac
1829
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
1834 # directory).
1835 if (
1836    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1837    if test "$*" = "X"; then
1838       # -L didn't work.
1839       set X `ls -t "$srcdir/configure" conftest.file`
1840    fi
1841    rm -f conftest.file
1842    if test "$*" != "X $srcdir/configure conftest.file" \
1843       && test "$*" != "X conftest.file $srcdir/configure"; then
1844
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
1851    fi
1852
1853    test "$2" = conftest.file
1854    )
1855 then
1856    # Ok.
1857    :
1858 else
1859    as_fn_error "newly created file is older than distributed files!
1860 Check your system clock" "$LINENO" 5
1861 fi
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"`
1873
1874 # expand $ac_aux_dir to an absolute path
1875 am_aux_dir=`cd $ac_aux_dir && pwd`
1876
1877 if test x"${MISSING+set}" != xset; then
1878   case $am_aux_dir in
1879   *\ * | *\     *)
1880     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1881   *)
1882     MISSING="\${SHELL} $am_aux_dir/missing" ;;
1883   esac
1884 fi
1885 # Use eval to expand $SHELL
1886 if eval "$MISSING --run true"; then
1887   am_missing_run="$MISSING --run "
1888 else
1889   am_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;}
1892 fi
1893
1894 if test x"${install_sh}" != xset; then
1895   case $am_aux_dir in
1896   *\ * | *\     *)
1897     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1898   *)
1899     install_sh="\${SHELL} $am_aux_dir/install-sh"
1900   esac
1901 fi
1902
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
1915 else
1916   if test -n "$STRIP"; then
1917   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1918 else
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH
1921 do
1922   IFS=$as_save_IFS
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
1928     break 2
1929   fi
1930 done
1931   done
1932 IFS=$as_save_IFS
1933
1934 fi
1935 fi
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; }
1940 else
1941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1942 $as_echo "no" >&6; }
1943 fi
1944
1945
1946 fi
1947 if test -z "$ac_cv_prog_STRIP"; then
1948   ac_ct_STRIP=$STRIP
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
1955 else
1956   if test -n "$ac_ct_STRIP"; then
1957   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1958 else
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960 for as_dir in $PATH
1961 do
1962   IFS=$as_save_IFS
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
1968     break 2
1969   fi
1970 done
1971   done
1972 IFS=$as_save_IFS
1973
1974 fi
1975 fi
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; }
1980 else
1981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1982 $as_echo "no" >&6; }
1983 fi
1984
1985   if test "x$ac_ct_STRIP" = x; then
1986     STRIP=":"
1987   else
1988     case $cross_compiling:$ac_tool_warned in
1989 yes:)
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 ;;
1993 esac
1994     STRIP=$ac_ct_STRIP
1995   fi
1996 else
1997   STRIP="$ac_cv_prog_STRIP"
1998 fi
1999
2000 fi
2001 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2002
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
2008 else
2009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2011 do
2012   IFS=$as_save_IFS
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
2022                break 3;;
2023            esac
2024          done
2025        done
2026   done
2027 IFS=$as_save_IFS
2028
2029 fi
2030
2031   test -d ./--version && rmdir ./--version
2032   if test "${ac_cv_path_mkdir+set}" = set; then
2033     MKDIR_P="$ac_cv_path_mkdir -p"
2034   else
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"
2040   fi
2041 fi
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2043 $as_echo "$MKDIR_P" >&6; }
2044
2045 mkdir_p="$MKDIR_P"
2046 case $mkdir_p in
2047   [\\/$]* | ?:[\\/]*) ;;
2048   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2049 esac
2050
2051 for ac_prog in gawk mawk nawk awk
2052 do
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
2059 else
2060   if test -n "$AWK"; then
2061   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066   IFS=$as_save_IFS
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
2072     break 2
2073   fi
2074 done
2075   done
2076 IFS=$as_save_IFS
2077
2078 fi
2079 fi
2080 AWK=$ac_cv_prog_AWK
2081 if test -n "$AWK"; then
2082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2083 $as_echo "$AWK" >&6; }
2084 else
2085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2086 $as_echo "no" >&6; }
2087 fi
2088
2089
2090   test -n "$AWK" && break
2091 done
2092
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; }
2095 set x ${MAKE-make}
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
2099 else
2100   cat >conftest.make <<\_ACEOF
2101 SHELL = /bin/sh
2102 all:
2103         @echo '@@@%%%=$(MAKE)=@@@%%%'
2104 _ACEOF
2105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2106 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2107   *@@@%%%=?*=@@@%%%*)
2108     eval ac_cv_prog_make_${ac_make}_set=yes;;
2109   *)
2110     eval ac_cv_prog_make_${ac_make}_set=no;;
2111 esac
2112 rm -f conftest.make
2113 fi
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; }
2117   SET_MAKE=
2118 else
2119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2120 $as_echo "no" >&6; }
2121   SET_MAKE="MAKE=${MAKE-make}"
2122 fi
2123
2124 rm -rf .tst 2>/dev/null
2125 mkdir .tst 2>/dev/null
2126 if test -d .tst; then
2127   am__leading_dot=.
2128 else
2129   am__leading_dot=_
2130 fi
2131 rmdir .tst 2>/dev/null
2132
2133 # Check whether --enable-silent-rules was given.
2134 if test "${enable_silent_rules+set}" = set; then :
2135   enableval=$enable_silent_rules;
2136 fi
2137
2138 case $enable_silent_rules in
2139 yes) AM_DEFAULT_VERBOSITY=0;;
2140 no)  AM_DEFAULT_VERBOSITY=1;;
2141 *)   AM_DEFAULT_VERBOSITY=1;;
2142 esac
2143 AM_BACKSLASH='\'
2144
2145
2146
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
2154   fi
2155 fi
2156
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'
2161   else
2162     CYGPATH_W=echo
2163   fi
2164 fi
2165
2166
2167 # Define the identity of the package.
2168  PACKAGE=''
2169  VERSION=''
2170
2171
2172 # Some tools Automake needs.
2173
2174 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2175
2176
2177 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2178
2179
2180 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2181
2182
2183 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2184
2185
2186 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2187
2188 # We need awk for the "check" target.  The system "awk" is bad on
2189 # some platforms.
2190 # Always define AMTAR for backward compatibility.
2191
2192 AMTAR=${AMTAR-"${am_missing_run}tar"}
2193
2194 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2195
2196
2197
2198
2199
2200     PACKAGE=gettext-examples
2201
2202      VERSION=$VERSION_NUMBER
2203
2204
2205
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE "$PACKAGE"
2208 _ACEOF
2209
2210
2211 cat >>confdefs.h <<_ACEOF
2212 #define VERSION "$VERSION"
2213 _ACEOF
2214
2215
2216
2217
2218 test "$docdir" != '${datarootdir}/doc/${PACKAGE}' || docdir='${datarootdir}/doc/gettext'
2219
2220
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
2226 else
2227   USE_NLS=yes
2228 fi
2229
2230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2231 $as_echo "$USE_NLS" >&6; }
2232
2233
2234
2235
2236       GETTEXT_MACRO_VERSION=0.18
2237
2238
2239
2240
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
2246   chmod +x conf$$.sh
2247   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2248     PATH_SEPARATOR=';'
2249   else
2250     PATH_SEPARATOR=:
2251   fi
2252   rm -f conf$$.sh
2253 fi
2254
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
2258 #! /bin/sh
2259 exit 0
2260 _ASEOF
2261 chmod +x conf$$.file
2262 if test -x conf$$.file >/dev/null 2>&1; then
2263   ac_executable_p="test -x"
2264 else
2265   ac_executable_p="test -f"
2266 fi
2267 rm -f conf$$.file
2268
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
2275 else
2276   case "$MSGFMT" in
2277   [\\/]* | ?:[\\/]*)
2278     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2279     ;;
2280   *)
2281     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2282     for ac_dir in $PATH; do
2283       IFS="$ac_save_IFS"
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"
2291             break 2
2292           fi
2293         fi
2294       done
2295     done
2296     IFS="$ac_save_IFS"
2297   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2298     ;;
2299 esac
2300 fi
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; }
2305 else
2306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307 $as_echo "no" >&6; }
2308 fi
2309
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
2316 else
2317   case $GMSGFMT in
2318   [\\/]* | ?:[\\/]*)
2319   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2320   ;;
2321   *)
2322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 for as_dir in $PATH
2324 do
2325   IFS=$as_save_IFS
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
2331     break 2
2332   fi
2333 done
2334   done
2335 IFS=$as_save_IFS
2336
2337   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2338   ;;
2339 esac
2340 fi
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; }
2345 else
2346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2347 $as_echo "no" >&6; }
2348 fi
2349
2350
2351
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 ;;
2355   esac
2356
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 ;;
2360   esac
2361
2362
2363
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
2369   chmod +x conf$$.sh
2370   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2371     PATH_SEPARATOR=';'
2372   else
2373     PATH_SEPARATOR=:
2374   fi
2375   rm -f conf$$.sh
2376 fi
2377
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
2381 #! /bin/sh
2382 exit 0
2383 _ASEOF
2384 chmod +x conf$$.file
2385 if test -x conf$$.file >/dev/null 2>&1; then
2386   ac_executable_p="test -x"
2387 else
2388   ac_executable_p="test -f"
2389 fi
2390 rm -f conf$$.file
2391
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
2398 else
2399   case "$XGETTEXT" in
2400   [\\/]* | ?:[\\/]*)
2401     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2402     ;;
2403   *)
2404     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2405     for ac_dir in $PATH; do
2406       IFS="$ac_save_IFS"
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"
2414             break 2
2415           fi
2416         fi
2417       done
2418     done
2419     IFS="$ac_save_IFS"
2420   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2421     ;;
2422 esac
2423 fi
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; }
2428 else
2429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2431 fi
2432
2433     rm -f messages.po
2434
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 ;;
2438   esac
2439
2440
2441
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
2447   chmod +x conf$$.sh
2448   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2449     PATH_SEPARATOR=';'
2450   else
2451     PATH_SEPARATOR=:
2452   fi
2453   rm -f conf$$.sh
2454 fi
2455
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
2459 #! /bin/sh
2460 exit 0
2461 _ASEOF
2462 chmod +x conf$$.file
2463 if test -x conf$$.file >/dev/null 2>&1; then
2464   ac_executable_p="test -x"
2465 else
2466   ac_executable_p="test -f"
2467 fi
2468 rm -f conf$$.file
2469
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
2476 else
2477   case "$MSGMERGE" in
2478   [\\/]* | ?:[\\/]*)
2479     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2480     ;;
2481   *)
2482     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2483     for ac_dir in $PATH; do
2484       IFS="$ac_save_IFS"
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"
2491             break 2
2492           fi
2493         fi
2494       done
2495     done
2496     IFS="$ac_save_IFS"
2497   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2498     ;;
2499 esac
2500 fi
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; }
2505 else
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 $as_echo "no" >&6; }
2508 fi
2509
2510
2511         test -n "$localedir" || localedir='${datadir}/locale'
2512
2513
2514     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
2515
2516
2517   ac_config_commands="$ac_config_commands po-directories"
2518
2519
2520
2521 aclocaldir='${datadir}/aclocal'
2522
2523
2524 ac_config_files="$ac_config_files Makefile"
2525
2526 ac_config_files="$ac_config_files installpaths"
2527
2528 ac_config_files="$ac_config_files po/Makefile"
2529
2530
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.
2537 #
2538 # config.status only pays attention to the cache file if you give it
2539 # the --recheck option to rerun configure.
2540 #
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
2543 # following values.
2544
2545 _ACEOF
2546
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.
2552 (
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
2555     case $ac_val in #(
2556     *${as_nl}*)
2557       case $ac_var in #(
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;} ;;
2560       esac
2561       case $ac_var in #(
2562       _ | IFS | as_nl) ;; #(
2563       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2564       *) { eval $ac_var=; unset $ac_var;} ;;
2565       esac ;;
2566     esac
2567   done
2568
2569   (set) 2>&1 |
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 \.
2574       sed -n \
2575         "s/'/'\\\\''/g;
2576           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2577       ;; #(
2578     *)
2579       # `set' quotes correctly as required by POSIX, so do not add quotes.
2580       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2581       ;;
2582     esac |
2583     sort
2584 ) |
2585   sed '
2586      /^ac_cv_env_/b end
2587      t clear
2588      :clear
2589      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2590      t end
2591      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2592      :end' >>confcache
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
2599   else
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;}
2602   fi
2603 fi
2604 rm -f confcache
2605
2606 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2607 # Let make expand exec_prefix.
2608 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2609
2610 # Transform confdefs.h into DEFS.
2611 # Protect against shell expansion while executing Makefile rules.
2612 # Protect against Makefile macro expansion.
2613 #
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.
2617 ac_script='
2618 :mline
2619 /\\$/{
2620  N
2621  s,\\\n,,
2622  b mline
2623 }
2624 t clear
2625 :clear
2626 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2627 t quote
2628 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2629 t quote
2630 b any
2631 :quote
2632 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2633 s/\[/\\&/g
2634 s/\]/\\&/g
2635 s/\$/$$/g
2636 H
2637 :any
2638 ${
2639         g
2640         s/^\n//
2641         s/\n/ /g
2642         p
2643 }
2644 '
2645 DEFS=`sed -n "$ac_script" confdefs.h`
2646
2647
2648 ac_libobjs=
2649 ac_ltlibobjs=
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'
2658 done
2659 LIBOBJS=$ac_libobjs
2660
2661 LTLIBOBJS=$ac_ltlibobjs
2662
2663
2664
2665
2666 : ${CONFIG_STATUS=./config.status}
2667 ac_write_fail=0
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;}
2672 as_write_fail=0
2673 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2674 #! $SHELL
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.
2679
2680 debug=false
2681 ac_cs_recheck=false
2682 ac_cs_silent=false
2683
2684 SHELL=\${CONFIG_SHELL-$SHELL}
2685 export SHELL
2686 _ASEOF
2687 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2688 ## -------------------- ##
2689 ## M4sh Initialization. ##
2690 ## -------------------- ##
2691
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 :
2695   emulate sh
2696   NULLCMD=:
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
2701 else
2702   case `(set -o) 2>/dev/null` in #(
2703   *posix*) :
2704     set -o posix ;; #(
2705   *) :
2706      ;;
2707 esac
2708 fi
2709
2710
2711 as_nl='
2712 '
2713 export as_nl
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'
2727 else
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'
2731   else
2732     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2733     as_echo_n_body='eval
2734       arg=$1;
2735       case $arg in #(
2736       *"$as_nl"*)
2737         expr "X$arg" : "X\\(.*\\)$as_nl";
2738         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2739       esac;
2740       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2741     '
2742     export as_echo_n_body
2743     as_echo_n='sh -c $as_echo_n_body as_echo'
2744   fi
2745   export as_echo_body
2746   as_echo='sh -c $as_echo_body as_echo'
2747 fi
2748
2749 # The user is always right.
2750 if test "${PATH_SEPARATOR+set}" != set; then
2751   PATH_SEPARATOR=:
2752   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2753     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2754       PATH_SEPARATOR=';'
2755   }
2756 fi
2757
2758
2759 # IFS
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.)
2764 IFS=" ""        $as_nl"
2765
2766 # Find who we are.  Look in the path if we contain no directory separator.
2767 case $0 in #((
2768   *[\\/]* ) as_myself=$0 ;;
2769   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2775   done
2776 IFS=$as_save_IFS
2777
2778      ;;
2779 esac
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
2783   as_myself=$0
2784 fi
2785 if test ! -f "$as_myself"; then
2786   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2787   exit 1
2788 fi
2789
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 || :
2797 done
2798 PS1='$ '
2799 PS2='> '
2800 PS4='+ '
2801
2802 # NLS nuisances.
2803 LC_ALL=C
2804 export LC_ALL
2805 LANGUAGE=C
2806 export LANGUAGE
2807
2808 # CDPATH.
2809 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2810
2811
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.
2817 as_fn_error ()
2818 {
2819   as_status=$?; test $as_status -eq 0 && as_status=1
2820   if test "$3"; then
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
2823   fi
2824   $as_echo "$as_me: error: $1" >&2
2825   as_fn_exit $as_status
2826 } # as_fn_error
2827
2828
2829 # as_fn_set_status STATUS
2830 # -----------------------
2831 # Set $? to STATUS, without forking.
2832 as_fn_set_status ()
2833 {
2834   return $1
2835 } # as_fn_set_status
2836
2837 # as_fn_exit STATUS
2838 # -----------------
2839 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2840 as_fn_exit ()
2841 {
2842   set +e
2843   as_fn_set_status $1
2844   exit $1
2845 } # as_fn_exit
2846
2847 # as_fn_unset VAR
2848 # ---------------
2849 # Portably unset VAR.
2850 as_fn_unset ()
2851 {
2852   { eval $1=; unset $1;}
2853 }
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
2860 # implementations.
2861 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2862   eval 'as_fn_append ()
2863   {
2864     eval $1+=\$2
2865   }'
2866 else
2867   as_fn_append ()
2868   {
2869     eval $1=\$$1\$2
2870   }
2871 fi # as_fn_append
2872
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 ()
2880   {
2881     as_val=$(( $* ))
2882   }'
2883 else
2884   as_fn_arith ()
2885   {
2886     as_val=`expr "$@" || test $? -eq 1`
2887   }
2888 fi # as_fn_arith
2889
2890
2891 if expr a : '\(a\)' >/dev/null 2>&1 &&
2892    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2893   as_expr=expr
2894 else
2895   as_expr=false
2896 fi
2897
2898 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2899   as_basename=basename
2900 else
2901   as_basename=false
2902 fi
2903
2904 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2905   as_dirname=dirname
2906 else
2907   as_dirname=false
2908 fi
2909
2910 as_me=`$as_basename -- "$0" ||
2911 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2912          X"$0" : 'X\(//\)$' \| \
2913          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2914 $as_echo X/"$0" |
2915     sed '/^.*\/\([^/][^/]*\)\/*$/{
2916             s//\1/
2917             q
2918           }
2919           /^X\/\(\/\/\)$/{
2920             s//\1/
2921             q
2922           }
2923           /^X\/\(\/\).*/{
2924             s//\1/
2925             q
2926           }
2927           s/.*/./; q'`
2928
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
2935
2936 ECHO_C= ECHO_N= ECHO_T=
2937 case `echo -n x` in #(((((
2938 -n*)
2939   case `echo 'xy\c'` in
2940   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2941   xy)  ECHO_C='\c';;
2942   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2943        ECHO_T=' ';;
2944   esac;;
2945 *)
2946   ECHO_N='-n';;
2947 esac
2948
2949 rm -f conf$$ conf$$.exe conf$$.file
2950 if test -d conf$$.dir; then
2951   rm -f conf$$.dir/conf$$.file
2952 else
2953   rm -f conf$$.dir
2954   mkdir conf$$.dir 2>/dev/null
2955 fi
2956 if (echo >conf$$.file) 2>/dev/null; then
2957   if ln -s conf$$.file conf$$ 2>/dev/null; then
2958     as_ln_s='ln -s'
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 ||
2964       as_ln_s='cp -p'
2965   elif ln conf$$.file conf$$ 2>/dev/null; then
2966     as_ln_s=ln
2967   else
2968     as_ln_s='cp -p'
2969   fi
2970 else
2971   as_ln_s='cp -p'
2972 fi
2973 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2974 rmdir conf$$.dir 2>/dev/null
2975
2976
2977 # as_fn_mkdir_p
2978 # -------------
2979 # Create "$as_dir" as a directory, including parents if necessary.
2980 as_fn_mkdir_p ()
2981 {
2982
2983   case $as_dir in #(
2984   -*) as_dir=./$as_dir;;
2985   esac
2986   test -d "$as_dir" || eval $as_mkdir_p || {
2987     as_dirs=
2988     while :; do
2989       case $as_dir in #(
2990       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2991       *) as_qdir=$as_dir;;
2992       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3001             s//\1/
3002             q
3003           }
3004           /^X\(\/\/\)[^/].*/{
3005             s//\1/
3006             q
3007           }
3008           /^X\(\/\/\)$/{
3009             s//\1/
3010             q
3011           }
3012           /^X\(\/\).*/{
3013             s//\1/
3014             q
3015           }
3016           s/.*/./; q'`
3017       test -d "$as_dir" && break
3018     done
3019     test -z "$as_dirs" || eval "mkdir $as_dirs"
3020   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3021
3022
3023 } # as_fn_mkdir_p
3024 if mkdir -p . 2>/dev/null; then
3025   as_mkdir_p='mkdir -p "$as_dir"'
3026 else
3027   test -d ./-p && rmdir ./-p
3028   as_mkdir_p=false
3029 fi
3030
3031 if test -x / >/dev/null 2>&1; then
3032   as_test_x='test -x'
3033 else
3034   if ls -dL / >/dev/null 2>&1; then
3035     as_ls_L_option=L
3036   else
3037     as_ls_L_option=
3038   fi
3039   as_test_x='
3040     eval sh -c '\''
3041       if test -d "$1"; then
3042         test -d "$1/.";
3043       else
3044         case $1 in #(
3045         -*)set "./$1";;
3046         esac;
3047         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3048         ???[sx]*):;;*)false;;esac;fi
3049     '\'' sh
3050   '
3051 fi
3052 as_executable_p=$as_test_x
3053
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'"
3056
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'"
3059
3060
3061 exec 6>&1
3062 ## ----------------------------------- ##
3063 ## Main body of $CONFIG_STATUS script. ##
3064 ## ----------------------------------- ##
3065 _ASEOF
3066 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3067
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.
3072 ac_log="
3073 This file was extended by gettext-examples $as_me, which was
3074 generated by GNU Autoconf 2.65.  Invocation command line was
3075
3076   CONFIG_FILES    = $CONFIG_FILES
3077   CONFIG_HEADERS  = $CONFIG_HEADERS
3078   CONFIG_LINKS    = $CONFIG_LINKS
3079   CONFIG_COMMANDS = $CONFIG_COMMANDS
3080   $ $0 $@
3081
3082 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3083 "
3084
3085 _ACEOF
3086
3087 case $ac_config_files in *"
3088 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3089 esac
3090
3091
3092
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"
3097
3098 _ACEOF
3099
3100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3101 ac_cs_usage="\
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.
3105
3106 Usage: $0 [OPTION]... [TAG]...
3107
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
3117
3118 Configuration files:
3119 $config_files
3120
3121 Configuration commands:
3122 $config_commands
3123
3124 Report bugs to the package provider."
3125
3126 _ACEOF
3127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3128 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3129 ac_cs_version="\\
3130 gettext-examples config.status
3131 configured by $0, generated by GNU Autoconf 2.65,
3132   with options \\"\$ac_cs_config\\"
3133
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."
3137
3138 ac_pwd='$ac_pwd'
3139 srcdir='$srcdir'
3140 INSTALL='$INSTALL'
3141 MKDIR_P='$MKDIR_P'
3142 AWK='$AWK'
3143 test -n "\$AWK" || AWK=awk
3144 _ACEOF
3145
3146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3147 # The default lists apply if the user does not specify any file.
3148 ac_need_defaults=:
3149 while test $# != 0
3150 do
3151   case $1 in
3152   --*=*)
3153     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3154     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3155     ac_shift=:
3156     ;;
3157   *)
3158     ac_option=$1
3159     ac_optarg=$2
3160     ac_shift=shift
3161     ;;
3162   esac
3163
3164   case $ac_option in
3165   # Handling of the options.
3166   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3167     ac_cs_recheck=: ;;
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 )
3173     debug=: ;;
3174   --file | --fil | --fi | --f )
3175     $ac_shift
3176     case $ac_optarg in
3177     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3178     esac
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)
3185     ac_cs_silent=: ;;
3186
3187   # This is an error.
3188   -*) as_fn_error "unrecognized option: \`$1'
3189 Try \`$0 --help' for more information." ;;
3190
3191   *) as_fn_append ac_config_targets " $1"
3192      ac_need_defaults=false ;;
3193
3194   esac
3195   shift
3196 done
3197
3198 ac_configure_extra_args=
3199
3200 if $ac_cs_silent; then
3201   exec 6>/dev/null
3202   ac_configure_extra_args="$ac_configure_extra_args --silent"
3203 fi
3204
3205 _ACEOF
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
3209   shift
3210   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3211   CONFIG_SHELL='$SHELL'
3212   export CONFIG_SHELL
3213   exec "\$@"
3214 fi
3215
3216 _ACEOF
3217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3218 exec 5>>config.log
3219 {
3220   echo
3221   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3222 ## Running $as_me. ##
3223 _ASBOX
3224   $as_echo "$ac_log"
3225 } >&5
3226
3227 _ACEOF
3228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3229 #
3230 # INIT-COMMANDS
3231 #
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%}"
3238
3239
3240 _ACEOF
3241
3242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3243
3244 # Handling of arguments.
3245 for ac_config_target in $ac_config_targets
3246 do
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" ;;
3252
3253   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3254   esac
3255 done
3256
3257
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
3265 fi
3266
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'.
3273 $debug ||
3274 {
3275   tmp=
3276   trap 'exit_status=$?
3277   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3278 ' 0
3279   trap 'as_fn_exit 1' 1 2 13 15
3280 }
3281 # Create a (secure) tmp directory for tmp files.
3282
3283 {
3284   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3285   test -n "$tmp" && test -d "$tmp"
3286 }  ||
3287 {
3288   tmp=./conf$$-$RANDOM
3289   (umask 077 && mkdir "$tmp")
3290 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3291
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
3296
3297
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\'
3304 fi
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
3307   ac_cs_awk_cr='\r'
3308 else
3309   ac_cs_awk_cr=$ac_cr
3310 fi
3311
3312 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3313 _ACEOF
3314
3315
3316 {
3317   echo "cat >conf$$subs.awk <<_ACEOF" &&
3318   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3319   echo "_ACEOF"
3320 } >conf$$subs.sh ||
3321   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3322 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3323 ac_delim='%!_!# '
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
3327
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
3330     break
3331   elif $ac_last_try; then
3332     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3333   else
3334     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3335   fi
3336 done
3337 rm -f conf$$subs.sh
3338
3339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3340 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3341 _ACEOF
3342 sed -n '
3343 h
3344 s/^/S["/; s/!.*/"]=/
3345 p
3346 g
3347 s/^[^!]*!//
3348 :repl
3349 t repl
3350 s/'"$ac_delim"'$//
3351 t delim
3352 :nl
3353 h
3354 s/\(.\{148\}\)..*/\1/
3355 t more1
3356 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3357 p
3358 n
3359 b repl
3360 :more1
3361 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3362 p
3363 g
3364 s/.\{148\}//
3365 t nl
3366 :delim
3367 h
3368 s/\(.\{148\}\)..*/\1/
3369 t more2
3370 s/["\\]/\\&/g; s/^/"/; s/$/"/
3371 p
3372 b
3373 :more2
3374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3375 p
3376 g
3377 s/.\{148\}//
3378 t delim
3379 ' <conf$$subs.awk | sed '
3380 /^[^""]/{
3381   N
3382   s/\n//
3383 }
3384 ' >>$CONFIG_STATUS || ac_write_fail=1
3385 rm -f conf$$subs.awk
3386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3387 _ACAWK
3388 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3389   for (key in S) S_is_set[key] = 1
3390   FS = "\a"
3391
3392 }
3393 {
3394   line = $ 0
3395   nfields = split(line, field, "@")
3396   substed = 0
3397   len = length(field[1])
3398   for (i = 2; i < nfields; i++) {
3399     key = field[i]
3400     keylen = length(key)
3401     if (S_is_set[key]) {
3402       value = S[key]
3403       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3404       len += length(value) + length(field[++i])
3405       substed = 1
3406     } else
3407       len += 1 + keylen
3408   }
3409
3410   print line
3411 }
3412
3413 _ACAWK
3414 _ACEOF
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"
3418 else
3419   cat
3420 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3421   || as_fn_error "could not setup config files machinery" "$LINENO" 5
3422 _ACEOF
3423
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[        ]*=/{
3430 s/:*\$(srcdir):*/:/
3431 s/:*\${srcdir}:*/:/
3432 s/:*@srcdir@:*/:/
3433 s/^\([^=]*=[     ]*\):*/\1/
3434 s/:*$//
3435 s/^[^=]*=[       ]*$//
3436 }'
3437 fi
3438
3439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3440 fi # test -n "$CONFIG_FILES"
3441
3442
3443 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
3444 shift
3445 for ac_tag
3446 do
3447   case $ac_tag in
3448   :[FHLC]) ac_mode=$ac_tag; continue;;
3449   esac
3450   case $ac_mode$ac_tag in
3451   :[FHL]*:*);;
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;;
3455   esac
3456   ac_save_IFS=$IFS
3457   IFS=:
3458   set x $ac_tag
3459   IFS=$ac_save_IFS
3460   shift
3461   ac_file=$1
3462   shift
3463
3464   case $ac_mode in
3465   :L) ac_source=$1;;
3466   :[FH])
3467     ac_file_inputs=
3468     for ac_f
3469     do
3470       case $ac_f 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 `:'.
3475          test -f "$ac_f" ||
3476            case $ac_f in
3477            [\\/$]*) false;;
3478            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3479            esac ||
3480            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3481       esac
3482       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3483       as_fn_append ac_file_inputs " '$ac_f'"
3484     done
3485
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'
3491         `' by configure.'
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;}
3496     fi
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;;
3503     esac
3504
3505     case $ac_tag in
3506     *:-:* | *:-) cat >"$tmp/stdin" \
3507       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3508     esac
3509     ;;
3510   esac
3511
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3519             s//\1/
3520             q
3521           }
3522           /^X\(\/\/\)[^/].*/{
3523             s//\1/
3524             q
3525           }
3526           /^X\(\/\/\)$/{
3527             s//\1/
3528             q
3529           }
3530           /^X\(\/\).*/{
3531             s//\1/
3532             q
3533           }
3534           s/.*/./; q'`
3535   as_dir="$ac_dir"; as_fn_mkdir_p
3536   ac_builddir=.
3537
3538 case "$ac_dir" in
3539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3540 *)
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/ ;;
3547   esac ;;
3548 esac
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
3553
3554 case $srcdir in
3555   .)  # We are building in place.
3556     ac_srcdir=.
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 ;;
3563   *) # Relative name.
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 ;;
3567 esac
3568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3569
3570
3571   case $ac_mode in
3572   :F)
3573   #
3574   # CONFIG_FILE
3575   #
3576
3577   case $INSTALL in
3578   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3579   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3580   esac
3581   ac_MKDIR_P=$MKDIR_P
3582   case $MKDIR_P in
3583   [\\/$]* | ?:[\\/]* ) ;;
3584   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3585   esac
3586 _ACEOF
3587
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=
3592 ac_sed_dataroot='
3593 /datarootdir/ {
3594   p
3595   q
3596 }
3597 /@datadir@/p
3598 /@docdir@/p
3599 /@infodir@/p
3600 /@localedir@/p
3601 /@mandir@/p'
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;}
3607 _ACEOF
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' ;;
3616 esac
3617 _ACEOF
3618
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
3624 $extrasub
3625 _ACEOF
3626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3627 :t
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
3642 "
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
3645
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;}
3653
3654   rm -f "$tmp/stdin"
3655   case $ac_file in
3656   -) cat "$tmp/out" && rm -f "$tmp/out";;
3657   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3658   esac \
3659   || as_fn_error "could not create $ac_file" "$LINENO" 5
3660  ;;
3661
3662
3663   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3664 $as_echo "$as_me: executing $ac_file commands" >&6;}
3665  ;;
3666   esac
3667
3668
3669   case $ac_file$ac_mode in
3670     "po-directories":C)
3671     for ac_file in $CONFIG_FILES; do
3672       # Support "outfile[:infile[:infile...]]"
3673       case "$ac_file" in
3674         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3675       esac
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" ;;
3689         esac
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
3700           # parameters.
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"
3705             fi
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"
3710           else
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'
3714           fi
3715           # Compute POFILES
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)
3721           # Compute GMOFILES
3722           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3723           case "$ac_given_srcdir" in
3724             .) srcdirpre= ;;
3725             *) srcdirpre='$(srcdir)/' ;;
3726           esac
3727           POFILES=
3728           UPDATEPOFILES=
3729           DUMMYPOFILES=
3730           GMOFILES=
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"
3736           done
3737           # CATALOGS depends on both $ac_dir and the user's LINGUAS
3738           # environment variable.
3739           INST_LINGUAS=
3740           if test -n "$ALL_LINGUAS"; then
3741             for presentlang in $ALL_LINGUAS; do
3742               useit=no
3743               if test "%UNSET%" != "$LINGUAS"; then
3744                 desiredlanguages="$LINGUAS"
3745               else
3746                 desiredlanguages="$ALL_LINGUAS"
3747               fi
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;;
3756                 esac
3757               done
3758               if test $useit = yes; then
3759                 INST_LINGUAS="$INST_LINGUAS $presentlang"
3760               fi
3761             done
3762           fi
3763           CATALOGS=
3764           if test -n "$INST_LINGUAS"; then
3765             for lang in $INST_LINGUAS; do
3766               CATALOGS="$CATALOGS $lang.gmo"
3767             done
3768           fi
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
3773               case "$f" in
3774                 *.orig | *.bak | *~) ;;
3775                 *) cat "$f" >> "$ac_dir/Makefile" ;;
3776               esac
3777             fi
3778           done
3779         fi
3780         ;;
3781       esac
3782     done ;;
3783     "Makefile":F)
3784   sed_script='/mkdir "*\$(distdir)"*$/{a\
3785 \       $(MAKE) distdir1
3786 }'
3787   sed -e "$sed_script" < $ac_file > $ac_file.tmp
3788   mv $ac_file.tmp $ac_file
3789  ;;
3790     "po/Makefile":F)
3791   # When this code is run, in config.status, two variables have already been
3792   # set:
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
3795   #   time.
3796
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" ;;
3808   esac
3809
3810   # Find a way to echo strings without interpreting backslash.
3811   if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3812     gt_echo='echo'
3813   else
3814     if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3815       gt_echo='printf %s\n'
3816     else
3817       echo_func () {
3818         cat <<EOT
3819
3820 EOT
3821       }
3822       gt_echo='echo_func'
3823     fi
3824   fi
3825
3826   # A sed script that extracts the value of VARIABLE from a Makefile.
3827   sed_x_variable='
3828 # Test if the hold space is empty.
3829 x
3830 s/P/P/
3831 x
3832 ta
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[     ]*=//
3837   ba
3838 }
3839 bd
3840 :a
3841 # Here we are processing a line from the variable definition.
3842 # Remove comment, more precisely replace it with a space.
3843 s/#.*$/ /
3844 # See if the line ends in a backslash.
3845 tb
3846 :b
3847 s/\\$//
3848 # Print the line, without the trailing backslash.
3849 p
3850 tc
3851 # There was no trailing backslash. The end of the variable definition is
3852 # reached. Clear the hold space.
3853 s/^.*$//
3854 x
3855 bd
3856 :c
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.
3859 s/^.*$/P/
3860 x
3861 :d
3862 '
3863
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))
3869   POTFILES_DEPS=
3870   for file in $POTFILES; do
3871     POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3872   done
3873   POMAKEFILEDEPS=""
3874
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"
3877   fi
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"
3882   else
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"`
3886   fi
3887   # Hide the ALL_LINGUAS assigment from automake < 1.5.
3888   eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3889   # Compute POFILES
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)
3895   # Compute GMOFILES
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)
3901   # Compute QMFILES
3902   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3903   # Compute MSGFILES
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
3908     .) srcdirpre= ;;
3909     *) srcdirpre='$(srcdir)/' ;;
3910   esac
3911   POFILES=
3912   UPDATEPOFILES=
3913   DUMMYPOFILES=
3914   GMOFILES=
3915   PROPERTIESFILES=
3916   CLASSFILES=
3917   QMFILES=
3918   MSGFILES=
3919   RESOURCESDLLFILES=
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"
3932   done
3933   # CATALOGS depends on both $ac_dir and the user's LINGUAS
3934   # environment variable.
3935   INST_LINGUAS=
3936   if test -n "$ALL_LINGUAS"; then
3937     for presentlang in $ALL_LINGUAS; do
3938       useit=no
3939       if test "%UNSET%" != "$LINGUAS"; then
3940         desiredlanguages="$LINGUAS"
3941       else
3942         desiredlanguages="$ALL_LINGUAS"
3943       fi
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;;
3952         esac
3953       done
3954       if test $useit = yes; then
3955         INST_LINGUAS="$INST_LINGUAS $presentlang"
3956       fi
3957     done
3958   fi
3959   CATALOGS=
3960   JAVACATALOGS=
3961   QTCATALOGS=
3962   TCLCATALOGS=
3963   CSHARPCATALOGS=
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"
3973     done
3974   fi
3975
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; }
3985 EOF
3986     done
3987   fi
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; }
3996 EOF
3997     done
3998   fi
3999   if test -n "$POMAKEFILEDEPS"; then
4000     cat >> "$ac_file.tmp" <<EOF
4001 Makefile: $POMAKEFILEDEPS
4002 EOF
4003   fi
4004   mv "$ac_file.tmp" "$ac_file"
4005  ;;
4006
4007   esac
4008 done # for ac_tag
4009
4010
4011 as_fn_exit 0
4012 _ACEOF
4013 ac_clean_files=$ac_clean_files_save
4014
4015 test $ac_write_fail = 0 ||
4016   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4017
4018
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
4028   ac_cs_success=:
4029   ac_config_status_args=
4030   test "$silent" = yes &&
4031     ac_config_status_args="$ac_config_status_args --quiet"
4032   exec 5>/dev/null
4033   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4034   exec 5>>config.log
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 $?
4038 fi
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;}
4042 fi
4043