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