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