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