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