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