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