1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for gettext-examples 0.21.
4#
5# Report bugs to <bug-gettext@gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, 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
18DUALCASE=1; export DUALCASE # for MKS sh
19if 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
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if 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 --'
49elif (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'
52else
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'
72fi
73
74# The user is always right.
75if 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  }
81fi
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.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: bug-gettext@gnu.org about your system, including any
271$0: error possibly output before this message. Then install
272$0: a modern shell, or manually run the script under such a
273$0: shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='gettext-examples'
582PACKAGE_TARNAME='gettext-examples'
583PACKAGE_VERSION='0.21'
584PACKAGE_STRING='gettext-examples 0.21'
585PACKAGE_BUGREPORT='bug-gettext@gnu.org'
586PACKAGE_URL=''
587
588ac_unique_file="installpaths.in"
589ac_subst_vars='LTLIBOBJS
590LIBOBJS
591aclocaldir
592XGETTEXT_EXTRA_OPTIONS
593MSGMERGE_FOR_MSGFMT_OPTION
594MSGMERGE
595XGETTEXT_015
596XGETTEXT
597GMSGFMT_015
598GMSGFMT
599MSGFMT
600GETTEXT_MACRO_VERSION
601USE_NLS
602SED
603AM_BACKSLASH
604AM_DEFAULT_VERBOSITY
605AM_DEFAULT_V
606AM_V
607am__untar
608am__tar
609AMTAR
610am__leading_dot
611SET_MAKE
612AWK
613mkdir_p
614MKDIR_P
615INSTALL_STRIP_PROGRAM
616STRIP
617install_sh
618MAKEINFO
619AUTOHEADER
620AUTOMAKE
621AUTOCONF
622ACLOCAL
623VERSION
624PACKAGE
625CYGPATH_W
626am__isrc
627INSTALL_DATA
628INSTALL_SCRIPT
629INSTALL_PROGRAM
630target_alias
631host_alias
632build_alias
633LIBS
634ECHO_T
635ECHO_N
636ECHO_C
637DEFS
638mandir
639localedir
640libdir
641psdir
642pdfdir
643dvidir
644htmldir
645infodir
646docdir
647oldincludedir
648includedir
649localstatedir
650sharedstatedir
651sysconfdir
652datadir
653datarootdir
654libexecdir
655sbindir
656bindir
657program_transform_name
658prefix
659exec_prefix
660PACKAGE_URL
661PACKAGE_BUGREPORT
662PACKAGE_STRING
663PACKAGE_VERSION
664PACKAGE_TARNAME
665PACKAGE_NAME
666PATH_SEPARATOR
667SHELL'
668ac_subst_files=''
669ac_user_opts='
670enable_option_checking
671enable_silent_rules
672enable_nls
673'
674      ac_precious_vars='build_alias
675host_alias
676target_alias'
677
678
679# Initialize some variables set by options.
680ac_init_help=
681ac_init_version=false
682ac_unrecognized_opts=
683ac_unrecognized_sep=
684# The variables have the same names as the options, with
685# dashes changed to underlines.
686cache_file=/dev/null
687exec_prefix=NONE
688no_create=
689no_recursion=
690prefix=NONE
691program_prefix=NONE
692program_suffix=NONE
693program_transform_name=s,x,x,
694silent=
695site=
696srcdir=
697verbose=
698x_includes=NONE
699x_libraries=NONE
700
701# Installation directory options.
702# These are left unexpanded so users can "make install exec_prefix=/foo"
703# and all the variables that are supposed to be based on exec_prefix
704# by default will actually change.
705# Use braces instead of parens because sh, perl, etc. also accept them.
706# (The list follows the same order as the GNU Coding Standards.)
707bindir='${exec_prefix}/bin'
708sbindir='${exec_prefix}/sbin'
709libexecdir='${exec_prefix}/libexec'
710datarootdir='${prefix}/share'
711datadir='${datarootdir}'
712sysconfdir='${prefix}/etc'
713sharedstatedir='${prefix}/com'
714localstatedir='${prefix}/var'
715includedir='${prefix}/include'
716oldincludedir='/usr/include'
717docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
718infodir='${datarootdir}/info'
719htmldir='${docdir}'
720dvidir='${docdir}'
721pdfdir='${docdir}'
722psdir='${docdir}'
723libdir='${exec_prefix}/lib'
724localedir='${datarootdir}/locale'
725mandir='${datarootdir}/man'
726
727ac_prev=
728ac_dashdash=
729for ac_option
730do
731  # If the previous option needs an argument, assign it.
732  if test -n "$ac_prev"; then
733    eval $ac_prev=\$ac_option
734    ac_prev=
735    continue
736  fi
737
738  case $ac_option in
739  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
740  *=)   ac_optarg= ;;
741  *)    ac_optarg=yes ;;
742  esac
743
744  # Accept the important Cygnus configure options, so we can diagnose typos.
745
746  case $ac_dashdash$ac_option in
747  --)
748    ac_dashdash=yes ;;
749
750  -bindir | --bindir | --bindi | --bind | --bin | --bi)
751    ac_prev=bindir ;;
752  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
753    bindir=$ac_optarg ;;
754
755  -build | --build | --buil | --bui | --bu)
756    ac_prev=build_alias ;;
757  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
758    build_alias=$ac_optarg ;;
759
760  -cache-file | --cache-file | --cache-fil | --cache-fi \
761  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
762    ac_prev=cache_file ;;
763  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
764  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
765    cache_file=$ac_optarg ;;
766
767  --config-cache | -C)
768    cache_file=config.cache ;;
769
770  -datadir | --datadir | --datadi | --datad)
771    ac_prev=datadir ;;
772  -datadir=* | --datadir=* | --datadi=* | --datad=*)
773    datadir=$ac_optarg ;;
774
775  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
776  | --dataroo | --dataro | --datar)
777    ac_prev=datarootdir ;;
778  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
779  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
780    datarootdir=$ac_optarg ;;
781
782  -disable-* | --disable-*)
783    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
784    # Reject names that are not valid shell variable names.
785    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786      as_fn_error $? "invalid feature name: $ac_useropt"
787    ac_useropt_orig=$ac_useropt
788    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
789    case $ac_user_opts in
790      *"
791"enable_$ac_useropt"
792"*) ;;
793      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
794	 ac_unrecognized_sep=', ';;
795    esac
796    eval enable_$ac_useropt=no ;;
797
798  -docdir | --docdir | --docdi | --doc | --do)
799    ac_prev=docdir ;;
800  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
801    docdir=$ac_optarg ;;
802
803  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
804    ac_prev=dvidir ;;
805  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
806    dvidir=$ac_optarg ;;
807
808  -enable-* | --enable-*)
809    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
810    # Reject names that are not valid shell variable names.
811    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812      as_fn_error $? "invalid feature name: $ac_useropt"
813    ac_useropt_orig=$ac_useropt
814    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815    case $ac_user_opts in
816      *"
817"enable_$ac_useropt"
818"*) ;;
819      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
820	 ac_unrecognized_sep=', ';;
821    esac
822    eval enable_$ac_useropt=\$ac_optarg ;;
823
824  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
825  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
826  | --exec | --exe | --ex)
827    ac_prev=exec_prefix ;;
828  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
829  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
830  | --exec=* | --exe=* | --ex=*)
831    exec_prefix=$ac_optarg ;;
832
833  -gas | --gas | --ga | --g)
834    # Obsolete; use --with-gas.
835    with_gas=yes ;;
836
837  -help | --help | --hel | --he | -h)
838    ac_init_help=long ;;
839  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
840    ac_init_help=recursive ;;
841  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
842    ac_init_help=short ;;
843
844  -host | --host | --hos | --ho)
845    ac_prev=host_alias ;;
846  -host=* | --host=* | --hos=* | --ho=*)
847    host_alias=$ac_optarg ;;
848
849  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
850    ac_prev=htmldir ;;
851  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
852  | --ht=*)
853    htmldir=$ac_optarg ;;
854
855  -includedir | --includedir | --includedi | --included | --include \
856  | --includ | --inclu | --incl | --inc)
857    ac_prev=includedir ;;
858  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
859  | --includ=* | --inclu=* | --incl=* | --inc=*)
860    includedir=$ac_optarg ;;
861
862  -infodir | --infodir | --infodi | --infod | --info | --inf)
863    ac_prev=infodir ;;
864  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
865    infodir=$ac_optarg ;;
866
867  -libdir | --libdir | --libdi | --libd)
868    ac_prev=libdir ;;
869  -libdir=* | --libdir=* | --libdi=* | --libd=*)
870    libdir=$ac_optarg ;;
871
872  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
873  | --libexe | --libex | --libe)
874    ac_prev=libexecdir ;;
875  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
876  | --libexe=* | --libex=* | --libe=*)
877    libexecdir=$ac_optarg ;;
878
879  -localedir | --localedir | --localedi | --localed | --locale)
880    ac_prev=localedir ;;
881  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
882    localedir=$ac_optarg ;;
883
884  -localstatedir | --localstatedir | --localstatedi | --localstated \
885  | --localstate | --localstat | --localsta | --localst | --locals)
886    ac_prev=localstatedir ;;
887  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
888  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
889    localstatedir=$ac_optarg ;;
890
891  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
892    ac_prev=mandir ;;
893  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
894    mandir=$ac_optarg ;;
895
896  -nfp | --nfp | --nf)
897    # Obsolete; use --without-fp.
898    with_fp=no ;;
899
900  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
901  | --no-cr | --no-c | -n)
902    no_create=yes ;;
903
904  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
905  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
906    no_recursion=yes ;;
907
908  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
909  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
910  | --oldin | --oldi | --old | --ol | --o)
911    ac_prev=oldincludedir ;;
912  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
913  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
914  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
915    oldincludedir=$ac_optarg ;;
916
917  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
918    ac_prev=prefix ;;
919  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
920    prefix=$ac_optarg ;;
921
922  -program-prefix | --program-prefix | --program-prefi | --program-pref \
923  | --program-pre | --program-pr | --program-p)
924    ac_prev=program_prefix ;;
925  -program-prefix=* | --program-prefix=* | --program-prefi=* \
926  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
927    program_prefix=$ac_optarg ;;
928
929  -program-suffix | --program-suffix | --program-suffi | --program-suff \
930  | --program-suf | --program-su | --program-s)
931    ac_prev=program_suffix ;;
932  -program-suffix=* | --program-suffix=* | --program-suffi=* \
933  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
934    program_suffix=$ac_optarg ;;
935
936  -program-transform-name | --program-transform-name \
937  | --program-transform-nam | --program-transform-na \
938  | --program-transform-n | --program-transform- \
939  | --program-transform | --program-transfor \
940  | --program-transfo | --program-transf \
941  | --program-trans | --program-tran \
942  | --progr-tra | --program-tr | --program-t)
943    ac_prev=program_transform_name ;;
944  -program-transform-name=* | --program-transform-name=* \
945  | --program-transform-nam=* | --program-transform-na=* \
946  | --program-transform-n=* | --program-transform-=* \
947  | --program-transform=* | --program-transfor=* \
948  | --program-transfo=* | --program-transf=* \
949  | --program-trans=* | --program-tran=* \
950  | --progr-tra=* | --program-tr=* | --program-t=*)
951    program_transform_name=$ac_optarg ;;
952
953  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
954    ac_prev=pdfdir ;;
955  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
956    pdfdir=$ac_optarg ;;
957
958  -psdir | --psdir | --psdi | --psd | --ps)
959    ac_prev=psdir ;;
960  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
961    psdir=$ac_optarg ;;
962
963  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
964  | -silent | --silent | --silen | --sile | --sil)
965    silent=yes ;;
966
967  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
968    ac_prev=sbindir ;;
969  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
970  | --sbi=* | --sb=*)
971    sbindir=$ac_optarg ;;
972
973  -sharedstatedir | --sharedstatedir | --sharedstatedi \
974  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
975  | --sharedst | --shareds | --shared | --share | --shar \
976  | --sha | --sh)
977    ac_prev=sharedstatedir ;;
978  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
979  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
980  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
981  | --sha=* | --sh=*)
982    sharedstatedir=$ac_optarg ;;
983
984  -site | --site | --sit)
985    ac_prev=site ;;
986  -site=* | --site=* | --sit=*)
987    site=$ac_optarg ;;
988
989  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
990    ac_prev=srcdir ;;
991  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
992    srcdir=$ac_optarg ;;
993
994  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
995  | --syscon | --sysco | --sysc | --sys | --sy)
996    ac_prev=sysconfdir ;;
997  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
998  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
999    sysconfdir=$ac_optarg ;;
1000
1001  -target | --target | --targe | --targ | --tar | --ta | --t)
1002    ac_prev=target_alias ;;
1003  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1004    target_alias=$ac_optarg ;;
1005
1006  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1007    verbose=yes ;;
1008
1009  -version | --version | --versio | --versi | --vers | -V)
1010    ac_init_version=: ;;
1011
1012  -with-* | --with-*)
1013    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1014    # Reject names that are not valid shell variable names.
1015    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016      as_fn_error $? "invalid package name: $ac_useropt"
1017    ac_useropt_orig=$ac_useropt
1018    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019    case $ac_user_opts in
1020      *"
1021"with_$ac_useropt"
1022"*) ;;
1023      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1024	 ac_unrecognized_sep=', ';;
1025    esac
1026    eval with_$ac_useropt=\$ac_optarg ;;
1027
1028  -without-* | --without-*)
1029    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1030    # Reject names that are not valid shell variable names.
1031    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032      as_fn_error $? "invalid package name: $ac_useropt"
1033    ac_useropt_orig=$ac_useropt
1034    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035    case $ac_user_opts in
1036      *"
1037"with_$ac_useropt"
1038"*) ;;
1039      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1040	 ac_unrecognized_sep=', ';;
1041    esac
1042    eval with_$ac_useropt=no ;;
1043
1044  --x)
1045    # Obsolete; use --with-x.
1046    with_x=yes ;;
1047
1048  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1049  | --x-incl | --x-inc | --x-in | --x-i)
1050    ac_prev=x_includes ;;
1051  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1052  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1053    x_includes=$ac_optarg ;;
1054
1055  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1056  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1057    ac_prev=x_libraries ;;
1058  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1059  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1060    x_libraries=$ac_optarg ;;
1061
1062  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1063Try \`$0 --help' for more information"
1064    ;;
1065
1066  *=*)
1067    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1068    # Reject names that are not valid shell variable names.
1069    case $ac_envvar in #(
1070      '' | [0-9]* | *[!_$as_cr_alnum]* )
1071      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1072    esac
1073    eval $ac_envvar=\$ac_optarg
1074    export $ac_envvar ;;
1075
1076  *)
1077    # FIXME: should be removed in autoconf 3.0.
1078    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1079    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1080      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1081    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1082    ;;
1083
1084  esac
1085done
1086
1087if test -n "$ac_prev"; then
1088  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1089  as_fn_error $? "missing argument to $ac_option"
1090fi
1091
1092if test -n "$ac_unrecognized_opts"; then
1093  case $enable_option_checking in
1094    no) ;;
1095    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1096    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1097  esac
1098fi
1099
1100# Check all directory arguments for consistency.
1101for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1102		datadir sysconfdir sharedstatedir localstatedir includedir \
1103		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1104		libdir localedir mandir
1105do
1106  eval ac_val=\$$ac_var
1107  # Remove trailing slashes.
1108  case $ac_val in
1109    */ )
1110      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1111      eval $ac_var=\$ac_val;;
1112  esac
1113  # Be sure to have absolute directory names.
1114  case $ac_val in
1115    [\\/$]* | ?:[\\/]* )  continue;;
1116    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1117  esac
1118  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1119done
1120
1121# There might be people who depend on the old broken behavior: `$host'
1122# used to hold the argument of --host etc.
1123# FIXME: To remove some day.
1124build=$build_alias
1125host=$host_alias
1126target=$target_alias
1127
1128# FIXME: To remove some day.
1129if test "x$host_alias" != x; then
1130  if test "x$build_alias" = x; then
1131    cross_compiling=maybe
1132  elif test "x$build_alias" != "x$host_alias"; then
1133    cross_compiling=yes
1134  fi
1135fi
1136
1137ac_tool_prefix=
1138test -n "$host_alias" && ac_tool_prefix=$host_alias-
1139
1140test "$silent" = yes && exec 6>/dev/null
1141
1142
1143ac_pwd=`pwd` && test -n "$ac_pwd" &&
1144ac_ls_di=`ls -di .` &&
1145ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1146  as_fn_error $? "working directory cannot be determined"
1147test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1148  as_fn_error $? "pwd does not report name of working directory"
1149
1150
1151# Find the source files, if location was not specified.
1152if test -z "$srcdir"; then
1153  ac_srcdir_defaulted=yes
1154  # Try the directory containing this script, then the parent directory.
1155  ac_confdir=`$as_dirname -- "$as_myself" ||
1156$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157	 X"$as_myself" : 'X\(//\)[^/]' \| \
1158	 X"$as_myself" : 'X\(//\)$' \| \
1159	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1160$as_echo X"$as_myself" |
1161    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162	    s//\1/
1163	    q
1164	  }
1165	  /^X\(\/\/\)[^/].*/{
1166	    s//\1/
1167	    q
1168	  }
1169	  /^X\(\/\/\)$/{
1170	    s//\1/
1171	    q
1172	  }
1173	  /^X\(\/\).*/{
1174	    s//\1/
1175	    q
1176	  }
1177	  s/.*/./; q'`
1178  srcdir=$ac_confdir
1179  if test ! -r "$srcdir/$ac_unique_file"; then
1180    srcdir=..
1181  fi
1182else
1183  ac_srcdir_defaulted=no
1184fi
1185if test ! -r "$srcdir/$ac_unique_file"; then
1186  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1187  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1188fi
1189ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1190ac_abs_confdir=`(
1191	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1192	pwd)`
1193# When building in place, set srcdir=.
1194if test "$ac_abs_confdir" = "$ac_pwd"; then
1195  srcdir=.
1196fi
1197# Remove unnecessary trailing slashes from srcdir.
1198# Double slashes in file names in object file debugging info
1199# mess up M-x gdb in Emacs.
1200case $srcdir in
1201*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1202esac
1203for ac_var in $ac_precious_vars; do
1204  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1205  eval ac_env_${ac_var}_value=\$${ac_var}
1206  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1207  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1208done
1209
1210#
1211# Report the --help message.
1212#
1213if test "$ac_init_help" = "long"; then
1214  # Omit some internal or obsolete options to make the list less imposing.
1215  # This message is too long to be a string in the A/UX 3.1 sh.
1216  cat <<_ACEOF
1217\`configure' configures gettext-examples 0.21 to adapt to many kinds of systems.
1218
1219Usage: $0 [OPTION]... [VAR=VALUE]...
1220
1221To assign environment variables (e.g., CC, CFLAGS...), specify them as
1222VAR=VALUE.  See below for descriptions of some of the useful variables.
1223
1224Defaults for the options are specified in brackets.
1225
1226Configuration:
1227  -h, --help              display this help and exit
1228      --help=short        display options specific to this package
1229      --help=recursive    display the short help of all the included packages
1230  -V, --version           display version information and exit
1231  -q, --quiet, --silent   do not print \`checking ...' messages
1232      --cache-file=FILE   cache test results in FILE [disabled]
1233  -C, --config-cache      alias for \`--cache-file=config.cache'
1234  -n, --no-create         do not create output files
1235      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1236
1237Installation directories:
1238  --prefix=PREFIX         install architecture-independent files in PREFIX
1239                          [$ac_default_prefix]
1240  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1241                          [PREFIX]
1242
1243By default, \`make install' will install all the files in
1244\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1245an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1246for instance \`--prefix=\$HOME'.
1247
1248For better control, use the options below.
1249
1250Fine tuning of the installation directories:
1251  --bindir=DIR            user executables [EPREFIX/bin]
1252  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1253  --libexecdir=DIR        program executables [EPREFIX/libexec]
1254  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1255  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1256  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1257  --libdir=DIR            object code libraries [EPREFIX/lib]
1258  --includedir=DIR        C header files [PREFIX/include]
1259  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1260  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1261  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1262  --infodir=DIR           info documentation [DATAROOTDIR/info]
1263  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1264  --mandir=DIR            man documentation [DATAROOTDIR/man]
1265  --docdir=DIR            documentation root
1266                          [DATAROOTDIR/doc/gettext-examples]
1267  --htmldir=DIR           html documentation [DOCDIR]
1268  --dvidir=DIR            dvi documentation [DOCDIR]
1269  --pdfdir=DIR            pdf documentation [DOCDIR]
1270  --psdir=DIR             ps documentation [DOCDIR]
1271_ACEOF
1272
1273  cat <<\_ACEOF
1274
1275Program names:
1276  --program-prefix=PREFIX            prepend PREFIX to installed program names
1277  --program-suffix=SUFFIX            append SUFFIX to installed program names
1278  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1279_ACEOF
1280fi
1281
1282if test -n "$ac_init_help"; then
1283  case $ac_init_help in
1284     short | recursive ) echo "Configuration of gettext-examples 0.21:";;
1285   esac
1286  cat <<\_ACEOF
1287
1288Optional Features:
1289  --disable-option-checking  ignore unrecognized --enable/--with options
1290  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1291  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1292  --enable-silent-rules   less verbose build output (undo: "make V=1")
1293  --disable-silent-rules  verbose build output (undo: "make V=0")
1294  --disable-nls           do not use Native Language Support
1295
1296Report bugs to <bug-gettext@gnu.org>.
1297_ACEOF
1298ac_status=$?
1299fi
1300
1301if test "$ac_init_help" = "recursive"; then
1302  # If there are subdirs, report their specific --help.
1303  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1304    test -d "$ac_dir" ||
1305      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1306      continue
1307    ac_builddir=.
1308
1309case "$ac_dir" in
1310.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311*)
1312  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1313  # A ".." for each directory in $ac_dir_suffix.
1314  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1315  case $ac_top_builddir_sub in
1316  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318  esac ;;
1319esac
1320ac_abs_top_builddir=$ac_pwd
1321ac_abs_builddir=$ac_pwd$ac_dir_suffix
1322# for backward compatibility:
1323ac_top_builddir=$ac_top_build_prefix
1324
1325case $srcdir in
1326  .)  # We are building in place.
1327    ac_srcdir=.
1328    ac_top_srcdir=$ac_top_builddir_sub
1329    ac_abs_top_srcdir=$ac_pwd ;;
1330  [\\/]* | ?:[\\/]* )  # Absolute name.
1331    ac_srcdir=$srcdir$ac_dir_suffix;
1332    ac_top_srcdir=$srcdir
1333    ac_abs_top_srcdir=$srcdir ;;
1334  *) # Relative name.
1335    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1336    ac_top_srcdir=$ac_top_build_prefix$srcdir
1337    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338esac
1339ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340
1341    cd "$ac_dir" || { ac_status=$?; continue; }
1342    # Check for guested configure.
1343    if test -f "$ac_srcdir/configure.gnu"; then
1344      echo &&
1345      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346    elif test -f "$ac_srcdir/configure"; then
1347      echo &&
1348      $SHELL "$ac_srcdir/configure" --help=recursive
1349    else
1350      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351    fi || ac_status=$?
1352    cd "$ac_pwd" || { ac_status=$?; break; }
1353  done
1354fi
1355
1356test -n "$ac_init_help" && exit $ac_status
1357if $ac_init_version; then
1358  cat <<\_ACEOF
1359gettext-examples configure 0.21
1360generated by GNU Autoconf 2.69
1361
1362Copyright (C) 2012 Free Software Foundation, Inc.
1363This configure script is free software; the Free Software Foundation
1364gives unlimited permission to copy, distribute and modify it.
1365_ACEOF
1366  exit
1367fi
1368
1369## ------------------------ ##
1370## Autoconf initialization. ##
1371## ------------------------ ##
1372cat >config.log <<_ACEOF
1373This file contains any messages produced by compilers while
1374running configure, to aid debugging if configure makes a mistake.
1375
1376It was created by gettext-examples $as_me 0.21, which was
1377generated by GNU Autoconf 2.69.  Invocation command line was
1378
1379  $ $0 $@
1380
1381_ACEOF
1382exec 5>>config.log
1383{
1384cat <<_ASUNAME
1385## --------- ##
1386## Platform. ##
1387## --------- ##
1388
1389hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1390uname -m = `(uname -m) 2>/dev/null || echo unknown`
1391uname -r = `(uname -r) 2>/dev/null || echo unknown`
1392uname -s = `(uname -s) 2>/dev/null || echo unknown`
1393uname -v = `(uname -v) 2>/dev/null || echo unknown`
1394
1395/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1396/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1397
1398/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1399/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1400/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1401/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1402/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1403/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1404/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1405
1406_ASUNAME
1407
1408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409for as_dir in $PATH
1410do
1411  IFS=$as_save_IFS
1412  test -z "$as_dir" && as_dir=.
1413    $as_echo "PATH: $as_dir"
1414  done
1415IFS=$as_save_IFS
1416
1417} >&5
1418
1419cat >&5 <<_ACEOF
1420
1421
1422## ----------- ##
1423## Core tests. ##
1424## ----------- ##
1425
1426_ACEOF
1427
1428
1429# Keep a trace of the command line.
1430# Strip out --no-create and --no-recursion so they do not pile up.
1431# Strip out --silent because we don't want to record it for future runs.
1432# Also quote any args containing shell meta-characters.
1433# Make two passes to allow for proper duplicate-argument suppression.
1434ac_configure_args=
1435ac_configure_args0=
1436ac_configure_args1=
1437ac_must_keep_next=false
1438for ac_pass in 1 2
1439do
1440  for ac_arg
1441  do
1442    case $ac_arg in
1443    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1444    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1445    | -silent | --silent | --silen | --sile | --sil)
1446      continue ;;
1447    *\'*)
1448      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449    esac
1450    case $ac_pass in
1451    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1452    2)
1453      as_fn_append ac_configure_args1 " '$ac_arg'"
1454      if test $ac_must_keep_next = true; then
1455	ac_must_keep_next=false # Got value, back to normal.
1456      else
1457	case $ac_arg in
1458	  *=* | --config-cache | -C | -disable-* | --disable-* \
1459	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1460	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1461	  | -with-* | --with-* | -without-* | --without-* | --x)
1462	    case "$ac_configure_args0 " in
1463	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1464	    esac
1465	    ;;
1466	  -* ) ac_must_keep_next=true ;;
1467	esac
1468      fi
1469      as_fn_append ac_configure_args " '$ac_arg'"
1470      ;;
1471    esac
1472  done
1473done
1474{ ac_configure_args0=; unset ac_configure_args0;}
1475{ ac_configure_args1=; unset ac_configure_args1;}
1476
1477# When interrupted or exit'd, cleanup temporary files, and complete
1478# config.log.  We remove comments because anyway the quotes in there
1479# would cause problems or look ugly.
1480# WARNING: Use '\'' to represent an apostrophe within the trap.
1481# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1482trap 'exit_status=$?
1483  # Save into config.log some information that might help in debugging.
1484  {
1485    echo
1486
1487    $as_echo "## ---------------- ##
1488## Cache variables. ##
1489## ---------------- ##"
1490    echo
1491    # The following way of writing the cache mishandles newlines in values,
1492(
1493  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494    eval ac_val=\$$ac_var
1495    case $ac_val in #(
1496    *${as_nl}*)
1497      case $ac_var in #(
1498      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1499$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1500      esac
1501      case $ac_var in #(
1502      _ | IFS | as_nl) ;; #(
1503      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1504      *) { eval $ac_var=; unset $ac_var;} ;;
1505      esac ;;
1506    esac
1507  done
1508  (set) 2>&1 |
1509    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1510    *${as_nl}ac_space=\ *)
1511      sed -n \
1512	"s/'\''/'\''\\\\'\'''\''/g;
1513	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1514      ;; #(
1515    *)
1516      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1517      ;;
1518    esac |
1519    sort
1520)
1521    echo
1522
1523    $as_echo "## ----------------- ##
1524## Output variables. ##
1525## ----------------- ##"
1526    echo
1527    for ac_var in $ac_subst_vars
1528    do
1529      eval ac_val=\$$ac_var
1530      case $ac_val in
1531      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532      esac
1533      $as_echo "$ac_var='\''$ac_val'\''"
1534    done | sort
1535    echo
1536
1537    if test -n "$ac_subst_files"; then
1538      $as_echo "## ------------------- ##
1539## File substitutions. ##
1540## ------------------- ##"
1541      echo
1542      for ac_var in $ac_subst_files
1543      do
1544	eval ac_val=\$$ac_var
1545	case $ac_val in
1546	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547	esac
1548	$as_echo "$ac_var='\''$ac_val'\''"
1549      done | sort
1550      echo
1551    fi
1552
1553    if test -s confdefs.h; then
1554      $as_echo "## ----------- ##
1555## confdefs.h. ##
1556## ----------- ##"
1557      echo
1558      cat confdefs.h
1559      echo
1560    fi
1561    test "$ac_signal" != 0 &&
1562      $as_echo "$as_me: caught signal $ac_signal"
1563    $as_echo "$as_me: exit $exit_status"
1564  } >&5
1565  rm -f core *.core core.conftest.* &&
1566    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1567    exit $exit_status
1568' 0
1569for ac_signal in 1 2 13 15; do
1570  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1571done
1572ac_signal=0
1573
1574# confdefs.h avoids OS command line length limits that DEFS can exceed.
1575rm -f -r conftest* confdefs.h
1576
1577$as_echo "/* confdefs.h */" > confdefs.h
1578
1579# Predefined preprocessor variables.
1580
1581cat >>confdefs.h <<_ACEOF
1582#define PACKAGE_NAME "$PACKAGE_NAME"
1583_ACEOF
1584
1585cat >>confdefs.h <<_ACEOF
1586#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1587_ACEOF
1588
1589cat >>confdefs.h <<_ACEOF
1590#define PACKAGE_VERSION "$PACKAGE_VERSION"
1591_ACEOF
1592
1593cat >>confdefs.h <<_ACEOF
1594#define PACKAGE_STRING "$PACKAGE_STRING"
1595_ACEOF
1596
1597cat >>confdefs.h <<_ACEOF
1598#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1599_ACEOF
1600
1601cat >>confdefs.h <<_ACEOF
1602#define PACKAGE_URL "$PACKAGE_URL"
1603_ACEOF
1604
1605
1606# Let the site file select an alternate cache file if it wants to.
1607# Prefer an explicitly selected file to automatically selected ones.
1608ac_site_file1=NONE
1609ac_site_file2=NONE
1610if test -n "$CONFIG_SITE"; then
1611  # We do not want a PATH search for config.site.
1612  case $CONFIG_SITE in #((
1613    -*)  ac_site_file1=./$CONFIG_SITE;;
1614    */*) ac_site_file1=$CONFIG_SITE;;
1615    *)   ac_site_file1=./$CONFIG_SITE;;
1616  esac
1617elif test "x$prefix" != xNONE; then
1618  ac_site_file1=$prefix/share/config.site
1619  ac_site_file2=$prefix/etc/config.site
1620else
1621  ac_site_file1=$ac_default_prefix/share/config.site
1622  ac_site_file2=$ac_default_prefix/etc/config.site
1623fi
1624for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1625do
1626  test "x$ac_site_file" = xNONE && continue
1627  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1628    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1629$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1630    sed 's/^/| /' "$ac_site_file" >&5
1631    . "$ac_site_file" \
1632      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1633$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1634as_fn_error $? "failed to load site script $ac_site_file
1635See \`config.log' for more details" "$LINENO" 5; }
1636  fi
1637done
1638
1639if test -r "$cache_file"; then
1640  # Some versions of bash will fail to source /dev/null (special files
1641  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1642  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1643    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1644$as_echo "$as_me: loading cache $cache_file" >&6;}
1645    case $cache_file in
1646      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1647      *)                      . "./$cache_file";;
1648    esac
1649  fi
1650else
1651  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1652$as_echo "$as_me: creating cache $cache_file" >&6;}
1653  >$cache_file
1654fi
1655
1656# Check that the precious variables saved in the cache have kept the same
1657# value.
1658ac_cache_corrupted=false
1659for ac_var in $ac_precious_vars; do
1660  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1661  eval ac_new_set=\$ac_env_${ac_var}_set
1662  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1663  eval ac_new_val=\$ac_env_${ac_var}_value
1664  case $ac_old_set,$ac_new_set in
1665    set,)
1666      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1667$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1668      ac_cache_corrupted=: ;;
1669    ,set)
1670      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1671$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1672      ac_cache_corrupted=: ;;
1673    ,);;
1674    *)
1675      if test "x$ac_old_val" != "x$ac_new_val"; then
1676	# differences in whitespace do not lead to failure.
1677	ac_old_val_w=`echo x $ac_old_val`
1678	ac_new_val_w=`echo x $ac_new_val`
1679	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1680	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1681$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1682	  ac_cache_corrupted=:
1683	else
1684	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1685$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1686	  eval $ac_var=\$ac_old_val
1687	fi
1688	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1689$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1690	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1691$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1692      fi;;
1693  esac
1694  # Pass precious variables to config.status.
1695  if test "$ac_new_set" = set; then
1696    case $ac_new_val in
1697    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1698    *) ac_arg=$ac_var=$ac_new_val ;;
1699    esac
1700    case " $ac_configure_args " in
1701      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1702      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1703    esac
1704  fi
1705done
1706if $ac_cache_corrupted; then
1707  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1709  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1710$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1711  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1712fi
1713## -------------------- ##
1714## Main body of script. ##
1715## -------------------- ##
1716
1717ac_ext=c
1718ac_cpp='$CPP $CPPFLAGS'
1719ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721ac_compiler_gnu=$ac_cv_c_compiler_gnu
1722
1723
1724
1725ac_aux_dir=
1726for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
1727  if test -f "$ac_dir/install-sh"; then
1728    ac_aux_dir=$ac_dir
1729    ac_install_sh="$ac_aux_dir/install-sh -c"
1730    break
1731  elif test -f "$ac_dir/install.sh"; then
1732    ac_aux_dir=$ac_dir
1733    ac_install_sh="$ac_aux_dir/install.sh -c"
1734    break
1735  elif test -f "$ac_dir/shtool"; then
1736    ac_aux_dir=$ac_dir
1737    ac_install_sh="$ac_aux_dir/shtool install -c"
1738    break
1739  fi
1740done
1741if test -z "$ac_aux_dir"; then
1742  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
1743fi
1744
1745# These three variables are undocumented and unsupported,
1746# and are intended to be withdrawn in a future Autoconf release.
1747# They can cause serious problems if a builder's source tree is in a directory
1748# whose full name contains unusual characters.
1749ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1750ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1751ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1752
1753
1754am__api_version='1.16'
1755
1756# Find a good install program.  We prefer a C program (faster),
1757# so one script is as good as another.  But avoid the broken or
1758# incompatible versions:
1759# SysV /etc/install, /usr/sbin/install
1760# SunOS /usr/etc/install
1761# IRIX /sbin/install
1762# AIX /bin/install
1763# AmigaOS /C/install, which installs bootblocks on floppy discs
1764# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1765# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1766# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1767# OS/2's system install, which has a completely different semantic
1768# ./install, which can be erroneously created by make from ./install.sh.
1769# Reject install programs that cannot install multiple files.
1770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1771$as_echo_n "checking for a BSD-compatible install... " >&6; }
1772if test -z "$INSTALL"; then
1773if ${ac_cv_path_install+:} false; then :
1774  $as_echo_n "(cached) " >&6
1775else
1776  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777for as_dir in $PATH
1778do
1779  IFS=$as_save_IFS
1780  test -z "$as_dir" && as_dir=.
1781    # Account for people who put trailing slashes in PATH elements.
1782case $as_dir/ in #((
1783  ./ | .// | /[cC]/* | \
1784  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1786  /usr/ucb/* ) ;;
1787  *)
1788    # OSF1 and SCO ODT 3.0 have their own names for install.
1789    # Don't use installbsd from OSF since it installs stuff as root
1790    # by default.
1791    for ac_prog in ginstall scoinst install; do
1792      for ac_exec_ext in '' $ac_executable_extensions; do
1793	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794	  if test $ac_prog = install &&
1795	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796	    # AIX install.  It has an incompatible calling convention.
1797	    :
1798	  elif test $ac_prog = install &&
1799	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800	    # program-specific install script used by HP pwplus--don't use.
1801	    :
1802	  else
1803	    rm -rf conftest.one conftest.two conftest.dir
1804	    echo one > conftest.one
1805	    echo two > conftest.two
1806	    mkdir conftest.dir
1807	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1808	      test -s conftest.one && test -s conftest.two &&
1809	      test -s conftest.dir/conftest.one &&
1810	      test -s conftest.dir/conftest.two
1811	    then
1812	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1813	      break 3
1814	    fi
1815	  fi
1816	fi
1817      done
1818    done
1819    ;;
1820esac
1821
1822  done
1823IFS=$as_save_IFS
1824
1825rm -rf conftest.one conftest.two conftest.dir
1826
1827fi
1828  if test "${ac_cv_path_install+set}" = set; then
1829    INSTALL=$ac_cv_path_install
1830  else
1831    # As a last resort, use the slow shell script.  Don't cache a
1832    # value for INSTALL within a source directory, because that will
1833    # break other packages using the cache if that directory is
1834    # removed, or if the value is a relative name.
1835    INSTALL=$ac_install_sh
1836  fi
1837fi
1838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1839$as_echo "$INSTALL" >&6; }
1840
1841# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1842# It thinks the first close brace ends the variable substitution.
1843test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1844
1845test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1846
1847test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1848
1849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1850$as_echo_n "checking whether build environment is sane... " >&6; }
1851# Reject unsafe characters in $srcdir or the absolute working directory
1852# name.  Accept space and tab only in the latter.
1853am_lf='
1854'
1855case `pwd` in
1856  *[\\\"\#\$\&\'\`$am_lf]*)
1857    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1858esac
1859case $srcdir in
1860  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1861    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1862esac
1863
1864# Do 'set' in a subshell so we don't clobber the current shell's
1865# arguments.  Must try -L first in case configure is actually a
1866# symlink; some systems play weird games with the mod time of symlinks
1867# (eg FreeBSD returns the mod time of the symlink's containing
1868# directory).
1869if (
1870   am_has_slept=no
1871   for am_try in 1 2; do
1872     echo "timestamp, slept: $am_has_slept" > conftest.file
1873     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1874     if test "$*" = "X"; then
1875	# -L didn't work.
1876	set X `ls -t "$srcdir/configure" conftest.file`
1877     fi
1878     if test "$*" != "X $srcdir/configure conftest.file" \
1879	&& test "$*" != "X conftest.file $srcdir/configure"; then
1880
1881	# If neither matched, then we have a broken ls.  This can happen
1882	# if, for instance, CONFIG_SHELL is bash and it inherits a
1883	# broken ls alias from the environment.  This has actually
1884	# happened.  Such a system could not be considered "sane".
1885	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1886  alias in your environment" "$LINENO" 5
1887     fi
1888     if test "$2" = conftest.file || test $am_try -eq 2; then
1889       break
1890     fi
1891     # Just in case.
1892     sleep 1
1893     am_has_slept=yes
1894   done
1895   test "$2" = conftest.file
1896   )
1897then
1898   # Ok.
1899   :
1900else
1901   as_fn_error $? "newly created file is older than distributed files!
1902Check your system clock" "$LINENO" 5
1903fi
1904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1905$as_echo "yes" >&6; }
1906# If we didn't sleep, we still need to ensure time stamps of config.status and
1907# generated files are strictly newer.
1908am_sleep_pid=
1909if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1910  ( sleep 1 ) &
1911  am_sleep_pid=$!
1912fi
1913
1914rm -f conftest.file
1915
1916test "$program_prefix" != NONE &&
1917  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1918# Use a double $ so make ignores it.
1919test "$program_suffix" != NONE &&
1920  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1921# Double any \ or $.
1922# By default was `s,x,x', remove it if useless.
1923ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1924program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1925
1926# Expand $ac_aux_dir to an absolute path.
1927am_aux_dir=`cd "$ac_aux_dir" && pwd`
1928
1929if test x"${MISSING+set}" != xset; then
1930  case $am_aux_dir in
1931  *\ * | *\	*)
1932    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1933  *)
1934    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1935  esac
1936fi
1937# Use eval to expand $SHELL
1938if eval "$MISSING --is-lightweight"; then
1939  am_missing_run="$MISSING "
1940else
1941  am_missing_run=
1942  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1943$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1944fi
1945
1946if test x"${install_sh+set}" != xset; then
1947  case $am_aux_dir in
1948  *\ * | *\	*)
1949    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1950  *)
1951    install_sh="\${SHELL} $am_aux_dir/install-sh"
1952  esac
1953fi
1954
1955# Installed binaries are usually stripped using 'strip' when the user
1956# run "make install-strip".  However 'strip' might not be the right
1957# tool to use in cross-compilation environments, therefore Automake
1958# will honor the 'STRIP' environment variable to overrule this program.
1959if test "$cross_compiling" != no; then
1960  if test -n "$ac_tool_prefix"; then
1961  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1962set dummy ${ac_tool_prefix}strip; ac_word=$2
1963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1964$as_echo_n "checking for $ac_word... " >&6; }
1965if ${ac_cv_prog_STRIP+:} false; then :
1966  $as_echo_n "(cached) " >&6
1967else
1968  if test -n "$STRIP"; then
1969  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1970else
1971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972for as_dir in $PATH
1973do
1974  IFS=$as_save_IFS
1975  test -z "$as_dir" && as_dir=.
1976    for ac_exec_ext in '' $ac_executable_extensions; do
1977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1980    break 2
1981  fi
1982done
1983  done
1984IFS=$as_save_IFS
1985
1986fi
1987fi
1988STRIP=$ac_cv_prog_STRIP
1989if test -n "$STRIP"; then
1990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1991$as_echo "$STRIP" >&6; }
1992else
1993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1994$as_echo "no" >&6; }
1995fi
1996
1997
1998fi
1999if test -z "$ac_cv_prog_STRIP"; then
2000  ac_ct_STRIP=$STRIP
2001  # Extract the first word of "strip", so it can be a program name with args.
2002set dummy strip; ac_word=$2
2003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2004$as_echo_n "checking for $ac_word... " >&6; }
2005if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2006  $as_echo_n "(cached) " >&6
2007else
2008  if test -n "$ac_ct_STRIP"; then
2009  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2010else
2011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012for as_dir in $PATH
2013do
2014  IFS=$as_save_IFS
2015  test -z "$as_dir" && as_dir=.
2016    for ac_exec_ext in '' $ac_executable_extensions; do
2017  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2018    ac_cv_prog_ac_ct_STRIP="strip"
2019    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2020    break 2
2021  fi
2022done
2023  done
2024IFS=$as_save_IFS
2025
2026fi
2027fi
2028ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2029if test -n "$ac_ct_STRIP"; then
2030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2031$as_echo "$ac_ct_STRIP" >&6; }
2032else
2033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2034$as_echo "no" >&6; }
2035fi
2036
2037  if test "x$ac_ct_STRIP" = x; then
2038    STRIP=":"
2039  else
2040    case $cross_compiling:$ac_tool_warned in
2041yes:)
2042{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2044ac_tool_warned=yes ;;
2045esac
2046    STRIP=$ac_ct_STRIP
2047  fi
2048else
2049  STRIP="$ac_cv_prog_STRIP"
2050fi
2051
2052fi
2053INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2054
2055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2056$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2057if test -z "$MKDIR_P"; then
2058  if ${ac_cv_path_mkdir+:} false; then :
2059  $as_echo_n "(cached) " >&6
2060else
2061  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2063do
2064  IFS=$as_save_IFS
2065  test -z "$as_dir" && as_dir=.
2066    for ac_prog in mkdir gmkdir; do
2067	 for ac_exec_ext in '' $ac_executable_extensions; do
2068	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2069	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2070	     'mkdir (GNU coreutils) '* | \
2071	     'mkdir (coreutils) '* | \
2072	     'mkdir (fileutils) '4.1*)
2073	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2074	       break 3;;
2075	   esac
2076	 done
2077       done
2078  done
2079IFS=$as_save_IFS
2080
2081fi
2082
2083  test -d ./--version && rmdir ./--version
2084  if test "${ac_cv_path_mkdir+set}" = set; then
2085    MKDIR_P="$ac_cv_path_mkdir -p"
2086  else
2087    # As a last resort, use the slow shell script.  Don't cache a
2088    # value for MKDIR_P within a source directory, because that will
2089    # break other packages using the cache if that directory is
2090    # removed, or if the value is a relative name.
2091    MKDIR_P="$ac_install_sh -d"
2092  fi
2093fi
2094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2095$as_echo "$MKDIR_P" >&6; }
2096
2097for ac_prog in gawk mawk nawk awk
2098do
2099  # Extract the first word of "$ac_prog", so it can be a program name with args.
2100set dummy $ac_prog; ac_word=$2
2101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2102$as_echo_n "checking for $ac_word... " >&6; }
2103if ${ac_cv_prog_AWK+:} false; then :
2104  $as_echo_n "(cached) " >&6
2105else
2106  if test -n "$AWK"; then
2107  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2108else
2109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110for as_dir in $PATH
2111do
2112  IFS=$as_save_IFS
2113  test -z "$as_dir" && as_dir=.
2114    for ac_exec_ext in '' $ac_executable_extensions; do
2115  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116    ac_cv_prog_AWK="$ac_prog"
2117    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2118    break 2
2119  fi
2120done
2121  done
2122IFS=$as_save_IFS
2123
2124fi
2125fi
2126AWK=$ac_cv_prog_AWK
2127if test -n "$AWK"; then
2128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2129$as_echo "$AWK" >&6; }
2130else
2131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2132$as_echo "no" >&6; }
2133fi
2134
2135
2136  test -n "$AWK" && break
2137done
2138
2139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2140$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2141set x ${MAKE-make}
2142ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2143if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2144  $as_echo_n "(cached) " >&6
2145else
2146  cat >conftest.make <<\_ACEOF
2147SHELL = /bin/sh
2148all:
2149	@echo '@@@%%%=$(MAKE)=@@@%%%'
2150_ACEOF
2151# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2152case `${MAKE-make} -f conftest.make 2>/dev/null` in
2153  *@@@%%%=?*=@@@%%%*)
2154    eval ac_cv_prog_make_${ac_make}_set=yes;;
2155  *)
2156    eval ac_cv_prog_make_${ac_make}_set=no;;
2157esac
2158rm -f conftest.make
2159fi
2160if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2162$as_echo "yes" >&6; }
2163  SET_MAKE=
2164else
2165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166$as_echo "no" >&6; }
2167  SET_MAKE="MAKE=${MAKE-make}"
2168fi
2169
2170rm -rf .tst 2>/dev/null
2171mkdir .tst 2>/dev/null
2172if test -d .tst; then
2173  am__leading_dot=.
2174else
2175  am__leading_dot=_
2176fi
2177rmdir .tst 2>/dev/null
2178
2179# Check whether --enable-silent-rules was given.
2180if test "${enable_silent_rules+set}" = set; then :
2181  enableval=$enable_silent_rules;
2182fi
2183
2184case $enable_silent_rules in # (((
2185  yes) AM_DEFAULT_VERBOSITY=0;;
2186   no) AM_DEFAULT_VERBOSITY=1;;
2187    *) AM_DEFAULT_VERBOSITY=1;;
2188esac
2189am_make=${MAKE-make}
2190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2191$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2192if ${am_cv_make_support_nested_variables+:} false; then :
2193  $as_echo_n "(cached) " >&6
2194else
2195  if $as_echo 'TRUE=$(BAR$(V))
2196BAR0=false
2197BAR1=true
2198V=1
2199am__doit:
2200	@$(TRUE)
2201.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2202  am_cv_make_support_nested_variables=yes
2203else
2204  am_cv_make_support_nested_variables=no
2205fi
2206fi
2207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2208$as_echo "$am_cv_make_support_nested_variables" >&6; }
2209if test $am_cv_make_support_nested_variables = yes; then
2210    AM_V='$(V)'
2211  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2212else
2213  AM_V=$AM_DEFAULT_VERBOSITY
2214  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2215fi
2216AM_BACKSLASH='\'
2217
2218if test "`cd $srcdir && pwd`" != "`pwd`"; then
2219  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2220  # is not polluted with repeated "-I."
2221  am__isrc=' -I$(srcdir)'
2222  # test to see if srcdir already configured
2223  if test -f $srcdir/config.status; then
2224    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2225  fi
2226fi
2227
2228# test whether we have cygpath
2229if test -z "$CYGPATH_W"; then
2230  if (cygpath --version) >/dev/null 2>/dev/null; then
2231    CYGPATH_W='cygpath -w'
2232  else
2233    CYGPATH_W=echo
2234  fi
2235fi
2236
2237
2238# Define the identity of the package.
2239 PACKAGE='gettext-examples'
2240 VERSION='0.21'
2241
2242
2243cat >>confdefs.h <<_ACEOF
2244#define PACKAGE "$PACKAGE"
2245_ACEOF
2246
2247
2248cat >>confdefs.h <<_ACEOF
2249#define VERSION "$VERSION"
2250_ACEOF
2251
2252# Some tools Automake needs.
2253
2254ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2255
2256
2257AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2258
2259
2260AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2261
2262
2263AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2264
2265
2266MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2267
2268# For better backward compatibility.  To be removed once Automake 1.9.x
2269# dies out for good.  For more background, see:
2270# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2271# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2272mkdir_p='$(MKDIR_P)'
2273
2274# We need awk for the "check" target (and possibly the TAP driver).  The
2275# system "awk" is bad on some platforms.
2276# Always define AMTAR for backward compatibility.  Yes, it's still used
2277# in the wild :-(  We should find a proper way to deprecate it ...
2278AMTAR='$${TAR-tar}'
2279
2280
2281# We'll loop over all known methods to create a tar archive until one works.
2282_am_tools='gnutar  pax cpio none'
2283
2284am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2285
2286
2287
2288
2289
2290
2291# POSIX will say in a future version that running "rm -f" with no argument
2292# is OK; and we want to be able to make that assumption in our Makefile
2293# recipes.  So use an aggressive probe to check that the usage we want is
2294# actually supported "in the wild" to an acceptable degree.
2295# See automake bug#10828.
2296# To make any issue more visible, cause the running configure to be aborted
2297# by default if the 'rm' program in use doesn't match our expectations; the
2298# user can still override this though.
2299if rm -f && rm -fr && rm -rf; then : OK; else
2300  cat >&2 <<'END'
2301Oops!
2302
2303Your 'rm' program seems unable to run without file operands specified
2304on the command line, even when the '-f' option is present.  This is contrary
2305to the behaviour of most rm programs out there, and not conforming with
2306the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2307
2308Please tell bug-automake@gnu.org about your system, including the value
2309of your $PATH and any error possibly output before this message.  This
2310can help us improve future automake versions.
2311
2312END
2313  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2314    echo 'Configuration will proceed anyway, since you have set the' >&2
2315    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2316    echo >&2
2317  else
2318    cat >&2 <<'END'
2319Aborting the configuration process, to ensure you take notice of the issue.
2320
2321You can download and install GNU coreutils to get an 'rm' implementation
2322that behaves properly: <https://www.gnu.org/software/coreutils/>.
2323
2324If you want to complete the configuration process using your problematic
2325'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2326to "yes", and re-run configure.
2327
2328END
2329    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2330  fi
2331fi
2332
2333
2334test "$docdir" != '${datarootdir}/doc/${PACKAGE_TARNAME}' || docdir='${datarootdir}/doc/gettext'
2335
2336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2337$as_echo_n "checking for a sed that does not truncate output... " >&6; }
2338if ${ac_cv_path_SED+:} false; then :
2339  $as_echo_n "(cached) " >&6
2340else
2341            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2342     for ac_i in 1 2 3 4 5 6 7; do
2343       ac_script="$ac_script$as_nl$ac_script"
2344     done
2345     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2346     { ac_script=; unset ac_script;}
2347     if test -z "$SED"; then
2348  ac_path_SED_found=false
2349  # Loop through the user's path and test for each of PROGNAME-LIST
2350  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351for as_dir in $PATH
2352do
2353  IFS=$as_save_IFS
2354  test -z "$as_dir" && as_dir=.
2355    for ac_prog in sed gsed; do
2356    for ac_exec_ext in '' $ac_executable_extensions; do
2357      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2358      as_fn_executable_p "$ac_path_SED" || continue
2359# Check for GNU ac_path_SED and select it if it is found.
2360  # Check for GNU $ac_path_SED
2361case `"$ac_path_SED" --version 2>&1` in
2362*GNU*)
2363  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2364*)
2365  ac_count=0
2366  $as_echo_n 0123456789 >"conftest.in"
2367  while :
2368  do
2369    cat "conftest.in" "conftest.in" >"conftest.tmp"
2370    mv "conftest.tmp" "conftest.in"
2371    cp "conftest.in" "conftest.nl"
2372    $as_echo '' >> "conftest.nl"
2373    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2374    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2375    as_fn_arith $ac_count + 1 && ac_count=$as_val
2376    if test $ac_count -gt ${ac_path_SED_max-0}; then
2377      # Best one so far, save it but keep looking for a better one
2378      ac_cv_path_SED="$ac_path_SED"
2379      ac_path_SED_max=$ac_count
2380    fi
2381    # 10*(2^10) chars as input seems more than enough
2382    test $ac_count -gt 10 && break
2383  done
2384  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2385esac
2386
2387      $ac_path_SED_found && break 3
2388    done
2389  done
2390  done
2391IFS=$as_save_IFS
2392  if test -z "$ac_cv_path_SED"; then
2393    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2394  fi
2395else
2396  ac_cv_path_SED=$SED
2397fi
2398
2399fi
2400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2401$as_echo "$ac_cv_path_SED" >&6; }
2402 SED="$ac_cv_path_SED"
2403  rm -f conftest.sed
2404
2405
2406  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2407$as_echo_n "checking whether NLS is requested... " >&6; }
2408    # Check whether --enable-nls was given.
2409if test "${enable_nls+set}" = set; then :
2410  enableval=$enable_nls; USE_NLS=$enableval
2411else
2412  USE_NLS=yes
2413fi
2414
2415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2416$as_echo "$USE_NLS" >&6; }
2417
2418
2419
2420
2421      GETTEXT_MACRO_VERSION=0.20
2422
2423
2424
2425
2426# Prepare PATH_SEPARATOR.
2427# The user is always right.
2428if test "${PATH_SEPARATOR+set}" != set; then
2429  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2430  # contains only /bin. Note that ksh looks also at the FPATH variable,
2431  # so we have to set that as well for the test.
2432  PATH_SEPARATOR=:
2433  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2434    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2435           || PATH_SEPARATOR=';'
2436       }
2437fi
2438
2439# Find out how to test for executable files. Don't use a zero-byte file,
2440# as systems may use methods other than mode bits to determine executability.
2441cat >conf$$.file <<_ASEOF
2442#! /bin/sh
2443exit 0
2444_ASEOF
2445chmod +x conf$$.file
2446if test -x conf$$.file >/dev/null 2>&1; then
2447  ac_executable_p="test -x"
2448else
2449  ac_executable_p="test -f"
2450fi
2451rm -f conf$$.file
2452
2453# Extract the first word of "msgfmt", so it can be a program name with args.
2454set dummy msgfmt; ac_word=$2
2455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2456$as_echo_n "checking for $ac_word... " >&6; }
2457if ${ac_cv_path_MSGFMT+:} false; then :
2458  $as_echo_n "(cached) " >&6
2459else
2460  case "$MSGFMT" in
2461  [\\/]* | ?:[\\/]*)
2462    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2463    ;;
2464  *)
2465    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2466    for ac_dir in $PATH; do
2467      IFS="$ac_save_IFS"
2468      test -z "$ac_dir" && ac_dir=.
2469      for ac_exec_ext in '' $ac_executable_extensions; do
2470        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2471          echo "$as_me: trying $ac_dir/$ac_word..." >&5
2472          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2473     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2474            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2475            break 2
2476          fi
2477        fi
2478      done
2479    done
2480    IFS="$ac_save_IFS"
2481  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2482    ;;
2483esac
2484fi
2485MSGFMT="$ac_cv_path_MSGFMT"
2486if test "$MSGFMT" != ":"; then
2487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2488$as_echo "$MSGFMT" >&6; }
2489else
2490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491$as_echo "no" >&6; }
2492fi
2493
2494  # Extract the first word of "gmsgfmt", so it can be a program name with args.
2495set dummy gmsgfmt; ac_word=$2
2496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497$as_echo_n "checking for $ac_word... " >&6; }
2498if ${ac_cv_path_GMSGFMT+:} false; then :
2499  $as_echo_n "(cached) " >&6
2500else
2501  case $GMSGFMT in
2502  [\\/]* | ?:[\\/]*)
2503  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2504  ;;
2505  *)
2506  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507for as_dir in $PATH
2508do
2509  IFS=$as_save_IFS
2510  test -z "$as_dir" && as_dir=.
2511    for ac_exec_ext in '' $ac_executable_extensions; do
2512  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2514    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515    break 2
2516  fi
2517done
2518  done
2519IFS=$as_save_IFS
2520
2521  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2522  ;;
2523esac
2524fi
2525GMSGFMT=$ac_cv_path_GMSGFMT
2526if test -n "$GMSGFMT"; then
2527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2528$as_echo "$GMSGFMT" >&6; }
2529else
2530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531$as_echo "no" >&6; }
2532fi
2533
2534
2535
2536    case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2537    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2538    *) GMSGFMT_015=$GMSGFMT ;;
2539  esac
2540
2541
2542
2543# Prepare PATH_SEPARATOR.
2544# The user is always right.
2545if test "${PATH_SEPARATOR+set}" != set; then
2546  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2547  # contains only /bin. Note that ksh looks also at the FPATH variable,
2548  # so we have to set that as well for the test.
2549  PATH_SEPARATOR=:
2550  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2551    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2552           || PATH_SEPARATOR=';'
2553       }
2554fi
2555
2556# Find out how to test for executable files. Don't use a zero-byte file,
2557# as systems may use methods other than mode bits to determine executability.
2558cat >conf$$.file <<_ASEOF
2559#! /bin/sh
2560exit 0
2561_ASEOF
2562chmod +x conf$$.file
2563if test -x conf$$.file >/dev/null 2>&1; then
2564  ac_executable_p="test -x"
2565else
2566  ac_executable_p="test -f"
2567fi
2568rm -f conf$$.file
2569
2570# Extract the first word of "xgettext", so it can be a program name with args.
2571set dummy xgettext; ac_word=$2
2572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2573$as_echo_n "checking for $ac_word... " >&6; }
2574if ${ac_cv_path_XGETTEXT+:} false; then :
2575  $as_echo_n "(cached) " >&6
2576else
2577  case "$XGETTEXT" in
2578  [\\/]* | ?:[\\/]*)
2579    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2580    ;;
2581  *)
2582    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2583    for ac_dir in $PATH; do
2584      IFS="$ac_save_IFS"
2585      test -z "$ac_dir" && ac_dir=.
2586      for ac_exec_ext in '' $ac_executable_extensions; do
2587        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2588          echo "$as_me: trying $ac_dir/$ac_word..." >&5
2589          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2590     (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
2591            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2592            break 2
2593          fi
2594        fi
2595      done
2596    done
2597    IFS="$ac_save_IFS"
2598  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2599    ;;
2600esac
2601fi
2602XGETTEXT="$ac_cv_path_XGETTEXT"
2603if test "$XGETTEXT" != ":"; then
2604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
2605$as_echo "$XGETTEXT" >&6; }
2606else
2607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608$as_echo "no" >&6; }
2609fi
2610
2611    rm -f messages.po
2612
2613    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2614    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2615    *) XGETTEXT_015=$XGETTEXT ;;
2616  esac
2617
2618
2619
2620# Prepare PATH_SEPARATOR.
2621# The user is always right.
2622if test "${PATH_SEPARATOR+set}" != set; then
2623  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2624  # contains only /bin. Note that ksh looks also at the FPATH variable,
2625  # so we have to set that as well for the test.
2626  PATH_SEPARATOR=:
2627  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2628    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2629           || PATH_SEPARATOR=';'
2630       }
2631fi
2632
2633# Find out how to test for executable files. Don't use a zero-byte file,
2634# as systems may use methods other than mode bits to determine executability.
2635cat >conf$$.file <<_ASEOF
2636#! /bin/sh
2637exit 0
2638_ASEOF
2639chmod +x conf$$.file
2640if test -x conf$$.file >/dev/null 2>&1; then
2641  ac_executable_p="test -x"
2642else
2643  ac_executable_p="test -f"
2644fi
2645rm -f conf$$.file
2646
2647# Extract the first word of "msgmerge", so it can be a program name with args.
2648set dummy msgmerge; ac_word=$2
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650$as_echo_n "checking for $ac_word... " >&6; }
2651if ${ac_cv_path_MSGMERGE+:} false; then :
2652  $as_echo_n "(cached) " >&6
2653else
2654  case "$MSGMERGE" in
2655  [\\/]* | ?:[\\/]*)
2656    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2657    ;;
2658  *)
2659    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2660    for ac_dir in $PATH; do
2661      IFS="$ac_save_IFS"
2662      test -z "$ac_dir" && ac_dir=.
2663      for ac_exec_ext in '' $ac_executable_extensions; do
2664        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2665          echo "$as_me: trying $ac_dir/$ac_word..." >&5
2666          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2667            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2668            break 2
2669          fi
2670        fi
2671      done
2672    done
2673    IFS="$ac_save_IFS"
2674  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2675    ;;
2676esac
2677fi
2678MSGMERGE="$ac_cv_path_MSGMERGE"
2679if test "$MSGMERGE" != ":"; then
2680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
2681$as_echo "$MSGMERGE" >&6; }
2682else
2683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684$as_echo "no" >&6; }
2685fi
2686
2687
2688    if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
2689    MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
2690  else
2691        if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
2692      MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
2693    else
2694                        MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
2695    fi
2696  fi
2697
2698
2699    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
2700
2701
2702  ac_config_commands="$ac_config_commands po-directories"
2703
2704
2705
2706aclocaldir='${datadir}/aclocal'
2707
2708
2709ac_config_files="$ac_config_files Makefile"
2710
2711ac_config_files="$ac_config_files installpaths"
2712
2713ac_config_files="$ac_config_files po/Makefile"
2714
2715
2716cat >confcache <<\_ACEOF
2717# This file is a shell script that caches the results of configure
2718# tests run on this system so they can be shared between configure
2719# scripts and configure runs, see configure's option --config-cache.
2720# It is not useful on other systems.  If it contains results you don't
2721# want to keep, you may remove or edit it.
2722#
2723# config.status only pays attention to the cache file if you give it
2724# the --recheck option to rerun configure.
2725#
2726# `ac_cv_env_foo' variables (set or unset) will be overridden when
2727# loading this file, other *unset* `ac_cv_foo' will be assigned the
2728# following values.
2729
2730_ACEOF
2731
2732# The following way of writing the cache mishandles newlines in values,
2733# but we know of no workaround that is simple, portable, and efficient.
2734# So, we kill variables containing newlines.
2735# Ultrix sh set writes to stderr and can't be redirected directly,
2736# and sets the high bit in the cache file unless we assign to the vars.
2737(
2738  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2739    eval ac_val=\$$ac_var
2740    case $ac_val in #(
2741    *${as_nl}*)
2742      case $ac_var in #(
2743      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2744$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2745      esac
2746      case $ac_var in #(
2747      _ | IFS | as_nl) ;; #(
2748      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2749      *) { eval $ac_var=; unset $ac_var;} ;;
2750      esac ;;
2751    esac
2752  done
2753
2754  (set) 2>&1 |
2755    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2756    *${as_nl}ac_space=\ *)
2757      # `set' does not quote correctly, so add quotes: double-quote
2758      # substitution turns \\\\ into \\, and sed turns \\ into \.
2759      sed -n \
2760	"s/'/'\\\\''/g;
2761	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2762      ;; #(
2763    *)
2764      # `set' quotes correctly as required by POSIX, so do not add quotes.
2765      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2766      ;;
2767    esac |
2768    sort
2769) |
2770  sed '
2771     /^ac_cv_env_/b end
2772     t clear
2773     :clear
2774     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2775     t end
2776     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2777     :end' >>confcache
2778if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2779  if test -w "$cache_file"; then
2780    if test "x$cache_file" != "x/dev/null"; then
2781      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2782$as_echo "$as_me: updating cache $cache_file" >&6;}
2783      if test ! -f "$cache_file" || test -h "$cache_file"; then
2784	cat confcache >"$cache_file"
2785      else
2786        case $cache_file in #(
2787        */* | ?:*)
2788	  mv -f confcache "$cache_file"$$ &&
2789	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2790        *)
2791	  mv -f confcache "$cache_file" ;;
2792	esac
2793      fi
2794    fi
2795  else
2796    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2797$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2798  fi
2799fi
2800rm -f confcache
2801
2802test "x$prefix" = xNONE && prefix=$ac_default_prefix
2803# Let make expand exec_prefix.
2804test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2805
2806# Transform confdefs.h into DEFS.
2807# Protect against shell expansion while executing Makefile rules.
2808# Protect against Makefile macro expansion.
2809#
2810# If the first sed substitution is executed (which looks for macros that
2811# take arguments), then branch to the quote section.  Otherwise,
2812# look for a macro that doesn't take arguments.
2813ac_script='
2814:mline
2815/\\$/{
2816 N
2817 s,\\\n,,
2818 b mline
2819}
2820t clear
2821:clear
2822s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2823t quote
2824s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2825t quote
2826b any
2827:quote
2828s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2829s/\[/\\&/g
2830s/\]/\\&/g
2831s/\$/$$/g
2832H
2833:any
2834${
2835	g
2836	s/^\n//
2837	s/\n/ /g
2838	p
2839}
2840'
2841DEFS=`sed -n "$ac_script" confdefs.h`
2842
2843
2844ac_libobjs=
2845ac_ltlibobjs=
2846U=
2847for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2848  # 1. Remove the extension, and $U if already installed.
2849  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2850  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2851  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2852  #    will be set to the directory where LIBOBJS objects are built.
2853  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2854  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2855done
2856LIBOBJS=$ac_libobjs
2857
2858LTLIBOBJS=$ac_ltlibobjs
2859
2860
2861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2862$as_echo_n "checking that generated files are newer than configure... " >&6; }
2863   if test -n "$am_sleep_pid"; then
2864     # Hide warnings about reused PIDs.
2865     wait $am_sleep_pid 2>/dev/null
2866   fi
2867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2868$as_echo "done" >&6; }
2869
2870
2871: "${CONFIG_STATUS=./config.status}"
2872ac_write_fail=0
2873ac_clean_files_save=$ac_clean_files
2874ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2875{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2876$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2877as_write_fail=0
2878cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2879#! $SHELL
2880# Generated by $as_me.
2881# Run this file to recreate the current configuration.
2882# Compiler output produced by configure, useful for debugging
2883# configure, is in config.log if it exists.
2884
2885debug=false
2886ac_cs_recheck=false
2887ac_cs_silent=false
2888
2889SHELL=\${CONFIG_SHELL-$SHELL}
2890export SHELL
2891_ASEOF
2892cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2893## -------------------- ##
2894## M4sh Initialization. ##
2895## -------------------- ##
2896
2897# Be more Bourne compatible
2898DUALCASE=1; export DUALCASE # for MKS sh
2899if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2900  emulate sh
2901  NULLCMD=:
2902  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2903  # is contrary to our usage.  Disable this feature.
2904  alias -g '${1+"$@"}'='"$@"'
2905  setopt NO_GLOB_SUBST
2906else
2907  case `(set -o) 2>/dev/null` in #(
2908  *posix*) :
2909    set -o posix ;; #(
2910  *) :
2911     ;;
2912esac
2913fi
2914
2915
2916as_nl='
2917'
2918export as_nl
2919# Printing a long string crashes Solaris 7 /usr/bin/printf.
2920as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2921as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2922as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2923# Prefer a ksh shell builtin over an external printf program on Solaris,
2924# but without wasting forks for bash or zsh.
2925if test -z "$BASH_VERSION$ZSH_VERSION" \
2926    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2927  as_echo='print -r --'
2928  as_echo_n='print -rn --'
2929elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2930  as_echo='printf %s\n'
2931  as_echo_n='printf %s'
2932else
2933  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2934    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2935    as_echo_n='/usr/ucb/echo -n'
2936  else
2937    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2938    as_echo_n_body='eval
2939      arg=$1;
2940      case $arg in #(
2941      *"$as_nl"*)
2942	expr "X$arg" : "X\\(.*\\)$as_nl";
2943	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2944      esac;
2945      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2946    '
2947    export as_echo_n_body
2948    as_echo_n='sh -c $as_echo_n_body as_echo'
2949  fi
2950  export as_echo_body
2951  as_echo='sh -c $as_echo_body as_echo'
2952fi
2953
2954# The user is always right.
2955if test "${PATH_SEPARATOR+set}" != set; then
2956  PATH_SEPARATOR=:
2957  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2958    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2959      PATH_SEPARATOR=';'
2960  }
2961fi
2962
2963
2964# IFS
2965# We need space, tab and new line, in precisely that order.  Quoting is
2966# there to prevent editors from complaining about space-tab.
2967# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2968# splitting by setting IFS to empty value.)
2969IFS=" ""	$as_nl"
2970
2971# Find who we are.  Look in the path if we contain no directory separator.
2972as_myself=
2973case $0 in #((
2974  *[\\/]* ) as_myself=$0 ;;
2975  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976for as_dir in $PATH
2977do
2978  IFS=$as_save_IFS
2979  test -z "$as_dir" && as_dir=.
2980    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2981  done
2982IFS=$as_save_IFS
2983
2984     ;;
2985esac
2986# We did not find ourselves, most probably we were run as `sh COMMAND'
2987# in which case we are not to be found in the path.
2988if test "x$as_myself" = x; then
2989  as_myself=$0
2990fi
2991if test ! -f "$as_myself"; then
2992  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2993  exit 1
2994fi
2995
2996# Unset variables that we do not need and which cause bugs (e.g. in
2997# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2998# suppresses any "Segmentation fault" message there.  '((' could
2999# trigger a bug in pdksh 5.2.14.
3000for as_var in BASH_ENV ENV MAIL MAILPATH
3001do eval test x\${$as_var+set} = xset \
3002  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3003done
3004PS1='$ '
3005PS2='> '
3006PS4='+ '
3007
3008# NLS nuisances.
3009LC_ALL=C
3010export LC_ALL
3011LANGUAGE=C
3012export LANGUAGE
3013
3014# CDPATH.
3015(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3016
3017
3018# as_fn_error STATUS ERROR [LINENO LOG_FD]
3019# ----------------------------------------
3020# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3021# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3022# script with STATUS, using 1 if that was 0.
3023as_fn_error ()
3024{
3025  as_status=$1; test $as_status -eq 0 && as_status=1
3026  if test "$4"; then
3027    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3028    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3029  fi
3030  $as_echo "$as_me: error: $2" >&2
3031  as_fn_exit $as_status
3032} # as_fn_error
3033
3034
3035# as_fn_set_status STATUS
3036# -----------------------
3037# Set $? to STATUS, without forking.
3038as_fn_set_status ()
3039{
3040  return $1
3041} # as_fn_set_status
3042
3043# as_fn_exit STATUS
3044# -----------------
3045# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3046as_fn_exit ()
3047{
3048  set +e
3049  as_fn_set_status $1
3050  exit $1
3051} # as_fn_exit
3052
3053# as_fn_unset VAR
3054# ---------------
3055# Portably unset VAR.
3056as_fn_unset ()
3057{
3058  { eval $1=; unset $1;}
3059}
3060as_unset=as_fn_unset
3061# as_fn_append VAR VALUE
3062# ----------------------
3063# Append the text in VALUE to the end of the definition contained in VAR. Take
3064# advantage of any shell optimizations that allow amortized linear growth over
3065# repeated appends, instead of the typical quadratic growth present in naive
3066# implementations.
3067if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3068  eval 'as_fn_append ()
3069  {
3070    eval $1+=\$2
3071  }'
3072else
3073  as_fn_append ()
3074  {
3075    eval $1=\$$1\$2
3076  }
3077fi # as_fn_append
3078
3079# as_fn_arith ARG...
3080# ------------------
3081# Perform arithmetic evaluation on the ARGs, and store the result in the
3082# global $as_val. Take advantage of shells that can avoid forks. The arguments
3083# must be portable across $(()) and expr.
3084if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3085  eval 'as_fn_arith ()
3086  {
3087    as_val=$(( $* ))
3088  }'
3089else
3090  as_fn_arith ()
3091  {
3092    as_val=`expr "$@" || test $? -eq 1`
3093  }
3094fi # as_fn_arith
3095
3096
3097if expr a : '\(a\)' >/dev/null 2>&1 &&
3098   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3099  as_expr=expr
3100else
3101  as_expr=false
3102fi
3103
3104if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3105  as_basename=basename
3106else
3107  as_basename=false
3108fi
3109
3110if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3111  as_dirname=dirname
3112else
3113  as_dirname=false
3114fi
3115
3116as_me=`$as_basename -- "$0" ||
3117$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3118	 X"$0" : 'X\(//\)$' \| \
3119	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3120$as_echo X/"$0" |
3121    sed '/^.*\/\([^/][^/]*\)\/*$/{
3122	    s//\1/
3123	    q
3124	  }
3125	  /^X\/\(\/\/\)$/{
3126	    s//\1/
3127	    q
3128	  }
3129	  /^X\/\(\/\).*/{
3130	    s//\1/
3131	    q
3132	  }
3133	  s/.*/./; q'`
3134
3135# Avoid depending upon Character Ranges.
3136as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3137as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3138as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3139as_cr_digits='0123456789'
3140as_cr_alnum=$as_cr_Letters$as_cr_digits
3141
3142ECHO_C= ECHO_N= ECHO_T=
3143case `echo -n x` in #(((((
3144-n*)
3145  case `echo 'xy\c'` in
3146  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3147  xy)  ECHO_C='\c';;
3148  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3149       ECHO_T='	';;
3150  esac;;
3151*)
3152  ECHO_N='-n';;
3153esac
3154
3155rm -f conf$$ conf$$.exe conf$$.file
3156if test -d conf$$.dir; then
3157  rm -f conf$$.dir/conf$$.file
3158else
3159  rm -f conf$$.dir
3160  mkdir conf$$.dir 2>/dev/null
3161fi
3162if (echo >conf$$.file) 2>/dev/null; then
3163  if ln -s conf$$.file conf$$ 2>/dev/null; then
3164    as_ln_s='ln -s'
3165    # ... but there are two gotchas:
3166    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3167    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3168    # In both cases, we have to default to `cp -pR'.
3169    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3170      as_ln_s='cp -pR'
3171  elif ln conf$$.file conf$$ 2>/dev/null; then
3172    as_ln_s=ln
3173  else
3174    as_ln_s='cp -pR'
3175  fi
3176else
3177  as_ln_s='cp -pR'
3178fi
3179rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3180rmdir conf$$.dir 2>/dev/null
3181
3182
3183# as_fn_mkdir_p
3184# -------------
3185# Create "$as_dir" as a directory, including parents if necessary.
3186as_fn_mkdir_p ()
3187{
3188
3189  case $as_dir in #(
3190  -*) as_dir=./$as_dir;;
3191  esac
3192  test -d "$as_dir" || eval $as_mkdir_p || {
3193    as_dirs=
3194    while :; do
3195      case $as_dir in #(
3196      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3197      *) as_qdir=$as_dir;;
3198      esac
3199      as_dirs="'$as_qdir' $as_dirs"
3200      as_dir=`$as_dirname -- "$as_dir" ||
3201$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3202	 X"$as_dir" : 'X\(//\)[^/]' \| \
3203	 X"$as_dir" : 'X\(//\)$' \| \
3204	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3205$as_echo X"$as_dir" |
3206    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3207	    s//\1/
3208	    q
3209	  }
3210	  /^X\(\/\/\)[^/].*/{
3211	    s//\1/
3212	    q
3213	  }
3214	  /^X\(\/\/\)$/{
3215	    s//\1/
3216	    q
3217	  }
3218	  /^X\(\/\).*/{
3219	    s//\1/
3220	    q
3221	  }
3222	  s/.*/./; q'`
3223      test -d "$as_dir" && break
3224    done
3225    test -z "$as_dirs" || eval "mkdir $as_dirs"
3226  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3227
3228
3229} # as_fn_mkdir_p
3230if mkdir -p . 2>/dev/null; then
3231  as_mkdir_p='mkdir -p "$as_dir"'
3232else
3233  test -d ./-p && rmdir ./-p
3234  as_mkdir_p=false
3235fi
3236
3237
3238# as_fn_executable_p FILE
3239# -----------------------
3240# Test if FILE is an executable regular file.
3241as_fn_executable_p ()
3242{
3243  test -f "$1" && test -x "$1"
3244} # as_fn_executable_p
3245as_test_x='test -x'
3246as_executable_p=as_fn_executable_p
3247
3248# Sed expression to map a string onto a valid CPP name.
3249as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3250
3251# Sed expression to map a string onto a valid variable name.
3252as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3253
3254
3255exec 6>&1
3256## ----------------------------------- ##
3257## Main body of $CONFIG_STATUS script. ##
3258## ----------------------------------- ##
3259_ASEOF
3260test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3261
3262cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3263# Save the log message, to keep $0 and so on meaningful, and to
3264# report actual input values of CONFIG_FILES etc. instead of their
3265# values after options handling.
3266ac_log="
3267This file was extended by gettext-examples $as_me 0.21, which was
3268generated by GNU Autoconf 2.69.  Invocation command line was
3269
3270  CONFIG_FILES    = $CONFIG_FILES
3271  CONFIG_HEADERS  = $CONFIG_HEADERS
3272  CONFIG_LINKS    = $CONFIG_LINKS
3273  CONFIG_COMMANDS = $CONFIG_COMMANDS
3274  $ $0 $@
3275
3276on `(hostname || uname -n) 2>/dev/null | sed 1q`
3277"
3278
3279_ACEOF
3280
3281case $ac_config_files in *"
3282"*) set x $ac_config_files; shift; ac_config_files=$*;;
3283esac
3284
3285
3286
3287cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3288# Files that config.status was made for.
3289config_files="$ac_config_files"
3290config_commands="$ac_config_commands"
3291
3292_ACEOF
3293
3294cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3295ac_cs_usage="\
3296\`$as_me' instantiates files and other configuration actions
3297from templates according to the current configuration.  Unless the files
3298and actions are specified as TAGs, all are instantiated by default.
3299
3300Usage: $0 [OPTION]... [TAG]...
3301
3302  -h, --help       print this help, then exit
3303  -V, --version    print version number and configuration settings, then exit
3304      --config     print configuration, then exit
3305  -q, --quiet, --silent
3306                   do not print progress messages
3307  -d, --debug      don't remove temporary files
3308      --recheck    update $as_me by reconfiguring in the same conditions
3309      --file=FILE[:TEMPLATE]
3310                   instantiate the configuration file FILE
3311
3312Configuration files:
3313$config_files
3314
3315Configuration commands:
3316$config_commands
3317
3318Report bugs to <bug-gettext@gnu.org>."
3319
3320_ACEOF
3321cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3322ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3323ac_cs_version="\\
3324gettext-examples config.status 0.21
3325configured by $0, generated by GNU Autoconf 2.69,
3326  with options \\"\$ac_cs_config\\"
3327
3328Copyright (C) 2012 Free Software Foundation, Inc.
3329This config.status script is free software; the Free Software Foundation
3330gives unlimited permission to copy, distribute and modify it."
3331
3332ac_pwd='$ac_pwd'
3333srcdir='$srcdir'
3334INSTALL='$INSTALL'
3335MKDIR_P='$MKDIR_P'
3336AWK='$AWK'
3337test -n "\$AWK" || AWK=awk
3338_ACEOF
3339
3340cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3341# The default lists apply if the user does not specify any file.
3342ac_need_defaults=:
3343while test $# != 0
3344do
3345  case $1 in
3346  --*=?*)
3347    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3348    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3349    ac_shift=:
3350    ;;
3351  --*=)
3352    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3353    ac_optarg=
3354    ac_shift=:
3355    ;;
3356  *)
3357    ac_option=$1
3358    ac_optarg=$2
3359    ac_shift=shift
3360    ;;
3361  esac
3362
3363  case $ac_option in
3364  # Handling of the options.
3365  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3366    ac_cs_recheck=: ;;
3367  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3368    $as_echo "$ac_cs_version"; exit ;;
3369  --config | --confi | --conf | --con | --co | --c )
3370    $as_echo "$ac_cs_config"; exit ;;
3371  --debug | --debu | --deb | --de | --d | -d )
3372    debug=: ;;
3373  --file | --fil | --fi | --f )
3374    $ac_shift
3375    case $ac_optarg in
3376    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3377    '') as_fn_error $? "missing file argument" ;;
3378    esac
3379    as_fn_append CONFIG_FILES " '$ac_optarg'"
3380    ac_need_defaults=false;;
3381  --he | --h |  --help | --hel | -h )
3382    $as_echo "$ac_cs_usage"; exit ;;
3383  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3384  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3385    ac_cs_silent=: ;;
3386
3387  # This is an error.
3388  -*) as_fn_error $? "unrecognized option: \`$1'
3389Try \`$0 --help' for more information." ;;
3390
3391  *) as_fn_append ac_config_targets " $1"
3392     ac_need_defaults=false ;;
3393
3394  esac
3395  shift
3396done
3397
3398ac_configure_extra_args=
3399
3400if $ac_cs_silent; then
3401  exec 6>/dev/null
3402  ac_configure_extra_args="$ac_configure_extra_args --silent"
3403fi
3404
3405_ACEOF
3406cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3407if \$ac_cs_recheck; then
3408  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3409  shift
3410  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3411  CONFIG_SHELL='$SHELL'
3412  export CONFIG_SHELL
3413  exec "\$@"
3414fi
3415
3416_ACEOF
3417cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3418exec 5>>config.log
3419{
3420  echo
3421  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3422## Running $as_me. ##
3423_ASBOX
3424  $as_echo "$ac_log"
3425} >&5
3426
3427_ACEOF
3428cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3429#
3430# INIT-COMMANDS
3431#
3432# Capture the value of obsolete ALL_LINGUAS because we need it to compute
3433    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
3434    OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
3435    # Capture the value of LINGUAS because we need it to compute CATALOGS.
3436    LINGUAS="${LINGUAS-%UNSET%}"
3437
3438
3439_ACEOF
3440
3441cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3442
3443# Handling of arguments.
3444for ac_config_target in $ac_config_targets
3445do
3446  case $ac_config_target in
3447    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
3448    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3449    "installpaths") CONFIG_FILES="$CONFIG_FILES installpaths" ;;
3450    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
3451
3452  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3453  esac
3454done
3455
3456
3457# If the user did not use the arguments to specify the items to instantiate,
3458# then the envvar interface is used.  Set only those that are not.
3459# We use the long form for the default assignment because of an extremely
3460# bizarre bug on SunOS 4.1.3.
3461if $ac_need_defaults; then
3462  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3463  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3464fi
3465
3466# Have a temporary directory for convenience.  Make it in the build tree
3467# simply because there is no reason against having it here, and in addition,
3468# creating and moving files from /tmp can sometimes cause problems.
3469# Hook for its removal unless debugging.
3470# Note that there is a small window in which the directory will not be cleaned:
3471# after its creation but before its name has been assigned to `$tmp'.
3472$debug ||
3473{
3474  tmp= ac_tmp=
3475  trap 'exit_status=$?
3476  : "${ac_tmp:=$tmp}"
3477  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3478' 0
3479  trap 'as_fn_exit 1' 1 2 13 15
3480}
3481# Create a (secure) tmp directory for tmp files.
3482
3483{
3484  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3485  test -d "$tmp"
3486}  ||
3487{
3488  tmp=./conf$$-$RANDOM
3489  (umask 077 && mkdir "$tmp")
3490} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3491ac_tmp=$tmp
3492
3493# Set up the scripts for CONFIG_FILES section.
3494# No need to generate them if there are no CONFIG_FILES.
3495# This happens for instance with `./config.status config.h'.
3496if test -n "$CONFIG_FILES"; then
3497
3498
3499ac_cr=`echo X | tr X '\015'`
3500# On cygwin, bash can eat \r inside `` if the user requested igncr.
3501# But we know of no other shell where ac_cr would be empty at this
3502# point, so we can use a bashism as a fallback.
3503if test "x$ac_cr" = x; then
3504  eval ac_cr=\$\'\\r\'
3505fi
3506ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3507if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3508  ac_cs_awk_cr='\\r'
3509else
3510  ac_cs_awk_cr=$ac_cr
3511fi
3512
3513echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3514_ACEOF
3515
3516
3517{
3518  echo "cat >conf$$subs.awk <<_ACEOF" &&
3519  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3520  echo "_ACEOF"
3521} >conf$$subs.sh ||
3522  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3523ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3524ac_delim='%!_!# '
3525for ac_last_try in false false false false false :; do
3526  . ./conf$$subs.sh ||
3527    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3528
3529  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3530  if test $ac_delim_n = $ac_delim_num; then
3531    break
3532  elif $ac_last_try; then
3533    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3534  else
3535    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3536  fi
3537done
3538rm -f conf$$subs.sh
3539
3540cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3541cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3542_ACEOF
3543sed -n '
3544h
3545s/^/S["/; s/!.*/"]=/
3546p
3547g
3548s/^[^!]*!//
3549:repl
3550t repl
3551s/'"$ac_delim"'$//
3552t delim
3553:nl
3554h
3555s/\(.\{148\}\)..*/\1/
3556t more1
3557s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3558p
3559n
3560b repl
3561:more1
3562s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3563p
3564g
3565s/.\{148\}//
3566t nl
3567:delim
3568h
3569s/\(.\{148\}\)..*/\1/
3570t more2
3571s/["\\]/\\&/g; s/^/"/; s/$/"/
3572p
3573b
3574:more2
3575s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3576p
3577g
3578s/.\{148\}//
3579t delim
3580' <conf$$subs.awk | sed '
3581/^[^""]/{
3582  N
3583  s/\n//
3584}
3585' >>$CONFIG_STATUS || ac_write_fail=1
3586rm -f conf$$subs.awk
3587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3588_ACAWK
3589cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3590  for (key in S) S_is_set[key] = 1
3591  FS = ""
3592
3593}
3594{
3595  line = $ 0
3596  nfields = split(line, field, "@")
3597  substed = 0
3598  len = length(field[1])
3599  for (i = 2; i < nfields; i++) {
3600    key = field[i]
3601    keylen = length(key)
3602    if (S_is_set[key]) {
3603      value = S[key]
3604      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3605      len += length(value) + length(field[++i])
3606      substed = 1
3607    } else
3608      len += 1 + keylen
3609  }
3610
3611  print line
3612}
3613
3614_ACAWK
3615_ACEOF
3616cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3617if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3618  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3619else
3620  cat
3621fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3622  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3623_ACEOF
3624
3625# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3626# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3627# trailing colons and then remove the whole line if VPATH becomes empty
3628# (actually we leave an empty line to preserve line numbers).
3629if test "x$srcdir" = x.; then
3630  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3631h
3632s///
3633s/^/:/
3634s/[	 ]*$/:/
3635s/:\$(srcdir):/:/g
3636s/:\${srcdir}:/:/g
3637s/:@srcdir@:/:/g
3638s/^:*//
3639s/:*$//
3640x
3641s/\(=[	 ]*\).*/\1/
3642G
3643s/\n//
3644s/^[^=]*=[	 ]*$//
3645}'
3646fi
3647
3648cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3649fi # test -n "$CONFIG_FILES"
3650
3651
3652eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
3653shift
3654for ac_tag
3655do
3656  case $ac_tag in
3657  :[FHLC]) ac_mode=$ac_tag; continue;;
3658  esac
3659  case $ac_mode$ac_tag in
3660  :[FHL]*:*);;
3661  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3662  :[FH]-) ac_tag=-:-;;
3663  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3664  esac
3665  ac_save_IFS=$IFS
3666  IFS=:
3667  set x $ac_tag
3668  IFS=$ac_save_IFS
3669  shift
3670  ac_file=$1
3671  shift
3672
3673  case $ac_mode in
3674  :L) ac_source=$1;;
3675  :[FH])
3676    ac_file_inputs=
3677    for ac_f
3678    do
3679      case $ac_f in
3680      -) ac_f="$ac_tmp/stdin";;
3681      *) # Look for the file first in the build tree, then in the source tree
3682	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3683	 # because $ac_f cannot contain `:'.
3684	 test -f "$ac_f" ||
3685	   case $ac_f in
3686	   [\\/$]*) false;;
3687	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3688	   esac ||
3689	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3690      esac
3691      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3692      as_fn_append ac_file_inputs " '$ac_f'"
3693    done
3694
3695    # Let's still pretend it is `configure' which instantiates (i.e., don't
3696    # use $as_me), people would be surprised to read:
3697    #    /* config.h.  Generated by config.status.  */
3698    configure_input='Generated from '`
3699	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3700	`' by configure.'
3701    if test x"$ac_file" != x-; then
3702      configure_input="$ac_file.  $configure_input"
3703      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3704$as_echo "$as_me: creating $ac_file" >&6;}
3705    fi
3706    # Neutralize special characters interpreted by sed in replacement strings.
3707    case $configure_input in #(
3708    *\&* | *\|* | *\\* )
3709       ac_sed_conf_input=`$as_echo "$configure_input" |
3710       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3711    *) ac_sed_conf_input=$configure_input;;
3712    esac
3713
3714    case $ac_tag in
3715    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3716      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3717    esac
3718    ;;
3719  esac
3720
3721  ac_dir=`$as_dirname -- "$ac_file" ||
3722$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3723	 X"$ac_file" : 'X\(//\)[^/]' \| \
3724	 X"$ac_file" : 'X\(//\)$' \| \
3725	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3726$as_echo X"$ac_file" |
3727    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3728	    s//\1/
3729	    q
3730	  }
3731	  /^X\(\/\/\)[^/].*/{
3732	    s//\1/
3733	    q
3734	  }
3735	  /^X\(\/\/\)$/{
3736	    s//\1/
3737	    q
3738	  }
3739	  /^X\(\/\).*/{
3740	    s//\1/
3741	    q
3742	  }
3743	  s/.*/./; q'`
3744  as_dir="$ac_dir"; as_fn_mkdir_p
3745  ac_builddir=.
3746
3747case "$ac_dir" in
3748.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3749*)
3750  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3751  # A ".." for each directory in $ac_dir_suffix.
3752  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3753  case $ac_top_builddir_sub in
3754  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3755  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3756  esac ;;
3757esac
3758ac_abs_top_builddir=$ac_pwd
3759ac_abs_builddir=$ac_pwd$ac_dir_suffix
3760# for backward compatibility:
3761ac_top_builddir=$ac_top_build_prefix
3762
3763case $srcdir in
3764  .)  # We are building in place.
3765    ac_srcdir=.
3766    ac_top_srcdir=$ac_top_builddir_sub
3767    ac_abs_top_srcdir=$ac_pwd ;;
3768  [\\/]* | ?:[\\/]* )  # Absolute name.
3769    ac_srcdir=$srcdir$ac_dir_suffix;
3770    ac_top_srcdir=$srcdir
3771    ac_abs_top_srcdir=$srcdir ;;
3772  *) # Relative name.
3773    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3774    ac_top_srcdir=$ac_top_build_prefix$srcdir
3775    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3776esac
3777ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3778
3779
3780  case $ac_mode in
3781  :F)
3782  #
3783  # CONFIG_FILE
3784  #
3785
3786  case $INSTALL in
3787  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3788  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3789  esac
3790  ac_MKDIR_P=$MKDIR_P
3791  case $MKDIR_P in
3792  [\\/$]* | ?:[\\/]* ) ;;
3793  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3794  esac
3795_ACEOF
3796
3797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3798# If the template does not know about datarootdir, expand it.
3799# FIXME: This hack should be removed a few years after 2.60.
3800ac_datarootdir_hack=; ac_datarootdir_seen=
3801ac_sed_dataroot='
3802/datarootdir/ {
3803  p
3804  q
3805}
3806/@datadir@/p
3807/@docdir@/p
3808/@infodir@/p
3809/@localedir@/p
3810/@mandir@/p'
3811case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3812*datarootdir*) ac_datarootdir_seen=yes;;
3813*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3814  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3815$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3816_ACEOF
3817cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3818  ac_datarootdir_hack='
3819  s&@datadir@&$datadir&g
3820  s&@docdir@&$docdir&g
3821  s&@infodir@&$infodir&g
3822  s&@localedir@&$localedir&g
3823  s&@mandir@&$mandir&g
3824  s&\\\${datarootdir}&$datarootdir&g' ;;
3825esac
3826_ACEOF
3827
3828# Neutralize VPATH when `$srcdir' = `.'.
3829# Shell code in configure.ac might set extrasub.
3830# FIXME: do we really want to maintain this feature?
3831cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3832ac_sed_extra="$ac_vpsub
3833$extrasub
3834_ACEOF
3835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3836:t
3837/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3838s|@configure_input@|$ac_sed_conf_input|;t t
3839s&@top_builddir@&$ac_top_builddir_sub&;t t
3840s&@top_build_prefix@&$ac_top_build_prefix&;t t
3841s&@srcdir@&$ac_srcdir&;t t
3842s&@abs_srcdir@&$ac_abs_srcdir&;t t
3843s&@top_srcdir@&$ac_top_srcdir&;t t
3844s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3845s&@builddir@&$ac_builddir&;t t
3846s&@abs_builddir@&$ac_abs_builddir&;t t
3847s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3848s&@INSTALL@&$ac_INSTALL&;t t
3849s&@MKDIR_P@&$ac_MKDIR_P&;t t
3850$ac_datarootdir_hack
3851"
3852eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3853  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3854
3855test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3856  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3857  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3858      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3859  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3860which seems to be undefined.  Please make sure it is defined" >&5
3861$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3862which seems to be undefined.  Please make sure it is defined" >&2;}
3863
3864  rm -f "$ac_tmp/stdin"
3865  case $ac_file in
3866  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3867  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3868  esac \
3869  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3870 ;;
3871
3872
3873  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3874$as_echo "$as_me: executing $ac_file commands" >&6;}
3875 ;;
3876  esac
3877
3878
3879  case $ac_file$ac_mode in
3880    "po-directories":C)
3881    for ac_file in $CONFIG_FILES; do
3882      # Support "outfile[:infile[:infile...]]"
3883      case "$ac_file" in
3884        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3885      esac
3886      # PO directories have a Makefile.in generated from Makefile.in.in.
3887      case "$ac_file" in */Makefile.in)
3888        # Adjust a relative srcdir.
3889        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3890        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
3891        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3892        # In autoconf-2.13 it is called $ac_given_srcdir.
3893        # In autoconf-2.50 it is called $srcdir.
3894        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3895        case "$ac_given_srcdir" in
3896          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3897          /*) top_srcdir="$ac_given_srcdir" ;;
3898          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
3899        esac
3900        # Treat a directory as a PO directory if and only if it has a
3901        # POTFILES.in file. This allows packages to have multiple PO
3902        # directories under different names or in different locations.
3903        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3904          rm -f "$ac_dir/POTFILES"
3905          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3906          gt_tab=`printf '\t'`
3907          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3908          POMAKEFILEDEPS="POTFILES.in"
3909          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3910          # on $ac_dir but don't depend on user-specified configuration
3911          # parameters.
3912          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3913            # The LINGUAS file contains the set of available languages.
3914            if test -n "$OBSOLETE_ALL_LINGUAS"; then
3915              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3916            fi
3917            ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3918            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3919          else
3920            # The set of available languages was given in configure.in.
3921            ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
3922          fi
3923          # Compute POFILES
3924          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3925          # Compute UPDATEPOFILES
3926          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3927          # Compute DUMMYPOFILES
3928          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3929          # Compute GMOFILES
3930          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3931          case "$ac_given_srcdir" in
3932            .) srcdirpre= ;;
3933            *) srcdirpre='$(srcdir)/' ;;
3934          esac
3935          POFILES=
3936          UPDATEPOFILES=
3937          DUMMYPOFILES=
3938          GMOFILES=
3939          for lang in $ALL_LINGUAS; do
3940            POFILES="$POFILES $srcdirpre$lang.po"
3941            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3942            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3943            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3944          done
3945          # CATALOGS depends on both $ac_dir and the user's LINGUAS
3946          # environment variable.
3947          INST_LINGUAS=
3948          if test -n "$ALL_LINGUAS"; then
3949            for presentlang in $ALL_LINGUAS; do
3950              useit=no
3951              if test "%UNSET%" != "$LINGUAS"; then
3952                desiredlanguages="$LINGUAS"
3953              else
3954                desiredlanguages="$ALL_LINGUAS"
3955              fi
3956              for desiredlang in $desiredlanguages; do
3957                # Use the presentlang catalog if desiredlang is
3958                #   a. equal to presentlang, or
3959                #   b. a variant of presentlang (because in this case,
3960                #      presentlang can be used as a fallback for messages
3961                #      which are not translated in the desiredlang catalog).
3962                case "$desiredlang" in
3963                  "$presentlang"*) useit=yes;;
3964                esac
3965              done
3966              if test $useit = yes; then
3967                INST_LINGUAS="$INST_LINGUAS $presentlang"
3968              fi
3969            done
3970          fi
3971          CATALOGS=
3972          if test -n "$INST_LINGUAS"; then
3973            for lang in $INST_LINGUAS; do
3974              CATALOGS="$CATALOGS $lang.gmo"
3975            done
3976          fi
3977          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3978          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"
3979          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3980            if test -f "$f"; then
3981              case "$f" in
3982                *.orig | *.bak | *~) ;;
3983                *) cat "$f" >> "$ac_dir/Makefile" ;;
3984              esac
3985            fi
3986          done
3987        fi
3988        ;;
3989      esac
3990    done ;;
3991    "Makefile":F)
3992  sed_script='/mkdir "*\$(distdir)"*$/{a\
3993\	$(MAKE) distdir1
3994}'
3995  sed -e "$sed_script" < $ac_file > $ac_file.tmp
3996  mv $ac_file.tmp $ac_file
3997 ;;
3998    "po/Makefile":F)
3999  # When this code is run, in config.status, two variables have already been
4000  # set:
4001  # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
4002  # - LINGUAS is the value of the environment variable LINGUAS at configure
4003  #   time.
4004
4005  # Adjust a relative srcdir.
4006  ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
4007  ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
4008  ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
4009  # In autoconf-2.13 it is called $ac_given_srcdir.
4010  # In autoconf-2.50 it is called $srcdir.
4011  test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4012  case "$ac_given_srcdir" in
4013    .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
4014    /*) top_srcdir="$ac_given_srcdir" ;;
4015    *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
4016  esac
4017
4018  # Find a way to echo strings without interpreting backslash.
4019  if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
4020    gt_echo='echo'
4021  else
4022    if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
4023      gt_echo='printf %s\n'
4024    else
4025      echo_func () {
4026        cat <<EOT
4027
4028EOT
4029      }
4030      gt_echo='echo_func'
4031    fi
4032  fi
4033
4034  # A sed script that extracts the value of VARIABLE from a Makefile.
4035  tab=`printf '\t'`
4036  sed_x_variable='
4037# Test if the hold space is empty.
4038x
4039s/P/P/
4040x
4041ta
4042# Yes it was empty. Look if we have the expected variable definition.
4043/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
4044  # Seen the first line of the variable definition.
4045  s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
4046  ba
4047}
4048bd
4049:a
4050# Here we are processing a line from the variable definition.
4051# Remove comment, more precisely replace it with a space.
4052s/#.*$/ /
4053# See if the line ends in a backslash.
4054tb
4055:b
4056s/\\$//
4057# Print the line, without the trailing backslash.
4058p
4059tc
4060# There was no trailing backslash. The end of the variable definition is
4061# reached. Clear the hold space.
4062s/^.*$//
4063x
4064bd
4065:c
4066# A trailing backslash means that the variable definition continues in the
4067# next line. Put a nonempty string into the hold space to indicate this.
4068s/^.*$/P/
4069x
4070:d
4071'
4072
4073  # Set POTFILES to the value of the Makefile variable POTFILES.
4074  sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
4075  POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
4076  # Compute POTFILES_DEPS as
4077  #   $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
4078  POTFILES_DEPS=
4079  for file in $POTFILES; do
4080    POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
4081  done
4082  POMAKEFILEDEPS=""
4083
4084  if test -n "$OBSOLETE_ALL_LINGUAS"; then
4085    test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
4086  fi
4087  if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
4088    # The LINGUAS file contains the set of available languages.
4089    ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
4090    POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
4091  else
4092    # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
4093    sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
4094    ALL_LINGUAS=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
4095  fi
4096  # Compute POFILES
4097  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
4098  # Compute UPDATEPOFILES
4099  # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
4100  # Compute DUMMYPOFILES
4101  # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
4102  # Compute GMOFILES
4103  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4104  # Compute PROPERTIESFILES
4105  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(DOMAIN)_$(lang).properties)
4106  # Compute CLASSFILES
4107  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(DOMAIN)_$(lang).class)
4108  # Compute QMFILES
4109  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
4110  # Compute MSGFILES
4111  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
4112  # Compute RESOURCESDLLFILES
4113  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
4114  case "$ac_given_srcdir" in
4115    .) srcdirpre= ;;
4116    *) srcdirpre='$(srcdir)/' ;;
4117  esac
4118  POFILES=
4119  UPDATEPOFILES=
4120  DUMMYPOFILES=
4121  GMOFILES=
4122  PROPERTIESFILES=
4123  CLASSFILES=
4124  QMFILES=
4125  MSGFILES=
4126  RESOURCESDLLFILES=
4127  for lang in $ALL_LINGUAS; do
4128    POFILES="$POFILES $srcdirpre$lang.po"
4129    UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
4130    DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
4131    GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
4132    PROPERTIESFILES="$PROPERTIESFILES \$(srcdir)/\$(DOMAIN)_$lang.properties"
4133    CLASSFILES="$CLASSFILES \$(srcdir)/\$(DOMAIN)_$lang.class"
4134    QMFILES="$QMFILES $srcdirpre$lang.qm"
4135    frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4136    MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
4137    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/'`
4138    RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
4139  done
4140  # CATALOGS depends on both $ac_dir and the user's LINGUAS
4141  # environment variable.
4142  INST_LINGUAS=
4143  if test -n "$ALL_LINGUAS"; then
4144    for presentlang in $ALL_LINGUAS; do
4145      useit=no
4146      if test "%UNSET%" != "$LINGUAS"; then
4147        desiredlanguages="$LINGUAS"
4148      else
4149        desiredlanguages="$ALL_LINGUAS"
4150      fi
4151      for desiredlang in $desiredlanguages; do
4152        # Use the presentlang catalog if desiredlang is
4153        #   a. equal to presentlang, or
4154        #   b. a variant of presentlang (because in this case,
4155        #      presentlang can be used as a fallback for messages
4156        #      which are not translated in the desiredlang catalog).
4157        case "$desiredlang" in
4158          "$presentlang"*) useit=yes;;
4159        esac
4160      done
4161      if test $useit = yes; then
4162        INST_LINGUAS="$INST_LINGUAS $presentlang"
4163      fi
4164    done
4165  fi
4166  CATALOGS=
4167  JAVACATALOGS=
4168  QTCATALOGS=
4169  TCLCATALOGS=
4170  CSHARPCATALOGS=
4171  if test -n "$INST_LINGUAS"; then
4172    for lang in $INST_LINGUAS; do
4173      CATALOGS="$CATALOGS $lang.gmo"
4174      JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
4175      QTCATALOGS="$QTCATALOGS $lang.qm"
4176      frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4177      TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
4178      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/'`
4179      CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
4180    done
4181  fi
4182
4183  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"
4184  tab=`printf '\t'`
4185  if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
4186    # Add dependencies that cannot be formulated as a simple suffix rule.
4187    for lang in $ALL_LINGUAS; do
4188      frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4189      cat >> "$ac_file.tmp" <<EOF
4190$frobbedlang.msg: $lang.po
4191${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
4192${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4193EOF
4194    done
4195  fi
4196  if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
4197    # Add dependencies that cannot be formulated as a simple suffix rule.
4198    for lang in $ALL_LINGUAS; do
4199      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/'`
4200      cat >> "$ac_file.tmp" <<EOF
4201$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
4202${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
4203${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4204EOF
4205    done
4206  fi
4207  if test -n "$POMAKEFILEDEPS"; then
4208    cat >> "$ac_file.tmp" <<EOF
4209Makefile: $POMAKEFILEDEPS
4210EOF
4211  fi
4212  mv "$ac_file.tmp" "$ac_file"
4213 ;;
4214
4215  esac
4216done # for ac_tag
4217
4218
4219as_fn_exit 0
4220_ACEOF
4221ac_clean_files=$ac_clean_files_save
4222
4223test $ac_write_fail = 0 ||
4224  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4225
4226
4227# configure is writing to config.log, and then calls config.status.
4228# config.status does its own redirection, appending to config.log.
4229# Unfortunately, on DOS this fails, as config.log is still kept open
4230# by configure, so config.status won't be able to write to it; its
4231# output is simply discarded.  So we exec the FD to /dev/null,
4232# effectively closing config.log, so it can be properly (re)opened and
4233# appended to by config.status.  When coming back to configure, we
4234# need to make the FD available again.
4235if test "$no_create" != yes; then
4236  ac_cs_success=:
4237  ac_config_status_args=
4238  test "$silent" = yes &&
4239    ac_config_status_args="$ac_config_status_args --quiet"
4240  exec 5>/dev/null
4241  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4242  exec 5>>config.log
4243  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4244  # would make configure fail if this is the last instruction.
4245  $ac_cs_success || as_fn_exit 1
4246fi
4247if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4248  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4249$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4250fi
4251
4252