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