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