Initial commit to support emacs
[profile/ivi/m17n-db.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for m17n-db 1.6.1.
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, 2007, 2008, 2009 Free Software
9 # Foundation, Inc.
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174   if (eval "$as_required") 2>/dev/null; then :
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181 else
182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 do
186   IFS=$as_save_IFS
187   test -z "$as_dir" && as_dir=.
188   as_found=:
189   case $as_dir in #(
190          /*)
191            for as_base in sh bash ksh sh5; do
192              # Try only shells that exist, to save several forks.
193              as_shell=$as_dir/$as_base
194              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196   CONFIG_SHELL=$as_shell as_have_required=yes
197                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198   break 2
199 fi
200 fi
201            done;;
202        esac
203   as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207   CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
210
211
212       if test "x$CONFIG_SHELL" != x; then :
213   # We cannot yet assume a decent shell, so we have to provide a
214         # neutralization value for shells without unset; and this also
215         # works around shells that cannot unset nonexistent variables.
216         BASH_ENV=/dev/null
217         ENV=/dev/null
218         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219         export CONFIG_SHELL
220         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 fi
222
223     if test x$as_have_required = xno; then :
224   $as_echo "$0: This script requires a shell more modern than all"
225   $as_echo "$0: the shells that I found on your system."
226   if test x${ZSH_VERSION+set} = xset ; then
227     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229   else
230     $as_echo "$0: Please tell bug-autoconf@gnu.org and
231 $0: bugs-m17n-lib@m17n.org about your system, including any
232 $0: error possibly output before this message. Then install
233 $0: a modern shell, or manually run the script under such a
234 $0: shell if you do have one."
235   fi
236   exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254   { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263   return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366   as_status=$?; test $as_status -eq 0 && as_status=1
367   if test "$3"; then
368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370   fi
371   $as_echo "$as_me: error: $1" >&2
372   as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
461 *)
462   ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in #(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 exec 7<&0 </dev/null 6>&1
530
531 # Name of the host.
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535
536 #
537 # Initializations.
538 #
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
547
548 # Identity of this package.
549 PACKAGE_NAME='m17n-db'
550 PACKAGE_TARNAME='m17n-db'
551 PACKAGE_VERSION='1.6.1'
552 PACKAGE_STRING='m17n-db 1.6.1'
553 PACKAGE_BUGREPORT='bugs-m17n-lib@m17n.org'
554 PACKAGE_URL=''
555
556 ac_subst_vars='am__EXEEXT_FALSE
557 am__EXEEXT_TRUE
558 LTLIBOBJS
559 LIBOBJS
560 LANGNAME_TABLES
561 ICONS
562 CHARMAP_CAT
563 CHARMAP_EXT
564 CHARMAPS
565 HAVE_MSGFMT
566 POSUB
567 LTLIBINTL
568 LIBINTL
569 INTLLIBS
570 LTLIBICONV
571 LIBICONV
572 INTL_MACOSX_LIBS
573 host_os
574 host_vendor
575 host_cpu
576 host
577 build_os
578 build_vendor
579 build_cpu
580 build
581 am__fastdepCC_FALSE
582 am__fastdepCC_TRUE
583 CCDEPMODE
584 AMDEPBACKSLASH
585 AMDEP_FALSE
586 AMDEP_TRUE
587 am__quote
588 am__include
589 DEPDIR
590 OBJEXT
591 EXEEXT
592 ac_ct_CC
593 CPPFLAGS
594 LDFLAGS
595 CFLAGS
596 CC
597 MSGMERGE
598 XGETTEXT_015
599 XGETTEXT
600 GMSGFMT_015
601 MSGFMT_015
602 GMSGFMT
603 MSGFMT
604 USE_NLS
605 am__untar
606 am__tar
607 AMTAR
608 am__leading_dot
609 SET_MAKE
610 AWK
611 mkdir_p
612 MKDIR_P
613 INSTALL_STRIP_PROGRAM
614 STRIP
615 install_sh
616 MAKEINFO
617 AUTOHEADER
618 AUTOMAKE
619 AUTOCONF
620 ACLOCAL
621 VERSION
622 PACKAGE
623 CYGPATH_W
624 am__isrc
625 INSTALL_DATA
626 INSTALL_SCRIPT
627 INSTALL_PROGRAM
628 target_alias
629 host_alias
630 build_alias
631 LIBS
632 ECHO_T
633 ECHO_N
634 ECHO_C
635 DEFS
636 mandir
637 localedir
638 libdir
639 psdir
640 pdfdir
641 dvidir
642 htmldir
643 infodir
644 docdir
645 oldincludedir
646 includedir
647 localstatedir
648 sharedstatedir
649 sysconfdir
650 datadir
651 datarootdir
652 libexecdir
653 sbindir
654 bindir
655 program_transform_name
656 prefix
657 exec_prefix
658 PACKAGE_URL
659 PACKAGE_BUGREPORT
660 PACKAGE_STRING
661 PACKAGE_VERSION
662 PACKAGE_TARNAME
663 PACKAGE_NAME
664 PATH_SEPARATOR
665 SHELL'
666 ac_subst_files=''
667 ac_user_opts='
668 enable_option_checking
669 enable_nls
670 enable_dependency_tracking
671 with_gnu_ld
672 enable_rpath
673 with_libiconv_prefix
674 with_libintl_prefix
675 with_charmaps
676 '
677       ac_precious_vars='build_alias
678 host_alias
679 target_alias
680 CC
681 CFLAGS
682 LDFLAGS
683 LIBS
684 CPPFLAGS'
685
686
687 # Initialize some variables set by options.
688 ac_init_help=
689 ac_init_version=false
690 ac_unrecognized_opts=
691 ac_unrecognized_sep=
692 # The variables have the same names as the options, with
693 # dashes changed to underlines.
694 cache_file=/dev/null
695 exec_prefix=NONE
696 no_create=
697 no_recursion=
698 prefix=NONE
699 program_prefix=NONE
700 program_suffix=NONE
701 program_transform_name=s,x,x,
702 silent=
703 site=
704 srcdir=
705 verbose=
706 x_includes=NONE
707 x_libraries=NONE
708
709 # Installation directory options.
710 # These are left unexpanded so users can "make install exec_prefix=/foo"
711 # and all the variables that are supposed to be based on exec_prefix
712 # by default will actually change.
713 # Use braces instead of parens because sh, perl, etc. also accept them.
714 # (The list follows the same order as the GNU Coding Standards.)
715 bindir='${exec_prefix}/bin'
716 sbindir='${exec_prefix}/sbin'
717 libexecdir='${exec_prefix}/libexec'
718 datarootdir='${prefix}/share'
719 datadir='${datarootdir}'
720 sysconfdir='${prefix}/etc'
721 sharedstatedir='${prefix}/com'
722 localstatedir='${prefix}/var'
723 includedir='${prefix}/include'
724 oldincludedir='/usr/include'
725 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
726 infodir='${datarootdir}/info'
727 htmldir='${docdir}'
728 dvidir='${docdir}'
729 pdfdir='${docdir}'
730 psdir='${docdir}'
731 libdir='${exec_prefix}/lib'
732 localedir='${datarootdir}/locale'
733 mandir='${datarootdir}/man'
734
735 ac_prev=
736 ac_dashdash=
737 for ac_option
738 do
739   # If the previous option needs an argument, assign it.
740   if test -n "$ac_prev"; then
741     eval $ac_prev=\$ac_option
742     ac_prev=
743     continue
744   fi
745
746   case $ac_option in
747   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748   *)    ac_optarg=yes ;;
749   esac
750
751   # Accept the important Cygnus configure options, so we can diagnose typos.
752
753   case $ac_dashdash$ac_option in
754   --)
755     ac_dashdash=yes ;;
756
757   -bindir | --bindir | --bindi | --bind | --bin | --bi)
758     ac_prev=bindir ;;
759   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760     bindir=$ac_optarg ;;
761
762   -build | --build | --buil | --bui | --bu)
763     ac_prev=build_alias ;;
764   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
765     build_alias=$ac_optarg ;;
766
767   -cache-file | --cache-file | --cache-fil | --cache-fi \
768   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
769     ac_prev=cache_file ;;
770   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
771   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
772     cache_file=$ac_optarg ;;
773
774   --config-cache | -C)
775     cache_file=config.cache ;;
776
777   -datadir | --datadir | --datadi | --datad)
778     ac_prev=datadir ;;
779   -datadir=* | --datadir=* | --datadi=* | --datad=*)
780     datadir=$ac_optarg ;;
781
782   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
783   | --dataroo | --dataro | --datar)
784     ac_prev=datarootdir ;;
785   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
786   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
787     datarootdir=$ac_optarg ;;
788
789   -disable-* | --disable-*)
790     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791     # Reject names that are not valid shell variable names.
792     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
793       as_fn_error "invalid feature name: $ac_useropt"
794     ac_useropt_orig=$ac_useropt
795     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796     case $ac_user_opts in
797       *"
798 "enable_$ac_useropt"
799 "*) ;;
800       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801          ac_unrecognized_sep=', ';;
802     esac
803     eval enable_$ac_useropt=no ;;
804
805   -docdir | --docdir | --docdi | --doc | --do)
806     ac_prev=docdir ;;
807   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808     docdir=$ac_optarg ;;
809
810   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811     ac_prev=dvidir ;;
812   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813     dvidir=$ac_optarg ;;
814
815   -enable-* | --enable-*)
816     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817     # Reject names that are not valid shell variable names.
818     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819       as_fn_error "invalid feature name: $ac_useropt"
820     ac_useropt_orig=$ac_useropt
821     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822     case $ac_user_opts in
823       *"
824 "enable_$ac_useropt"
825 "*) ;;
826       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827          ac_unrecognized_sep=', ';;
828     esac
829     eval enable_$ac_useropt=\$ac_optarg ;;
830
831   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
832   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
833   | --exec | --exe | --ex)
834     ac_prev=exec_prefix ;;
835   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
836   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
837   | --exec=* | --exe=* | --ex=*)
838     exec_prefix=$ac_optarg ;;
839
840   -gas | --gas | --ga | --g)
841     # Obsolete; use --with-gas.
842     with_gas=yes ;;
843
844   -help | --help | --hel | --he | -h)
845     ac_init_help=long ;;
846   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
847     ac_init_help=recursive ;;
848   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
849     ac_init_help=short ;;
850
851   -host | --host | --hos | --ho)
852     ac_prev=host_alias ;;
853   -host=* | --host=* | --hos=* | --ho=*)
854     host_alias=$ac_optarg ;;
855
856   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857     ac_prev=htmldir ;;
858   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859   | --ht=*)
860     htmldir=$ac_optarg ;;
861
862   -includedir | --includedir | --includedi | --included | --include \
863   | --includ | --inclu | --incl | --inc)
864     ac_prev=includedir ;;
865   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
866   | --includ=* | --inclu=* | --incl=* | --inc=*)
867     includedir=$ac_optarg ;;
868
869   -infodir | --infodir | --infodi | --infod | --info | --inf)
870     ac_prev=infodir ;;
871   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872     infodir=$ac_optarg ;;
873
874   -libdir | --libdir | --libdi | --libd)
875     ac_prev=libdir ;;
876   -libdir=* | --libdir=* | --libdi=* | --libd=*)
877     libdir=$ac_optarg ;;
878
879   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
880   | --libexe | --libex | --libe)
881     ac_prev=libexecdir ;;
882   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
883   | --libexe=* | --libex=* | --libe=*)
884     libexecdir=$ac_optarg ;;
885
886   -localedir | --localedir | --localedi | --localed | --locale)
887     ac_prev=localedir ;;
888   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889     localedir=$ac_optarg ;;
890
891   -localstatedir | --localstatedir | --localstatedi | --localstated \
892   | --localstate | --localstat | --localsta | --localst | --locals)
893     ac_prev=localstatedir ;;
894   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
895   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
896     localstatedir=$ac_optarg ;;
897
898   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899     ac_prev=mandir ;;
900   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
901     mandir=$ac_optarg ;;
902
903   -nfp | --nfp | --nf)
904     # Obsolete; use --without-fp.
905     with_fp=no ;;
906
907   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908   | --no-cr | --no-c | -n)
909     no_create=yes ;;
910
911   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913     no_recursion=yes ;;
914
915   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
916   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
917   | --oldin | --oldi | --old | --ol | --o)
918     ac_prev=oldincludedir ;;
919   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
920   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
921   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
922     oldincludedir=$ac_optarg ;;
923
924   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925     ac_prev=prefix ;;
926   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927     prefix=$ac_optarg ;;
928
929   -program-prefix | --program-prefix | --program-prefi | --program-pref \
930   | --program-pre | --program-pr | --program-p)
931     ac_prev=program_prefix ;;
932   -program-prefix=* | --program-prefix=* | --program-prefi=* \
933   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
934     program_prefix=$ac_optarg ;;
935
936   -program-suffix | --program-suffix | --program-suffi | --program-suff \
937   | --program-suf | --program-su | --program-s)
938     ac_prev=program_suffix ;;
939   -program-suffix=* | --program-suffix=* | --program-suffi=* \
940   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
941     program_suffix=$ac_optarg ;;
942
943   -program-transform-name | --program-transform-name \
944   | --program-transform-nam | --program-transform-na \
945   | --program-transform-n | --program-transform- \
946   | --program-transform | --program-transfor \
947   | --program-transfo | --program-transf \
948   | --program-trans | --program-tran \
949   | --progr-tra | --program-tr | --program-t)
950     ac_prev=program_transform_name ;;
951   -program-transform-name=* | --program-transform-name=* \
952   | --program-transform-nam=* | --program-transform-na=* \
953   | --program-transform-n=* | --program-transform-=* \
954   | --program-transform=* | --program-transfor=* \
955   | --program-transfo=* | --program-transf=* \
956   | --program-trans=* | --program-tran=* \
957   | --progr-tra=* | --program-tr=* | --program-t=*)
958     program_transform_name=$ac_optarg ;;
959
960   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961     ac_prev=pdfdir ;;
962   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963     pdfdir=$ac_optarg ;;
964
965   -psdir | --psdir | --psdi | --psd | --ps)
966     ac_prev=psdir ;;
967   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968     psdir=$ac_optarg ;;
969
970   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971   | -silent | --silent | --silen | --sile | --sil)
972     silent=yes ;;
973
974   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975     ac_prev=sbindir ;;
976   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977   | --sbi=* | --sb=*)
978     sbindir=$ac_optarg ;;
979
980   -sharedstatedir | --sharedstatedir | --sharedstatedi \
981   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982   | --sharedst | --shareds | --shared | --share | --shar \
983   | --sha | --sh)
984     ac_prev=sharedstatedir ;;
985   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988   | --sha=* | --sh=*)
989     sharedstatedir=$ac_optarg ;;
990
991   -site | --site | --sit)
992     ac_prev=site ;;
993   -site=* | --site=* | --sit=*)
994     site=$ac_optarg ;;
995
996   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997     ac_prev=srcdir ;;
998   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999     srcdir=$ac_optarg ;;
1000
1001   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1002   | --syscon | --sysco | --sysc | --sys | --sy)
1003     ac_prev=sysconfdir ;;
1004   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1005   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1006     sysconfdir=$ac_optarg ;;
1007
1008   -target | --target | --targe | --targ | --tar | --ta | --t)
1009     ac_prev=target_alias ;;
1010   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1011     target_alias=$ac_optarg ;;
1012
1013   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1014     verbose=yes ;;
1015
1016   -version | --version | --versio | --versi | --vers | -V)
1017     ac_init_version=: ;;
1018
1019   -with-* | --with-*)
1020     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021     # Reject names that are not valid shell variable names.
1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023       as_fn_error "invalid package name: $ac_useropt"
1024     ac_useropt_orig=$ac_useropt
1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026     case $ac_user_opts in
1027       *"
1028 "with_$ac_useropt"
1029 "*) ;;
1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031          ac_unrecognized_sep=', ';;
1032     esac
1033     eval with_$ac_useropt=\$ac_optarg ;;
1034
1035   -without-* | --without-*)
1036     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037     # Reject names that are not valid shell variable names.
1038     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039       as_fn_error "invalid package name: $ac_useropt"
1040     ac_useropt_orig=$ac_useropt
1041     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042     case $ac_user_opts in
1043       *"
1044 "with_$ac_useropt"
1045 "*) ;;
1046       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047          ac_unrecognized_sep=', ';;
1048     esac
1049     eval with_$ac_useropt=no ;;
1050
1051   --x)
1052     # Obsolete; use --with-x.
1053     with_x=yes ;;
1054
1055   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1056   | --x-incl | --x-inc | --x-in | --x-i)
1057     ac_prev=x_includes ;;
1058   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1059   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1060     x_includes=$ac_optarg ;;
1061
1062   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1063   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1064     ac_prev=x_libraries ;;
1065   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1066   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1067     x_libraries=$ac_optarg ;;
1068
1069   -*) as_fn_error "unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information."
1071     ;;
1072
1073   *=*)
1074     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1075     # Reject names that are not valid shell variable names.
1076     case $ac_envvar in #(
1077       '' | [0-9]* | *[!_$as_cr_alnum]* )
1078       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1079     esac
1080     eval $ac_envvar=\$ac_optarg
1081     export $ac_envvar ;;
1082
1083   *)
1084     # FIXME: should be removed in autoconf 3.0.
1085     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1087       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1089     ;;
1090
1091   esac
1092 done
1093
1094 if test -n "$ac_prev"; then
1095   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1096   as_fn_error "missing argument to $ac_option"
1097 fi
1098
1099 if test -n "$ac_unrecognized_opts"; then
1100   case $enable_option_checking in
1101     no) ;;
1102     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1103     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104   esac
1105 fi
1106
1107 # Check all directory arguments for consistency.
1108 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109                 datadir sysconfdir sharedstatedir localstatedir includedir \
1110                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111                 libdir localedir mandir
1112 do
1113   eval ac_val=\$$ac_var
1114   # Remove trailing slashes.
1115   case $ac_val in
1116     */ )
1117       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118       eval $ac_var=\$ac_val;;
1119   esac
1120   # Be sure to have absolute directory names.
1121   case $ac_val in
1122     [\\/$]* | ?:[\\/]* )  continue;;
1123     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1124   esac
1125   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1126 done
1127
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1131 build=$build_alias
1132 host=$host_alias
1133 target=$target_alias
1134
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x; then
1137   if test "x$build_alias" = x; then
1138     cross_compiling=maybe
1139     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140     If a cross compiler is detected then cross compile mode will be used." >&2
1141   elif test "x$build_alias" != "x$host_alias"; then
1142     cross_compiling=yes
1143   fi
1144 fi
1145
1146 ac_tool_prefix=
1147 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1148
1149 test "$silent" = yes && exec 6>/dev/null
1150
1151
1152 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di=`ls -di .` &&
1154 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1155   as_fn_error "working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157   as_fn_error "pwd does not report name of working directory"
1158
1159
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162   ac_srcdir_defaulted=yes
1163   # Try the directory containing this script, then the parent directory.
1164   ac_confdir=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166          X"$as_myself" : 'X\(//\)[^/]' \| \
1167          X"$as_myself" : 'X\(//\)$' \| \
1168          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171             s//\1/
1172             q
1173           }
1174           /^X\(\/\/\)[^/].*/{
1175             s//\1/
1176             q
1177           }
1178           /^X\(\/\/\)$/{
1179             s//\1/
1180             q
1181           }
1182           /^X\(\/\).*/{
1183             s//\1/
1184             q
1185           }
1186           s/.*/./; q'`
1187   srcdir=$ac_confdir
1188   if test ! -r "$srcdir/$ac_unique_file"; then
1189     srcdir=..
1190   fi
1191 else
1192   ac_srcdir_defaulted=no
1193 fi
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1197 fi
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 ac_abs_confdir=`(
1200         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1201         pwd)`
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204   srcdir=.
1205 fi
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1209 case $srcdir in
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 esac
1212 for ac_var in $ac_precious_vars; do
1213   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214   eval ac_env_${ac_var}_value=\$${ac_var}
1215   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1217 done
1218
1219 #
1220 # Report the --help message.
1221 #
1222 if test "$ac_init_help" = "long"; then
1223   # Omit some internal or obsolete options to make the list less imposing.
1224   # This message is too long to be a string in the A/UX 3.1 sh.
1225   cat <<_ACEOF
1226 \`configure' configures m17n-db 1.6.1 to adapt to many kinds of systems.
1227
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1229
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE.  See below for descriptions of some of the useful variables.
1232
1233 Defaults for the options are specified in brackets.
1234
1235 Configuration:
1236   -h, --help              display this help and exit
1237       --help=short        display options specific to this package
1238       --help=recursive    display the short help of all the included packages
1239   -V, --version           display version information and exit
1240   -q, --quiet, --silent   do not print \`checking...' messages
1241       --cache-file=FILE   cache test results in FILE [disabled]
1242   -C, --config-cache      alias for \`--cache-file=config.cache'
1243   -n, --no-create         do not create output files
1244       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1245
1246 Installation directories:
1247   --prefix=PREFIX         install architecture-independent files in PREFIX
1248                           [$ac_default_prefix]
1249   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1250                           [PREFIX]
1251
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1256
1257 For better control, use the options below.
1258
1259 Fine tuning of the installation directories:
1260   --bindir=DIR            user executables [EPREFIX/bin]
1261   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1262   --libexecdir=DIR        program executables [EPREFIX/libexec]
1263   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1264   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1265   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1266   --libdir=DIR            object code libraries [EPREFIX/lib]
1267   --includedir=DIR        C header files [PREFIX/include]
1268   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1269   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1270   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1271   --infodir=DIR           info documentation [DATAROOTDIR/info]
1272   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1273   --mandir=DIR            man documentation [DATAROOTDIR/man]
1274   --docdir=DIR            documentation root [DATAROOTDIR/doc/m17n-db]
1275   --htmldir=DIR           html documentation [DOCDIR]
1276   --dvidir=DIR            dvi documentation [DOCDIR]
1277   --pdfdir=DIR            pdf documentation [DOCDIR]
1278   --psdir=DIR             ps documentation [DOCDIR]
1279 _ACEOF
1280
1281   cat <<\_ACEOF
1282
1283 Program names:
1284   --program-prefix=PREFIX            prepend PREFIX to installed program names
1285   --program-suffix=SUFFIX            append SUFFIX to installed program names
1286   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1287
1288 System types:
1289   --build=BUILD     configure for building on BUILD [guessed]
1290   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1291 _ACEOF
1292 fi
1293
1294 if test -n "$ac_init_help"; then
1295   case $ac_init_help in
1296      short | recursive ) echo "Configuration of m17n-db 1.6.1:";;
1297    esac
1298   cat <<\_ACEOF
1299
1300 Optional Features:
1301   --disable-option-checking  ignore unrecognized --enable/--with options
1302   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1303   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1304   --disable-nls           do not use Native Language Support
1305   --disable-dependency-tracking  speeds up one-time build
1306   --enable-dependency-tracking   do not reject slow dependency extractors
1307   --disable-rpath         do not hardcode runtime library paths
1308
1309 Optional Packages:
1310   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1311   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1312   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1313   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1314   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1315   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1316   --without-libintl-prefix     don't search for libintl in includedir and libdir
1317   --with-charmaps=DIR     Directory of source files for charset maps.
1318
1319 Some influential environment variables:
1320   CC          C compiler command
1321   CFLAGS      C compiler flags
1322   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1323               nonstandard directory <lib dir>
1324   LIBS        libraries to pass to the linker, e.g. -l<library>
1325   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1326               you have headers in a nonstandard directory <include dir>
1327
1328 Use these variables to override the choices made by `configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1330
1331 Report bugs to <bugs-m17n-lib@m17n.org>.
1332 _ACEOF
1333 ac_status=$?
1334 fi
1335
1336 if test "$ac_init_help" = "recursive"; then
1337   # If there are subdirs, report their specific --help.
1338   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339     test -d "$ac_dir" ||
1340       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1341       continue
1342     ac_builddir=.
1343
1344 case "$ac_dir" in
1345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 *)
1347   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1348   # A ".." for each directory in $ac_dir_suffix.
1349   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1350   case $ac_top_builddir_sub in
1351   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1353   esac ;;
1354 esac
1355 ac_abs_top_builddir=$ac_pwd
1356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1357 # for backward compatibility:
1358 ac_top_builddir=$ac_top_build_prefix
1359
1360 case $srcdir in
1361   .)  # We are building in place.
1362     ac_srcdir=.
1363     ac_top_srcdir=$ac_top_builddir_sub
1364     ac_abs_top_srcdir=$ac_pwd ;;
1365   [\\/]* | ?:[\\/]* )  # Absolute name.
1366     ac_srcdir=$srcdir$ac_dir_suffix;
1367     ac_top_srcdir=$srcdir
1368     ac_abs_top_srcdir=$srcdir ;;
1369   *) # Relative name.
1370     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1371     ac_top_srcdir=$ac_top_build_prefix$srcdir
1372     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1373 esac
1374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1375
1376     cd "$ac_dir" || { ac_status=$?; continue; }
1377     # Check for guested configure.
1378     if test -f "$ac_srcdir/configure.gnu"; then
1379       echo &&
1380       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1381     elif test -f "$ac_srcdir/configure"; then
1382       echo &&
1383       $SHELL "$ac_srcdir/configure" --help=recursive
1384     else
1385       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1386     fi || ac_status=$?
1387     cd "$ac_pwd" || { ac_status=$?; break; }
1388   done
1389 fi
1390
1391 test -n "$ac_init_help" && exit $ac_status
1392 if $ac_init_version; then
1393   cat <<\_ACEOF
1394 m17n-db configure 1.6.1
1395 generated by GNU Autoconf 2.64
1396
1397 Copyright (C) 2009 Free Software Foundation, Inc.
1398 This configure script is free software; the Free Software Foundation
1399 gives unlimited permission to copy, distribute and modify it.
1400 _ACEOF
1401   exit
1402 fi
1403
1404 ## ------------------------ ##
1405 ## Autoconf initialization. ##
1406 ## ------------------------ ##
1407
1408 # ac_fn_c_try_compile LINENO
1409 # --------------------------
1410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1411 ac_fn_c_try_compile ()
1412 {
1413   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1414   rm -f conftest.$ac_objext
1415   if { { ac_try="$ac_compile"
1416 case "(($ac_try" in
1417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418   *) ac_try_echo=$ac_try;;
1419 esac
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422   (eval "$ac_compile") 2>conftest.err
1423   ac_status=$?
1424   if test -s conftest.err; then
1425     grep -v '^ *+' conftest.err >conftest.er1
1426     cat conftest.er1 >&5
1427     mv -f conftest.er1 conftest.err
1428   fi
1429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430   test $ac_status = 0; } && {
1431          test -z "$ac_c_werror_flag" ||
1432          test ! -s conftest.err
1433        } && test -s conftest.$ac_objext; then :
1434   ac_retval=0
1435 else
1436   $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1438
1439         ac_retval=1
1440 fi
1441   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1442   return $ac_retval
1443
1444 } # ac_fn_c_try_compile
1445
1446 # ac_fn_c_try_link LINENO
1447 # -----------------------
1448 # Try to link conftest.$ac_ext, and return whether this succeeded.
1449 ac_fn_c_try_link ()
1450 {
1451   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452   rm -f conftest.$ac_objext conftest$ac_exeext
1453   if { { ac_try="$ac_link"
1454 case "(($ac_try" in
1455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456   *) ac_try_echo=$ac_try;;
1457 esac
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460   (eval "$ac_link") 2>conftest.err
1461   ac_status=$?
1462   if test -s conftest.err; then
1463     grep -v '^ *+' conftest.err >conftest.er1
1464     cat conftest.er1 >&5
1465     mv -f conftest.er1 conftest.err
1466   fi
1467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468   test $ac_status = 0; } && {
1469          test -z "$ac_c_werror_flag" ||
1470          test ! -s conftest.err
1471        } && test -s conftest$ac_exeext && {
1472          test "$cross_compiling" = yes ||
1473          $as_test_x conftest$ac_exeext
1474        }; then :
1475   ac_retval=0
1476 else
1477   $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1479
1480         ac_retval=1
1481 fi
1482   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1483   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1484   # interfere with the next link command; also delete a directory that is
1485   # left behind by Apple's compiler.  We do this before executing the actions.
1486   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1487   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1488   return $ac_retval
1489
1490 } # ac_fn_c_try_link
1491 cat >config.log <<_ACEOF
1492 This file contains any messages produced by compilers while
1493 running configure, to aid debugging if configure makes a mistake.
1494
1495 It was created by m17n-db $as_me 1.6.1, which was
1496 generated by GNU Autoconf 2.64.  Invocation command line was
1497
1498   $ $0 $@
1499
1500 _ACEOF
1501 exec 5>>config.log
1502 {
1503 cat <<_ASUNAME
1504 ## --------- ##
1505 ## Platform. ##
1506 ## --------- ##
1507
1508 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1509 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1510 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1511 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1512 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1513
1514 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1515 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1516
1517 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1518 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1519 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1520 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1521 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1522 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1523 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1524
1525 _ASUNAME
1526
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 for as_dir in $PATH
1529 do
1530   IFS=$as_save_IFS
1531   test -z "$as_dir" && as_dir=.
1532     $as_echo "PATH: $as_dir"
1533   done
1534 IFS=$as_save_IFS
1535
1536 } >&5
1537
1538 cat >&5 <<_ACEOF
1539
1540
1541 ## ----------- ##
1542 ## Core tests. ##
1543 ## ----------- ##
1544
1545 _ACEOF
1546
1547
1548 # Keep a trace of the command line.
1549 # Strip out --no-create and --no-recursion so they do not pile up.
1550 # Strip out --silent because we don't want to record it for future runs.
1551 # Also quote any args containing shell meta-characters.
1552 # Make two passes to allow for proper duplicate-argument suppression.
1553 ac_configure_args=
1554 ac_configure_args0=
1555 ac_configure_args1=
1556 ac_must_keep_next=false
1557 for ac_pass in 1 2
1558 do
1559   for ac_arg
1560   do
1561     case $ac_arg in
1562     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1563     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1564     | -silent | --silent | --silen | --sile | --sil)
1565       continue ;;
1566     *\'*)
1567       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1568     esac
1569     case $ac_pass in
1570     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1571     2)
1572       as_fn_append ac_configure_args1 " '$ac_arg'"
1573       if test $ac_must_keep_next = true; then
1574         ac_must_keep_next=false # Got value, back to normal.
1575       else
1576         case $ac_arg in
1577           *=* | --config-cache | -C | -disable-* | --disable-* \
1578           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1579           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1580           | -with-* | --with-* | -without-* | --without-* | --x)
1581             case "$ac_configure_args0 " in
1582               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1583             esac
1584             ;;
1585           -* ) ac_must_keep_next=true ;;
1586         esac
1587       fi
1588       as_fn_append ac_configure_args " '$ac_arg'"
1589       ;;
1590     esac
1591   done
1592 done
1593 { ac_configure_args0=; unset ac_configure_args0;}
1594 { ac_configure_args1=; unset ac_configure_args1;}
1595
1596 # When interrupted or exit'd, cleanup temporary files, and complete
1597 # config.log.  We remove comments because anyway the quotes in there
1598 # would cause problems or look ugly.
1599 # WARNING: Use '\'' to represent an apostrophe within the trap.
1600 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1601 trap 'exit_status=$?
1602   # Save into config.log some information that might help in debugging.
1603   {
1604     echo
1605
1606     cat <<\_ASBOX
1607 ## ---------------- ##
1608 ## Cache variables. ##
1609 ## ---------------- ##
1610 _ASBOX
1611     echo
1612     # The following way of writing the cache mishandles newlines in values,
1613 (
1614   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1615     eval ac_val=\$$ac_var
1616     case $ac_val in #(
1617     *${as_nl}*)
1618       case $ac_var in #(
1619       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1621       esac
1622       case $ac_var in #(
1623       _ | IFS | as_nl) ;; #(
1624       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1625       *) { eval $ac_var=; unset $ac_var;} ;;
1626       esac ;;
1627     esac
1628   done
1629   (set) 2>&1 |
1630     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1631     *${as_nl}ac_space=\ *)
1632       sed -n \
1633         "s/'\''/'\''\\\\'\'''\''/g;
1634           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1635       ;; #(
1636     *)
1637       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1638       ;;
1639     esac |
1640     sort
1641 )
1642     echo
1643
1644     cat <<\_ASBOX
1645 ## ----------------- ##
1646 ## Output variables. ##
1647 ## ----------------- ##
1648 _ASBOX
1649     echo
1650     for ac_var in $ac_subst_vars
1651     do
1652       eval ac_val=\$$ac_var
1653       case $ac_val in
1654       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1655       esac
1656       $as_echo "$ac_var='\''$ac_val'\''"
1657     done | sort
1658     echo
1659
1660     if test -n "$ac_subst_files"; then
1661       cat <<\_ASBOX
1662 ## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##
1665 _ASBOX
1666       echo
1667       for ac_var in $ac_subst_files
1668       do
1669         eval ac_val=\$$ac_var
1670         case $ac_val in
1671         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672         esac
1673         $as_echo "$ac_var='\''$ac_val'\''"
1674       done | sort
1675       echo
1676     fi
1677
1678     if test -s confdefs.h; then
1679       cat <<\_ASBOX
1680 ## ----------- ##
1681 ## confdefs.h. ##
1682 ## ----------- ##
1683 _ASBOX
1684       echo
1685       cat confdefs.h
1686       echo
1687     fi
1688     test "$ac_signal" != 0 &&
1689       $as_echo "$as_me: caught signal $ac_signal"
1690     $as_echo "$as_me: exit $exit_status"
1691   } >&5
1692   rm -f core *.core core.conftest.* &&
1693     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1694     exit $exit_status
1695 ' 0
1696 for ac_signal in 1 2 13 15; do
1697   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1698 done
1699 ac_signal=0
1700
1701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1702 rm -f -r conftest* confdefs.h
1703
1704 $as_echo "/* confdefs.h */" > confdefs.h
1705
1706 # Predefined preprocessor variables.
1707
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_NAME "$PACKAGE_NAME"
1710 _ACEOF
1711
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1714 _ACEOF
1715
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1718 _ACEOF
1719
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_STRING "$PACKAGE_STRING"
1722 _ACEOF
1723
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1726 _ACEOF
1727
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_URL "$PACKAGE_URL"
1730 _ACEOF
1731
1732
1733 # Let the site file select an alternate cache file if it wants to.
1734 # Prefer an explicitly selected file to automatically selected ones.
1735 ac_site_file1=NONE
1736 ac_site_file2=NONE
1737 if test -n "$CONFIG_SITE"; then
1738   ac_site_file1=$CONFIG_SITE
1739 elif test "x$prefix" != xNONE; then
1740   ac_site_file1=$prefix/share/config.site
1741   ac_site_file2=$prefix/etc/config.site
1742 else
1743   ac_site_file1=$ac_default_prefix/share/config.site
1744   ac_site_file2=$ac_default_prefix/etc/config.site
1745 fi
1746 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1747 do
1748   test "x$ac_site_file" = xNONE && continue
1749   if test -r "$ac_site_file"; then
1750     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1751 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1752     sed 's/^/| /' "$ac_site_file" >&5
1753     . "$ac_site_file"
1754   fi
1755 done
1756
1757 if test -r "$cache_file"; then
1758   # Some versions of bash will fail to source /dev/null (special
1759   # files actually), so we avoid doing that.
1760   if test -f "$cache_file"; then
1761     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1762 $as_echo "$as_me: loading cache $cache_file" >&6;}
1763     case $cache_file in
1764       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1765       *)                      . "./$cache_file";;
1766     esac
1767   fi
1768 else
1769   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1770 $as_echo "$as_me: creating cache $cache_file" >&6;}
1771   >$cache_file
1772 fi
1773
1774 # Check that the precious variables saved in the cache have kept the same
1775 # value.
1776 ac_cache_corrupted=false
1777 for ac_var in $ac_precious_vars; do
1778   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1779   eval ac_new_set=\$ac_env_${ac_var}_set
1780   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1781   eval ac_new_val=\$ac_env_${ac_var}_value
1782   case $ac_old_set,$ac_new_set in
1783     set,)
1784       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1785 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1786       ac_cache_corrupted=: ;;
1787     ,set)
1788       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1789 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1790       ac_cache_corrupted=: ;;
1791     ,);;
1792     *)
1793       if test "x$ac_old_val" != "x$ac_new_val"; then
1794         # differences in whitespace do not lead to failure.
1795         ac_old_val_w=`echo x $ac_old_val`
1796         ac_new_val_w=`echo x $ac_new_val`
1797         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1798           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1799 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1800           ac_cache_corrupted=:
1801         else
1802           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1803 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1804           eval $ac_var=\$ac_old_val
1805         fi
1806         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1807 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1808         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1809 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1810       fi;;
1811   esac
1812   # Pass precious variables to config.status.
1813   if test "$ac_new_set" = set; then
1814     case $ac_new_val in
1815     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1816     *) ac_arg=$ac_var=$ac_new_val ;;
1817     esac
1818     case " $ac_configure_args " in
1819       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1820       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1821     esac
1822   fi
1823 done
1824 if $ac_cache_corrupted; then
1825   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1827   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1828 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1829   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1830 fi
1831 ## -------------------- ##
1832 ## Main body of script. ##
1833 ## -------------------- ##
1834
1835 ac_ext=c
1836 ac_cpp='$CPP $CPPFLAGS'
1837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840
1841
1842 am__api_version='1.11'
1843
1844 ac_aux_dir=
1845 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1846   for ac_t in install-sh install.sh shtool; do
1847     if test -f "$ac_dir/$ac_t"; then
1848       ac_aux_dir=$ac_dir
1849       ac_install_sh="$ac_aux_dir/$ac_t -c"
1850       break 2
1851     fi
1852   done
1853 done
1854 if test -z "$ac_aux_dir"; then
1855   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1856 fi
1857
1858 # These three variables are undocumented and unsupported,
1859 # and are intended to be withdrawn in a future Autoconf release.
1860 # They can cause serious problems if a builder's source tree is in a directory
1861 # whose full name contains unusual characters.
1862 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1863 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1864 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1865
1866
1867 # Find a good install program.  We prefer a C program (faster),
1868 # so one script is as good as another.  But avoid the broken or
1869 # incompatible versions:
1870 # SysV /etc/install, /usr/sbin/install
1871 # SunOS /usr/etc/install
1872 # IRIX /sbin/install
1873 # AIX /bin/install
1874 # AmigaOS /C/install, which installs bootblocks on floppy discs
1875 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1876 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1877 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1878 # OS/2's system install, which has a completely different semantic
1879 # ./install, which can be erroneously created by make from ./install.sh.
1880 # Reject install programs that cannot install multiple files.
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1882 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1883 if test -z "$INSTALL"; then
1884 if test "${ac_cv_path_install+set}" = set; then :
1885   $as_echo_n "(cached) " >&6
1886 else
1887   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 for as_dir in $PATH
1889 do
1890   IFS=$as_save_IFS
1891   test -z "$as_dir" && as_dir=.
1892     # Account for people who put trailing slashes in PATH elements.
1893 case $as_dir/ in #((
1894   ./ | .// | /[cC]/* | \
1895   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1896   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1897   /usr/ucb/* ) ;;
1898   *)
1899     # OSF1 and SCO ODT 3.0 have their own names for install.
1900     # Don't use installbsd from OSF since it installs stuff as root
1901     # by default.
1902     for ac_prog in ginstall scoinst install; do
1903       for ac_exec_ext in '' $ac_executable_extensions; do
1904         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1905           if test $ac_prog = install &&
1906             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1907             # AIX install.  It has an incompatible calling convention.
1908             :
1909           elif test $ac_prog = install &&
1910             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1911             # program-specific install script used by HP pwplus--don't use.
1912             :
1913           else
1914             rm -rf conftest.one conftest.two conftest.dir
1915             echo one > conftest.one
1916             echo two > conftest.two
1917             mkdir conftest.dir
1918             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1919               test -s conftest.one && test -s conftest.two &&
1920               test -s conftest.dir/conftest.one &&
1921               test -s conftest.dir/conftest.two
1922             then
1923               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1924               break 3
1925             fi
1926           fi
1927         fi
1928       done
1929     done
1930     ;;
1931 esac
1932
1933   done
1934 IFS=$as_save_IFS
1935
1936 rm -rf conftest.one conftest.two conftest.dir
1937
1938 fi
1939   if test "${ac_cv_path_install+set}" = set; then
1940     INSTALL=$ac_cv_path_install
1941   else
1942     # As a last resort, use the slow shell script.  Don't cache a
1943     # value for INSTALL within a source directory, because that will
1944     # break other packages using the cache if that directory is
1945     # removed, or if the value is a relative name.
1946     INSTALL=$ac_install_sh
1947   fi
1948 fi
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1950 $as_echo "$INSTALL" >&6; }
1951
1952 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1953 # It thinks the first close brace ends the variable substitution.
1954 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1955
1956 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1957
1958 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1959
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1961 $as_echo_n "checking whether build environment is sane... " >&6; }
1962 # Just in case
1963 sleep 1
1964 echo timestamp > conftest.file
1965 # Reject unsafe characters in $srcdir or the absolute working directory
1966 # name.  Accept space and tab only in the latter.
1967 am_lf='
1968 '
1969 case `pwd` in
1970   *[\\\"\#\$\&\'\`$am_lf]*)
1971     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1972 esac
1973 case $srcdir in
1974   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1975     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1976 esac
1977
1978 # Do `set' in a subshell so we don't clobber the current shell's
1979 # arguments.  Must try -L first in case configure is actually a
1980 # symlink; some systems play weird games with the mod time of symlinks
1981 # (eg FreeBSD returns the mod time of the symlink's containing
1982 # directory).
1983 if (
1984    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1985    if test "$*" = "X"; then
1986       # -L didn't work.
1987       set X `ls -t "$srcdir/configure" conftest.file`
1988    fi
1989    rm -f conftest.file
1990    if test "$*" != "X $srcdir/configure conftest.file" \
1991       && test "$*" != "X conftest.file $srcdir/configure"; then
1992
1993       # If neither matched, then we have a broken ls.  This can happen
1994       # if, for instance, CONFIG_SHELL is bash and it inherits a
1995       # broken ls alias from the environment.  This has actually
1996       # happened.  Such a system could not be considered "sane".
1997       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
1998 alias in your environment" "$LINENO" 5
1999    fi
2000
2001    test "$2" = conftest.file
2002    )
2003 then
2004    # Ok.
2005    :
2006 else
2007    as_fn_error "newly created file is older than distributed files!
2008 Check your system clock" "$LINENO" 5
2009 fi
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2011 $as_echo "yes" >&6; }
2012 test "$program_prefix" != NONE &&
2013   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2014 # Use a double $ so make ignores it.
2015 test "$program_suffix" != NONE &&
2016   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2017 # Double any \ or $.
2018 # By default was `s,x,x', remove it if useless.
2019 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2020 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2021
2022 # expand $ac_aux_dir to an absolute path
2023 am_aux_dir=`cd $ac_aux_dir && pwd`
2024
2025 if test x"${MISSING+set}" != xset; then
2026   case $am_aux_dir in
2027   *\ * | *\     *)
2028     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2029   *)
2030     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2031   esac
2032 fi
2033 # Use eval to expand $SHELL
2034 if eval "$MISSING --run true"; then
2035   am_missing_run="$MISSING --run "
2036 else
2037   am_missing_run=
2038   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2039 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2040 fi
2041
2042 if test x"${install_sh}" != xset; then
2043   case $am_aux_dir in
2044   *\ * | *\     *)
2045     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2046   *)
2047     install_sh="\${SHELL} $am_aux_dir/install-sh"
2048   esac
2049 fi
2050
2051 # Installed binaries are usually stripped using `strip' when the user
2052 # run `make install-strip'.  However `strip' might not be the right
2053 # tool to use in cross-compilation environments, therefore Automake
2054 # will honor the `STRIP' environment variable to overrule this program.
2055 if test "$cross_compiling" != no; then
2056   if test -n "$ac_tool_prefix"; then
2057   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2058 set dummy ${ac_tool_prefix}strip; ac_word=$2
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2060 $as_echo_n "checking for $ac_word... " >&6; }
2061 if test "${ac_cv_prog_STRIP+set}" = set; then :
2062   $as_echo_n "(cached) " >&6
2063 else
2064   if test -n "$STRIP"; then
2065   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2066 else
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2069 do
2070   IFS=$as_save_IFS
2071   test -z "$as_dir" && as_dir=.
2072     for ac_exec_ext in '' $ac_executable_extensions; do
2073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2074     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2076     break 2
2077   fi
2078 done
2079   done
2080 IFS=$as_save_IFS
2081
2082 fi
2083 fi
2084 STRIP=$ac_cv_prog_STRIP
2085 if test -n "$STRIP"; then
2086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2087 $as_echo "$STRIP" >&6; }
2088 else
2089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090 $as_echo "no" >&6; }
2091 fi
2092
2093
2094 fi
2095 if test -z "$ac_cv_prog_STRIP"; then
2096   ac_ct_STRIP=$STRIP
2097   # Extract the first word of "strip", so it can be a program name with args.
2098 set dummy strip; ac_word=$2
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2100 $as_echo_n "checking for $ac_word... " >&6; }
2101 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2102   $as_echo_n "(cached) " >&6
2103 else
2104   if test -n "$ac_ct_STRIP"; then
2105   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110   IFS=$as_save_IFS
2111   test -z "$as_dir" && as_dir=.
2112     for ac_exec_ext in '' $ac_executable_extensions; do
2113   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114     ac_cv_prog_ac_ct_STRIP="strip"
2115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2116     break 2
2117   fi
2118 done
2119   done
2120 IFS=$as_save_IFS
2121
2122 fi
2123 fi
2124 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2125 if test -n "$ac_ct_STRIP"; then
2126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2127 $as_echo "$ac_ct_STRIP" >&6; }
2128 else
2129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2130 $as_echo "no" >&6; }
2131 fi
2132
2133   if test "x$ac_ct_STRIP" = x; then
2134     STRIP=":"
2135   else
2136     case $cross_compiling:$ac_tool_warned in
2137 yes:)
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2140 ac_tool_warned=yes ;;
2141 esac
2142     STRIP=$ac_ct_STRIP
2143   fi
2144 else
2145   STRIP="$ac_cv_prog_STRIP"
2146 fi
2147
2148 fi
2149 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2150
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2152 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2153 if test -z "$MKDIR_P"; then
2154   if test "${ac_cv_path_mkdir+set}" = set; then :
2155   $as_echo_n "(cached) " >&6
2156 else
2157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2159 do
2160   IFS=$as_save_IFS
2161   test -z "$as_dir" && as_dir=.
2162     for ac_prog in mkdir gmkdir; do
2163          for ac_exec_ext in '' $ac_executable_extensions; do
2164            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2165            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2166              'mkdir (GNU coreutils) '* | \
2167              'mkdir (coreutils) '* | \
2168              'mkdir (fileutils) '4.1*)
2169                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2170                break 3;;
2171            esac
2172          done
2173        done
2174   done
2175 IFS=$as_save_IFS
2176
2177 fi
2178
2179   if test "${ac_cv_path_mkdir+set}" = set; then
2180     MKDIR_P="$ac_cv_path_mkdir -p"
2181   else
2182     # As a last resort, use the slow shell script.  Don't cache a
2183     # value for MKDIR_P within a source directory, because that will
2184     # break other packages using the cache if that directory is
2185     # removed, or if the value is a relative name.
2186     test -d ./--version && rmdir ./--version
2187     MKDIR_P="$ac_install_sh -d"
2188   fi
2189 fi
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2191 $as_echo "$MKDIR_P" >&6; }
2192
2193 mkdir_p="$MKDIR_P"
2194 case $mkdir_p in
2195   [\\/$]* | ?:[\\/]*) ;;
2196   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2197 esac
2198
2199 for ac_prog in gawk mawk nawk awk
2200 do
2201   # Extract the first word of "$ac_prog", so it can be a program name with args.
2202 set dummy $ac_prog; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_prog_AWK+set}" = set; then :
2206   $as_echo_n "(cached) " >&6
2207 else
2208   if test -n "$AWK"; then
2209   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2210 else
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 for as_dir in $PATH
2213 do
2214   IFS=$as_save_IFS
2215   test -z "$as_dir" && as_dir=.
2216     for ac_exec_ext in '' $ac_executable_extensions; do
2217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2218     ac_cv_prog_AWK="$ac_prog"
2219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2220     break 2
2221   fi
2222 done
2223   done
2224 IFS=$as_save_IFS
2225
2226 fi
2227 fi
2228 AWK=$ac_cv_prog_AWK
2229 if test -n "$AWK"; then
2230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2231 $as_echo "$AWK" >&6; }
2232 else
2233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2234 $as_echo "no" >&6; }
2235 fi
2236
2237
2238   test -n "$AWK" && break
2239 done
2240
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2242 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2243 set x ${MAKE-make}
2244 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2246   $as_echo_n "(cached) " >&6
2247 else
2248   cat >conftest.make <<\_ACEOF
2249 SHELL = /bin/sh
2250 all:
2251         @echo '@@@%%%=$(MAKE)=@@@%%%'
2252 _ACEOF
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2255   *@@@%%%=?*=@@@%%%*)
2256     eval ac_cv_prog_make_${ac_make}_set=yes;;
2257   *)
2258     eval ac_cv_prog_make_${ac_make}_set=no;;
2259 esac
2260 rm -f conftest.make
2261 fi
2262 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2264 $as_echo "yes" >&6; }
2265   SET_MAKE=
2266 else
2267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268 $as_echo "no" >&6; }
2269   SET_MAKE="MAKE=${MAKE-make}"
2270 fi
2271
2272 rm -rf .tst 2>/dev/null
2273 mkdir .tst 2>/dev/null
2274 if test -d .tst; then
2275   am__leading_dot=.
2276 else
2277   am__leading_dot=_
2278 fi
2279 rmdir .tst 2>/dev/null
2280
2281 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2282   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2283   # is not polluted with repeated "-I."
2284   am__isrc=' -I$(srcdir)'
2285   # test to see if srcdir already configured
2286   if test -f $srcdir/config.status; then
2287     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2288   fi
2289 fi
2290
2291 # test whether we have cygpath
2292 if test -z "$CYGPATH_W"; then
2293   if (cygpath --version) >/dev/null 2>/dev/null; then
2294     CYGPATH_W='cygpath -w'
2295   else
2296     CYGPATH_W=echo
2297   fi
2298 fi
2299
2300
2301 # Define the identity of the package.
2302  PACKAGE=m17n-db
2303  VERSION=1.6.1
2304
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE "$PACKAGE"
2308 _ACEOF
2309
2310
2311 cat >>confdefs.h <<_ACEOF
2312 #define VERSION "$VERSION"
2313 _ACEOF
2314
2315 # Some tools Automake needs.
2316
2317 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2318
2319
2320 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2321
2322
2323 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2324
2325
2326 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2327
2328
2329 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2330
2331 # We need awk for the "check" target.  The system "awk" is bad on
2332 # some platforms.
2333 # Always define AMTAR for backward compatibility.
2334
2335 AMTAR=${AMTAR-"${am_missing_run}tar"}
2336
2337 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2338
2339
2340
2341
2342
2343
2344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2345 $as_echo_n "checking whether NLS is requested... " >&6; }
2346     # Check whether --enable-nls was given.
2347 if test "${enable_nls+set}" = set; then :
2348   enableval=$enable_nls; USE_NLS=$enableval
2349 else
2350   USE_NLS=yes
2351 fi
2352
2353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2354 $as_echo "$USE_NLS" >&6; }
2355
2356
2357
2358
2359
2360
2361 # Prepare PATH_SEPARATOR.
2362 # The user is always right.
2363 if test "${PATH_SEPARATOR+set}" != set; then
2364   echo "#! /bin/sh" >conf$$.sh
2365   echo  "exit 0"   >>conf$$.sh
2366   chmod +x conf$$.sh
2367   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2368     PATH_SEPARATOR=';'
2369   else
2370     PATH_SEPARATOR=:
2371   fi
2372   rm -f conf$$.sh
2373 fi
2374
2375 # Find out how to test for executable files. Don't use a zero-byte file,
2376 # as systems may use methods other than mode bits to determine executability.
2377 cat >conf$$.file <<_ASEOF
2378 #! /bin/sh
2379 exit 0
2380 _ASEOF
2381 chmod +x conf$$.file
2382 if test -x conf$$.file >/dev/null 2>&1; then
2383   ac_executable_p="test -x"
2384 else
2385   ac_executable_p="test -f"
2386 fi
2387 rm -f conf$$.file
2388
2389 # Extract the first word of "msgfmt", so it can be a program name with args.
2390 set dummy msgfmt; ac_word=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if test "${ac_cv_path_MSGFMT+set}" = set; then :
2394   $as_echo_n "(cached) " >&6
2395 else
2396   case "$MSGFMT" in
2397   [\\/]* | ?:[\\/]*)
2398     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2399     ;;
2400   *)
2401     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2402     for ac_dir in $PATH; do
2403       IFS="$ac_save_IFS"
2404       test -z "$ac_dir" && ac_dir=.
2405       for ac_exec_ext in '' $ac_executable_extensions; do
2406         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2407           echo "$as_me: trying $ac_dir/$ac_word..." >&5
2408           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2409      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2410             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2411             break 2
2412           fi
2413         fi
2414       done
2415     done
2416     IFS="$ac_save_IFS"
2417   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2418     ;;
2419 esac
2420 fi
2421 MSGFMT="$ac_cv_path_MSGFMT"
2422 if test "$MSGFMT" != ":"; then
2423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2424 $as_echo "$MSGFMT" >&6; }
2425 else
2426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2428 fi
2429
2430   # Extract the first word of "gmsgfmt", so it can be a program name with args.
2431 set dummy gmsgfmt; ac_word=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
2435   $as_echo_n "(cached) " >&6
2436 else
2437   case $GMSGFMT in
2438   [\\/]* | ?:[\\/]*)
2439   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2440   ;;
2441   *)
2442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2444 do
2445   IFS=$as_save_IFS
2446   test -z "$as_dir" && as_dir=.
2447     for ac_exec_ext in '' $ac_executable_extensions; do
2448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451     break 2
2452   fi
2453 done
2454   done
2455 IFS=$as_save_IFS
2456
2457   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2458   ;;
2459 esac
2460 fi
2461 GMSGFMT=$ac_cv_path_GMSGFMT
2462 if test -n "$GMSGFMT"; then
2463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2464 $as_echo "$GMSGFMT" >&6; }
2465 else
2466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2467 $as_echo "no" >&6; }
2468 fi
2469
2470
2471
2472     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2473     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2474     *) MSGFMT_015=$MSGFMT ;;
2475   esac
2476
2477   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2478     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2479     *) GMSGFMT_015=$GMSGFMT ;;
2480   esac
2481
2482
2483
2484 # Prepare PATH_SEPARATOR.
2485 # The user is always right.
2486 if test "${PATH_SEPARATOR+set}" != set; then
2487   echo "#! /bin/sh" >conf$$.sh
2488   echo  "exit 0"   >>conf$$.sh
2489   chmod +x conf$$.sh
2490   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2491     PATH_SEPARATOR=';'
2492   else
2493     PATH_SEPARATOR=:
2494   fi
2495   rm -f conf$$.sh
2496 fi
2497
2498 # Find out how to test for executable files. Don't use a zero-byte file,
2499 # as systems may use methods other than mode bits to determine executability.
2500 cat >conf$$.file <<_ASEOF
2501 #! /bin/sh
2502 exit 0
2503 _ASEOF
2504 chmod +x conf$$.file
2505 if test -x conf$$.file >/dev/null 2>&1; then
2506   ac_executable_p="test -x"
2507 else
2508   ac_executable_p="test -f"
2509 fi
2510 rm -f conf$$.file
2511
2512 # Extract the first word of "xgettext", so it can be a program name with args.
2513 set dummy xgettext; ac_word=$2
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2515 $as_echo_n "checking for $ac_word... " >&6; }
2516 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
2517   $as_echo_n "(cached) " >&6
2518 else
2519   case "$XGETTEXT" in
2520   [\\/]* | ?:[\\/]*)
2521     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2522     ;;
2523   *)
2524     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2525     for ac_dir in $PATH; do
2526       IFS="$ac_save_IFS"
2527       test -z "$ac_dir" && ac_dir=.
2528       for ac_exec_ext in '' $ac_executable_extensions; do
2529         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2530           echo "$as_me: trying $ac_dir/$ac_word..." >&5
2531           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2532      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2533             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2534             break 2
2535           fi
2536         fi
2537       done
2538     done
2539     IFS="$ac_save_IFS"
2540   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2541     ;;
2542 esac
2543 fi
2544 XGETTEXT="$ac_cv_path_XGETTEXT"
2545 if test "$XGETTEXT" != ":"; then
2546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
2547 $as_echo "$XGETTEXT" >&6; }
2548 else
2549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2551 fi
2552
2553     rm -f messages.po
2554
2555     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2556     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
2557     *) XGETTEXT_015=$XGETTEXT ;;
2558   esac
2559
2560
2561
2562 # Prepare PATH_SEPARATOR.
2563 # The user is always right.
2564 if test "${PATH_SEPARATOR+set}" != set; then
2565   echo "#! /bin/sh" >conf$$.sh
2566   echo  "exit 0"   >>conf$$.sh
2567   chmod +x conf$$.sh
2568   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2569     PATH_SEPARATOR=';'
2570   else
2571     PATH_SEPARATOR=:
2572   fi
2573   rm -f conf$$.sh
2574 fi
2575
2576 # Find out how to test for executable files. Don't use a zero-byte file,
2577 # as systems may use methods other than mode bits to determine executability.
2578 cat >conf$$.file <<_ASEOF
2579 #! /bin/sh
2580 exit 0
2581 _ASEOF
2582 chmod +x conf$$.file
2583 if test -x conf$$.file >/dev/null 2>&1; then
2584   ac_executable_p="test -x"
2585 else
2586   ac_executable_p="test -f"
2587 fi
2588 rm -f conf$$.file
2589
2590 # Extract the first word of "msgmerge", so it can be a program name with args.
2591 set dummy msgmerge; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
2595   $as_echo_n "(cached) " >&6
2596 else
2597   case "$MSGMERGE" in
2598   [\\/]* | ?:[\\/]*)
2599     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2600     ;;
2601   *)
2602     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2603     for ac_dir in $PATH; do
2604       IFS="$ac_save_IFS"
2605       test -z "$ac_dir" && ac_dir=.
2606       for ac_exec_ext in '' $ac_executable_extensions; do
2607         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2608           echo "$as_me: trying $ac_dir/$ac_word..." >&5
2609           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2610             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2611             break 2
2612           fi
2613         fi
2614       done
2615     done
2616     IFS="$ac_save_IFS"
2617   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2618     ;;
2619 esac
2620 fi
2621 MSGMERGE="$ac_cv_path_MSGMERGE"
2622 if test "$MSGMERGE" != ":"; then
2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
2624 $as_echo "$MSGMERGE" >&6; }
2625 else
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2628 fi
2629
2630
2631         test -n "$localedir" || localedir='${datadir}/locale'
2632
2633
2634   ac_config_commands="$ac_config_commands po-directories"
2635
2636
2637
2638       if test "X$prefix" = "XNONE"; then
2639     acl_final_prefix="$ac_default_prefix"
2640   else
2641     acl_final_prefix="$prefix"
2642   fi
2643   if test "X$exec_prefix" = "XNONE"; then
2644     acl_final_exec_prefix='${prefix}'
2645   else
2646     acl_final_exec_prefix="$exec_prefix"
2647   fi
2648   acl_save_prefix="$prefix"
2649   prefix="$acl_final_prefix"
2650   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2651   prefix="$acl_save_prefix"
2652
2653 DEPDIR="${am__leading_dot}deps"
2654
2655 ac_config_commands="$ac_config_commands depfiles"
2656
2657
2658 am_make=${MAKE-make}
2659 cat > confinc << 'END'
2660 am__doit:
2661         @echo this is the am__doit target
2662 .PHONY: am__doit
2663 END
2664 # If we don't find an include directive, just comment out the code.
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2666 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2667 am__include="#"
2668 am__quote=
2669 _am_result=none
2670 # First try GNU make style include.
2671 echo "include confinc" > confmf
2672 # Ignore all kinds of additional output from `make'.
2673 case `$am_make -s -f confmf 2> /dev/null` in #(
2674 *the\ am__doit\ target*)
2675   am__include=include
2676   am__quote=
2677   _am_result=GNU
2678   ;;
2679 esac
2680 # Now try BSD make style include.
2681 if test "$am__include" = "#"; then
2682    echo '.include "confinc"' > confmf
2683    case `$am_make -s -f confmf 2> /dev/null` in #(
2684    *the\ am__doit\ target*)
2685      am__include=.include
2686      am__quote="\""
2687      _am_result=BSD
2688      ;;
2689    esac
2690 fi
2691
2692
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2694 $as_echo "$_am_result" >&6; }
2695 rm -f confinc confmf
2696
2697 # Check whether --enable-dependency-tracking was given.
2698 if test "${enable_dependency_tracking+set}" = set; then :
2699   enableval=$enable_dependency_tracking;
2700 fi
2701
2702 if test "x$enable_dependency_tracking" != xno; then
2703   am_depcomp="$ac_aux_dir/depcomp"
2704   AMDEPBACKSLASH='\'
2705 fi
2706  if test "x$enable_dependency_tracking" != xno; then
2707   AMDEP_TRUE=
2708   AMDEP_FALSE='#'
2709 else
2710   AMDEP_TRUE='#'
2711   AMDEP_FALSE=
2712 fi
2713
2714
2715 ac_ext=c
2716 ac_cpp='$CPP $CPPFLAGS'
2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2720 if test -n "$ac_tool_prefix"; then
2721   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then :
2726   $as_echo_n "(cached) " >&6
2727 else
2728   if test -n "$CC"; then
2729   ac_cv_prog_CC="$CC" # Let the user override the test.
2730 else
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 for as_dir in $PATH
2733 do
2734   IFS=$as_save_IFS
2735   test -z "$as_dir" && as_dir=.
2736     for ac_exec_ext in '' $ac_executable_extensions; do
2737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740     break 2
2741   fi
2742 done
2743   done
2744 IFS=$as_save_IFS
2745
2746 fi
2747 fi
2748 CC=$ac_cv_prog_CC
2749 if test -n "$CC"; then
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2752 else
2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2755 fi
2756
2757
2758 fi
2759 if test -z "$ac_cv_prog_CC"; then
2760   ac_ct_CC=$CC
2761   # Extract the first word of "gcc", so it can be a program name with args.
2762 set dummy gcc; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2766   $as_echo_n "(cached) " >&6
2767 else
2768   if test -n "$ac_ct_CC"; then
2769   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2770 else
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH
2773 do
2774   IFS=$as_save_IFS
2775   test -z "$as_dir" && as_dir=.
2776     for ac_exec_ext in '' $ac_executable_extensions; do
2777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778     ac_cv_prog_ac_ct_CC="gcc"
2779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780     break 2
2781   fi
2782 done
2783   done
2784 IFS=$as_save_IFS
2785
2786 fi
2787 fi
2788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789 if test -n "$ac_ct_CC"; then
2790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2791 $as_echo "$ac_ct_CC" >&6; }
2792 else
2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2795 fi
2796
2797   if test "x$ac_ct_CC" = x; then
2798     CC=""
2799   else
2800     case $cross_compiling:$ac_tool_warned in
2801 yes:)
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2804 ac_tool_warned=yes ;;
2805 esac
2806     CC=$ac_ct_CC
2807   fi
2808 else
2809   CC="$ac_cv_prog_CC"
2810 fi
2811
2812 if test -z "$CC"; then
2813           if test -n "$ac_tool_prefix"; then
2814     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2815 set dummy ${ac_tool_prefix}cc; ac_word=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if test "${ac_cv_prog_CC+set}" = set; then :
2819   $as_echo_n "(cached) " >&6
2820 else
2821   if test -n "$CC"; then
2822   ac_cv_prog_CC="$CC" # Let the user override the test.
2823 else
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 for as_dir in $PATH
2826 do
2827   IFS=$as_save_IFS
2828   test -z "$as_dir" && as_dir=.
2829     for ac_exec_ext in '' $ac_executable_extensions; do
2830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831     ac_cv_prog_CC="${ac_tool_prefix}cc"
2832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833     break 2
2834   fi
2835 done
2836   done
2837 IFS=$as_save_IFS
2838
2839 fi
2840 fi
2841 CC=$ac_cv_prog_CC
2842 if test -n "$CC"; then
2843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2845 else
2846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2848 fi
2849
2850
2851   fi
2852 fi
2853 if test -z "$CC"; then
2854   # Extract the first word of "cc", so it can be a program name with args.
2855 set dummy cc; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if test "${ac_cv_prog_CC+set}" = set; then :
2859   $as_echo_n "(cached) " >&6
2860 else
2861   if test -n "$CC"; then
2862   ac_cv_prog_CC="$CC" # Let the user override the test.
2863 else
2864   ac_prog_rejected=no
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH
2867 do
2868   IFS=$as_save_IFS
2869   test -z "$as_dir" && as_dir=.
2870     for ac_exec_ext in '' $ac_executable_extensions; do
2871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2873        ac_prog_rejected=yes
2874        continue
2875      fi
2876     ac_cv_prog_CC="cc"
2877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878     break 2
2879   fi
2880 done
2881   done
2882 IFS=$as_save_IFS
2883
2884 if test $ac_prog_rejected = yes; then
2885   # We found a bogon in the path, so make sure we never use it.
2886   set dummy $ac_cv_prog_CC
2887   shift
2888   if test $# != 0; then
2889     # We chose a different compiler from the bogus one.
2890     # However, it has the same basename, so the bogon will be chosen
2891     # first if we set CC to just the basename; use the full file name.
2892     shift
2893     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2894   fi
2895 fi
2896 fi
2897 fi
2898 CC=$ac_cv_prog_CC
2899 if test -n "$CC"; then
2900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2902 else
2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2905 fi
2906
2907
2908 fi
2909 if test -z "$CC"; then
2910   if test -n "$ac_tool_prefix"; then
2911   for ac_prog in cl.exe
2912   do
2913     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if test "${ac_cv_prog_CC+set}" = set; then :
2918   $as_echo_n "(cached) " >&6
2919 else
2920   if test -n "$CC"; then
2921   ac_cv_prog_CC="$CC" # Let the user override the test.
2922 else
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 for as_dir in $PATH
2925 do
2926   IFS=$as_save_IFS
2927   test -z "$as_dir" && as_dir=.
2928     for ac_exec_ext in '' $ac_executable_extensions; do
2929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932     break 2
2933   fi
2934 done
2935   done
2936 IFS=$as_save_IFS
2937
2938 fi
2939 fi
2940 CC=$ac_cv_prog_CC
2941 if test -n "$CC"; then
2942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2944 else
2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2947 fi
2948
2949
2950     test -n "$CC" && break
2951   done
2952 fi
2953 if test -z "$CC"; then
2954   ac_ct_CC=$CC
2955   for ac_prog in cl.exe
2956 do
2957   # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy $ac_prog; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2962   $as_echo_n "(cached) " >&6
2963 else
2964   if test -n "$ac_ct_CC"; then
2965   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2966 else
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 for as_dir in $PATH
2969 do
2970   IFS=$as_save_IFS
2971   test -z "$as_dir" && as_dir=.
2972     for ac_exec_ext in '' $ac_executable_extensions; do
2973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974     ac_cv_prog_ac_ct_CC="$ac_prog"
2975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976     break 2
2977   fi
2978 done
2979   done
2980 IFS=$as_save_IFS
2981
2982 fi
2983 fi
2984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2985 if test -n "$ac_ct_CC"; then
2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2987 $as_echo "$ac_ct_CC" >&6; }
2988 else
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2991 fi
2992
2993
2994   test -n "$ac_ct_CC" && break
2995 done
2996
2997   if test "x$ac_ct_CC" = x; then
2998     CC=""
2999   else
3000     case $cross_compiling:$ac_tool_warned in
3001 yes:)
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3005 esac
3006     CC=$ac_ct_CC
3007   fi
3008 fi
3009
3010 fi
3011
3012
3013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error "no acceptable C compiler found in \$PATH
3016 See \`config.log' for more details." "$LINENO" 5; }
3017
3018 # Provide some information about the compiler.
3019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3020 set X $ac_compile
3021 ac_compiler=$2
3022 for ac_option in --version -v -V -qversion; do
3023   { { ac_try="$ac_compiler $ac_option >&5"
3024 case "(($ac_try" in
3025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026   *) ac_try_echo=$ac_try;;
3027 esac
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3031   ac_status=$?
3032   if test -s conftest.err; then
3033     sed '10a\
3034 ... rest of stderr output deleted ...
3035          10q' conftest.err >conftest.er1
3036     cat conftest.er1 >&5
3037     rm -f conftest.er1 conftest.err
3038   fi
3039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040   test $ac_status = 0; }
3041 done
3042
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h.  */
3045 #include <stdio.h>
3046 int
3047 main ()
3048 {
3049 FILE *f = fopen ("conftest.out", "w");
3050  return ferror (f) || fclose (f) != 0;
3051
3052   ;
3053   return 0;
3054 }
3055 _ACEOF
3056 ac_clean_files_save=$ac_clean_files
3057 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3058 # Try to create an executable without -o first, disregard a.out.
3059 # It will help us diagnose broken compilers, and finding out an intuition
3060 # of exeext.
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3062 $as_echo_n "checking for C compiler default output file name... " >&6; }
3063 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3064
3065 # The possible output files:
3066 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3067
3068 ac_rmfiles=
3069 for ac_file in $ac_files
3070 do
3071   case $ac_file in
3072     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3073     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3074   esac
3075 done
3076 rm -f $ac_rmfiles
3077
3078 if { { ac_try="$ac_link_default"
3079 case "(($ac_try" in
3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081   *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085   (eval "$ac_link_default") 2>&5
3086   ac_status=$?
3087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088   test $ac_status = 0; }; then :
3089   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3091 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3092 # so that the user can short-circuit this test for compilers unknown to
3093 # Autoconf.
3094 for ac_file in $ac_files ''
3095 do
3096   test -f "$ac_file" || continue
3097   case $ac_file in
3098     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3099         ;;
3100     [ab].out )
3101         # We found the default executable, but exeext='' is most
3102         # certainly right.
3103         break;;
3104     *.* )
3105         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3106         then :; else
3107            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3108         fi
3109         # We set ac_cv_exeext here because the later test for it is not
3110         # safe: cross compilers may not add the suffix if given an `-o'
3111         # argument, so we may need to know it at that point already.
3112         # Even if this section looks crufty: it has the advantage of
3113         # actually working.
3114         break;;
3115     * )
3116         break;;
3117   esac
3118 done
3119 test "$ac_cv_exeext" = no && ac_cv_exeext=
3120
3121 else
3122   ac_file=''
3123 fi
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3125 $as_echo "$ac_file" >&6; }
3126 if test -z "$ac_file"; then :
3127   $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3129
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 { as_fn_set_status 77
3133 as_fn_error "C compiler cannot create executables
3134 See \`config.log' for more details." "$LINENO" 5; }; }
3135 fi
3136 ac_exeext=$ac_cv_exeext
3137
3138 # Check that the compiler produces executables we can run.  If not, either
3139 # the compiler is broken, or we cross compile.
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3141 $as_echo_n "checking whether the C compiler works... " >&6; }
3142 # If not cross compiling, check that we can run a simple program.
3143 if test "$cross_compiling" != yes; then
3144   if { ac_try='./$ac_file'
3145   { { case "(($ac_try" in
3146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147   *) ac_try_echo=$ac_try;;
3148 esac
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151   (eval "$ac_try") 2>&5
3152   ac_status=$?
3153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154   test $ac_status = 0; }; }; then
3155     cross_compiling=no
3156   else
3157     if test "$cross_compiling" = maybe; then
3158         cross_compiling=yes
3159     else
3160         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 as_fn_error "cannot run C compiled programs.
3163 If you meant to cross compile, use \`--host'.
3164 See \`config.log' for more details." "$LINENO" 5; }
3165     fi
3166   fi
3167 fi
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3169 $as_echo "yes" >&6; }
3170
3171 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3172 ac_clean_files=$ac_clean_files_save
3173 # Check that the compiler produces executables we can run.  If not, either
3174 # the compiler is broken, or we cross compile.
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3176 $as_echo_n "checking whether we are cross compiling... " >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3178 $as_echo "$cross_compiling" >&6; }
3179
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3181 $as_echo_n "checking for suffix of executables... " >&6; }
3182 if { { ac_try="$ac_link"
3183 case "(($ac_try" in
3184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185   *) ac_try_echo=$ac_try;;
3186 esac
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189   (eval "$ac_link") 2>&5
3190   ac_status=$?
3191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192   test $ac_status = 0; }; then :
3193   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3194 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3195 # work properly (i.e., refer to `conftest.exe'), while it won't with
3196 # `rm'.
3197 for ac_file in conftest.exe conftest conftest.*; do
3198   test -f "$ac_file" || continue
3199   case $ac_file in
3200     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3201     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3202           break;;
3203     * ) break;;
3204   esac
3205 done
3206 else
3207   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error "cannot compute suffix of executables: cannot compile and link
3210 See \`config.log' for more details." "$LINENO" 5; }
3211 fi
3212 rm -f conftest$ac_cv_exeext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3214 $as_echo "$ac_cv_exeext" >&6; }
3215
3216 rm -f conftest.$ac_ext
3217 EXEEXT=$ac_cv_exeext
3218 ac_exeext=$EXEEXT
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3220 $as_echo_n "checking for suffix of object files... " >&6; }
3221 if test "${ac_cv_objext+set}" = set; then :
3222   $as_echo_n "(cached) " >&6
3223 else
3224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h.  */
3226
3227 int
3228 main ()
3229 {
3230
3231   ;
3232   return 0;
3233 }
3234 _ACEOF
3235 rm -f conftest.o conftest.obj
3236 if { { ac_try="$ac_compile"
3237 case "(($ac_try" in
3238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239   *) ac_try_echo=$ac_try;;
3240 esac
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 $as_echo "$ac_try_echo"; } >&5
3243   (eval "$ac_compile") 2>&5
3244   ac_status=$?
3245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246   test $ac_status = 0; }; then :
3247   for ac_file in conftest.o conftest.obj conftest.*; do
3248   test -f "$ac_file" || continue;
3249   case $ac_file in
3250     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3251     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3252        break;;
3253   esac
3254 done
3255 else
3256   $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3258
3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error "cannot compute suffix of object files: cannot compile
3262 See \`config.log' for more details." "$LINENO" 5; }
3263 fi
3264 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3265 fi
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3267 $as_echo "$ac_cv_objext" >&6; }
3268 OBJEXT=$ac_cv_objext
3269 ac_objext=$OBJEXT
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3271 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3272 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3273   $as_echo_n "(cached) " >&6
3274 else
3275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h.  */
3277
3278 int
3279 main ()
3280 {
3281 #ifndef __GNUC__
3282        choke me
3283 #endif
3284
3285   ;
3286   return 0;
3287 }
3288 _ACEOF
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290   ac_compiler_gnu=yes
3291 else
3292   ac_compiler_gnu=no
3293 fi
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3296
3297 fi
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3299 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3300 if test $ac_compiler_gnu = yes; then
3301   GCC=yes
3302 else
3303   GCC=
3304 fi
3305 ac_test_CFLAGS=${CFLAGS+set}
3306 ac_save_CFLAGS=$CFLAGS
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3308 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3309 if test "${ac_cv_prog_cc_g+set}" = set; then :
3310   $as_echo_n "(cached) " >&6
3311 else
3312   ac_save_c_werror_flag=$ac_c_werror_flag
3313    ac_c_werror_flag=yes
3314    ac_cv_prog_cc_g=no
3315    CFLAGS="-g"
3316    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h.  */
3318
3319 int
3320 main ()
3321 {
3322
3323   ;
3324   return 0;
3325 }
3326 _ACEOF
3327 if ac_fn_c_try_compile "$LINENO"; then :
3328   ac_cv_prog_cc_g=yes
3329 else
3330   CFLAGS=""
3331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h.  */
3333
3334 int
3335 main ()
3336 {
3337
3338   ;
3339   return 0;
3340 }
3341 _ACEOF
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343
3344 else
3345   ac_c_werror_flag=$ac_save_c_werror_flag
3346          CFLAGS="-g"
3347          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h.  */
3349
3350 int
3351 main ()
3352 {
3353
3354   ;
3355   return 0;
3356 }
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359   ac_cv_prog_cc_g=yes
3360 fi
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 fi
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 fi
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366    ac_c_werror_flag=$ac_save_c_werror_flag
3367 fi
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3369 $as_echo "$ac_cv_prog_cc_g" >&6; }
3370 if test "$ac_test_CFLAGS" = set; then
3371   CFLAGS=$ac_save_CFLAGS
3372 elif test $ac_cv_prog_cc_g = yes; then
3373   if test "$GCC" = yes; then
3374     CFLAGS="-g -O2"
3375   else
3376     CFLAGS="-g"
3377   fi
3378 else
3379   if test "$GCC" = yes; then
3380     CFLAGS="-O2"
3381   else
3382     CFLAGS=
3383   fi
3384 fi
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3386 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3387 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3388   $as_echo_n "(cached) " >&6
3389 else
3390   ac_cv_prog_cc_c89=no
3391 ac_save_CC=$CC
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h.  */
3394 #include <stdarg.h>
3395 #include <stdio.h>
3396 #include <sys/types.h>
3397 #include <sys/stat.h>
3398 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3399 struct buf { int x; };
3400 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3401 static char *e (p, i)
3402      char **p;
3403      int i;
3404 {
3405   return p[i];
3406 }
3407 static char *f (char * (*g) (char **, int), char **p, ...)
3408 {
3409   char *s;
3410   va_list v;
3411   va_start (v,p);
3412   s = g (p, va_arg (v,int));
3413   va_end (v);
3414   return s;
3415 }
3416
3417 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3418    function prototypes and stuff, but not '\xHH' hex character constants.
3419    These don't provoke an error unfortunately, instead are silently treated
3420    as 'x'.  The following induces an error, until -std is added to get
3421    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3422    array size at least.  It's necessary to write '\x00'==0 to get something
3423    that's true only with -std.  */
3424 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3425
3426 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3427    inside strings and character constants.  */
3428 #define FOO(x) 'x'
3429 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3430
3431 int test (int i, double x);
3432 struct s1 {int (*f) (int a);};
3433 struct s2 {int (*f) (double a);};
3434 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3435 int argc;
3436 char **argv;
3437 int
3438 main ()
3439 {
3440 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3441   ;
3442   return 0;
3443 }
3444 _ACEOF
3445 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3446         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3447 do
3448   CC="$ac_save_CC $ac_arg"
3449   if ac_fn_c_try_compile "$LINENO"; then :
3450   ac_cv_prog_cc_c89=$ac_arg
3451 fi
3452 rm -f core conftest.err conftest.$ac_objext
3453   test "x$ac_cv_prog_cc_c89" != "xno" && break
3454 done
3455 rm -f conftest.$ac_ext
3456 CC=$ac_save_CC
3457
3458 fi
3459 # AC_CACHE_VAL
3460 case "x$ac_cv_prog_cc_c89" in
3461   x)
3462     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3463 $as_echo "none needed" >&6; } ;;
3464   xno)
3465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3466 $as_echo "unsupported" >&6; } ;;
3467   *)
3468     CC="$CC $ac_cv_prog_cc_c89"
3469     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3470 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3471 esac
3472 if test "x$ac_cv_prog_cc_c89" != xno; then :
3473
3474 fi
3475
3476 ac_ext=c
3477 ac_cpp='$CPP $CPPFLAGS'
3478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3481
3482 depcc="$CC"   am_compiler_list=
3483
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3485 $as_echo_n "checking dependency style of $depcc... " >&6; }
3486 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3487   $as_echo_n "(cached) " >&6
3488 else
3489   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3490   # We make a subdir and do the tests there.  Otherwise we can end up
3491   # making bogus files that we don't know about and never remove.  For
3492   # instance it was reported that on HP-UX the gcc test will end up
3493   # making a dummy file named `D' -- because `-MD' means `put the output
3494   # in D'.
3495   mkdir conftest.dir
3496   # Copy depcomp to subdir because otherwise we won't find it if we're
3497   # using a relative directory.
3498   cp "$am_depcomp" conftest.dir
3499   cd conftest.dir
3500   # We will build objects and dependencies in a subdirectory because
3501   # it helps to detect inapplicable dependency modes.  For instance
3502   # both Tru64's cc and ICC support -MD to output dependencies as a
3503   # side effect of compilation, but ICC will put the dependencies in
3504   # the current directory while Tru64 will put them in the object
3505   # directory.
3506   mkdir sub
3507
3508   am_cv_CC_dependencies_compiler_type=none
3509   if test "$am_compiler_list" = ""; then
3510      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3511   fi
3512   am__universal=false
3513   case " $depcc " in #(
3514      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3515      esac
3516
3517   for depmode in $am_compiler_list; do
3518     # Setup a source with many dependencies, because some compilers
3519     # like to wrap large dependency lists on column 80 (with \), and
3520     # we should not choose a depcomp mode which is confused by this.
3521     #
3522     # We need to recreate these files for each test, as the compiler may
3523     # overwrite some of them when testing with obscure command lines.
3524     # This happens at least with the AIX C compiler.
3525     : > sub/conftest.c
3526     for i in 1 2 3 4 5 6; do
3527       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3528       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3529       # Solaris 8's {/usr,}/bin/sh.
3530       touch sub/conftst$i.h
3531     done
3532     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3533
3534     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3535     # mode.  It turns out that the SunPro C++ compiler does not properly
3536     # handle `-M -o', and we need to detect this.  Also, some Intel
3537     # versions had trouble with output in subdirs
3538     am__obj=sub/conftest.${OBJEXT-o}
3539     am__minus_obj="-o $am__obj"
3540     case $depmode in
3541     gcc)
3542       # This depmode causes a compiler race in universal mode.
3543       test "$am__universal" = false || continue
3544       ;;
3545     nosideeffect)
3546       # after this tag, mechanisms are not by side-effect, so they'll
3547       # only be used when explicitly requested
3548       if test "x$enable_dependency_tracking" = xyes; then
3549         continue
3550       else
3551         break
3552       fi
3553       ;;
3554     msvisualcpp | msvcmsys)
3555       # This compiler won't grok `-c -o', but also, the minuso test has
3556       # not run yet.  These depmodes are late enough in the game, and
3557       # so weak that their functioning should not be impacted.
3558       am__obj=conftest.${OBJEXT-o}
3559       am__minus_obj=
3560       ;;
3561     none) break ;;
3562     esac
3563     if depmode=$depmode \
3564        source=sub/conftest.c object=$am__obj \
3565        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3566        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3567          >/dev/null 2>conftest.err &&
3568        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3569        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3570        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3571        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3572       # icc doesn't choke on unknown options, it will just issue warnings
3573       # or remarks (even with -Werror).  So we grep stderr for any message
3574       # that says an option was ignored or not supported.
3575       # When given -MP, icc 7.0 and 7.1 complain thusly:
3576       #   icc: Command line warning: ignoring option '-M'; no argument required
3577       # The diagnosis changed in icc 8.0:
3578       #   icc: Command line remark: option '-MP' not supported
3579       if (grep 'ignoring option' conftest.err ||
3580           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3581         am_cv_CC_dependencies_compiler_type=$depmode
3582         break
3583       fi
3584     fi
3585   done
3586
3587   cd ..
3588   rm -rf conftest.dir
3589 else
3590   am_cv_CC_dependencies_compiler_type=none
3591 fi
3592
3593 fi
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3595 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3596 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3597
3598  if
3599   test "x$enable_dependency_tracking" != xno \
3600   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3601   am__fastdepCC_TRUE=
3602   am__fastdepCC_FALSE='#'
3603 else
3604   am__fastdepCC_TRUE='#'
3605   am__fastdepCC_FALSE=
3606 fi
3607
3608
3609 # Make sure we can run config.sub.
3610 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3611   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3612
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3614 $as_echo_n "checking build system type... " >&6; }
3615 if test "${ac_cv_build+set}" = set; then :
3616   $as_echo_n "(cached) " >&6
3617 else
3618   ac_build_alias=$build_alias
3619 test "x$ac_build_alias" = x &&
3620   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3621 test "x$ac_build_alias" = x &&
3622   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3623 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3624   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3625
3626 fi
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3628 $as_echo "$ac_cv_build" >&6; }
3629 case $ac_cv_build in
3630 *-*-*) ;;
3631 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3632 esac
3633 build=$ac_cv_build
3634 ac_save_IFS=$IFS; IFS='-'
3635 set x $ac_cv_build
3636 shift
3637 build_cpu=$1
3638 build_vendor=$2
3639 shift; shift
3640 # Remember, the first character of IFS is used to create $*,
3641 # except with old shells:
3642 build_os=$*
3643 IFS=$ac_save_IFS
3644 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3645
3646
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3648 $as_echo_n "checking host system type... " >&6; }
3649 if test "${ac_cv_host+set}" = set; then :
3650   $as_echo_n "(cached) " >&6
3651 else
3652   if test "x$host_alias" = x; then
3653   ac_cv_host=$ac_cv_build
3654 else
3655   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3656     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3657 fi
3658
3659 fi
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3661 $as_echo "$ac_cv_host" >&6; }
3662 case $ac_cv_host in
3663 *-*-*) ;;
3664 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3665 esac
3666 host=$ac_cv_host
3667 ac_save_IFS=$IFS; IFS='-'
3668 set x $ac_cv_host
3669 shift
3670 host_cpu=$1
3671 host_vendor=$2
3672 shift; shift
3673 # Remember, the first character of IFS is used to create $*,
3674 # except with old shells:
3675 host_os=$*
3676 IFS=$ac_save_IFS
3677 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3678
3679
3680
3681 # Check whether --with-gnu-ld was given.
3682 if test "${with_gnu_ld+set}" = set; then :
3683   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3684 else
3685   with_gnu_ld=no
3686 fi
3687
3688 # Prepare PATH_SEPARATOR.
3689 # The user is always right.
3690 if test "${PATH_SEPARATOR+set}" != set; then
3691   echo "#! /bin/sh" >conf$$.sh
3692   echo  "exit 0"   >>conf$$.sh
3693   chmod +x conf$$.sh
3694   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3695     PATH_SEPARATOR=';'
3696   else
3697     PATH_SEPARATOR=:
3698   fi
3699   rm -f conf$$.sh
3700 fi
3701 ac_prog=ld
3702 if test "$GCC" = yes; then
3703   # Check if gcc -print-prog-name=ld gives a path.
3704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
3705 $as_echo_n "checking for ld used by GCC... " >&6; }
3706   case $host in
3707   *-*-mingw*)
3708     # gcc leaves a trailing carriage return which upsets mingw
3709     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3710   *)
3711     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3712   esac
3713   case $ac_prog in
3714     # Accept absolute paths.
3715     [\\/]* | [A-Za-z]:[\\/]*)
3716       re_direlt='/[^/][^/]*/\.\./'
3717       # Canonicalize the path of ld
3718       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3719       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3720         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3721       done
3722       test -z "$LD" && LD="$ac_prog"
3723       ;;
3724   "")
3725     # If it fails, then pretend we aren't using GCC.
3726     ac_prog=ld
3727     ;;
3728   *)
3729     # If it is relative, then search for the first ld in PATH.
3730     with_gnu_ld=unknown
3731     ;;
3732   esac
3733 elif test "$with_gnu_ld" = yes; then
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3735 $as_echo_n "checking for GNU ld... " >&6; }
3736 else
3737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3738 $as_echo_n "checking for non-GNU ld... " >&6; }
3739 fi
3740 if test "${acl_cv_path_LD+set}" = set; then :
3741   $as_echo_n "(cached) " >&6
3742 else
3743   if test -z "$LD"; then
3744   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3745   for ac_dir in $PATH; do
3746     test -z "$ac_dir" && ac_dir=.
3747     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3748       acl_cv_path_LD="$ac_dir/$ac_prog"
3749       # Check to see if the program is GNU ld.  I'd rather use --version,
3750       # but apparently some GNU ld's only accept -v.
3751       # Break only if it was the GNU/non-GNU ld that we prefer.
3752       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3753       *GNU* | *'with BFD'*)
3754         test "$with_gnu_ld" != no && break ;;
3755       *)
3756         test "$with_gnu_ld" != yes && break ;;
3757       esac
3758     fi
3759   done
3760   IFS="$ac_save_ifs"
3761 else
3762   acl_cv_path_LD="$LD" # Let the user override the test with a path.
3763 fi
3764 fi
3765
3766 LD="$acl_cv_path_LD"
3767 if test -n "$LD"; then
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3769 $as_echo "$LD" >&6; }
3770 else
3771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3773 fi
3774 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3776 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3777 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
3778   $as_echo_n "(cached) " >&6
3779 else
3780   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3781 case `$LD -v 2>&1 </dev/null` in
3782 *GNU* | *'with BFD'*)
3783   acl_cv_prog_gnu_ld=yes ;;
3784 *)
3785   acl_cv_prog_gnu_ld=no ;;
3786 esac
3787 fi
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
3789 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
3790 with_gnu_ld=$acl_cv_prog_gnu_ld
3791
3792
3793
3794
3795                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
3796 $as_echo_n "checking for shared library run path origin... " >&6; }
3797 if test "${acl_cv_rpath+set}" = set; then :
3798   $as_echo_n "(cached) " >&6
3799 else
3800
3801     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3802     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3803     . ./conftest.sh
3804     rm -f ./conftest.sh
3805     acl_cv_rpath=done
3806
3807 fi
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
3809 $as_echo "$acl_cv_rpath" >&6; }
3810   wl="$acl_cv_wl"
3811   libext="$acl_cv_libext"
3812   shlibext="$acl_cv_shlibext"
3813   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3814   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3815   hardcode_direct="$acl_cv_hardcode_direct"
3816   hardcode_minus_L="$acl_cv_hardcode_minus_L"
3817     # Check whether --enable-rpath was given.
3818 if test "${enable_rpath+set}" = set; then :
3819   enableval=$enable_rpath; :
3820 else
3821   enable_rpath=yes
3822 fi
3823
3824
3825
3826                   acl_libdirstem=lib
3827   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3828   if test -n "$searchpath"; then
3829     acl_save_IFS="${IFS=        }"; IFS=":"
3830     for searchdir in $searchpath; do
3831       if test -d "$searchdir"; then
3832         case "$searchdir" in
3833           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3834           *) searchdir=`cd "$searchdir" && pwd`
3835              case "$searchdir" in
3836                */lib64 ) acl_libdirstem=lib64 ;;
3837              esac ;;
3838         esac
3839       fi
3840     done
3841     IFS="$acl_save_IFS"
3842   fi
3843
3844
3845
3846
3847
3848
3849
3850
3851     use_additional=yes
3852
3853   acl_save_prefix="$prefix"
3854   prefix="$acl_final_prefix"
3855   acl_save_exec_prefix="$exec_prefix"
3856   exec_prefix="$acl_final_exec_prefix"
3857
3858     eval additional_includedir=\"$includedir\"
3859     eval additional_libdir=\"$libdir\"
3860
3861   exec_prefix="$acl_save_exec_prefix"
3862   prefix="$acl_save_prefix"
3863
3864
3865 # Check whether --with-libiconv-prefix was given.
3866 if test "${with_libiconv_prefix+set}" = set; then :
3867   withval=$with_libiconv_prefix;
3868     if test "X$withval" = "Xno"; then
3869       use_additional=no
3870     else
3871       if test "X$withval" = "X"; then
3872
3873   acl_save_prefix="$prefix"
3874   prefix="$acl_final_prefix"
3875   acl_save_exec_prefix="$exec_prefix"
3876   exec_prefix="$acl_final_exec_prefix"
3877
3878           eval additional_includedir=\"$includedir\"
3879           eval additional_libdir=\"$libdir\"
3880
3881   exec_prefix="$acl_save_exec_prefix"
3882   prefix="$acl_save_prefix"
3883
3884       else
3885         additional_includedir="$withval/include"
3886         additional_libdir="$withval/$acl_libdirstem"
3887       fi
3888     fi
3889
3890 fi
3891
3892       LIBICONV=
3893   LTLIBICONV=
3894   INCICONV=
3895   rpathdirs=
3896   ltrpathdirs=
3897   names_already_handled=
3898   names_next_round='iconv '
3899   while test -n "$names_next_round"; do
3900     names_this_round="$names_next_round"
3901     names_next_round=
3902     for name in $names_this_round; do
3903       already_handled=
3904       for n in $names_already_handled; do
3905         if test "$n" = "$name"; then
3906           already_handled=yes
3907           break
3908         fi
3909       done
3910       if test -z "$already_handled"; then
3911         names_already_handled="$names_already_handled $name"
3912                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3913         eval value=\"\$HAVE_LIB$uppername\"
3914         if test -n "$value"; then
3915           if test "$value" = yes; then
3916             eval value=\"\$LIB$uppername\"
3917             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3918             eval value=\"\$LTLIB$uppername\"
3919             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3920           else
3921                                     :
3922           fi
3923         else
3924                               found_dir=
3925           found_la=
3926           found_so=
3927           found_a=
3928           if test $use_additional = yes; then
3929             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3930               found_dir="$additional_libdir"
3931               found_so="$additional_libdir/lib$name.$shlibext"
3932               if test -f "$additional_libdir/lib$name.la"; then
3933                 found_la="$additional_libdir/lib$name.la"
3934               fi
3935             else
3936               if test -f "$additional_libdir/lib$name.$libext"; then
3937                 found_dir="$additional_libdir"
3938                 found_a="$additional_libdir/lib$name.$libext"
3939                 if test -f "$additional_libdir/lib$name.la"; then
3940                   found_la="$additional_libdir/lib$name.la"
3941                 fi
3942               fi
3943             fi
3944           fi
3945           if test "X$found_dir" = "X"; then
3946             for x in $LDFLAGS $LTLIBICONV; do
3947
3948   acl_save_prefix="$prefix"
3949   prefix="$acl_final_prefix"
3950   acl_save_exec_prefix="$exec_prefix"
3951   exec_prefix="$acl_final_exec_prefix"
3952   eval x=\"$x\"
3953   exec_prefix="$acl_save_exec_prefix"
3954   prefix="$acl_save_prefix"
3955
3956               case "$x" in
3957                 -L*)
3958                   dir=`echo "X$x" | sed -e 's/^X-L//'`
3959                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3960                     found_dir="$dir"
3961                     found_so="$dir/lib$name.$shlibext"
3962                     if test -f "$dir/lib$name.la"; then
3963                       found_la="$dir/lib$name.la"
3964                     fi
3965                   else
3966                     if test -f "$dir/lib$name.$libext"; then
3967                       found_dir="$dir"
3968                       found_a="$dir/lib$name.$libext"
3969                       if test -f "$dir/lib$name.la"; then
3970                         found_la="$dir/lib$name.la"
3971                       fi
3972                     fi
3973                   fi
3974                   ;;
3975               esac
3976               if test "X$found_dir" != "X"; then
3977                 break
3978               fi
3979             done
3980           fi
3981           if test "X$found_dir" != "X"; then
3982                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3983             if test "X$found_so" != "X"; then
3984                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
3985                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3986               else
3987                                                                                 haveit=
3988                 for x in $ltrpathdirs; do
3989                   if test "X$x" = "X$found_dir"; then
3990                     haveit=yes
3991                     break
3992                   fi
3993                 done
3994                 if test -z "$haveit"; then
3995                   ltrpathdirs="$ltrpathdirs $found_dir"
3996                 fi
3997                                 if test "$hardcode_direct" = yes; then
3998                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3999                 else
4000                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4001                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4002                                                             haveit=
4003                     for x in $rpathdirs; do
4004                       if test "X$x" = "X$found_dir"; then
4005                         haveit=yes
4006                         break
4007                       fi
4008                     done
4009                     if test -z "$haveit"; then
4010                       rpathdirs="$rpathdirs $found_dir"
4011                     fi
4012                   else
4013                                                                                 haveit=
4014                     for x in $LDFLAGS $LIBICONV; do
4015
4016   acl_save_prefix="$prefix"
4017   prefix="$acl_final_prefix"
4018   acl_save_exec_prefix="$exec_prefix"
4019   exec_prefix="$acl_final_exec_prefix"
4020   eval x=\"$x\"
4021   exec_prefix="$acl_save_exec_prefix"
4022   prefix="$acl_save_prefix"
4023
4024                       if test "X$x" = "X-L$found_dir"; then
4025                         haveit=yes
4026                         break
4027                       fi
4028                     done
4029                     if test -z "$haveit"; then
4030                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4031                     fi
4032                     if test "$hardcode_minus_L" != no; then
4033                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4034                     else
4035                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4036                     fi
4037                   fi
4038                 fi
4039               fi
4040             else
4041               if test "X$found_a" != "X"; then
4042                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4043               else
4044                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4045               fi
4046             fi
4047                         additional_includedir=
4048             case "$found_dir" in
4049               */$acl_libdirstem | */$acl_libdirstem/)
4050                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4051                 additional_includedir="$basedir/include"
4052                 ;;
4053             esac
4054             if test "X$additional_includedir" != "X"; then
4055                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
4056                 haveit=
4057                 if test "X$additional_includedir" = "X/usr/local/include"; then
4058                   if test -n "$GCC"; then
4059                     case $host_os in
4060                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4061                     esac
4062                   fi
4063                 fi
4064                 if test -z "$haveit"; then
4065                   for x in $CPPFLAGS $INCICONV; do
4066
4067   acl_save_prefix="$prefix"
4068   prefix="$acl_final_prefix"
4069   acl_save_exec_prefix="$exec_prefix"
4070   exec_prefix="$acl_final_exec_prefix"
4071   eval x=\"$x\"
4072   exec_prefix="$acl_save_exec_prefix"
4073   prefix="$acl_save_prefix"
4074
4075                     if test "X$x" = "X-I$additional_includedir"; then
4076                       haveit=yes
4077                       break
4078                     fi
4079                   done
4080                   if test -z "$haveit"; then
4081                     if test -d "$additional_includedir"; then
4082                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4083                     fi
4084                   fi
4085                 fi
4086               fi
4087             fi
4088                         if test -n "$found_la"; then
4089                                                         save_libdir="$libdir"
4090               case "$found_la" in
4091                 */* | *\\*) . "$found_la" ;;
4092                 *) . "./$found_la" ;;
4093               esac
4094               libdir="$save_libdir"
4095                             for dep in $dependency_libs; do
4096                 case "$dep" in
4097                   -L*)
4098                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4099                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4100                       haveit=
4101                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4102                         if test -n "$GCC"; then
4103                           case $host_os in
4104                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4105                           esac
4106                         fi
4107                       fi
4108                       if test -z "$haveit"; then
4109                         haveit=
4110                         for x in $LDFLAGS $LIBICONV; do
4111
4112   acl_save_prefix="$prefix"
4113   prefix="$acl_final_prefix"
4114   acl_save_exec_prefix="$exec_prefix"
4115   exec_prefix="$acl_final_exec_prefix"
4116   eval x=\"$x\"
4117   exec_prefix="$acl_save_exec_prefix"
4118   prefix="$acl_save_prefix"
4119
4120                           if test "X$x" = "X-L$additional_libdir"; then
4121                             haveit=yes
4122                             break
4123                           fi
4124                         done
4125                         if test -z "$haveit"; then
4126                           if test -d "$additional_libdir"; then
4127                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4128                           fi
4129                         fi
4130                         haveit=
4131                         for x in $LDFLAGS $LTLIBICONV; do
4132
4133   acl_save_prefix="$prefix"
4134   prefix="$acl_final_prefix"
4135   acl_save_exec_prefix="$exec_prefix"
4136   exec_prefix="$acl_final_exec_prefix"
4137   eval x=\"$x\"
4138   exec_prefix="$acl_save_exec_prefix"
4139   prefix="$acl_save_prefix"
4140
4141                           if test "X$x" = "X-L$additional_libdir"; then
4142                             haveit=yes
4143                             break
4144                           fi
4145                         done
4146                         if test -z "$haveit"; then
4147                           if test -d "$additional_libdir"; then
4148                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4149                           fi
4150                         fi
4151                       fi
4152                     fi
4153                     ;;
4154                   -R*)
4155                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
4156                     if test "$enable_rpath" != no; then
4157                                                                   haveit=
4158                       for x in $rpathdirs; do
4159                         if test "X$x" = "X$dir"; then
4160                           haveit=yes
4161                           break
4162                         fi
4163                       done
4164                       if test -z "$haveit"; then
4165                         rpathdirs="$rpathdirs $dir"
4166                       fi
4167                                                                   haveit=
4168                       for x in $ltrpathdirs; do
4169                         if test "X$x" = "X$dir"; then
4170                           haveit=yes
4171                           break
4172                         fi
4173                       done
4174                       if test -z "$haveit"; then
4175                         ltrpathdirs="$ltrpathdirs $dir"
4176                       fi
4177                     fi
4178                     ;;
4179                   -l*)
4180                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4181                     ;;
4182                   *.la)
4183                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4184                     ;;
4185                   *)
4186                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4187                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4188                     ;;
4189                 esac
4190               done
4191             fi
4192           else
4193                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4194             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4195           fi
4196         fi
4197       fi
4198     done
4199   done
4200   if test "X$rpathdirs" != "X"; then
4201     if test -n "$hardcode_libdir_separator"; then
4202                         alldirs=
4203       for found_dir in $rpathdirs; do
4204         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4205       done
4206             acl_save_libdir="$libdir"
4207       libdir="$alldirs"
4208       eval flag=\"$hardcode_libdir_flag_spec\"
4209       libdir="$acl_save_libdir"
4210       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4211     else
4212             for found_dir in $rpathdirs; do
4213         acl_save_libdir="$libdir"
4214         libdir="$found_dir"
4215         eval flag=\"$hardcode_libdir_flag_spec\"
4216         libdir="$acl_save_libdir"
4217         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4218       done
4219     fi
4220   fi
4221   if test "X$ltrpathdirs" != "X"; then
4222             for found_dir in $ltrpathdirs; do
4223       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4224     done
4225   fi
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
4246 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
4247 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
4248   $as_echo_n "(cached) " >&6
4249 else
4250   gt_save_LIBS="$LIBS"
4251      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4252      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h.  */
4254 #include <CoreFoundation/CFPreferences.h>
4255 int
4256 main ()
4257 {
4258 CFPreferencesCopyAppValue(NULL, NULL)
4259   ;
4260   return 0;
4261 }
4262 _ACEOF
4263 if ac_fn_c_try_link "$LINENO"; then :
4264   gt_cv_func_CFPreferencesCopyAppValue=yes
4265 else
4266   gt_cv_func_CFPreferencesCopyAppValue=no
4267 fi
4268 rm -f core conftest.err conftest.$ac_objext \
4269     conftest$ac_exeext conftest.$ac_ext
4270      LIBS="$gt_save_LIBS"
4271 fi
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
4273 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
4274   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
4275
4276 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
4277
4278   fi
4279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
4280 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
4281 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
4282   $as_echo_n "(cached) " >&6
4283 else
4284   gt_save_LIBS="$LIBS"
4285      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h.  */
4288 #include <CoreFoundation/CFLocale.h>
4289 int
4290 main ()
4291 {
4292 CFLocaleCopyCurrent();
4293   ;
4294   return 0;
4295 }
4296 _ACEOF
4297 if ac_fn_c_try_link "$LINENO"; then :
4298   gt_cv_func_CFLocaleCopyCurrent=yes
4299 else
4300   gt_cv_func_CFLocaleCopyCurrent=no
4301 fi
4302 rm -f core conftest.err conftest.$ac_objext \
4303     conftest$ac_exeext conftest.$ac_ext
4304      LIBS="$gt_save_LIBS"
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
4307 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
4308   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4309
4310 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
4311
4312   fi
4313   INTL_MACOSX_LIBS=
4314   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4315     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
4316   fi
4317
4318
4319
4320
4321
4322
4323   LIBINTL=
4324   LTLIBINTL=
4325   POSUB=
4326
4327     if test "$USE_NLS" = "yes"; then
4328     gt_use_preinstalled_gnugettext=no
4329
4330
4331
4332
4333
4334
4335         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4336 $as_echo_n "checking for GNU gettext in libc... " >&6; }
4337 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
4338   $as_echo_n "(cached) " >&6
4339 else
4340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h.  */
4342 #include <libintl.h>
4343 extern int _nl_msg_cat_cntr;
4344 extern int *_nl_domain_bindings;
4345 int
4346 main ()
4347 {
4348 bindtextdomain ("", "");
4349 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4350   ;
4351   return 0;
4352 }
4353 _ACEOF
4354 if ac_fn_c_try_link "$LINENO"; then :
4355   gt_cv_func_gnugettext1_libc=yes
4356 else
4357   gt_cv_func_gnugettext1_libc=no
4358 fi
4359 rm -f core conftest.err conftest.$ac_objext \
4360     conftest$ac_exeext conftest.$ac_ext
4361 fi
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
4363 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
4364
4365         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4366
4367
4368
4369
4370
4371           am_save_CPPFLAGS="$CPPFLAGS"
4372
4373   for element in $INCICONV; do
4374     haveit=
4375     for x in $CPPFLAGS; do
4376
4377   acl_save_prefix="$prefix"
4378   prefix="$acl_final_prefix"
4379   acl_save_exec_prefix="$exec_prefix"
4380   exec_prefix="$acl_final_exec_prefix"
4381   eval x=\"$x\"
4382   exec_prefix="$acl_save_exec_prefix"
4383   prefix="$acl_save_prefix"
4384
4385       if test "X$x" = "X$element"; then
4386         haveit=yes
4387         break
4388       fi
4389     done
4390     if test -z "$haveit"; then
4391       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4392     fi
4393   done
4394
4395
4396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4397 $as_echo_n "checking for iconv... " >&6; }
4398 if test "${am_cv_func_iconv+set}" = set; then :
4399   $as_echo_n "(cached) " >&6
4400 else
4401
4402     am_cv_func_iconv="no, consider installing GNU libiconv"
4403     am_cv_lib_iconv=no
4404     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h.  */
4406 #include <stdlib.h>
4407 #include <iconv.h>
4408 int
4409 main ()
4410 {
4411 iconv_t cd = iconv_open("","");
4412        iconv(cd,NULL,NULL,NULL,NULL);
4413        iconv_close(cd);
4414   ;
4415   return 0;
4416 }
4417 _ACEOF
4418 if ac_fn_c_try_link "$LINENO"; then :
4419   am_cv_func_iconv=yes
4420 fi
4421 rm -f core conftest.err conftest.$ac_objext \
4422     conftest$ac_exeext conftest.$ac_ext
4423     if test "$am_cv_func_iconv" != yes; then
4424       am_save_LIBS="$LIBS"
4425       LIBS="$LIBS $LIBICONV"
4426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h.  */
4428 #include <stdlib.h>
4429 #include <iconv.h>
4430 int
4431 main ()
4432 {
4433 iconv_t cd = iconv_open("","");
4434          iconv(cd,NULL,NULL,NULL,NULL);
4435          iconv_close(cd);
4436   ;
4437   return 0;
4438 }
4439 _ACEOF
4440 if ac_fn_c_try_link "$LINENO"; then :
4441   am_cv_lib_iconv=yes
4442         am_cv_func_iconv=yes
4443 fi
4444 rm -f core conftest.err conftest.$ac_objext \
4445     conftest$ac_exeext conftest.$ac_ext
4446       LIBS="$am_save_LIBS"
4447     fi
4448
4449 fi
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4451 $as_echo "$am_cv_func_iconv" >&6; }
4452   if test "$am_cv_func_iconv" = yes; then
4453
4454 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4455
4456   fi
4457   if test "$am_cv_lib_iconv" = yes; then
4458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4459 $as_echo_n "checking how to link with libiconv... " >&6; }
4460     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4461 $as_echo "$LIBICONV" >&6; }
4462   else
4463             CPPFLAGS="$am_save_CPPFLAGS"
4464     LIBICONV=
4465     LTLIBICONV=
4466   fi
4467
4468
4469
4470
4471
4472
4473
4474     use_additional=yes
4475
4476   acl_save_prefix="$prefix"
4477   prefix="$acl_final_prefix"
4478   acl_save_exec_prefix="$exec_prefix"
4479   exec_prefix="$acl_final_exec_prefix"
4480
4481     eval additional_includedir=\"$includedir\"
4482     eval additional_libdir=\"$libdir\"
4483
4484   exec_prefix="$acl_save_exec_prefix"
4485   prefix="$acl_save_prefix"
4486
4487
4488 # Check whether --with-libintl-prefix was given.
4489 if test "${with_libintl_prefix+set}" = set; then :
4490   withval=$with_libintl_prefix;
4491     if test "X$withval" = "Xno"; then
4492       use_additional=no
4493     else
4494       if test "X$withval" = "X"; then
4495
4496   acl_save_prefix="$prefix"
4497   prefix="$acl_final_prefix"
4498   acl_save_exec_prefix="$exec_prefix"
4499   exec_prefix="$acl_final_exec_prefix"
4500
4501           eval additional_includedir=\"$includedir\"
4502           eval additional_libdir=\"$libdir\"
4503
4504   exec_prefix="$acl_save_exec_prefix"
4505   prefix="$acl_save_prefix"
4506
4507       else
4508         additional_includedir="$withval/include"
4509         additional_libdir="$withval/$acl_libdirstem"
4510       fi
4511     fi
4512
4513 fi
4514
4515       LIBINTL=
4516   LTLIBINTL=
4517   INCINTL=
4518   rpathdirs=
4519   ltrpathdirs=
4520   names_already_handled=
4521   names_next_round='intl '
4522   while test -n "$names_next_round"; do
4523     names_this_round="$names_next_round"
4524     names_next_round=
4525     for name in $names_this_round; do
4526       already_handled=
4527       for n in $names_already_handled; do
4528         if test "$n" = "$name"; then
4529           already_handled=yes
4530           break
4531         fi
4532       done
4533       if test -z "$already_handled"; then
4534         names_already_handled="$names_already_handled $name"
4535                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4536         eval value=\"\$HAVE_LIB$uppername\"
4537         if test -n "$value"; then
4538           if test "$value" = yes; then
4539             eval value=\"\$LIB$uppername\"
4540             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4541             eval value=\"\$LTLIB$uppername\"
4542             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4543           else
4544                                     :
4545           fi
4546         else
4547                               found_dir=
4548           found_la=
4549           found_so=
4550           found_a=
4551           if test $use_additional = yes; then
4552             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4553               found_dir="$additional_libdir"
4554               found_so="$additional_libdir/lib$name.$shlibext"
4555               if test -f "$additional_libdir/lib$name.la"; then
4556                 found_la="$additional_libdir/lib$name.la"
4557               fi
4558             else
4559               if test -f "$additional_libdir/lib$name.$libext"; then
4560                 found_dir="$additional_libdir"
4561                 found_a="$additional_libdir/lib$name.$libext"
4562                 if test -f "$additional_libdir/lib$name.la"; then
4563                   found_la="$additional_libdir/lib$name.la"
4564                 fi
4565               fi
4566             fi
4567           fi
4568           if test "X$found_dir" = "X"; then
4569             for x in $LDFLAGS $LTLIBINTL; do
4570
4571   acl_save_prefix="$prefix"
4572   prefix="$acl_final_prefix"
4573   acl_save_exec_prefix="$exec_prefix"
4574   exec_prefix="$acl_final_exec_prefix"
4575   eval x=\"$x\"
4576   exec_prefix="$acl_save_exec_prefix"
4577   prefix="$acl_save_prefix"
4578
4579               case "$x" in
4580                 -L*)
4581                   dir=`echo "X$x" | sed -e 's/^X-L//'`
4582                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4583                     found_dir="$dir"
4584                     found_so="$dir/lib$name.$shlibext"
4585                     if test -f "$dir/lib$name.la"; then
4586                       found_la="$dir/lib$name.la"
4587                     fi
4588                   else
4589                     if test -f "$dir/lib$name.$libext"; then
4590                       found_dir="$dir"
4591                       found_a="$dir/lib$name.$libext"
4592                       if test -f "$dir/lib$name.la"; then
4593                         found_la="$dir/lib$name.la"
4594                       fi
4595                     fi
4596                   fi
4597                   ;;
4598               esac
4599               if test "X$found_dir" != "X"; then
4600                 break
4601               fi
4602             done
4603           fi
4604           if test "X$found_dir" != "X"; then
4605                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4606             if test "X$found_so" != "X"; then
4607                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4608                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4609               else
4610                                                                                 haveit=
4611                 for x in $ltrpathdirs; do
4612                   if test "X$x" = "X$found_dir"; then
4613                     haveit=yes
4614                     break
4615                   fi
4616                 done
4617                 if test -z "$haveit"; then
4618                   ltrpathdirs="$ltrpathdirs $found_dir"
4619                 fi
4620                                 if test "$hardcode_direct" = yes; then
4621                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4622                 else
4623                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4624                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4625                                                             haveit=
4626                     for x in $rpathdirs; do
4627                       if test "X$x" = "X$found_dir"; then
4628                         haveit=yes
4629                         break
4630                       fi
4631                     done
4632                     if test -z "$haveit"; then
4633                       rpathdirs="$rpathdirs $found_dir"
4634                     fi
4635                   else
4636                                                                                 haveit=
4637                     for x in $LDFLAGS $LIBINTL; do
4638
4639   acl_save_prefix="$prefix"
4640   prefix="$acl_final_prefix"
4641   acl_save_exec_prefix="$exec_prefix"
4642   exec_prefix="$acl_final_exec_prefix"
4643   eval x=\"$x\"
4644   exec_prefix="$acl_save_exec_prefix"
4645   prefix="$acl_save_prefix"
4646
4647                       if test "X$x" = "X-L$found_dir"; then
4648                         haveit=yes
4649                         break
4650                       fi
4651                     done
4652                     if test -z "$haveit"; then
4653                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4654                     fi
4655                     if test "$hardcode_minus_L" != no; then
4656                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4657                     else
4658                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4659                     fi
4660                   fi
4661                 fi
4662               fi
4663             else
4664               if test "X$found_a" != "X"; then
4665                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
4666               else
4667                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4668               fi
4669             fi
4670                         additional_includedir=
4671             case "$found_dir" in
4672               */$acl_libdirstem | */$acl_libdirstem/)
4673                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4674                 additional_includedir="$basedir/include"
4675                 ;;
4676             esac
4677             if test "X$additional_includedir" != "X"; then
4678                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
4679                 haveit=
4680                 if test "X$additional_includedir" = "X/usr/local/include"; then
4681                   if test -n "$GCC"; then
4682                     case $host_os in
4683                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4684                     esac
4685                   fi
4686                 fi
4687                 if test -z "$haveit"; then
4688                   for x in $CPPFLAGS $INCINTL; do
4689
4690   acl_save_prefix="$prefix"
4691   prefix="$acl_final_prefix"
4692   acl_save_exec_prefix="$exec_prefix"
4693   exec_prefix="$acl_final_exec_prefix"
4694   eval x=\"$x\"
4695   exec_prefix="$acl_save_exec_prefix"
4696   prefix="$acl_save_prefix"
4697
4698                     if test "X$x" = "X-I$additional_includedir"; then
4699                       haveit=yes
4700                       break
4701                     fi
4702                   done
4703                   if test -z "$haveit"; then
4704                     if test -d "$additional_includedir"; then
4705                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4706                     fi
4707                   fi
4708                 fi
4709               fi
4710             fi
4711                         if test -n "$found_la"; then
4712                                                         save_libdir="$libdir"
4713               case "$found_la" in
4714                 */* | *\\*) . "$found_la" ;;
4715                 *) . "./$found_la" ;;
4716               esac
4717               libdir="$save_libdir"
4718                             for dep in $dependency_libs; do
4719                 case "$dep" in
4720                   -L*)
4721                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4722                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4723                       haveit=
4724                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4725                         if test -n "$GCC"; then
4726                           case $host_os in
4727                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4728                           esac
4729                         fi
4730                       fi
4731                       if test -z "$haveit"; then
4732                         haveit=
4733                         for x in $LDFLAGS $LIBINTL; do
4734
4735   acl_save_prefix="$prefix"
4736   prefix="$acl_final_prefix"
4737   acl_save_exec_prefix="$exec_prefix"
4738   exec_prefix="$acl_final_exec_prefix"
4739   eval x=\"$x\"
4740   exec_prefix="$acl_save_exec_prefix"
4741   prefix="$acl_save_prefix"
4742
4743                           if test "X$x" = "X-L$additional_libdir"; then
4744                             haveit=yes
4745                             break
4746                           fi
4747                         done
4748                         if test -z "$haveit"; then
4749                           if test -d "$additional_libdir"; then
4750                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4751                           fi
4752                         fi
4753                         haveit=
4754                         for x in $LDFLAGS $LTLIBINTL; do
4755
4756   acl_save_prefix="$prefix"
4757   prefix="$acl_final_prefix"
4758   acl_save_exec_prefix="$exec_prefix"
4759   exec_prefix="$acl_final_exec_prefix"
4760   eval x=\"$x\"
4761   exec_prefix="$acl_save_exec_prefix"
4762   prefix="$acl_save_prefix"
4763
4764                           if test "X$x" = "X-L$additional_libdir"; then
4765                             haveit=yes
4766                             break
4767                           fi
4768                         done
4769                         if test -z "$haveit"; then
4770                           if test -d "$additional_libdir"; then
4771                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4772                           fi
4773                         fi
4774                       fi
4775                     fi
4776                     ;;
4777                   -R*)
4778                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
4779                     if test "$enable_rpath" != no; then
4780                                                                   haveit=
4781                       for x in $rpathdirs; do
4782                         if test "X$x" = "X$dir"; then
4783                           haveit=yes
4784                           break
4785                         fi
4786                       done
4787                       if test -z "$haveit"; then
4788                         rpathdirs="$rpathdirs $dir"
4789                       fi
4790                                                                   haveit=
4791                       for x in $ltrpathdirs; do
4792                         if test "X$x" = "X$dir"; then
4793                           haveit=yes
4794                           break
4795                         fi
4796                       done
4797                       if test -z "$haveit"; then
4798                         ltrpathdirs="$ltrpathdirs $dir"
4799                       fi
4800                     fi
4801                     ;;
4802                   -l*)
4803                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4804                     ;;
4805                   *.la)
4806                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4807                     ;;
4808                   *)
4809                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
4810                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4811                     ;;
4812                 esac
4813               done
4814             fi
4815           else
4816                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4817             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4818           fi
4819         fi
4820       fi
4821     done
4822   done
4823   if test "X$rpathdirs" != "X"; then
4824     if test -n "$hardcode_libdir_separator"; then
4825                         alldirs=
4826       for found_dir in $rpathdirs; do
4827         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4828       done
4829             acl_save_libdir="$libdir"
4830       libdir="$alldirs"
4831       eval flag=\"$hardcode_libdir_flag_spec\"
4832       libdir="$acl_save_libdir"
4833       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4834     else
4835             for found_dir in $rpathdirs; do
4836         acl_save_libdir="$libdir"
4837         libdir="$found_dir"
4838         eval flag=\"$hardcode_libdir_flag_spec\"
4839         libdir="$acl_save_libdir"
4840         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4841       done
4842     fi
4843   fi
4844   if test "X$ltrpathdirs" != "X"; then
4845             for found_dir in $ltrpathdirs; do
4846       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4847     done
4848   fi
4849
4850           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
4851 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
4852 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
4853   $as_echo_n "(cached) " >&6
4854 else
4855   gt_save_CPPFLAGS="$CPPFLAGS"
4856             CPPFLAGS="$CPPFLAGS $INCINTL"
4857             gt_save_LIBS="$LIBS"
4858             LIBS="$LIBS $LIBINTL"
4859                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h.  */
4861 #include <libintl.h>
4862 extern int _nl_msg_cat_cntr;
4863 extern
4864 #ifdef __cplusplus
4865 "C"
4866 #endif
4867 const char *_nl_expand_alias (const char *);
4868 int
4869 main ()
4870 {
4871 bindtextdomain ("", "");
4872 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4873   ;
4874   return 0;
4875 }
4876 _ACEOF
4877 if ac_fn_c_try_link "$LINENO"; then :
4878   gt_cv_func_gnugettext1_libintl=yes
4879 else
4880   gt_cv_func_gnugettext1_libintl=no
4881 fi
4882 rm -f core conftest.err conftest.$ac_objext \
4883     conftest$ac_exeext conftest.$ac_ext
4884                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4885               LIBS="$LIBS $LIBICONV"
4886               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h.  */
4888 #include <libintl.h>
4889 extern int _nl_msg_cat_cntr;
4890 extern
4891 #ifdef __cplusplus
4892 "C"
4893 #endif
4894 const char *_nl_expand_alias (const char *);
4895 int
4896 main ()
4897 {
4898 bindtextdomain ("", "");
4899 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4900   ;
4901   return 0;
4902 }
4903 _ACEOF
4904 if ac_fn_c_try_link "$LINENO"; then :
4905   LIBINTL="$LIBINTL $LIBICONV"
4906                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
4907                 gt_cv_func_gnugettext1_libintl=yes
4908
4909 fi
4910 rm -f core conftest.err conftest.$ac_objext \
4911     conftest$ac_exeext conftest.$ac_ext
4912             fi
4913             CPPFLAGS="$gt_save_CPPFLAGS"
4914             LIBS="$gt_save_LIBS"
4915 fi
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
4917 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
4918         fi
4919
4920                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4921            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4922                 && test "$PACKAGE" != gettext-runtime \
4923                 && test "$PACKAGE" != gettext-tools; }; then
4924           gt_use_preinstalled_gnugettext=yes
4925         else
4926                     LIBINTL=
4927           LTLIBINTL=
4928           INCINTL=
4929         fi
4930
4931
4932
4933     if test -n "$INTL_MACOSX_LIBS"; then
4934       if test "$gt_use_preinstalled_gnugettext" = "yes" \
4935          || test "$nls_cv_use_gnu_gettext" = "yes"; then
4936                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
4937         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
4938       fi
4939     fi
4940
4941     if test "$gt_use_preinstalled_gnugettext" = "yes" \
4942        || test "$nls_cv_use_gnu_gettext" = "yes"; then
4943
4944 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4945
4946     else
4947       USE_NLS=no
4948     fi
4949   fi
4950
4951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
4952 $as_echo_n "checking whether to use NLS... " >&6; }
4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4954 $as_echo "$USE_NLS" >&6; }
4955   if test "$USE_NLS" = "yes"; then
4956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
4957 $as_echo_n "checking where the gettext function comes from... " >&6; }
4958     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4959       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4960         gt_source="external libintl"
4961       else
4962         gt_source="libc"
4963       fi
4964     else
4965       gt_source="included intl directory"
4966     fi
4967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
4968 $as_echo "$gt_source" >&6; }
4969   fi
4970
4971   if test "$USE_NLS" = "yes"; then
4972
4973     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4974       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4975         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
4976 $as_echo_n "checking how to link with libintl... " >&6; }
4977         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
4978 $as_echo "$LIBINTL" >&6; }
4979
4980   for element in $INCINTL; do
4981     haveit=
4982     for x in $CPPFLAGS; do
4983
4984   acl_save_prefix="$prefix"
4985   prefix="$acl_final_prefix"
4986   acl_save_exec_prefix="$exec_prefix"
4987   exec_prefix="$acl_final_exec_prefix"
4988   eval x=\"$x\"
4989   exec_prefix="$acl_save_exec_prefix"
4990   prefix="$acl_save_prefix"
4991
4992       if test "X$x" = "X$element"; then
4993         haveit=yes
4994         break
4995       fi
4996     done
4997     if test -z "$haveit"; then
4998       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4999     fi
5000   done
5001
5002       fi
5003
5004
5005 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5006
5007
5008 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
5009
5010     fi
5011
5012         POSUB=po
5013   fi
5014
5015
5016
5017     INTLLIBS="$LIBINTL"
5018
5019
5020
5021
5022
5023
5024
5025 # Checks for programs.
5026
5027 for ac_prog in gawk mawk nawk awk
5028 do
5029   # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy $ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_AWK+set}" = set; then :
5034   $as_echo_n "(cached) " >&6
5035 else
5036   if test -n "$AWK"; then
5037   ac_cv_prog_AWK="$AWK" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5041 do
5042   IFS=$as_save_IFS
5043   test -z "$as_dir" && as_dir=.
5044     for ac_exec_ext in '' $ac_executable_extensions; do
5045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046     ac_cv_prog_AWK="$ac_prog"
5047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048     break 2
5049   fi
5050 done
5051   done
5052 IFS=$as_save_IFS
5053
5054 fi
5055 fi
5056 AWK=$ac_cv_prog_AWK
5057 if test -n "$AWK"; then
5058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5059 $as_echo "$AWK" >&6; }
5060 else
5061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5063 fi
5064
5065
5066   test -n "$AWK" && break
5067 done
5068
5069
5070 # Extract the first word of "msgfmt", so it can be a program name with args.
5071 set dummy msgfmt; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if test "${ac_cv_prog_HAVE_MSGFMT+set}" = set; then :
5075   $as_echo_n "(cached) " >&6
5076 else
5077   if test -n "$HAVE_MSGFMT"; then
5078   ac_cv_prog_HAVE_MSGFMT="$HAVE_MSGFMT" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5082 do
5083   IFS=$as_save_IFS
5084   test -z "$as_dir" && as_dir=.
5085     for ac_exec_ext in '' $ac_executable_extensions; do
5086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5087     ac_cv_prog_HAVE_MSGFMT="yes"
5088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089     break 2
5090   fi
5091 done
5092   done
5093 IFS=$as_save_IFS
5094
5095 fi
5096 fi
5097 HAVE_MSGFMT=$ac_cv_prog_HAVE_MSGFMT
5098 if test -n "$HAVE_MSGFMT"; then
5099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MSGFMT" >&5
5100 $as_echo "$HAVE_MSGFMT" >&6; }
5101 else
5102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5104 fi
5105
5106
5107 if test "x$HAVE_MSGFMT" != "xyes"; then
5108   echo "  Please install the program \"msgfmt\" in advance."
5109   echo "  It is usually included in the package \"gettext\"."
5110   exit 1;
5111 else :
5112 fi
5113
5114 # Checks for source data files.
5115
5116 # Check whether --with-charmaps was given.
5117 if test "${with_charmaps+set}" = set; then :
5118   withval=$with_charmaps; CHARMAPS="$withval"
5119 fi
5120
5121
5122
5123
5124
5125
5126 if test "x$CHARMAPS" = "x"; then
5127   if test -d ./charmaps; then
5128     CHARMAPS=./charmaps
5129   elif test -d /usr/share/i18n/charmaps; then
5130     CHARMAPS=/usr/share/i18n/charmaps
5131   else
5132     CHARMAPS=
5133   fi
5134 else :
5135 fi
5136
5137 if test "x$CHARMAPS" != "x"; then
5138   if test -r "$CHARMAPS/EUC-JP.gz"; then
5139     CHARMAP_EXT=".gz"
5140     CHARMAP_CAT="zcat"
5141   elif test -r "$CHARMAPS/EUC-JP"; then
5142     CHARMAP_EXT=
5143     CHARMAP_CAT="cat"
5144   else
5145     CHARMAPS=
5146   fi
5147 else :
5148 fi
5149
5150 ICONS=`cd icons; echo *.png`
5151
5152
5153 LANGNAME_TABLES=`cd LANGDATA; echo *.lnm`
5154
5155
5156 ac_config_files="$ac_config_files Makefile mapconv m17n-db m17n-db.pc icons/Makefile po/Makefile.in FLT/Makefile MIM/Makefile LANGDATA/Makefile"
5157
5158 cat >confcache <<\_ACEOF
5159 # This file is a shell script that caches the results of configure
5160 # tests run on this system so they can be shared between configure
5161 # scripts and configure runs, see configure's option --config-cache.
5162 # It is not useful on other systems.  If it contains results you don't
5163 # want to keep, you may remove or edit it.
5164 #
5165 # config.status only pays attention to the cache file if you give it
5166 # the --recheck option to rerun configure.
5167 #
5168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5170 # following values.
5171
5172 _ACEOF
5173
5174 # The following way of writing the cache mishandles newlines in values,
5175 # but we know of no workaround that is simple, portable, and efficient.
5176 # So, we kill variables containing newlines.
5177 # Ultrix sh set writes to stderr and can't be redirected directly,
5178 # and sets the high bit in the cache file unless we assign to the vars.
5179 (
5180   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5181     eval ac_val=\$$ac_var
5182     case $ac_val in #(
5183     *${as_nl}*)
5184       case $ac_var in #(
5185       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5187       esac
5188       case $ac_var in #(
5189       _ | IFS | as_nl) ;; #(
5190       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5191       *) { eval $ac_var=; unset $ac_var;} ;;
5192       esac ;;
5193     esac
5194   done
5195
5196   (set) 2>&1 |
5197     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5198     *${as_nl}ac_space=\ *)
5199       # `set' does not quote correctly, so add quotes: double-quote
5200       # substitution turns \\\\ into \\, and sed turns \\ into \.
5201       sed -n \
5202         "s/'/'\\\\''/g;
5203           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5204       ;; #(
5205     *)
5206       # `set' quotes correctly as required by POSIX, so do not add quotes.
5207       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5208       ;;
5209     esac |
5210     sort
5211 ) |
5212   sed '
5213      /^ac_cv_env_/b end
5214      t clear
5215      :clear
5216      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5217      t end
5218      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5219      :end' >>confcache
5220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5221   if test -w "$cache_file"; then
5222     test "x$cache_file" != "x/dev/null" &&
5223       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5224 $as_echo "$as_me: updating cache $cache_file" >&6;}
5225     cat confcache >$cache_file
5226   else
5227     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5229   fi
5230 fi
5231 rm -f confcache
5232
5233 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5234 # Let make expand exec_prefix.
5235 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5236
5237 # Transform confdefs.h into DEFS.
5238 # Protect against shell expansion while executing Makefile rules.
5239 # Protect against Makefile macro expansion.
5240 #
5241 # If the first sed substitution is executed (which looks for macros that
5242 # take arguments), then branch to the quote section.  Otherwise,
5243 # look for a macro that doesn't take arguments.
5244 ac_script='
5245 :mline
5246 /\\$/{
5247  N
5248  s,\\\n,,
5249  b mline
5250 }
5251 t clear
5252 :clear
5253 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
5254 t quote
5255 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
5256 t quote
5257 b any
5258 :quote
5259 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5260 s/\[/\\&/g
5261 s/\]/\\&/g
5262 s/\$/$$/g
5263 H
5264 :any
5265 ${
5266         g
5267         s/^\n//
5268         s/\n/ /g
5269         p
5270 }
5271 '
5272 DEFS=`sed -n "$ac_script" confdefs.h`
5273
5274
5275 ac_libobjs=
5276 ac_ltlibobjs=
5277 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5278   # 1. Remove the extension, and $U if already installed.
5279   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5280   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5281   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5282   #    will be set to the directory where LIBOBJS objects are built.
5283   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5284   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5285 done
5286 LIBOBJS=$ac_libobjs
5287
5288 LTLIBOBJS=$ac_ltlibobjs
5289
5290
5291  if test -n "$EXEEXT"; then
5292   am__EXEEXT_TRUE=
5293   am__EXEEXT_FALSE='#'
5294 else
5295   am__EXEEXT_TRUE='#'
5296   am__EXEEXT_FALSE=
5297 fi
5298
5299 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5300   as_fn_error "conditional \"AMDEP\" was never defined.
5301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5302 fi
5303 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5304   as_fn_error "conditional \"am__fastdepCC\" was never defined.
5305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5306 fi
5307
5308 : ${CONFIG_STATUS=./config.status}
5309 ac_write_fail=0
5310 ac_clean_files_save=$ac_clean_files
5311 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5313 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5314 as_write_fail=0
5315 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5316 #! $SHELL
5317 # Generated by $as_me.
5318 # Run this file to recreate the current configuration.
5319 # Compiler output produced by configure, useful for debugging
5320 # configure, is in config.log if it exists.
5321
5322 debug=false
5323 ac_cs_recheck=false
5324 ac_cs_silent=false
5325
5326 SHELL=\${CONFIG_SHELL-$SHELL}
5327 export SHELL
5328 _ASEOF
5329 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5330 ## -------------------- ##
5331 ## M4sh Initialization. ##
5332 ## -------------------- ##
5333
5334 # Be more Bourne compatible
5335 DUALCASE=1; export DUALCASE # for MKS sh
5336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5337   emulate sh
5338   NULLCMD=:
5339   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5340   # is contrary to our usage.  Disable this feature.
5341   alias -g '${1+"$@"}'='"$@"'
5342   setopt NO_GLOB_SUBST
5343 else
5344   case `(set -o) 2>/dev/null` in #(
5345   *posix*) :
5346     set -o posix ;; #(
5347   *) :
5348      ;;
5349 esac
5350 fi
5351
5352
5353 as_nl='
5354 '
5355 export as_nl
5356 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5357 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5359 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5360 # Prefer a ksh shell builtin over an external printf program on Solaris,
5361 # but without wasting forks for bash or zsh.
5362 if test -z "$BASH_VERSION$ZSH_VERSION" \
5363     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5364   as_echo='print -r --'
5365   as_echo_n='print -rn --'
5366 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5367   as_echo='printf %s\n'
5368   as_echo_n='printf %s'
5369 else
5370   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5371     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5372     as_echo_n='/usr/ucb/echo -n'
5373   else
5374     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5375     as_echo_n_body='eval
5376       arg=$1;
5377       case $arg in #(
5378       *"$as_nl"*)
5379         expr "X$arg" : "X\\(.*\\)$as_nl";
5380         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5381       esac;
5382       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5383     '
5384     export as_echo_n_body
5385     as_echo_n='sh -c $as_echo_n_body as_echo'
5386   fi
5387   export as_echo_body
5388   as_echo='sh -c $as_echo_body as_echo'
5389 fi
5390
5391 # The user is always right.
5392 if test "${PATH_SEPARATOR+set}" != set; then
5393   PATH_SEPARATOR=:
5394   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5395     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5396       PATH_SEPARATOR=';'
5397   }
5398 fi
5399
5400
5401 # IFS
5402 # We need space, tab and new line, in precisely that order.  Quoting is
5403 # there to prevent editors from complaining about space-tab.
5404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5405 # splitting by setting IFS to empty value.)
5406 IFS=" ""        $as_nl"
5407
5408 # Find who we are.  Look in the path if we contain no directory separator.
5409 case $0 in #((
5410   *[\\/]* ) as_myself=$0 ;;
5411   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5413 do
5414   IFS=$as_save_IFS
5415   test -z "$as_dir" && as_dir=.
5416     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5417   done
5418 IFS=$as_save_IFS
5419
5420      ;;
5421 esac
5422 # We did not find ourselves, most probably we were run as `sh COMMAND'
5423 # in which case we are not to be found in the path.
5424 if test "x$as_myself" = x; then
5425   as_myself=$0
5426 fi
5427 if test ! -f "$as_myself"; then
5428   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5429   exit 1
5430 fi
5431
5432 # Unset variables that we do not need and which cause bugs (e.g. in
5433 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5434 # suppresses any "Segmentation fault" message there.  '((' could
5435 # trigger a bug in pdksh 5.2.14.
5436 for as_var in BASH_ENV ENV MAIL MAILPATH
5437 do eval test x\${$as_var+set} = xset \
5438   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5439 done
5440 PS1='$ '
5441 PS2='> '
5442 PS4='+ '
5443
5444 # NLS nuisances.
5445 LC_ALL=C
5446 export LC_ALL
5447 LANGUAGE=C
5448 export LANGUAGE
5449
5450 # CDPATH.
5451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5452
5453
5454 # as_fn_error ERROR [LINENO LOG_FD]
5455 # ---------------------------------
5456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5458 # script with status $?, using 1 if that was 0.
5459 as_fn_error ()
5460 {
5461   as_status=$?; test $as_status -eq 0 && as_status=1
5462   if test "$3"; then
5463     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5464     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5465   fi
5466   $as_echo "$as_me: error: $1" >&2
5467   as_fn_exit $as_status
5468 } # as_fn_error
5469
5470
5471 # as_fn_set_status STATUS
5472 # -----------------------
5473 # Set $? to STATUS, without forking.
5474 as_fn_set_status ()
5475 {
5476   return $1
5477 } # as_fn_set_status
5478
5479 # as_fn_exit STATUS
5480 # -----------------
5481 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5482 as_fn_exit ()
5483 {
5484   set +e
5485   as_fn_set_status $1
5486   exit $1
5487 } # as_fn_exit
5488
5489 # as_fn_unset VAR
5490 # ---------------
5491 # Portably unset VAR.
5492 as_fn_unset ()
5493 {
5494   { eval $1=; unset $1;}
5495 }
5496 as_unset=as_fn_unset
5497 # as_fn_append VAR VALUE
5498 # ----------------------
5499 # Append the text in VALUE to the end of the definition contained in VAR. Take
5500 # advantage of any shell optimizations that allow amortized linear growth over
5501 # repeated appends, instead of the typical quadratic growth present in naive
5502 # implementations.
5503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5504   eval 'as_fn_append ()
5505   {
5506     eval $1+=\$2
5507   }'
5508 else
5509   as_fn_append ()
5510   {
5511     eval $1=\$$1\$2
5512   }
5513 fi # as_fn_append
5514
5515 # as_fn_arith ARG...
5516 # ------------------
5517 # Perform arithmetic evaluation on the ARGs, and store the result in the
5518 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5519 # must be portable across $(()) and expr.
5520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5521   eval 'as_fn_arith ()
5522   {
5523     as_val=$(( $* ))
5524   }'
5525 else
5526   as_fn_arith ()
5527   {
5528     as_val=`expr "$@" || test $? -eq 1`
5529   }
5530 fi # as_fn_arith
5531
5532
5533 if expr a : '\(a\)' >/dev/null 2>&1 &&
5534    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5535   as_expr=expr
5536 else
5537   as_expr=false
5538 fi
5539
5540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5541   as_basename=basename
5542 else
5543   as_basename=false
5544 fi
5545
5546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5547   as_dirname=dirname
5548 else
5549   as_dirname=false
5550 fi
5551
5552 as_me=`$as_basename -- "$0" ||
5553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5554          X"$0" : 'X\(//\)$' \| \
5555          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5556 $as_echo X/"$0" |
5557     sed '/^.*\/\([^/][^/]*\)\/*$/{
5558             s//\1/
5559             q
5560           }
5561           /^X\/\(\/\/\)$/{
5562             s//\1/
5563             q
5564           }
5565           /^X\/\(\/\).*/{
5566             s//\1/
5567             q
5568           }
5569           s/.*/./; q'`
5570
5571 # Avoid depending upon Character Ranges.
5572 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5573 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5574 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5575 as_cr_digits='0123456789'
5576 as_cr_alnum=$as_cr_Letters$as_cr_digits
5577
5578 ECHO_C= ECHO_N= ECHO_T=
5579 case `echo -n x` in #(((((
5580 -n*)
5581   case `echo 'xy\c'` in
5582   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5583   xy)  ECHO_C='\c';;
5584   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5585        ECHO_T=' ';;
5586   esac;;
5587 *)
5588   ECHO_N='-n';;
5589 esac
5590
5591 rm -f conf$$ conf$$.exe conf$$.file
5592 if test -d conf$$.dir; then
5593   rm -f conf$$.dir/conf$$.file
5594 else
5595   rm -f conf$$.dir
5596   mkdir conf$$.dir 2>/dev/null
5597 fi
5598 if (echo >conf$$.file) 2>/dev/null; then
5599   if ln -s conf$$.file conf$$ 2>/dev/null; then
5600     as_ln_s='ln -s'
5601     # ... but there are two gotchas:
5602     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5603     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5604     # In both cases, we have to default to `cp -p'.
5605     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5606       as_ln_s='cp -p'
5607   elif ln conf$$.file conf$$ 2>/dev/null; then
5608     as_ln_s=ln
5609   else
5610     as_ln_s='cp -p'
5611   fi
5612 else
5613   as_ln_s='cp -p'
5614 fi
5615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5616 rmdir conf$$.dir 2>/dev/null
5617
5618
5619 # as_fn_mkdir_p
5620 # -------------
5621 # Create "$as_dir" as a directory, including parents if necessary.
5622 as_fn_mkdir_p ()
5623 {
5624
5625   case $as_dir in #(
5626   -*) as_dir=./$as_dir;;
5627   esac
5628   test -d "$as_dir" || eval $as_mkdir_p || {
5629     as_dirs=
5630     while :; do
5631       case $as_dir in #(
5632       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5633       *) as_qdir=$as_dir;;
5634       esac
5635       as_dirs="'$as_qdir' $as_dirs"
5636       as_dir=`$as_dirname -- "$as_dir" ||
5637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5638          X"$as_dir" : 'X\(//\)[^/]' \| \
5639          X"$as_dir" : 'X\(//\)$' \| \
5640          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5641 $as_echo X"$as_dir" |
5642     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5643             s//\1/
5644             q
5645           }
5646           /^X\(\/\/\)[^/].*/{
5647             s//\1/
5648             q
5649           }
5650           /^X\(\/\/\)$/{
5651             s//\1/
5652             q
5653           }
5654           /^X\(\/\).*/{
5655             s//\1/
5656             q
5657           }
5658           s/.*/./; q'`
5659       test -d "$as_dir" && break
5660     done
5661     test -z "$as_dirs" || eval "mkdir $as_dirs"
5662   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5663
5664
5665 } # as_fn_mkdir_p
5666 if mkdir -p . 2>/dev/null; then
5667   as_mkdir_p='mkdir -p "$as_dir"'
5668 else
5669   test -d ./-p && rmdir ./-p
5670   as_mkdir_p=false
5671 fi
5672
5673 if test -x / >/dev/null 2>&1; then
5674   as_test_x='test -x'
5675 else
5676   if ls -dL / >/dev/null 2>&1; then
5677     as_ls_L_option=L
5678   else
5679     as_ls_L_option=
5680   fi
5681   as_test_x='
5682     eval sh -c '\''
5683       if test -d "$1"; then
5684         test -d "$1/.";
5685       else
5686         case $1 in #(
5687         -*)set "./$1";;
5688         esac;
5689         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5690         ???[sx]*):;;*)false;;esac;fi
5691     '\'' sh
5692   '
5693 fi
5694 as_executable_p=$as_test_x
5695
5696 # Sed expression to map a string onto a valid CPP name.
5697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5698
5699 # Sed expression to map a string onto a valid variable name.
5700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5701
5702
5703 exec 6>&1
5704 ## ----------------------------------- ##
5705 ## Main body of $CONFIG_STATUS script. ##
5706 ## ----------------------------------- ##
5707 _ASEOF
5708 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5709
5710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5711 # Save the log message, to keep $0 and so on meaningful, and to
5712 # report actual input values of CONFIG_FILES etc. instead of their
5713 # values after options handling.
5714 ac_log="
5715 This file was extended by m17n-db $as_me 1.6.1, which was
5716 generated by GNU Autoconf 2.64.  Invocation command line was
5717
5718   CONFIG_FILES    = $CONFIG_FILES
5719   CONFIG_HEADERS  = $CONFIG_HEADERS
5720   CONFIG_LINKS    = $CONFIG_LINKS
5721   CONFIG_COMMANDS = $CONFIG_COMMANDS
5722   $ $0 $@
5723
5724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5725 "
5726
5727 _ACEOF
5728
5729 case $ac_config_files in *"
5730 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5731 esac
5732
5733
5734
5735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5736 # Files that config.status was made for.
5737 config_files="$ac_config_files"
5738 config_commands="$ac_config_commands"
5739
5740 _ACEOF
5741
5742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5743 ac_cs_usage="\
5744 \`$as_me' instantiates files and other configuration actions
5745 from templates according to the current configuration.  Unless the files
5746 and actions are specified as TAGs, all are instantiated by default.
5747
5748 Usage: $0 [OPTION]... [TAG]...
5749
5750   -h, --help       print this help, then exit
5751   -V, --version    print version number and configuration settings, then exit
5752   -q, --quiet, --silent
5753                    do not print progress messages
5754   -d, --debug      don't remove temporary files
5755       --recheck    update $as_me by reconfiguring in the same conditions
5756       --file=FILE[:TEMPLATE]
5757                    instantiate the configuration file FILE
5758
5759 Configuration files:
5760 $config_files
5761
5762 Configuration commands:
5763 $config_commands
5764
5765 Report bugs to <bugs-m17n-lib@m17n.org>."
5766
5767 _ACEOF
5768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769 ac_cs_version="\\
5770 m17n-db config.status 1.6.1
5771 configured by $0, generated by GNU Autoconf 2.64,
5772   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5773
5774 Copyright (C) 2009 Free Software Foundation, Inc.
5775 This config.status script is free software; the Free Software Foundation
5776 gives unlimited permission to copy, distribute and modify it."
5777
5778 ac_pwd='$ac_pwd'
5779 srcdir='$srcdir'
5780 INSTALL='$INSTALL'
5781 MKDIR_P='$MKDIR_P'
5782 AWK='$AWK'
5783 test -n "\$AWK" || AWK=awk
5784 _ACEOF
5785
5786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5787 # The default lists apply if the user does not specify any file.
5788 ac_need_defaults=:
5789 while test $# != 0
5790 do
5791   case $1 in
5792   --*=*)
5793     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5794     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5795     ac_shift=:
5796     ;;
5797   *)
5798     ac_option=$1
5799     ac_optarg=$2
5800     ac_shift=shift
5801     ;;
5802   esac
5803
5804   case $ac_option in
5805   # Handling of the options.
5806   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5807     ac_cs_recheck=: ;;
5808   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5809     $as_echo "$ac_cs_version"; exit ;;
5810   --debug | --debu | --deb | --de | --d | -d )
5811     debug=: ;;
5812   --file | --fil | --fi | --f )
5813     $ac_shift
5814     case $ac_optarg in
5815     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5816     esac
5817     as_fn_append CONFIG_FILES " '$ac_optarg'"
5818     ac_need_defaults=false;;
5819   --he | --h |  --help | --hel | -h )
5820     $as_echo "$ac_cs_usage"; exit ;;
5821   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5822   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5823     ac_cs_silent=: ;;
5824
5825   # This is an error.
5826   -*) as_fn_error "unrecognized option: \`$1'
5827 Try \`$0 --help' for more information." ;;
5828
5829   *) as_fn_append ac_config_targets " $1"
5830      ac_need_defaults=false ;;
5831
5832   esac
5833   shift
5834 done
5835
5836 ac_configure_extra_args=
5837
5838 if $ac_cs_silent; then
5839   exec 6>/dev/null
5840   ac_configure_extra_args="$ac_configure_extra_args --silent"
5841 fi
5842
5843 _ACEOF
5844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5845 if \$ac_cs_recheck; then
5846   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5847   shift
5848   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5849   CONFIG_SHELL='$SHELL'
5850   export CONFIG_SHELL
5851   exec "\$@"
5852 fi
5853
5854 _ACEOF
5855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5856 exec 5>>config.log
5857 {
5858   echo
5859   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5860 ## Running $as_me. ##
5861 _ASBOX
5862   $as_echo "$ac_log"
5863 } >&5
5864
5865 _ACEOF
5866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5867 #
5868 # INIT-COMMANDS
5869 #
5870 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5871     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5872     # from automake < 1.5.
5873     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5874     # Capture the value of LINGUAS because we need it to compute CATALOGS.
5875     LINGUAS="${LINGUAS-%UNSET%}"
5876
5877 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5878
5879 _ACEOF
5880
5881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5882
5883 # Handling of arguments.
5884 for ac_config_target in $ac_config_targets
5885 do
5886   case $ac_config_target in
5887     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
5888     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5889     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5890     "mapconv") CONFIG_FILES="$CONFIG_FILES mapconv" ;;
5891     "m17n-db") CONFIG_FILES="$CONFIG_FILES m17n-db" ;;
5892     "m17n-db.pc") CONFIG_FILES="$CONFIG_FILES m17n-db.pc" ;;
5893     "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
5894     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5895     "FLT/Makefile") CONFIG_FILES="$CONFIG_FILES FLT/Makefile" ;;
5896     "MIM/Makefile") CONFIG_FILES="$CONFIG_FILES MIM/Makefile" ;;
5897     "LANGDATA/Makefile") CONFIG_FILES="$CONFIG_FILES LANGDATA/Makefile" ;;
5898
5899   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5900   esac
5901 done
5902
5903
5904 # If the user did not use the arguments to specify the items to instantiate,
5905 # then the envvar interface is used.  Set only those that are not.
5906 # We use the long form for the default assignment because of an extremely
5907 # bizarre bug on SunOS 4.1.3.
5908 if $ac_need_defaults; then
5909   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5910   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5911 fi
5912
5913 # Have a temporary directory for convenience.  Make it in the build tree
5914 # simply because there is no reason against having it here, and in addition,
5915 # creating and moving files from /tmp can sometimes cause problems.
5916 # Hook for its removal unless debugging.
5917 # Note that there is a small window in which the directory will not be cleaned:
5918 # after its creation but before its name has been assigned to `$tmp'.
5919 $debug ||
5920 {
5921   tmp=
5922   trap 'exit_status=$?
5923   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5924 ' 0
5925   trap 'as_fn_exit 1' 1 2 13 15
5926 }
5927 # Create a (secure) tmp directory for tmp files.
5928
5929 {
5930   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5931   test -n "$tmp" && test -d "$tmp"
5932 }  ||
5933 {
5934   tmp=./conf$$-$RANDOM
5935   (umask 077 && mkdir "$tmp")
5936 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5937
5938 # Set up the scripts for CONFIG_FILES section.
5939 # No need to generate them if there are no CONFIG_FILES.
5940 # This happens for instance with `./config.status config.h'.
5941 if test -n "$CONFIG_FILES"; then
5942
5943
5944 ac_cr=`echo X | tr X '\015'`
5945 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5946 # But we know of no other shell where ac_cr would be empty at this
5947 # point, so we can use a bashism as a fallback.
5948 if test "x$ac_cr" = x; then
5949   eval ac_cr=\$\'\\r\'
5950 fi
5951 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5952 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5953   ac_cs_awk_cr='\r'
5954 else
5955   ac_cs_awk_cr=$ac_cr
5956 fi
5957
5958 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5959 _ACEOF
5960
5961
5962 {
5963   echo "cat >conf$$subs.awk <<_ACEOF" &&
5964   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5965   echo "_ACEOF"
5966 } >conf$$subs.sh ||
5967   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5968 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5969 ac_delim='%!_!# '
5970 for ac_last_try in false false false false false :; do
5971   . ./conf$$subs.sh ||
5972     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5973
5974   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5975   if test $ac_delim_n = $ac_delim_num; then
5976     break
5977   elif $ac_last_try; then
5978     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5979   else
5980     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5981   fi
5982 done
5983 rm -f conf$$subs.sh
5984
5985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5986 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5987 _ACEOF
5988 sed -n '
5989 h
5990 s/^/S["/; s/!.*/"]=/
5991 p
5992 g
5993 s/^[^!]*!//
5994 :repl
5995 t repl
5996 s/'"$ac_delim"'$//
5997 t delim
5998 :nl
5999 h
6000 s/\(.\{148\}\).*/\1/
6001 t more1
6002 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6003 p
6004 n
6005 b repl
6006 :more1
6007 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6008 p
6009 g
6010 s/.\{148\}//
6011 t nl
6012 :delim
6013 h
6014 s/\(.\{148\}\).*/\1/
6015 t more2
6016 s/["\\]/\\&/g; s/^/"/; s/$/"/
6017 p
6018 b
6019 :more2
6020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6021 p
6022 g
6023 s/.\{148\}//
6024 t delim
6025 ' <conf$$subs.awk | sed '
6026 /^[^""]/{
6027   N
6028   s/\n//
6029 }
6030 ' >>$CONFIG_STATUS || ac_write_fail=1
6031 rm -f conf$$subs.awk
6032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6033 _ACAWK
6034 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6035   for (key in S) S_is_set[key] = 1
6036   FS = "\a"
6037
6038 }
6039 {
6040   line = $ 0
6041   nfields = split(line, field, "@")
6042   substed = 0
6043   len = length(field[1])
6044   for (i = 2; i < nfields; i++) {
6045     key = field[i]
6046     keylen = length(key)
6047     if (S_is_set[key]) {
6048       value = S[key]
6049       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6050       len += length(value) + length(field[++i])
6051       substed = 1
6052     } else
6053       len += 1 + keylen
6054   }
6055
6056   print line
6057 }
6058
6059 _ACAWK
6060 _ACEOF
6061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6062 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6063   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6064 else
6065   cat
6066 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6067   || as_fn_error "could not setup config files machinery" "$LINENO" 5
6068 _ACEOF
6069
6070 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6071 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6072 # trailing colons and then remove the whole line if VPATH becomes empty
6073 # (actually we leave an empty line to preserve line numbers).
6074 if test "x$srcdir" = x.; then
6075   ac_vpsub='/^[  ]*VPATH[        ]*=/{
6076 s/:*\$(srcdir):*/:/
6077 s/:*\${srcdir}:*/:/
6078 s/:*@srcdir@:*/:/
6079 s/^\([^=]*=[     ]*\):*/\1/
6080 s/:*$//
6081 s/^[^=]*=[       ]*$//
6082 }'
6083 fi
6084
6085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6086 fi # test -n "$CONFIG_FILES"
6087
6088
6089 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
6090 shift
6091 for ac_tag
6092 do
6093   case $ac_tag in
6094   :[FHLC]) ac_mode=$ac_tag; continue;;
6095   esac
6096   case $ac_mode$ac_tag in
6097   :[FHL]*:*);;
6098   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6099   :[FH]-) ac_tag=-:-;;
6100   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6101   esac
6102   ac_save_IFS=$IFS
6103   IFS=:
6104   set x $ac_tag
6105   IFS=$ac_save_IFS
6106   shift
6107   ac_file=$1
6108   shift
6109
6110   case $ac_mode in
6111   :L) ac_source=$1;;
6112   :[FH])
6113     ac_file_inputs=
6114     for ac_f
6115     do
6116       case $ac_f in
6117       -) ac_f="$tmp/stdin";;
6118       *) # Look for the file first in the build tree, then in the source tree
6119          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6120          # because $ac_f cannot contain `:'.
6121          test -f "$ac_f" ||
6122            case $ac_f in
6123            [\\/$]*) false;;
6124            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6125            esac ||
6126            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6127       esac
6128       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6129       as_fn_append ac_file_inputs " '$ac_f'"
6130     done
6131
6132     # Let's still pretend it is `configure' which instantiates (i.e., don't
6133     # use $as_me), people would be surprised to read:
6134     #    /* config.h.  Generated by config.status.  */
6135     configure_input='Generated from '`
6136           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6137         `' by configure.'
6138     if test x"$ac_file" != x-; then
6139       configure_input="$ac_file.  $configure_input"
6140       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6141 $as_echo "$as_me: creating $ac_file" >&6;}
6142     fi
6143     # Neutralize special characters interpreted by sed in replacement strings.
6144     case $configure_input in #(
6145     *\&* | *\|* | *\\* )
6146        ac_sed_conf_input=`$as_echo "$configure_input" |
6147        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6148     *) ac_sed_conf_input=$configure_input;;
6149     esac
6150
6151     case $ac_tag in
6152     *:-:* | *:-) cat >"$tmp/stdin" \
6153       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6154     esac
6155     ;;
6156   esac
6157
6158   ac_dir=`$as_dirname -- "$ac_file" ||
6159 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6160          X"$ac_file" : 'X\(//\)[^/]' \| \
6161          X"$ac_file" : 'X\(//\)$' \| \
6162          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6163 $as_echo X"$ac_file" |
6164     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6165             s//\1/
6166             q
6167           }
6168           /^X\(\/\/\)[^/].*/{
6169             s//\1/
6170             q
6171           }
6172           /^X\(\/\/\)$/{
6173             s//\1/
6174             q
6175           }
6176           /^X\(\/\).*/{
6177             s//\1/
6178             q
6179           }
6180           s/.*/./; q'`
6181   as_dir="$ac_dir"; as_fn_mkdir_p
6182   ac_builddir=.
6183
6184 case "$ac_dir" in
6185 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6186 *)
6187   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6188   # A ".." for each directory in $ac_dir_suffix.
6189   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6190   case $ac_top_builddir_sub in
6191   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6192   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6193   esac ;;
6194 esac
6195 ac_abs_top_builddir=$ac_pwd
6196 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6197 # for backward compatibility:
6198 ac_top_builddir=$ac_top_build_prefix
6199
6200 case $srcdir in
6201   .)  # We are building in place.
6202     ac_srcdir=.
6203     ac_top_srcdir=$ac_top_builddir_sub
6204     ac_abs_top_srcdir=$ac_pwd ;;
6205   [\\/]* | ?:[\\/]* )  # Absolute name.
6206     ac_srcdir=$srcdir$ac_dir_suffix;
6207     ac_top_srcdir=$srcdir
6208     ac_abs_top_srcdir=$srcdir ;;
6209   *) # Relative name.
6210     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6211     ac_top_srcdir=$ac_top_build_prefix$srcdir
6212     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6213 esac
6214 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6215
6216
6217   case $ac_mode in
6218   :F)
6219   #
6220   # CONFIG_FILE
6221   #
6222
6223   case $INSTALL in
6224   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6225   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6226   esac
6227   ac_MKDIR_P=$MKDIR_P
6228   case $MKDIR_P in
6229   [\\/$]* | ?:[\\/]* ) ;;
6230   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6231   esac
6232 _ACEOF
6233
6234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6235 # If the template does not know about datarootdir, expand it.
6236 # FIXME: This hack should be removed a few years after 2.60.
6237 ac_datarootdir_hack=; ac_datarootdir_seen=
6238 ac_sed_dataroot='
6239 /datarootdir/ {
6240   p
6241   q
6242 }
6243 /@datadir@/p
6244 /@docdir@/p
6245 /@infodir@/p
6246 /@localedir@/p
6247 /@mandir@/p'
6248 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6249 *datarootdir*) ac_datarootdir_seen=yes;;
6250 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6251   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6252 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6253 _ACEOF
6254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6255   ac_datarootdir_hack='
6256   s&@datadir@&$datadir&g
6257   s&@docdir@&$docdir&g
6258   s&@infodir@&$infodir&g
6259   s&@localedir@&$localedir&g
6260   s&@mandir@&$mandir&g
6261   s&\\\${datarootdir}&$datarootdir&g' ;;
6262 esac
6263 _ACEOF
6264
6265 # Neutralize VPATH when `$srcdir' = `.'.
6266 # Shell code in configure.ac might set extrasub.
6267 # FIXME: do we really want to maintain this feature?
6268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6269 ac_sed_extra="$ac_vpsub
6270 $extrasub
6271 _ACEOF
6272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6273 :t
6274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6275 s|@configure_input@|$ac_sed_conf_input|;t t
6276 s&@top_builddir@&$ac_top_builddir_sub&;t t
6277 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6278 s&@srcdir@&$ac_srcdir&;t t
6279 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6280 s&@top_srcdir@&$ac_top_srcdir&;t t
6281 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6282 s&@builddir@&$ac_builddir&;t t
6283 s&@abs_builddir@&$ac_abs_builddir&;t t
6284 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6285 s&@INSTALL@&$ac_INSTALL&;t t
6286 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6287 $ac_datarootdir_hack
6288 "
6289 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6290   || as_fn_error "could not create $ac_file" "$LINENO" 5
6291
6292 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6293   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6294   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6295   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6296 which seems to be undefined.  Please make sure it is defined." >&5
6297 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6298 which seems to be undefined.  Please make sure it is defined." >&2;}
6299
6300   rm -f "$tmp/stdin"
6301   case $ac_file in
6302   -) cat "$tmp/out" && rm -f "$tmp/out";;
6303   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6304   esac \
6305   || as_fn_error "could not create $ac_file" "$LINENO" 5
6306  ;;
6307
6308
6309   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6310 $as_echo "$as_me: executing $ac_file commands" >&6;}
6311  ;;
6312   esac
6313
6314
6315   case $ac_file$ac_mode in
6316     "po-directories":C)
6317     for ac_file in $CONFIG_FILES; do
6318       # Support "outfile[:infile[:infile...]]"
6319       case "$ac_file" in
6320         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6321       esac
6322       # PO directories have a Makefile.in generated from Makefile.in.in.
6323       case "$ac_file" in */Makefile.in)
6324         # Adjust a relative srcdir.
6325         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6326         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6327         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6328         # In autoconf-2.13 it is called $ac_given_srcdir.
6329         # In autoconf-2.50 it is called $srcdir.
6330         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6331         case "$ac_given_srcdir" in
6332           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6333           /*) top_srcdir="$ac_given_srcdir" ;;
6334           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
6335         esac
6336         # Treat a directory as a PO directory if and only if it has a
6337         # POTFILES.in file. This allows packages to have multiple PO
6338         # directories under different names or in different locations.
6339         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6340           rm -f "$ac_dir/POTFILES"
6341           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6342           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6343           POMAKEFILEDEPS="POTFILES.in"
6344           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
6345           # on $ac_dir but don't depend on user-specified configuration
6346           # parameters.
6347           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6348             # The LINGUAS file contains the set of available languages.
6349             if test -n "$OBSOLETE_ALL_LINGUAS"; then
6350               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6351             fi
6352             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6353             # Hide the ALL_LINGUAS assigment from automake < 1.5.
6354             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6355             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6356           else
6357             # The set of available languages was given in configure.in.
6358             # Hide the ALL_LINGUAS assigment from automake < 1.5.
6359             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6360           fi
6361           # Compute POFILES
6362           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
6363           # Compute UPDATEPOFILES
6364           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
6365           # Compute DUMMYPOFILES
6366           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
6367           # Compute GMOFILES
6368           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
6369           case "$ac_given_srcdir" in
6370             .) srcdirpre= ;;
6371             *) srcdirpre='$(srcdir)/' ;;
6372           esac
6373           POFILES=
6374           UPDATEPOFILES=
6375           DUMMYPOFILES=
6376           GMOFILES=
6377           for lang in $ALL_LINGUAS; do
6378             POFILES="$POFILES $srcdirpre$lang.po"
6379             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6380             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
6381             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6382           done
6383           # CATALOGS depends on both $ac_dir and the user's LINGUAS
6384           # environment variable.
6385           INST_LINGUAS=
6386           if test -n "$ALL_LINGUAS"; then
6387             for presentlang in $ALL_LINGUAS; do
6388               useit=no
6389               if test "%UNSET%" != "$LINGUAS"; then
6390                 desiredlanguages="$LINGUAS"
6391               else
6392                 desiredlanguages="$ALL_LINGUAS"
6393               fi
6394               for desiredlang in $desiredlanguages; do
6395                 # Use the presentlang catalog if desiredlang is
6396                 #   a. equal to presentlang, or
6397                 #   b. a variant of presentlang (because in this case,
6398                 #      presentlang can be used as a fallback for messages
6399                 #      which are not translated in the desiredlang catalog).
6400                 case "$desiredlang" in
6401                   "$presentlang"*) useit=yes;;
6402                 esac
6403               done
6404               if test $useit = yes; then
6405                 INST_LINGUAS="$INST_LINGUAS $presentlang"
6406               fi
6407             done
6408           fi
6409           CATALOGS=
6410           if test -n "$INST_LINGUAS"; then
6411             for lang in $INST_LINGUAS; do
6412               CATALOGS="$CATALOGS $lang.gmo"
6413             done
6414           fi
6415           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6416           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
6417           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6418             if test -f "$f"; then
6419               case "$f" in
6420                 *.orig | *.bak | *~) ;;
6421                 *) cat "$f" >> "$ac_dir/Makefile" ;;
6422               esac
6423             fi
6424           done
6425         fi
6426         ;;
6427       esac
6428     done ;;
6429     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6430   # Autoconf 2.62 quotes --file arguments for eval, but not when files
6431   # are listed without --file.  Let's play safe and only enable the eval
6432   # if we detect the quoting.
6433   case $CONFIG_FILES in
6434   *\'*) eval set x "$CONFIG_FILES" ;;
6435   *)   set x $CONFIG_FILES ;;
6436   esac
6437   shift
6438   for mf
6439   do
6440     # Strip MF so we end up with the name of the file.
6441     mf=`echo "$mf" | sed -e 's/:.*$//'`
6442     # Check whether this is an Automake generated Makefile or not.
6443     # We used to match only the files named `Makefile.in', but
6444     # some people rename them; so instead we look at the file content.
6445     # Grep'ing the first line is not enough: some people post-process
6446     # each Makefile.in and add a new line on top of each file to say so.
6447     # Grep'ing the whole file is not good either: AIX grep has a line
6448     # limit of 2048, but all sed's we know have understand at least 4000.
6449     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6450       dirpart=`$as_dirname -- "$mf" ||
6451 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6452          X"$mf" : 'X\(//\)[^/]' \| \
6453          X"$mf" : 'X\(//\)$' \| \
6454          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6455 $as_echo X"$mf" |
6456     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6457             s//\1/
6458             q
6459           }
6460           /^X\(\/\/\)[^/].*/{
6461             s//\1/
6462             q
6463           }
6464           /^X\(\/\/\)$/{
6465             s//\1/
6466             q
6467           }
6468           /^X\(\/\).*/{
6469             s//\1/
6470             q
6471           }
6472           s/.*/./; q'`
6473     else
6474       continue
6475     fi
6476     # Extract the definition of DEPDIR, am__include, and am__quote
6477     # from the Makefile without running `make'.
6478     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6479     test -z "$DEPDIR" && continue
6480     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6481     test -z "am__include" && continue
6482     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6483     # When using ansi2knr, U may be empty or an underscore; expand it
6484     U=`sed -n 's/^U = //p' < "$mf"`
6485     # Find all dependency output files, they are included files with
6486     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6487     # simplest approach to changing $(DEPDIR) to its actual value in the
6488     # expansion.
6489     for file in `sed -n "
6490       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6491          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6492       # Make sure the directory exists.
6493       test -f "$dirpart/$file" && continue
6494       fdir=`$as_dirname -- "$file" ||
6495 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6496          X"$file" : 'X\(//\)[^/]' \| \
6497          X"$file" : 'X\(//\)$' \| \
6498          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6499 $as_echo X"$file" |
6500     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6501             s//\1/
6502             q
6503           }
6504           /^X\(\/\/\)[^/].*/{
6505             s//\1/
6506             q
6507           }
6508           /^X\(\/\/\)$/{
6509             s//\1/
6510             q
6511           }
6512           /^X\(\/\).*/{
6513             s//\1/
6514             q
6515           }
6516           s/.*/./; q'`
6517       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6518       # echo "creating $dirpart/$file"
6519       echo '# dummy' > "$dirpart/$file"
6520     done
6521   done
6522 }
6523  ;;
6524
6525   esac
6526 done # for ac_tag
6527
6528
6529 as_fn_exit 0
6530 _ACEOF
6531 ac_clean_files=$ac_clean_files_save
6532
6533 test $ac_write_fail = 0 ||
6534   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6535
6536
6537 # configure is writing to config.log, and then calls config.status.
6538 # config.status does its own redirection, appending to config.log.
6539 # Unfortunately, on DOS this fails, as config.log is still kept open
6540 # by configure, so config.status won't be able to write to it; its
6541 # output is simply discarded.  So we exec the FD to /dev/null,
6542 # effectively closing config.log, so it can be properly (re)opened and
6543 # appended to by config.status.  When coming back to configure, we
6544 # need to make the FD available again.
6545 if test "$no_create" != yes; then
6546   ac_cs_success=:
6547   ac_config_status_args=
6548   test "$silent" = yes &&
6549     ac_config_status_args="$ac_config_status_args --quiet"
6550   exec 5>/dev/null
6551   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6552   exec 5>>config.log
6553   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6554   # would make configure fail if this is the last instruction.
6555   $ac_cs_success || as_fn_exit $?
6556 fi
6557 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6558   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6559 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6560 fi
6561
6562
6563 # Print configuration message.
6564 if test "x$CHARMAPS" != "x"; then
6565   echo "------------------------------------------------------------"
6566   echo "Charset maps are generated from files under thie directory:"
6567   echo "  $CHARMAPS/"
6568   echo "------------------------------------------------------------"
6569 else
6570   echo "-----------ERROR-----------ERROR-----------ERROR------------"
6571   echo "Can't find source files for generating charset maps."
6572   echo "Run the script \"./get-glibc.sh\", and try again."
6573   echo "Or, read the installation procedure in the file README."
6574   echo "  --with-charmaps=--DIRECTORY-OF-GLIBC-SOURCE--/localedata/charmaps"
6575   echo "-----------ERROR-----------ERROR-----------ERROR------------"
6576 fi