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