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