* THANKS (Daniel Richard G.): Update e-mail address.
[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.11.
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.11'
564 PACKAGE_STRING='GNU Automake 1.11'
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__untar
584 am__tar
585 AMTAR
586 am__leading_dot
587 SET_MAKE
588 AWK
589 mkdir_p
590 MKDIR_P
591 INSTALL_STRIP_PROGRAM
592 STRIP
593 install_sh
594 MAKEINFO
595 AUTOHEADER
596 AUTOMAKE
597 AUTOCONF
598 ACLOCAL
599 VERSION
600 PACKAGE
601 CYGPATH_W
602 am__isrc
603 INSTALL_DATA
604 INSTALL_SCRIPT
605 INSTALL_PROGRAM
606 am_AUTOUPDATE
607 am_AUTOHEADER
608 am_AUTORECONF
609 am_AUTOM4TE
610 am_AUTOCONF
611 build_os
612 build_vendor
613 build_cpu
614 build
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
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.11 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.11:";;
1272    esac
1273   cat <<\_ACEOF
1274
1275 Report bugs to <bug-automake@gnu.org>.
1276 GNU Automake home page: <http://www.gnu.org/software/automake/>.
1277 General help using GNU software: <http://www.gnu.org/gethelp/>.
1278 _ACEOF
1279 ac_status=$?
1280 fi
1281
1282 if test "$ac_init_help" = "recursive"; then
1283   # If there are subdirs, report their specific --help.
1284   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1285     test -d "$ac_dir" ||
1286       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1287       continue
1288     ac_builddir=.
1289
1290 case "$ac_dir" in
1291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1292 *)
1293   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1294   # A ".." for each directory in $ac_dir_suffix.
1295   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1296   case $ac_top_builddir_sub in
1297   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1299   esac ;;
1300 esac
1301 ac_abs_top_builddir=$ac_pwd
1302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1303 # for backward compatibility:
1304 ac_top_builddir=$ac_top_build_prefix
1305
1306 case $srcdir in
1307   .)  # We are building in place.
1308     ac_srcdir=.
1309     ac_top_srcdir=$ac_top_builddir_sub
1310     ac_abs_top_srcdir=$ac_pwd ;;
1311   [\\/]* | ?:[\\/]* )  # Absolute name.
1312     ac_srcdir=$srcdir$ac_dir_suffix;
1313     ac_top_srcdir=$srcdir
1314     ac_abs_top_srcdir=$srcdir ;;
1315   *) # Relative name.
1316     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1317     ac_top_srcdir=$ac_top_build_prefix$srcdir
1318     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1319 esac
1320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1321
1322     cd "$ac_dir" || { ac_status=$?; continue; }
1323     # Check for guested configure.
1324     if test -f "$ac_srcdir/configure.gnu"; then
1325       echo &&
1326       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1327     elif test -f "$ac_srcdir/configure"; then
1328       echo &&
1329       $SHELL "$ac_srcdir/configure" --help=recursive
1330     else
1331       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332     fi || ac_status=$?
1333     cd "$ac_pwd" || { ac_status=$?; break; }
1334   done
1335 fi
1336
1337 test -n "$ac_init_help" && exit $ac_status
1338 if $ac_init_version; then
1339   cat <<\_ACEOF
1340 GNU Automake configure 1.11
1341 generated by GNU Autoconf 2.68
1342
1343 Copyright (C) 2010 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347   exit
1348 fi
1349
1350 ## ------------------------ ##
1351 ## Autoconf initialization. ##
1352 ## ------------------------ ##
1353 cat >config.log <<_ACEOF
1354 This file contains any messages produced by compilers while
1355 running configure, to aid debugging if configure makes a mistake.
1356
1357 It was created by GNU Automake $as_me 1.11, which was
1358 generated by GNU Autoconf 2.68.  Invocation command line was
1359
1360   $ $0 $@
1361
1362 _ACEOF
1363 exec 5>>config.log
1364 {
1365 cat <<_ASUNAME
1366 ## --------- ##
1367 ## Platform. ##
1368 ## --------- ##
1369
1370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1375
1376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1377 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1378
1379 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1380 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1382 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1383 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1384 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1385 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1386
1387 _ASUNAME
1388
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 for as_dir in $PATH
1391 do
1392   IFS=$as_save_IFS
1393   test -z "$as_dir" && as_dir=.
1394     $as_echo "PATH: $as_dir"
1395   done
1396 IFS=$as_save_IFS
1397
1398 } >&5
1399
1400 cat >&5 <<_ACEOF
1401
1402
1403 ## ----------- ##
1404 ## Core tests. ##
1405 ## ----------- ##
1406
1407 _ACEOF
1408
1409
1410 # Keep a trace of the command line.
1411 # Strip out --no-create and --no-recursion so they do not pile up.
1412 # Strip out --silent because we don't want to record it for future runs.
1413 # Also quote any args containing shell meta-characters.
1414 # Make two passes to allow for proper duplicate-argument suppression.
1415 ac_configure_args=
1416 ac_configure_args0=
1417 ac_configure_args1=
1418 ac_must_keep_next=false
1419 for ac_pass in 1 2
1420 do
1421   for ac_arg
1422   do
1423     case $ac_arg in
1424     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426     | -silent | --silent | --silen | --sile | --sil)
1427       continue ;;
1428     *\'*)
1429       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430     esac
1431     case $ac_pass in
1432     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1433     2)
1434       as_fn_append ac_configure_args1 " '$ac_arg'"
1435       if test $ac_must_keep_next = true; then
1436         ac_must_keep_next=false # Got value, back to normal.
1437       else
1438         case $ac_arg in
1439           *=* | --config-cache | -C | -disable-* | --disable-* \
1440           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442           | -with-* | --with-* | -without-* | --without-* | --x)
1443             case "$ac_configure_args0 " in
1444               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445             esac
1446             ;;
1447           -* ) ac_must_keep_next=true ;;
1448         esac
1449       fi
1450       as_fn_append ac_configure_args " '$ac_arg'"
1451       ;;
1452     esac
1453   done
1454 done
1455 { ac_configure_args0=; unset ac_configure_args0;}
1456 { ac_configure_args1=; unset ac_configure_args1;}
1457
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log.  We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Use '\'' to represent an apostrophe within the trap.
1462 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1463 trap 'exit_status=$?
1464   # Save into config.log some information that might help in debugging.
1465   {
1466     echo
1467
1468     $as_echo "## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##"
1471     echo
1472     # The following way of writing the cache mishandles newlines in values,
1473 (
1474   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1475     eval ac_val=\$$ac_var
1476     case $ac_val in #(
1477     *${as_nl}*)
1478       case $ac_var in #(
1479       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1481       esac
1482       case $ac_var in #(
1483       _ | IFS | as_nl) ;; #(
1484       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1485       *) { eval $ac_var=; unset $ac_var;} ;;
1486       esac ;;
1487     esac
1488   done
1489   (set) 2>&1 |
1490     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1491     *${as_nl}ac_space=\ *)
1492       sed -n \
1493         "s/'\''/'\''\\\\'\'''\''/g;
1494           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1495       ;; #(
1496     *)
1497       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1498       ;;
1499     esac |
1500     sort
1501 )
1502     echo
1503
1504     $as_echo "## ----------------- ##
1505 ## Output variables. ##
1506 ## ----------------- ##"
1507     echo
1508     for ac_var in $ac_subst_vars
1509     do
1510       eval ac_val=\$$ac_var
1511       case $ac_val in
1512       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1513       esac
1514       $as_echo "$ac_var='\''$ac_val'\''"
1515     done | sort
1516     echo
1517
1518     if test -n "$ac_subst_files"; then
1519       $as_echo "## ------------------- ##
1520 ## File substitutions. ##
1521 ## ------------------- ##"
1522       echo
1523       for ac_var in $ac_subst_files
1524       do
1525         eval ac_val=\$$ac_var
1526         case $ac_val in
1527         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1528         esac
1529         $as_echo "$ac_var='\''$ac_val'\''"
1530       done | sort
1531       echo
1532     fi
1533
1534     if test -s confdefs.h; then
1535       $as_echo "## ----------- ##
1536 ## confdefs.h. ##
1537 ## ----------- ##"
1538       echo
1539       cat confdefs.h
1540       echo
1541     fi
1542     test "$ac_signal" != 0 &&
1543       $as_echo "$as_me: caught signal $ac_signal"
1544     $as_echo "$as_me: exit $exit_status"
1545   } >&5
1546   rm -f core *.core core.conftest.* &&
1547     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1548     exit $exit_status
1549 ' 0
1550 for ac_signal in 1 2 13 15; do
1551   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1552 done
1553 ac_signal=0
1554
1555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1556 rm -f -r conftest* confdefs.h
1557
1558 $as_echo "/* confdefs.h */" > confdefs.h
1559
1560 # Predefined preprocessor variables.
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_NAME "$PACKAGE_NAME"
1564 _ACEOF
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1568 _ACEOF
1569
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1572 _ACEOF
1573
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_STRING "$PACKAGE_STRING"
1576 _ACEOF
1577
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1580 _ACEOF
1581
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_URL "$PACKAGE_URL"
1584 _ACEOF
1585
1586
1587 # Let the site file select an alternate cache file if it wants to.
1588 # Prefer an explicitly selected file to automatically selected ones.
1589 ac_site_file1=NONE
1590 ac_site_file2=NONE
1591 if test -n "$CONFIG_SITE"; then
1592   # We do not want a PATH search for config.site.
1593   case $CONFIG_SITE in #((
1594     -*)  ac_site_file1=./$CONFIG_SITE;;
1595     */*) ac_site_file1=$CONFIG_SITE;;
1596     *)   ac_site_file1=./$CONFIG_SITE;;
1597   esac
1598 elif test "x$prefix" != xNONE; then
1599   ac_site_file1=$prefix/share/config.site
1600   ac_site_file2=$prefix/etc/config.site
1601 else
1602   ac_site_file1=$ac_default_prefix/share/config.site
1603   ac_site_file2=$ac_default_prefix/etc/config.site
1604 fi
1605 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1606 do
1607   test "x$ac_site_file" = xNONE && continue
1608   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1609     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1611     sed 's/^/| /' "$ac_site_file" >&5
1612     . "$ac_site_file" \
1613       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1615 as_fn_error $? "failed to load site script $ac_site_file
1616 See \`config.log' for more details" "$LINENO" 5; }
1617   fi
1618 done
1619
1620 if test -r "$cache_file"; then
1621   # Some versions of bash will fail to source /dev/null (special files
1622   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1623   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1624     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1625 $as_echo "$as_me: loading cache $cache_file" >&6;}
1626     case $cache_file in
1627       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1628       *)                      . "./$cache_file";;
1629     esac
1630   fi
1631 else
1632   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1633 $as_echo "$as_me: creating cache $cache_file" >&6;}
1634   >$cache_file
1635 fi
1636
1637 # Check that the precious variables saved in the cache have kept the same
1638 # value.
1639 ac_cache_corrupted=false
1640 for ac_var in $ac_precious_vars; do
1641   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1642   eval ac_new_set=\$ac_env_${ac_var}_set
1643   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1644   eval ac_new_val=\$ac_env_${ac_var}_value
1645   case $ac_old_set,$ac_new_set in
1646     set,)
1647       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1648 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1649       ac_cache_corrupted=: ;;
1650     ,set)
1651       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1652 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1653       ac_cache_corrupted=: ;;
1654     ,);;
1655     *)
1656       if test "x$ac_old_val" != "x$ac_new_val"; then
1657         # differences in whitespace do not lead to failure.
1658         ac_old_val_w=`echo x $ac_old_val`
1659         ac_new_val_w=`echo x $ac_new_val`
1660         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1661           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1662 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1663           ac_cache_corrupted=:
1664         else
1665           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1666 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1667           eval $ac_var=\$ac_old_val
1668         fi
1669         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1670 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1671         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1672 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1673       fi;;
1674   esac
1675   # Pass precious variables to config.status.
1676   if test "$ac_new_set" = set; then
1677     case $ac_new_val in
1678     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679     *) ac_arg=$ac_var=$ac_new_val ;;
1680     esac
1681     case " $ac_configure_args " in
1682       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1683       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1684     esac
1685   fi
1686 done
1687 if $ac_cache_corrupted; then
1688   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1690   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1691 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1693 fi
1694 ## -------------------- ##
1695 ## Main body of script. ##
1696 ## -------------------- ##
1697
1698 ac_ext=c
1699 ac_cpp='$CPP $CPPFLAGS'
1700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1703
1704
1705
1706
1707
1708
1709 ac_aux_dir=
1710 for ac_dir in lib "$srcdir"/lib; do
1711   if test -f "$ac_dir/install-sh"; then
1712     ac_aux_dir=$ac_dir
1713     ac_install_sh="$ac_aux_dir/install-sh -c"
1714     break
1715   elif test -f "$ac_dir/install.sh"; then
1716     ac_aux_dir=$ac_dir
1717     ac_install_sh="$ac_aux_dir/install.sh -c"
1718     break
1719   elif test -f "$ac_dir/shtool"; then
1720     ac_aux_dir=$ac_dir
1721     ac_install_sh="$ac_aux_dir/shtool install -c"
1722     break
1723   fi
1724 done
1725 if test -z "$ac_aux_dir"; then
1726   as_fn_error $? "cannot find install-sh, install.sh, or shtool in lib \"$srcdir\"/lib" "$LINENO" 5
1727 fi
1728
1729 # These three variables are undocumented and unsupported,
1730 # and are intended to be withdrawn in a future Autoconf release.
1731 # They can cause serious problems if a builder's source tree is in a directory
1732 # whose full name contains unusual characters.
1733 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1734 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1735 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1736
1737
1738
1739 # Make sure we can run config.sub.
1740 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1741   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1742
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1744 $as_echo_n "checking build system type... " >&6; }
1745 if ${ac_cv_build+:} false; then :
1746   $as_echo_n "(cached) " >&6
1747 else
1748   ac_build_alias=$build_alias
1749 test "x$ac_build_alias" = x &&
1750   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1751 test "x$ac_build_alias" = x &&
1752   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1754   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1755
1756 fi
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1758 $as_echo "$ac_cv_build" >&6; }
1759 case $ac_cv_build in
1760 *-*-*) ;;
1761 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1762 esac
1763 build=$ac_cv_build
1764 ac_save_IFS=$IFS; IFS='-'
1765 set x $ac_cv_build
1766 shift
1767 build_cpu=$1
1768 build_vendor=$2
1769 shift; shift
1770 # Remember, the first character of IFS is used to create $*,
1771 # except with old shells:
1772 build_os=$*
1773 IFS=$ac_save_IFS
1774 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1775
1776
1777
1778 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1779 # way we can run Autoconf tests from configure (or from the test
1780 # suite) without being bothered by `missing'.  Likewise for autom4te,
1781 # autoreconf, autoheader, and autoupdate.
1782 am_AUTOCONF="${AUTOCONF-autoconf}"
1783
1784 am_AUTOM4TE="${AUTOM4TE-autom4te}"
1785
1786 am_AUTORECONF="${AUTORECONF-autoreconf}"
1787
1788 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1789
1790 am_AUTOUPDATE="${AUTOUPDATE-autoupdate}"
1791
1792
1793 am__api_version='1.11'
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    for am_try in 1 2; do
1910      echo timestamp > conftest.file
1911      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1912      if test "$*" = "X"; then
1913         # -L didn't work.
1914         set X `ls -t "$srcdir/configure" conftest.file`
1915      fi
1916      rm -f conftest.file
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    done
1933    test "$2" = conftest.file
1934    )
1935 then
1936    # Ok.
1937    :
1938 else
1939    as_fn_error $? "newly created file is older than distributed files!
1940 Check your system clock" "$LINENO" 5
1941 fi
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1943 $as_echo "yes" >&6; }
1944 test "$program_prefix" != NONE &&
1945   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1946 # Use a double $ so make ignores it.
1947 test "$program_suffix" != NONE &&
1948   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1949 # Double any \ or $.
1950 # By default was `s,x,x', remove it if useless.
1951 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1952 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1953
1954 # expand $ac_aux_dir to an absolute path
1955 am_aux_dir=`cd $ac_aux_dir && pwd`
1956
1957 if test x"${MISSING+set}" != xset; then
1958   case $am_aux_dir in
1959   *\ * | *\     *)
1960     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1961   *)
1962     MISSING="\${SHELL} $am_aux_dir/missing" ;;
1963   esac
1964 fi
1965 # Use eval to expand $SHELL
1966 if eval "$MISSING --run true"; then
1967   am_missing_run="$MISSING --run "
1968 else
1969   am_missing_run=
1970   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1971 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1972 fi
1973
1974 if test x"${install_sh}" != xset; then
1975   case $am_aux_dir in
1976   *\ * | *\     *)
1977     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1978   *)
1979     install_sh="\${SHELL} $am_aux_dir/install-sh"
1980   esac
1981 fi
1982
1983 # Installed binaries are usually stripped using `strip' when the user
1984 # run `make install-strip'.  However `strip' might not be the right
1985 # tool to use in cross-compilation environments, therefore Automake
1986 # will honor the `STRIP' environment variable to overrule this program.
1987 if test "$cross_compiling" != no; then
1988   if test -n "$ac_tool_prefix"; then
1989   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1990 set dummy ${ac_tool_prefix}strip; ac_word=$2
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1992 $as_echo_n "checking for $ac_word... " >&6; }
1993 if ${ac_cv_prog_STRIP+:} false; then :
1994   $as_echo_n "(cached) " >&6
1995 else
1996   if test -n "$STRIP"; then
1997   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1998 else
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 for as_dir in $PATH
2001 do
2002   IFS=$as_save_IFS
2003   test -z "$as_dir" && as_dir=.
2004     for ac_exec_ext in '' $ac_executable_extensions; do
2005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2006     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2008     break 2
2009   fi
2010 done
2011   done
2012 IFS=$as_save_IFS
2013
2014 fi
2015 fi
2016 STRIP=$ac_cv_prog_STRIP
2017 if test -n "$STRIP"; then
2018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2019 $as_echo "$STRIP" >&6; }
2020 else
2021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022 $as_echo "no" >&6; }
2023 fi
2024
2025
2026 fi
2027 if test -z "$ac_cv_prog_STRIP"; then
2028   ac_ct_STRIP=$STRIP
2029   # Extract the first word of "strip", so it can be a program name with args.
2030 set dummy strip; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2034   $as_echo_n "(cached) " >&6
2035 else
2036   if test -n "$ac_ct_STRIP"; then
2037   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2041 do
2042   IFS=$as_save_IFS
2043   test -z "$as_dir" && as_dir=.
2044     for ac_exec_ext in '' $ac_executable_extensions; do
2045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2046     ac_cv_prog_ac_ct_STRIP="strip"
2047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048     break 2
2049   fi
2050 done
2051   done
2052 IFS=$as_save_IFS
2053
2054 fi
2055 fi
2056 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2057 if test -n "$ac_ct_STRIP"; then
2058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2059 $as_echo "$ac_ct_STRIP" >&6; }
2060 else
2061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2063 fi
2064
2065   if test "x$ac_ct_STRIP" = x; then
2066     STRIP=":"
2067   else
2068     case $cross_compiling:$ac_tool_warned in
2069 yes:)
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2072 ac_tool_warned=yes ;;
2073 esac
2074     STRIP=$ac_ct_STRIP
2075   fi
2076 else
2077   STRIP="$ac_cv_prog_STRIP"
2078 fi
2079
2080 fi
2081 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2082
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2084 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2085 if test -z "$MKDIR_P"; then
2086   if ${ac_cv_path_mkdir+:} false; then :
2087   $as_echo_n "(cached) " >&6
2088 else
2089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2091 do
2092   IFS=$as_save_IFS
2093   test -z "$as_dir" && as_dir=.
2094     for ac_prog in mkdir gmkdir; do
2095          for ac_exec_ext in '' $ac_executable_extensions; do
2096            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2097            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2098              'mkdir (GNU coreutils) '* | \
2099              'mkdir (coreutils) '* | \
2100              'mkdir (fileutils) '4.1*)
2101                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2102                break 3;;
2103            esac
2104          done
2105        done
2106   done
2107 IFS=$as_save_IFS
2108
2109 fi
2110
2111   test -d ./--version && rmdir ./--version
2112   if test "${ac_cv_path_mkdir+set}" = set; then
2113     MKDIR_P="$ac_cv_path_mkdir -p"
2114   else
2115     # As a last resort, use the slow shell script.  Don't cache a
2116     # value for MKDIR_P within a source directory, because that will
2117     # break other packages using the cache if that directory is
2118     # removed, or if the value is a relative name.
2119     MKDIR_P="$ac_install_sh -d"
2120   fi
2121 fi
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2123 $as_echo "$MKDIR_P" >&6; }
2124
2125 mkdir_p="$MKDIR_P"
2126 case $mkdir_p in
2127   [\\/$]* | ?:[\\/]*) ;;
2128   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2129 esac
2130
2131 for ac_prog in gawk mawk nawk awk
2132 do
2133   # Extract the first word of "$ac_prog", so it can be a program name with args.
2134 set dummy $ac_prog; ac_word=$2
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2136 $as_echo_n "checking for $ac_word... " >&6; }
2137 if ${ac_cv_prog_AWK+:} false; then :
2138   $as_echo_n "(cached) " >&6
2139 else
2140   if test -n "$AWK"; then
2141   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146   IFS=$as_save_IFS
2147   test -z "$as_dir" && as_dir=.
2148     for ac_exec_ext in '' $ac_executable_extensions; do
2149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150     ac_cv_prog_AWK="$ac_prog"
2151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2152     break 2
2153   fi
2154 done
2155   done
2156 IFS=$as_save_IFS
2157
2158 fi
2159 fi
2160 AWK=$ac_cv_prog_AWK
2161 if test -n "$AWK"; then
2162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2163 $as_echo "$AWK" >&6; }
2164 else
2165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166 $as_echo "no" >&6; }
2167 fi
2168
2169
2170   test -n "$AWK" && break
2171 done
2172
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2174 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2175 set x ${MAKE-make}
2176 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2177 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2178   $as_echo_n "(cached) " >&6
2179 else
2180   cat >conftest.make <<\_ACEOF
2181 SHELL = /bin/sh
2182 all:
2183         @echo '@@@%%%=$(MAKE)=@@@%%%'
2184 _ACEOF
2185 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2186 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2187   *@@@%%%=?*=@@@%%%*)
2188     eval ac_cv_prog_make_${ac_make}_set=yes;;
2189   *)
2190     eval ac_cv_prog_make_${ac_make}_set=no;;
2191 esac
2192 rm -f conftest.make
2193 fi
2194 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2196 $as_echo "yes" >&6; }
2197   SET_MAKE=
2198 else
2199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200 $as_echo "no" >&6; }
2201   SET_MAKE="MAKE=${MAKE-make}"
2202 fi
2203
2204 rm -rf .tst 2>/dev/null
2205 mkdir .tst 2>/dev/null
2206 if test -d .tst; then
2207   am__leading_dot=.
2208 else
2209   am__leading_dot=_
2210 fi
2211 rmdir .tst 2>/dev/null
2212
2213 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2214   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2215   # is not polluted with repeated "-I."
2216   am__isrc=' -I$(srcdir)'
2217   # test to see if srcdir already configured
2218   if test -f $srcdir/config.status; then
2219     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2220   fi
2221 fi
2222
2223 # test whether we have cygpath
2224 if test -z "$CYGPATH_W"; then
2225   if (cygpath --version) >/dev/null 2>/dev/null; then
2226     CYGPATH_W='cygpath -w'
2227   else
2228     CYGPATH_W=echo
2229   fi
2230 fi
2231
2232
2233 # Define the identity of the package.
2234  PACKAGE='automake'
2235  VERSION='1.11'
2236
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE "$PACKAGE"
2240 _ACEOF
2241
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define VERSION "$VERSION"
2245 _ACEOF
2246
2247 # Some tools Automake needs.
2248
2249 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2250
2251
2252 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2253
2254
2255 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2256
2257
2258 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2259
2260
2261 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2262
2263 # We need awk for the "check" target.  The system "awk" is bad on
2264 # some platforms.
2265 # Always define AMTAR for backward compatibility.
2266
2267 AMTAR=${AMTAR-"${am_missing_run}tar"}
2268
2269 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2270
2271
2272
2273
2274
2275
2276 # The API version is the base version.  We must guarantee
2277 # compatibility for all releases with the same API version.
2278 # Our current rule is that:
2279 # * All releases, including the prereleases, in an X.Y series
2280 #   are compatible.  So 1.5.1c is compatible with 1.5.
2281 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2282 #   aren't the same.
2283 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2284
2285
2286 # A versioned directory, defined here for convenience.
2287 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2288
2289
2290 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2291 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2292 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2293 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2294
2295 # Extract the first word of "perl", so it can be a program name with args.
2296 set dummy perl; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if ${ac_cv_path_PERL+:} false; then :
2300   $as_echo_n "(cached) " >&6
2301 else
2302   case $PERL in
2303   [\\/]* | ?:[\\/]*)
2304   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2305   ;;
2306   *)
2307   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310   IFS=$as_save_IFS
2311   test -z "$as_dir" && as_dir=.
2312     for ac_exec_ext in '' $ac_executable_extensions; do
2313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316     break 2
2317   fi
2318 done
2319   done
2320 IFS=$as_save_IFS
2321
2322   ;;
2323 esac
2324 fi
2325 PERL=$ac_cv_path_PERL
2326 if test -n "$PERL"; then
2327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2328 $as_echo "$PERL" >&6; }
2329 else
2330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 $as_echo "no" >&6; }
2332 fi
2333
2334
2335 if test -z "$PERL"; then
2336    as_fn_error $? "perl not found" "$LINENO" 5
2337 fi
2338 $PERL -e 'require 5.006;' || {
2339    as_fn_error $? "perl 5.6 or better is required; perl 5.8.2 or better
2340 is recommended.  If you have several perl versions
2341 installed, select the one Automake should use using
2342   ./configure PERL=/path/to/perl" "$LINENO" 5
2343 }
2344
2345 # We require ithreads support, and version 5.7.2 for CLONE.
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL supports ithreads" >&5
2347 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2348 if ${am_cv_prog_PERL_ithreads+:} false; then :
2349   $as_echo_n "(cached) " >&6
2350 else
2351   if $PERL -e '
2352     require 5.007_002;
2353     use Config;
2354     if ($Config{useithreads})
2355       {
2356         require threads;
2357         import threads;
2358         require Thread::Queue;
2359         import Thread::Queue;
2360         exit 0;
2361       }
2362     exit 1;' >&5 2>&1
2363 then
2364   am_cv_prog_PERL_ithreads=yes
2365 else
2366   am_cv_prog_PERL_ithreads=no
2367 fi
2368 fi
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_PERL_ithreads" >&5
2370 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2371 if test $am_cv_prog_PERL_ithreads = yes; then
2372   PERL_THREADS=1;
2373 else
2374   PERL_THREADS=0;
2375 fi
2376
2377
2378 # The test suite will skip some tests if tex is absent.
2379 # Extract the first word of "tex", so it can be a program name with args.
2380 set dummy tex; ac_word=$2
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2382 $as_echo_n "checking for $ac_word... " >&6; }
2383 if ${ac_cv_prog_TEX+:} false; then :
2384   $as_echo_n "(cached) " >&6
2385 else
2386   if test -n "$TEX"; then
2387   ac_cv_prog_TEX="$TEX" # Let the user override the test.
2388 else
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 for as_dir in $PATH
2391 do
2392   IFS=$as_save_IFS
2393   test -z "$as_dir" && as_dir=.
2394     for ac_exec_ext in '' $ac_executable_extensions; do
2395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396     ac_cv_prog_TEX="tex"
2397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2398     break 2
2399   fi
2400 done
2401   done
2402 IFS=$as_save_IFS
2403
2404 fi
2405 fi
2406 TEX=$ac_cv_prog_TEX
2407 if test -n "$TEX"; then
2408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
2409 $as_echo "$TEX" >&6; }
2410 else
2411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2412 $as_echo "no" >&6; }
2413 fi
2414
2415
2416
2417 # Generate man pages.
2418
2419 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2420
2421
2422 # Test for Autoconf.  We run Autoconf in a subdirectory to ease
2423 # deletion of any files created (such as those added to
2424 # autom4te.cache).  We used to perform only the last of the three
2425 # following tests, but some users were unable to figure out that their
2426 # installation was broken since --version appeared to work.
2427
2428 required_autoconf_version=2.62
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is installed" >&5
2430 $as_echo_n "checking whether autoconf is installed... " >&6; }
2431 if ${am_cv_autoconf_installed+:} false; then :
2432   $as_echo_n "(cached) " >&6
2433 else
2434   if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2435    (eval $am_AUTOCONF --version) >&5 2>&5
2436    ac_status=$?
2437    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438    (exit $ac_status); };
2439 then
2440   am_cv_autoconf_installed=yes
2441 else
2442   am_cv_autoconf_installed=no
2443 fi
2444 fi
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_installed" >&5
2446 $as_echo "$am_cv_autoconf_installed" >&6; }
2447 if test "$am_cv_autoconf_installed" = no; then
2448   as_fn_error $? "Autoconf $required_autoconf_version or better is required.
2449     Please make sure it is installed and in your PATH." "$LINENO" 5
2450 fi
2451
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf works" >&5
2453 $as_echo_n "checking whether autoconf works... " >&6; }
2454 if ${am_cv_autoconf_works+:} false; then :
2455   $as_echo_n "(cached) " >&6
2456 else
2457   mkdir conftest
2458 echo 'AC''_INIT' > conftest/conftest.ac
2459 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2460    (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2461    ac_status=$?
2462    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463    (exit $ac_status); };
2464 then
2465   am_cv_autoconf_works=yes
2466 else
2467   am_cv_autoconf_works=no
2468 fi
2469 rm -rf conftest
2470 fi
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_works" >&5
2472 $as_echo "$am_cv_autoconf_works" >&6; }
2473 if test "$am_cv_autoconf_works" = no; then
2474   as_fn_error $? "The installed version of autoconf does not work.
2475     Please check config.log for error messages before this one." "$LINENO" 5
2476 fi
2477
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is recent enough" >&5
2479 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2480 if ${am_cv_autoconf_version+:} false; then :
2481   $as_echo_n "(cached) " >&6
2482 else
2483   mkdir conftest
2484 echo 'AC'"_PREREQ([$required_autoconf_version])" > conftest/conftest.ac
2485 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2486    (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2487    ac_status=$?
2488    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489    (exit $ac_status); };
2490 then
2491   am_cv_autoconf_version=yes
2492 else
2493   am_cv_autoconf_version=no
2494 fi
2495 rm -rf conftest
2496 fi
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_version" >&5
2498 $as_echo "$am_cv_autoconf_version" >&6; }
2499 if test "$am_cv_autoconf_version" = no; then
2500   as_fn_error $? "Autoconf $required_autoconf_version or better is required." "$LINENO" 5
2501 fi
2502
2503 # Test for ln.  We need use it to install the versioned binaries.
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2505 $as_echo_n "checking whether ln works... " >&6; }
2506 if ${am_cv_prog_ln+:} false; then :
2507   $as_echo_n "(cached) " >&6
2508 else
2509
2510 rm -f conftest conftest.file
2511 : >conftest.file
2512 if ln conftest.file conftest 2>/dev/null; then
2513   am_cv_prog_ln=ln
2514 else
2515   am_cv_prog_ln='cp -p'
2516 fi
2517 rm -f conftest conftest.file
2518 fi
2519
2520 LN=$am_cv_prog_ln
2521
2522 result=no
2523 test "x$am_cv_prog_ln" = xln && result=yes
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2525 $as_echo "$result" >&6; }
2526
2527 # The amount we should wait after modifying files depends on the platform.
2528 # On Windows '95, '98 and ME, files modifications have 2-seconds
2529 # granularity and can be up to 3 seconds in the future w.r.t. the
2530 # system clock.  When it is important to ensure one file is older
2531 # than another we wait at least 5 seconds between creations.
2532 case $build in
2533   *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2534   *)               MODIFICATION_DELAY=2;;
2535 esac
2536
2537
2538 # Test for things needed by the test suite.
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2541 if ${ac_cv_path_GREP+:} false; then :
2542   $as_echo_n "(cached) " >&6
2543 else
2544   if test -z "$GREP"; then
2545   ac_path_GREP_found=false
2546   # Loop through the user's path and test for each of PROGNAME-LIST
2547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2549 do
2550   IFS=$as_save_IFS
2551   test -z "$as_dir" && as_dir=.
2552     for ac_prog in grep ggrep; do
2553     for ac_exec_ext in '' $ac_executable_extensions; do
2554       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2555       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2556 # Check for GNU ac_path_GREP and select it if it is found.
2557   # Check for GNU $ac_path_GREP
2558 case `"$ac_path_GREP" --version 2>&1` in
2559 *GNU*)
2560   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2561 *)
2562   ac_count=0
2563   $as_echo_n 0123456789 >"conftest.in"
2564   while :
2565   do
2566     cat "conftest.in" "conftest.in" >"conftest.tmp"
2567     mv "conftest.tmp" "conftest.in"
2568     cp "conftest.in" "conftest.nl"
2569     $as_echo 'GREP' >> "conftest.nl"
2570     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2571     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2572     as_fn_arith $ac_count + 1 && ac_count=$as_val
2573     if test $ac_count -gt ${ac_path_GREP_max-0}; then
2574       # Best one so far, save it but keep looking for a better one
2575       ac_cv_path_GREP="$ac_path_GREP"
2576       ac_path_GREP_max=$ac_count
2577     fi
2578     # 10*(2^10) chars as input seems more than enough
2579     test $ac_count -gt 10 && break
2580   done
2581   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2582 esac
2583
2584       $ac_path_GREP_found && break 3
2585     done
2586   done
2587   done
2588 IFS=$as_save_IFS
2589   if test -z "$ac_cv_path_GREP"; then
2590     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2591   fi
2592 else
2593   ac_cv_path_GREP=$GREP
2594 fi
2595
2596 fi
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2598 $as_echo "$ac_cv_path_GREP" >&6; }
2599  GREP="$ac_cv_path_GREP"
2600
2601
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2603 $as_echo_n "checking for egrep... " >&6; }
2604 if ${ac_cv_path_EGREP+:} false; then :
2605   $as_echo_n "(cached) " >&6
2606 else
2607   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2608    then ac_cv_path_EGREP="$GREP -E"
2609    else
2610      if test -z "$EGREP"; then
2611   ac_path_EGREP_found=false
2612   # Loop through the user's path and test for each of PROGNAME-LIST
2613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2615 do
2616   IFS=$as_save_IFS
2617   test -z "$as_dir" && as_dir=.
2618     for ac_prog in egrep; do
2619     for ac_exec_ext in '' $ac_executable_extensions; do
2620       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2621       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2622 # Check for GNU ac_path_EGREP and select it if it is found.
2623   # Check for GNU $ac_path_EGREP
2624 case `"$ac_path_EGREP" --version 2>&1` in
2625 *GNU*)
2626   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2627 *)
2628   ac_count=0
2629   $as_echo_n 0123456789 >"conftest.in"
2630   while :
2631   do
2632     cat "conftest.in" "conftest.in" >"conftest.tmp"
2633     mv "conftest.tmp" "conftest.in"
2634     cp "conftest.in" "conftest.nl"
2635     $as_echo 'EGREP' >> "conftest.nl"
2636     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2637     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2638     as_fn_arith $ac_count + 1 && ac_count=$as_val
2639     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2640       # Best one so far, save it but keep looking for a better one
2641       ac_cv_path_EGREP="$ac_path_EGREP"
2642       ac_path_EGREP_max=$ac_count
2643     fi
2644     # 10*(2^10) chars as input seems more than enough
2645     test $ac_count -gt 10 && break
2646   done
2647   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2648 esac
2649
2650       $ac_path_EGREP_found && break 3
2651     done
2652   done
2653   done
2654 IFS=$as_save_IFS
2655   if test -z "$ac_cv_path_EGREP"; then
2656     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2657   fi
2658 else
2659   ac_cv_path_EGREP=$EGREP
2660 fi
2661
2662    fi
2663 fi
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2665 $as_echo "$ac_cv_path_EGREP" >&6; }
2666  EGREP="$ac_cv_path_EGREP"
2667
2668
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
2670 $as_echo_n "checking for fgrep... " >&6; }
2671 if ${ac_cv_path_FGREP+:} false; then :
2672   $as_echo_n "(cached) " >&6
2673 else
2674   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2675    then ac_cv_path_FGREP="$GREP -F"
2676    else
2677      if test -z "$FGREP"; then
2678   ac_path_FGREP_found=false
2679   # Loop through the user's path and test for each of PROGNAME-LIST
2680   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2682 do
2683   IFS=$as_save_IFS
2684   test -z "$as_dir" && as_dir=.
2685     for ac_prog in fgrep; do
2686     for ac_exec_ext in '' $ac_executable_extensions; do
2687       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2688       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2689 # Check for GNU ac_path_FGREP and select it if it is found.
2690   # Check for GNU $ac_path_FGREP
2691 case `"$ac_path_FGREP" --version 2>&1` in
2692 *GNU*)
2693   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2694 *)
2695   ac_count=0
2696   $as_echo_n 0123456789 >"conftest.in"
2697   while :
2698   do
2699     cat "conftest.in" "conftest.in" >"conftest.tmp"
2700     mv "conftest.tmp" "conftest.in"
2701     cp "conftest.in" "conftest.nl"
2702     $as_echo 'FGREP' >> "conftest.nl"
2703     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2704     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2705     as_fn_arith $ac_count + 1 && ac_count=$as_val
2706     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2707       # Best one so far, save it but keep looking for a better one
2708       ac_cv_path_FGREP="$ac_path_FGREP"
2709       ac_path_FGREP_max=$ac_count
2710     fi
2711     # 10*(2^10) chars as input seems more than enough
2712     test $ac_count -gt 10 && break
2713   done
2714   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2715 esac
2716
2717       $ac_path_FGREP_found && break 3
2718     done
2719   done
2720   done
2721 IFS=$as_save_IFS
2722   if test -z "$ac_cv_path_FGREP"; then
2723     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2724   fi
2725 else
2726   ac_cv_path_FGREP=$FGREP
2727 fi
2728
2729    fi
2730 fi
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
2732 $as_echo "$ac_cv_path_FGREP" >&6; }
2733  FGREP="$ac_cv_path_FGREP"
2734
2735
2736
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /bin/sh has working 'set -e' with exit trap" >&5
2738 $as_echo_n "checking whether /bin/sh has working 'set -e' with exit trap... " >&6; }
2739 if ${am_cv_sh_errexit_works+:} false; then :
2740   $as_echo_n "(cached) " >&6
2741 else
2742   if /bin/sh -ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $? = 77
2743 then
2744   am_cv_sh_errexit_works=yes
2745 else
2746   am_cv_sh_errexit_works=no
2747 fi
2748
2749 fi
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_sh_errexit_works" >&5
2751 $as_echo "$am_cv_sh_errexit_works" >&6; }
2752 if test $am_cv_sh_errexit_works = no; then
2753   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2754 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2755   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2756 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2757   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2758 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2759   fi
2760 sh_errexit_works=$am_cv_sh_errexit_works
2761
2762
2763 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"
2764
2765 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2766
2767 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2768
2769
2770 cat >confcache <<\_ACEOF
2771 # This file is a shell script that caches the results of configure
2772 # tests run on this system so they can be shared between configure
2773 # scripts and configure runs, see configure's option --config-cache.
2774 # It is not useful on other systems.  If it contains results you don't
2775 # want to keep, you may remove or edit it.
2776 #
2777 # config.status only pays attention to the cache file if you give it
2778 # the --recheck option to rerun configure.
2779 #
2780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2782 # following values.
2783
2784 _ACEOF
2785
2786 # The following way of writing the cache mishandles newlines in values,
2787 # but we know of no workaround that is simple, portable, and efficient.
2788 # So, we kill variables containing newlines.
2789 # Ultrix sh set writes to stderr and can't be redirected directly,
2790 # and sets the high bit in the cache file unless we assign to the vars.
2791 (
2792   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2793     eval ac_val=\$$ac_var
2794     case $ac_val in #(
2795     *${as_nl}*)
2796       case $ac_var in #(
2797       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2798 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2799       esac
2800       case $ac_var in #(
2801       _ | IFS | as_nl) ;; #(
2802       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2803       *) { eval $ac_var=; unset $ac_var;} ;;
2804       esac ;;
2805     esac
2806   done
2807
2808   (set) 2>&1 |
2809     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2810     *${as_nl}ac_space=\ *)
2811       # `set' does not quote correctly, so add quotes: double-quote
2812       # substitution turns \\\\ into \\, and sed turns \\ into \.
2813       sed -n \
2814         "s/'/'\\\\''/g;
2815           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2816       ;; #(
2817     *)
2818       # `set' quotes correctly as required by POSIX, so do not add quotes.
2819       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2820       ;;
2821     esac |
2822     sort
2823 ) |
2824   sed '
2825      /^ac_cv_env_/b end
2826      t clear
2827      :clear
2828      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2829      t end
2830      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2831      :end' >>confcache
2832 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2833   if test -w "$cache_file"; then
2834     if test "x$cache_file" != "x/dev/null"; then
2835       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2836 $as_echo "$as_me: updating cache $cache_file" >&6;}
2837       if test ! -f "$cache_file" || test -h "$cache_file"; then
2838         cat confcache >"$cache_file"
2839       else
2840         case $cache_file in #(
2841         */* | ?:*)
2842           mv -f confcache "$cache_file"$$ &&
2843           mv -f "$cache_file"$$ "$cache_file" ;; #(
2844         *)
2845           mv -f confcache "$cache_file" ;;
2846         esac
2847       fi
2848     fi
2849   else
2850     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2851 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2852   fi
2853 fi
2854 rm -f confcache
2855
2856 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2857 # Let make expand exec_prefix.
2858 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2859
2860 # Transform confdefs.h into DEFS.
2861 # Protect against shell expansion while executing Makefile rules.
2862 # Protect against Makefile macro expansion.
2863 #
2864 # If the first sed substitution is executed (which looks for macros that
2865 # take arguments), then branch to the quote section.  Otherwise,
2866 # look for a macro that doesn't take arguments.
2867 ac_script='
2868 :mline
2869 /\\$/{
2870  N
2871  s,\\\n,,
2872  b mline
2873 }
2874 t clear
2875 :clear
2876 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2877 t quote
2878 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2879 t quote
2880 b any
2881 :quote
2882 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2883 s/\[/\\&/g
2884 s/\]/\\&/g
2885 s/\$/$$/g
2886 H
2887 :any
2888 ${
2889         g
2890         s/^\n//
2891         s/\n/ /g
2892         p
2893 }
2894 '
2895 DEFS=`sed -n "$ac_script" confdefs.h`
2896
2897
2898 ac_libobjs=
2899 ac_ltlibobjs=
2900 U=
2901 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2902   # 1. Remove the extension, and $U if already installed.
2903   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2904   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2905   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2906   #    will be set to the directory where LIBOBJS objects are built.
2907   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2908   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2909 done
2910 LIBOBJS=$ac_libobjs
2911
2912 LTLIBOBJS=$ac_ltlibobjs
2913
2914
2915
2916
2917 : "${CONFIG_STATUS=./config.status}"
2918 ac_write_fail=0
2919 ac_clean_files_save=$ac_clean_files
2920 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2922 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2923 as_write_fail=0
2924 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2925 #! $SHELL
2926 # Generated by $as_me.
2927 # Run this file to recreate the current configuration.
2928 # Compiler output produced by configure, useful for debugging
2929 # configure, is in config.log if it exists.
2930
2931 debug=false
2932 ac_cs_recheck=false
2933 ac_cs_silent=false
2934
2935 SHELL=\${CONFIG_SHELL-$SHELL}
2936 export SHELL
2937 _ASEOF
2938 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2939 ## -------------------- ##
2940 ## M4sh Initialization. ##
2941 ## -------------------- ##
2942
2943 # Be more Bourne compatible
2944 DUALCASE=1; export DUALCASE # for MKS sh
2945 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2946   emulate sh
2947   NULLCMD=:
2948   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2949   # is contrary to our usage.  Disable this feature.
2950   alias -g '${1+"$@"}'='"$@"'
2951   setopt NO_GLOB_SUBST
2952 else
2953   case `(set -o) 2>/dev/null` in #(
2954   *posix*) :
2955     set -o posix ;; #(
2956   *) :
2957      ;;
2958 esac
2959 fi
2960
2961
2962 as_nl='
2963 '
2964 export as_nl
2965 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2966 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2967 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2969 # Prefer a ksh shell builtin over an external printf program on Solaris,
2970 # but without wasting forks for bash or zsh.
2971 if test -z "$BASH_VERSION$ZSH_VERSION" \
2972     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2973   as_echo='print -r --'
2974   as_echo_n='print -rn --'
2975 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2976   as_echo='printf %s\n'
2977   as_echo_n='printf %s'
2978 else
2979   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2980     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2981     as_echo_n='/usr/ucb/echo -n'
2982   else
2983     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2984     as_echo_n_body='eval
2985       arg=$1;
2986       case $arg in #(
2987       *"$as_nl"*)
2988         expr "X$arg" : "X\\(.*\\)$as_nl";
2989         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2990       esac;
2991       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2992     '
2993     export as_echo_n_body
2994     as_echo_n='sh -c $as_echo_n_body as_echo'
2995   fi
2996   export as_echo_body
2997   as_echo='sh -c $as_echo_body as_echo'
2998 fi
2999
3000 # The user is always right.
3001 if test "${PATH_SEPARATOR+set}" != set; then
3002   PATH_SEPARATOR=:
3003   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3004     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3005       PATH_SEPARATOR=';'
3006   }
3007 fi
3008
3009
3010 # IFS
3011 # We need space, tab and new line, in precisely that order.  Quoting is
3012 # there to prevent editors from complaining about space-tab.
3013 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3014 # splitting by setting IFS to empty value.)
3015 IFS=" ""        $as_nl"
3016
3017 # Find who we are.  Look in the path if we contain no directory separator.
3018 as_myself=
3019 case $0 in #((
3020   *[\\/]* ) as_myself=$0 ;;
3021   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3023 do
3024   IFS=$as_save_IFS
3025   test -z "$as_dir" && as_dir=.
3026     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3027   done
3028 IFS=$as_save_IFS
3029
3030      ;;
3031 esac
3032 # We did not find ourselves, most probably we were run as `sh COMMAND'
3033 # in which case we are not to be found in the path.
3034 if test "x$as_myself" = x; then
3035   as_myself=$0
3036 fi
3037 if test ! -f "$as_myself"; then
3038   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3039   exit 1
3040 fi
3041
3042 # Unset variables that we do not need and which cause bugs (e.g. in
3043 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3044 # suppresses any "Segmentation fault" message there.  '((' could
3045 # trigger a bug in pdksh 5.2.14.
3046 for as_var in BASH_ENV ENV MAIL MAILPATH
3047 do eval test x\${$as_var+set} = xset \
3048   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3049 done
3050 PS1='$ '
3051 PS2='> '
3052 PS4='+ '
3053
3054 # NLS nuisances.
3055 LC_ALL=C
3056 export LC_ALL
3057 LANGUAGE=C
3058 export LANGUAGE
3059
3060 # CDPATH.
3061 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3062
3063
3064 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3065 # ----------------------------------------
3066 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3067 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3068 # script with STATUS, using 1 if that was 0.
3069 as_fn_error ()
3070 {
3071   as_status=$1; test $as_status -eq 0 && as_status=1
3072   if test "$4"; then
3073     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3075   fi
3076   $as_echo "$as_me: error: $2" >&2
3077   as_fn_exit $as_status
3078 } # as_fn_error
3079
3080
3081 # as_fn_set_status STATUS
3082 # -----------------------
3083 # Set $? to STATUS, without forking.
3084 as_fn_set_status ()
3085 {
3086   return $1
3087 } # as_fn_set_status
3088
3089 # as_fn_exit STATUS
3090 # -----------------
3091 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3092 as_fn_exit ()
3093 {
3094   set +e
3095   as_fn_set_status $1
3096   exit $1
3097 } # as_fn_exit
3098
3099 # as_fn_unset VAR
3100 # ---------------
3101 # Portably unset VAR.
3102 as_fn_unset ()
3103 {
3104   { eval $1=; unset $1;}
3105 }
3106 as_unset=as_fn_unset
3107 # as_fn_append VAR VALUE
3108 # ----------------------
3109 # Append the text in VALUE to the end of the definition contained in VAR. Take
3110 # advantage of any shell optimizations that allow amortized linear growth over
3111 # repeated appends, instead of the typical quadratic growth present in naive
3112 # implementations.
3113 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3114   eval 'as_fn_append ()
3115   {
3116     eval $1+=\$2
3117   }'
3118 else
3119   as_fn_append ()
3120   {
3121     eval $1=\$$1\$2
3122   }
3123 fi # as_fn_append
3124
3125 # as_fn_arith ARG...
3126 # ------------------
3127 # Perform arithmetic evaluation on the ARGs, and store the result in the
3128 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3129 # must be portable across $(()) and expr.
3130 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3131   eval 'as_fn_arith ()
3132   {
3133     as_val=$(( $* ))
3134   }'
3135 else
3136   as_fn_arith ()
3137   {
3138     as_val=`expr "$@" || test $? -eq 1`
3139   }
3140 fi # as_fn_arith
3141
3142
3143 if expr a : '\(a\)' >/dev/null 2>&1 &&
3144    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3145   as_expr=expr
3146 else
3147   as_expr=false
3148 fi
3149
3150 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3151   as_basename=basename
3152 else
3153   as_basename=false
3154 fi
3155
3156 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3157   as_dirname=dirname
3158 else
3159   as_dirname=false
3160 fi
3161
3162 as_me=`$as_basename -- "$0" ||
3163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3164          X"$0" : 'X\(//\)$' \| \
3165          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3166 $as_echo X/"$0" |
3167     sed '/^.*\/\([^/][^/]*\)\/*$/{
3168             s//\1/
3169             q
3170           }
3171           /^X\/\(\/\/\)$/{
3172             s//\1/
3173             q
3174           }
3175           /^X\/\(\/\).*/{
3176             s//\1/
3177             q
3178           }
3179           s/.*/./; q'`
3180
3181 # Avoid depending upon Character Ranges.
3182 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3183 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3184 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3185 as_cr_digits='0123456789'
3186 as_cr_alnum=$as_cr_Letters$as_cr_digits
3187
3188 ECHO_C= ECHO_N= ECHO_T=
3189 case `echo -n x` in #(((((
3190 -n*)
3191   case `echo 'xy\c'` in
3192   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3193   xy)  ECHO_C='\c';;
3194   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3195        ECHO_T=' ';;
3196   esac;;
3197 *)
3198   ECHO_N='-n';;
3199 esac
3200
3201 rm -f conf$$ conf$$.exe conf$$.file
3202 if test -d conf$$.dir; then
3203   rm -f conf$$.dir/conf$$.file
3204 else
3205   rm -f conf$$.dir
3206   mkdir conf$$.dir 2>/dev/null
3207 fi
3208 if (echo >conf$$.file) 2>/dev/null; then
3209   if ln -s conf$$.file conf$$ 2>/dev/null; then
3210     as_ln_s='ln -s'
3211     # ... but there are two gotchas:
3212     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3213     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3214     # In both cases, we have to default to `cp -p'.
3215     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3216       as_ln_s='cp -p'
3217   elif ln conf$$.file conf$$ 2>/dev/null; then
3218     as_ln_s=ln
3219   else
3220     as_ln_s='cp -p'
3221   fi
3222 else
3223   as_ln_s='cp -p'
3224 fi
3225 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3226 rmdir conf$$.dir 2>/dev/null
3227
3228
3229 # as_fn_mkdir_p
3230 # -------------
3231 # Create "$as_dir" as a directory, including parents if necessary.
3232 as_fn_mkdir_p ()
3233 {
3234
3235   case $as_dir in #(
3236   -*) as_dir=./$as_dir;;
3237   esac
3238   test -d "$as_dir" || eval $as_mkdir_p || {
3239     as_dirs=
3240     while :; do
3241       case $as_dir in #(
3242       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3243       *) as_qdir=$as_dir;;
3244       esac
3245       as_dirs="'$as_qdir' $as_dirs"
3246       as_dir=`$as_dirname -- "$as_dir" ||
3247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3248          X"$as_dir" : 'X\(//\)[^/]' \| \
3249          X"$as_dir" : 'X\(//\)$' \| \
3250          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3251 $as_echo X"$as_dir" |
3252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3253             s//\1/
3254             q
3255           }
3256           /^X\(\/\/\)[^/].*/{
3257             s//\1/
3258             q
3259           }
3260           /^X\(\/\/\)$/{
3261             s//\1/
3262             q
3263           }
3264           /^X\(\/\).*/{
3265             s//\1/
3266             q
3267           }
3268           s/.*/./; q'`
3269       test -d "$as_dir" && break
3270     done
3271     test -z "$as_dirs" || eval "mkdir $as_dirs"
3272   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3273
3274
3275 } # as_fn_mkdir_p
3276 if mkdir -p . 2>/dev/null; then
3277   as_mkdir_p='mkdir -p "$as_dir"'
3278 else
3279   test -d ./-p && rmdir ./-p
3280   as_mkdir_p=false
3281 fi
3282
3283 if test -x / >/dev/null 2>&1; then
3284   as_test_x='test -x'
3285 else
3286   if ls -dL / >/dev/null 2>&1; then
3287     as_ls_L_option=L
3288   else
3289     as_ls_L_option=
3290   fi
3291   as_test_x='
3292     eval sh -c '\''
3293       if test -d "$1"; then
3294         test -d "$1/.";
3295       else
3296         case $1 in #(
3297         -*)set "./$1";;
3298         esac;
3299         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3300         ???[sx]*):;;*)false;;esac;fi
3301     '\'' sh
3302   '
3303 fi
3304 as_executable_p=$as_test_x
3305
3306 # Sed expression to map a string onto a valid CPP name.
3307 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3308
3309 # Sed expression to map a string onto a valid variable name.
3310 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3311
3312
3313 exec 6>&1
3314 ## ----------------------------------- ##
3315 ## Main body of $CONFIG_STATUS script. ##
3316 ## ----------------------------------- ##
3317 _ASEOF
3318 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3319
3320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3321 # Save the log message, to keep $0 and so on meaningful, and to
3322 # report actual input values of CONFIG_FILES etc. instead of their
3323 # values after options handling.
3324 ac_log="
3325 This file was extended by GNU Automake $as_me 1.11, which was
3326 generated by GNU Autoconf 2.68.  Invocation command line was
3327
3328   CONFIG_FILES    = $CONFIG_FILES
3329   CONFIG_HEADERS  = $CONFIG_HEADERS
3330   CONFIG_LINKS    = $CONFIG_LINKS
3331   CONFIG_COMMANDS = $CONFIG_COMMANDS
3332   $ $0 $@
3333
3334 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3335 "
3336
3337 _ACEOF
3338
3339 case $ac_config_files in *"
3340 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3341 esac
3342
3343
3344
3345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3346 # Files that config.status was made for.
3347 config_files="$ac_config_files"
3348
3349 _ACEOF
3350
3351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3352 ac_cs_usage="\
3353 \`$as_me' instantiates files and other configuration actions
3354 from templates according to the current configuration.  Unless the files
3355 and actions are specified as TAGs, all are instantiated by default.
3356
3357 Usage: $0 [OPTION]... [TAG]...
3358
3359   -h, --help       print this help, then exit
3360   -V, --version    print version number and configuration settings, then exit
3361       --config     print configuration, then exit
3362   -q, --quiet, --silent
3363                    do not print progress messages
3364   -d, --debug      don't remove temporary files
3365       --recheck    update $as_me by reconfiguring in the same conditions
3366       --file=FILE[:TEMPLATE]
3367                    instantiate the configuration file FILE
3368
3369 Configuration files:
3370 $config_files
3371
3372 Report bugs to <bug-automake@gnu.org>.
3373 GNU Automake home page: <http://www.gnu.org/software/automake/>.
3374 General help using GNU software: <http://www.gnu.org/gethelp/>."
3375
3376 _ACEOF
3377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3379 ac_cs_version="\\
3380 GNU Automake config.status 1.11
3381 configured by $0, generated by GNU Autoconf 2.68,
3382   with options \\"\$ac_cs_config\\"
3383
3384 Copyright (C) 2010 Free Software Foundation, Inc.
3385 This config.status script is free software; the Free Software Foundation
3386 gives unlimited permission to copy, distribute and modify it."
3387
3388 ac_pwd='$ac_pwd'
3389 srcdir='$srcdir'
3390 INSTALL='$INSTALL'
3391 MKDIR_P='$MKDIR_P'
3392 AWK='$AWK'
3393 test -n "\$AWK" || AWK=awk
3394 _ACEOF
3395
3396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3397 # The default lists apply if the user does not specify any file.
3398 ac_need_defaults=:
3399 while test $# != 0
3400 do
3401   case $1 in
3402   --*=?*)
3403     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3404     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3405     ac_shift=:
3406     ;;
3407   --*=)
3408     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3409     ac_optarg=
3410     ac_shift=:
3411     ;;
3412   *)
3413     ac_option=$1
3414     ac_optarg=$2
3415     ac_shift=shift
3416     ;;
3417   esac
3418
3419   case $ac_option in
3420   # Handling of the options.
3421   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3422     ac_cs_recheck=: ;;
3423   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3424     $as_echo "$ac_cs_version"; exit ;;
3425   --config | --confi | --conf | --con | --co | --c )
3426     $as_echo "$ac_cs_config"; exit ;;
3427   --debug | --debu | --deb | --de | --d | -d )
3428     debug=: ;;
3429   --file | --fil | --fi | --f )
3430     $ac_shift
3431     case $ac_optarg in
3432     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3433     '') as_fn_error $? "missing file argument" ;;
3434     esac
3435     as_fn_append CONFIG_FILES " '$ac_optarg'"
3436     ac_need_defaults=false;;
3437   --he | --h |  --help | --hel | -h )
3438     $as_echo "$ac_cs_usage"; exit ;;
3439   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3440   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3441     ac_cs_silent=: ;;
3442
3443   # This is an error.
3444   -*) as_fn_error $? "unrecognized option: \`$1'
3445 Try \`$0 --help' for more information." ;;
3446
3447   *) as_fn_append ac_config_targets " $1"
3448      ac_need_defaults=false ;;
3449
3450   esac
3451   shift
3452 done
3453
3454 ac_configure_extra_args=
3455
3456 if $ac_cs_silent; then
3457   exec 6>/dev/null
3458   ac_configure_extra_args="$ac_configure_extra_args --silent"
3459 fi
3460
3461 _ACEOF
3462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3463 if \$ac_cs_recheck; then
3464   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3465   shift
3466   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3467   CONFIG_SHELL='$SHELL'
3468   export CONFIG_SHELL
3469   exec "\$@"
3470 fi
3471
3472 _ACEOF
3473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3474 exec 5>>config.log
3475 {
3476   echo
3477   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3478 ## Running $as_me. ##
3479 _ASBOX
3480   $as_echo "$ac_log"
3481 } >&5
3482
3483 _ACEOF
3484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3485 #
3486 # INIT-COMMANDS
3487 #
3488 APIVERSION=$APIVERSION
3489
3490 _ACEOF
3491
3492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3493
3494 # Handling of arguments.
3495 for ac_config_target in $ac_config_targets
3496 do
3497   case $ac_config_target in
3498     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3499     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3500     "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3501     "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3502     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3503     "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3504     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3505     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3506     "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3507     "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3508     "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3509
3510   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3511   esac
3512 done
3513
3514
3515 # If the user did not use the arguments to specify the items to instantiate,
3516 # then the envvar interface is used.  Set only those that are not.
3517 # We use the long form for the default assignment because of an extremely
3518 # bizarre bug on SunOS 4.1.3.
3519 if $ac_need_defaults; then
3520   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3521 fi
3522
3523 # Have a temporary directory for convenience.  Make it in the build tree
3524 # simply because there is no reason against having it here, and in addition,
3525 # creating and moving files from /tmp can sometimes cause problems.
3526 # Hook for its removal unless debugging.
3527 # Note that there is a small window in which the directory will not be cleaned:
3528 # after its creation but before its name has been assigned to `$tmp'.
3529 $debug ||
3530 {
3531   tmp= ac_tmp=
3532   trap 'exit_status=$?
3533   : "${ac_tmp:=$tmp}"
3534   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3535 ' 0
3536   trap 'as_fn_exit 1' 1 2 13 15
3537 }
3538 # Create a (secure) tmp directory for tmp files.
3539
3540 {
3541   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3542   test -d "$tmp"
3543 }  ||
3544 {
3545   tmp=./conf$$-$RANDOM
3546   (umask 077 && mkdir "$tmp")
3547 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3548 ac_tmp=$tmp
3549
3550 # Set up the scripts for CONFIG_FILES section.
3551 # No need to generate them if there are no CONFIG_FILES.
3552 # This happens for instance with `./config.status config.h'.
3553 if test -n "$CONFIG_FILES"; then
3554
3555
3556 ac_cr=`echo X | tr X '\015'`
3557 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3558 # But we know of no other shell where ac_cr would be empty at this
3559 # point, so we can use a bashism as a fallback.
3560 if test "x$ac_cr" = x; then
3561   eval ac_cr=\$\'\\r\'
3562 fi
3563 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3564 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3565   ac_cs_awk_cr='\\r'
3566 else
3567   ac_cs_awk_cr=$ac_cr
3568 fi
3569
3570 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3571 _ACEOF
3572
3573
3574 {
3575   echo "cat >conf$$subs.awk <<_ACEOF" &&
3576   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3577   echo "_ACEOF"
3578 } >conf$$subs.sh ||
3579   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3581 ac_delim='%!_!# '
3582 for ac_last_try in false false false false false :; do
3583   . ./conf$$subs.sh ||
3584     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3585
3586   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3587   if test $ac_delim_n = $ac_delim_num; then
3588     break
3589   elif $ac_last_try; then
3590     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3591   else
3592     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3593   fi
3594 done
3595 rm -f conf$$subs.sh
3596
3597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3598 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3599 _ACEOF
3600 sed -n '
3601 h
3602 s/^/S["/; s/!.*/"]=/
3603 p
3604 g
3605 s/^[^!]*!//
3606 :repl
3607 t repl
3608 s/'"$ac_delim"'$//
3609 t delim
3610 :nl
3611 h
3612 s/\(.\{148\}\)..*/\1/
3613 t more1
3614 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3615 p
3616 n
3617 b repl
3618 :more1
3619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3620 p
3621 g
3622 s/.\{148\}//
3623 t nl
3624 :delim
3625 h
3626 s/\(.\{148\}\)..*/\1/
3627 t more2
3628 s/["\\]/\\&/g; s/^/"/; s/$/"/
3629 p
3630 b
3631 :more2
3632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3633 p
3634 g
3635 s/.\{148\}//
3636 t delim
3637 ' <conf$$subs.awk | sed '
3638 /^[^""]/{
3639   N
3640   s/\n//
3641 }
3642 ' >>$CONFIG_STATUS || ac_write_fail=1
3643 rm -f conf$$subs.awk
3644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3645 _ACAWK
3646 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3647   for (key in S) S_is_set[key] = 1
3648   FS = "\a"
3649
3650 }
3651 {
3652   line = $ 0
3653   nfields = split(line, field, "@")
3654   substed = 0
3655   len = length(field[1])
3656   for (i = 2; i < nfields; i++) {
3657     key = field[i]
3658     keylen = length(key)
3659     if (S_is_set[key]) {
3660       value = S[key]
3661       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3662       len += length(value) + length(field[++i])
3663       substed = 1
3664     } else
3665       len += 1 + keylen
3666   }
3667
3668   print line
3669 }
3670
3671 _ACAWK
3672 _ACEOF
3673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3674 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3675   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3676 else
3677   cat
3678 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3679   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3680 _ACEOF
3681
3682 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3683 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3684 # trailing colons and then remove the whole line if VPATH becomes empty
3685 # (actually we leave an empty line to preserve line numbers).
3686 if test "x$srcdir" = x.; then
3687   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3688 h
3689 s///
3690 s/^/:/
3691 s/[      ]*$/:/
3692 s/:\$(srcdir):/:/g
3693 s/:\${srcdir}:/:/g
3694 s/:@srcdir@:/:/g
3695 s/^:*//
3696 s/:*$//
3697 x
3698 s/\(=[   ]*\).*/\1/
3699 G
3700 s/\n//
3701 s/^[^=]*=[       ]*$//
3702 }'
3703 fi
3704
3705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3706 fi # test -n "$CONFIG_FILES"
3707
3708
3709 eval set X "  :F $CONFIG_FILES      "
3710 shift
3711 for ac_tag
3712 do
3713   case $ac_tag in
3714   :[FHLC]) ac_mode=$ac_tag; continue;;
3715   esac
3716   case $ac_mode$ac_tag in
3717   :[FHL]*:*);;
3718   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3719   :[FH]-) ac_tag=-:-;;
3720   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3721   esac
3722   ac_save_IFS=$IFS
3723   IFS=:
3724   set x $ac_tag
3725   IFS=$ac_save_IFS
3726   shift
3727   ac_file=$1
3728   shift
3729
3730   case $ac_mode in
3731   :L) ac_source=$1;;
3732   :[FH])
3733     ac_file_inputs=
3734     for ac_f
3735     do
3736       case $ac_f in
3737       -) ac_f="$ac_tmp/stdin";;
3738       *) # Look for the file first in the build tree, then in the source tree
3739          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3740          # because $ac_f cannot contain `:'.
3741          test -f "$ac_f" ||
3742            case $ac_f in
3743            [\\/$]*) false;;
3744            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3745            esac ||
3746            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3747       esac
3748       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3749       as_fn_append ac_file_inputs " '$ac_f'"
3750     done
3751
3752     # Let's still pretend it is `configure' which instantiates (i.e., don't
3753     # use $as_me), people would be surprised to read:
3754     #    /* config.h.  Generated by config.status.  */
3755     configure_input='Generated from '`
3756           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3757         `' by configure.'
3758     if test x"$ac_file" != x-; then
3759       configure_input="$ac_file.  $configure_input"
3760       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3761 $as_echo "$as_me: creating $ac_file" >&6;}
3762     fi
3763     # Neutralize special characters interpreted by sed in replacement strings.
3764     case $configure_input in #(
3765     *\&* | *\|* | *\\* )
3766        ac_sed_conf_input=`$as_echo "$configure_input" |
3767        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3768     *) ac_sed_conf_input=$configure_input;;
3769     esac
3770
3771     case $ac_tag in
3772     *:-:* | *:-) cat >"$ac_tmp/stdin" \
3773       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3774     esac
3775     ;;
3776   esac
3777
3778   ac_dir=`$as_dirname -- "$ac_file" ||
3779 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3780          X"$ac_file" : 'X\(//\)[^/]' \| \
3781          X"$ac_file" : 'X\(//\)$' \| \
3782          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3783 $as_echo X"$ac_file" |
3784     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3785             s//\1/
3786             q
3787           }
3788           /^X\(\/\/\)[^/].*/{
3789             s//\1/
3790             q
3791           }
3792           /^X\(\/\/\)$/{
3793             s//\1/
3794             q
3795           }
3796           /^X\(\/\).*/{
3797             s//\1/
3798             q
3799           }
3800           s/.*/./; q'`
3801   as_dir="$ac_dir"; as_fn_mkdir_p
3802   ac_builddir=.
3803
3804 case "$ac_dir" in
3805 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3806 *)
3807   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3808   # A ".." for each directory in $ac_dir_suffix.
3809   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3810   case $ac_top_builddir_sub in
3811   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3812   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3813   esac ;;
3814 esac
3815 ac_abs_top_builddir=$ac_pwd
3816 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3817 # for backward compatibility:
3818 ac_top_builddir=$ac_top_build_prefix
3819
3820 case $srcdir in
3821   .)  # We are building in place.
3822     ac_srcdir=.
3823     ac_top_srcdir=$ac_top_builddir_sub
3824     ac_abs_top_srcdir=$ac_pwd ;;
3825   [\\/]* | ?:[\\/]* )  # Absolute name.
3826     ac_srcdir=$srcdir$ac_dir_suffix;
3827     ac_top_srcdir=$srcdir
3828     ac_abs_top_srcdir=$srcdir ;;
3829   *) # Relative name.
3830     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3831     ac_top_srcdir=$ac_top_build_prefix$srcdir
3832     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3833 esac
3834 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3835
3836
3837   case $ac_mode in
3838   :F)
3839   #
3840   # CONFIG_FILE
3841   #
3842
3843   case $INSTALL in
3844   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3845   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3846   esac
3847   ac_MKDIR_P=$MKDIR_P
3848   case $MKDIR_P in
3849   [\\/$]* | ?:[\\/]* ) ;;
3850   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3851   esac
3852 _ACEOF
3853
3854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3855 # If the template does not know about datarootdir, expand it.
3856 # FIXME: This hack should be removed a few years after 2.60.
3857 ac_datarootdir_hack=; ac_datarootdir_seen=
3858 ac_sed_dataroot='
3859 /datarootdir/ {
3860   p
3861   q
3862 }
3863 /@datadir@/p
3864 /@docdir@/p
3865 /@infodir@/p
3866 /@localedir@/p
3867 /@mandir@/p'
3868 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3869 *datarootdir*) ac_datarootdir_seen=yes;;
3870 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3872 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3873 _ACEOF
3874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3875   ac_datarootdir_hack='
3876   s&@datadir@&$datadir&g
3877   s&@docdir@&$docdir&g
3878   s&@infodir@&$infodir&g
3879   s&@localedir@&$localedir&g
3880   s&@mandir@&$mandir&g
3881   s&\\\${datarootdir}&$datarootdir&g' ;;
3882 esac
3883 _ACEOF
3884
3885 # Neutralize VPATH when `$srcdir' = `.'.
3886 # Shell code in configure.ac might set extrasub.
3887 # FIXME: do we really want to maintain this feature?
3888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3889 ac_sed_extra="$ac_vpsub
3890 $extrasub
3891 _ACEOF
3892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3893 :t
3894 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3895 s|@configure_input@|$ac_sed_conf_input|;t t
3896 s&@top_builddir@&$ac_top_builddir_sub&;t t
3897 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3898 s&@srcdir@&$ac_srcdir&;t t
3899 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3900 s&@top_srcdir@&$ac_top_srcdir&;t t
3901 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3902 s&@builddir@&$ac_builddir&;t t
3903 s&@abs_builddir@&$ac_abs_builddir&;t t
3904 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3905 s&@INSTALL@&$ac_INSTALL&;t t
3906 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3907 $ac_datarootdir_hack
3908 "
3909 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3910   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3911
3912 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3913   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3914   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
3915       "$ac_tmp/out"`; test -z "$ac_out"; } &&
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3917 which seems to be undefined.  Please make sure it is defined" >&5
3918 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3919 which seems to be undefined.  Please make sure it is defined" >&2;}
3920
3921   rm -f "$ac_tmp/stdin"
3922   case $ac_file in
3923   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3924   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3925   esac \
3926   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3927  ;;
3928
3929
3930
3931   esac
3932
3933
3934   case $ac_file$ac_mode in
3935     "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3936     "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3937
3938   esac
3939 done # for ac_tag
3940
3941
3942 as_fn_exit 0
3943 _ACEOF
3944 ac_clean_files=$ac_clean_files_save
3945
3946 test $ac_write_fail = 0 ||
3947   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3948
3949
3950 # configure is writing to config.log, and then calls config.status.
3951 # config.status does its own redirection, appending to config.log.
3952 # Unfortunately, on DOS this fails, as config.log is still kept open
3953 # by configure, so config.status won't be able to write to it; its
3954 # output is simply discarded.  So we exec the FD to /dev/null,
3955 # effectively closing config.log, so it can be properly (re)opened and
3956 # appended to by config.status.  When coming back to configure, we
3957 # need to make the FD available again.
3958 if test "$no_create" != yes; then
3959   ac_cs_success=:
3960   ac_config_status_args=
3961   test "$silent" = yes &&
3962     ac_config_status_args="$ac_config_status_args --quiet"
3963   exec 5>/dev/null
3964   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3965   exec 5>>config.log
3966   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3967   # would make configure fail if this is the last instruction.
3968   $ac_cs_success || as_fn_exit 1
3969 fi
3970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3971   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3973 fi
3974