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