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