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