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