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