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