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