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