* NEWS: Fix typo in 'make dist-bzip2' description.
[automake.git] / configure
blob7f3a0db5d2fc0d26ddbf12ca030e16ffd60fb260
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GNU Automake 1.11.
5 # Report bugs to <bug-automake@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
153 esac
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 else
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: bug-automake@gnu.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
247 exit 1
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
265 { eval $1=; unset $1;}
267 as_unset=as_fn_unset
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
274 return $1
275 } # as_fn_set_status
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } # as_fn_exit
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
318 /^X\(\/\/\)$/{
319 s//\1/
322 /^X\(\/\).*/{
323 s//\1/
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
343 eval $1+=\$2
345 else
346 as_fn_append ()
348 eval $1=\$$1\$2
350 fi # as_fn_append
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
360 as_val=$(( $* ))
362 else
363 as_fn_arith ()
365 as_val=`expr "$@" || test $? -eq 1`
367 fi # as_fn_arith
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } # as_fn_error
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 as_expr=expr
389 else
390 as_expr=false
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 as_basename=basename
395 else
396 as_basename=false
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 s//\1/
414 /^X\/\(\/\/\)$/{
415 s//\1/
418 /^X\/\(\/\).*/{
419 s//\1/
422 s/.*/./; q'`
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 sed -n '
439 /[$]LINENO/=
440 ' <$as_myself |
441 sed '
442 s/[$]LINENO.*/&-/
443 t lineno
445 :lineno
447 :loop
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 t loop
450 s/-\n.*//
451 ' >$as_me.lineno &&
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
458 . "./$as_me.lineno"
459 # Exit status is that of the last command.
460 exit
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
471 esac;;
473 ECHO_N='-n';;
474 esac
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
479 else
480 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
495 as_ln_s='cp -p'
497 else
498 as_ln_s='cp -p'
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
505 else
506 test -d ./-p && rmdir ./-p
507 as_mkdir_p=false
510 if test -x / >/dev/null 2>&1; then
511 as_test_x='test -x'
512 else
513 if ls -dL / >/dev/null 2>&1; then
514 as_ls_L_option=L
515 else
516 as_ls_L_option=
518 as_test_x='
519 eval sh -c '\''
520 if test -d "$1"; then
521 test -d "$1/.";
522 else
523 case $1 in #(
524 -*)set "./$1";;
525 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
528 '\'' sh
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 # Initializations.
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
560 # Identity of this package.
561 PACKAGE_NAME='GNU Automake'
562 PACKAGE_TARNAME='automake'
563 PACKAGE_VERSION='1.11'
564 PACKAGE_STRING='GNU Automake 1.11'
565 PACKAGE_BUGREPORT='bug-automake@gnu.org'
566 PACKAGE_URL='http://www.gnu.org/software/automake/'
568 ac_unique_file="automake.in"
569 ac_subst_vars='LTLIBOBJS
570 LIBOBJS
571 sh_errexit_works
572 FGREP
573 EGREP
574 GREP
575 MODIFICATION_DELAY
577 HELP2MAN
579 PERL_THREADS
580 PERL
581 pkgvdatadir
582 APIVERSION
583 am__untar
584 am__tar
585 AMTAR
586 am__leading_dot
587 SET_MAKE
589 mkdir_p
590 MKDIR_P
591 INSTALL_STRIP_PROGRAM
592 STRIP
593 install_sh
594 MAKEINFO
595 AUTOHEADER
596 AUTOMAKE
597 AUTOCONF
598 ACLOCAL
599 VERSION
600 PACKAGE
601 CYGPATH_W
602 am__isrc
603 INSTALL_DATA
604 INSTALL_SCRIPT
605 INSTALL_PROGRAM
606 am_AUTOUPDATE
607 am_AUTOHEADER
608 am_AUTORECONF
609 am_AUTOM4TE
610 am_AUTOCONF
611 build_os
612 build_vendor
613 build_cpu
614 build
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
657 ac_precious_vars='build_alias
658 host_alias
659 target_alias'
662 # Initialize some variables set by options.
663 ac_init_help=
664 ac_init_version=false
665 ac_unrecognized_opts=
666 ac_unrecognized_sep=
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
669 cache_file=/dev/null
670 exec_prefix=NONE
671 no_create=
672 no_recursion=
673 prefix=NONE
674 program_prefix=NONE
675 program_suffix=NONE
676 program_transform_name=s,x,x,
677 silent=
678 site=
679 srcdir=
680 verbose=
681 x_includes=NONE
682 x_libraries=NONE
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir='${exec_prefix}/bin'
691 sbindir='${exec_prefix}/sbin'
692 libexecdir='${exec_prefix}/libexec'
693 datarootdir='${prefix}/share'
694 datadir='${datarootdir}'
695 sysconfdir='${prefix}/etc'
696 sharedstatedir='${prefix}/com'
697 localstatedir='${prefix}/var'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir='${datarootdir}/info'
702 htmldir='${docdir}'
703 dvidir='${docdir}'
704 pdfdir='${docdir}'
705 psdir='${docdir}'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
710 ac_prev=
711 ac_dashdash=
712 for ac_option
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
721 case $ac_option in
722 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *=) ac_optarg= ;;
724 *) ac_optarg=yes ;;
725 esac
727 # Accept the important Cygnus configure options, so we can diagnose typos.
729 case $ac_dashdash$ac_option in
731 ac_dashdash=yes ;;
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
734 ac_prev=bindir ;;
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
736 bindir=$ac_optarg ;;
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
750 --config-cache | -C)
751 cache_file=config.cache ;;
753 -datadir | --datadir | --datadi | --datad)
754 ac_prev=datadir ;;
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
765 -disable-* | --disable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error $? "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
774 "enable_$ac_useropt"
775 "*) ;;
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
778 esac
779 eval enable_$ac_useropt=no ;;
781 -docdir | --docdir | --docdi | --doc | --do)
782 ac_prev=docdir ;;
783 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
784 docdir=$ac_optarg ;;
786 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
787 ac_prev=dvidir ;;
788 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
789 dvidir=$ac_optarg ;;
791 -enable-* | --enable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 as_fn_error $? "invalid feature name: $ac_useropt"
796 ac_useropt_orig=$ac_useropt
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
800 "enable_$ac_useropt"
801 "*) ;;
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
803 ac_unrecognized_sep=', ';;
804 esac
805 eval enable_$ac_useropt=\$ac_optarg ;;
807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
809 | --exec | --exe | --ex)
810 ac_prev=exec_prefix ;;
811 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
812 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
813 | --exec=* | --exe=* | --ex=*)
814 exec_prefix=$ac_optarg ;;
816 -gas | --gas | --ga | --g)
817 # Obsolete; use --with-gas.
818 with_gas=yes ;;
820 -help | --help | --hel | --he | -h)
821 ac_init_help=long ;;
822 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
823 ac_init_help=recursive ;;
824 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
825 ac_init_help=short ;;
827 -host | --host | --hos | --ho)
828 ac_prev=host_alias ;;
829 -host=* | --host=* | --hos=* | --ho=*)
830 host_alias=$ac_optarg ;;
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
833 ac_prev=htmldir ;;
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
835 | --ht=*)
836 htmldir=$ac_optarg ;;
838 -includedir | --includedir | --includedi | --included | --include \
839 | --includ | --inclu | --incl | --inc)
840 ac_prev=includedir ;;
841 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
842 | --includ=* | --inclu=* | --incl=* | --inc=*)
843 includedir=$ac_optarg ;;
845 -infodir | --infodir | --infodi | --infod | --info | --inf)
846 ac_prev=infodir ;;
847 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
848 infodir=$ac_optarg ;;
850 -libdir | --libdir | --libdi | --libd)
851 ac_prev=libdir ;;
852 -libdir=* | --libdir=* | --libdi=* | --libd=*)
853 libdir=$ac_optarg ;;
855 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
856 | --libexe | --libex | --libe)
857 ac_prev=libexecdir ;;
858 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
859 | --libexe=* | --libex=* | --libe=*)
860 libexecdir=$ac_optarg ;;
862 -localedir | --localedir | --localedi | --localed | --locale)
863 ac_prev=localedir ;;
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
867 -localstatedir | --localstatedir | --localstatedi | --localstated \
868 | --localstate | --localstat | --localsta | --localst | --locals)
869 ac_prev=localstatedir ;;
870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
872 localstatedir=$ac_optarg ;;
874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
875 ac_prev=mandir ;;
876 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
877 mandir=$ac_optarg ;;
879 -nfp | --nfp | --nf)
880 # Obsolete; use --without-fp.
881 with_fp=no ;;
883 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
884 | --no-cr | --no-c | -n)
885 no_create=yes ;;
887 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
888 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
889 no_recursion=yes ;;
891 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
892 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
893 | --oldin | --oldi | --old | --ol | --o)
894 ac_prev=oldincludedir ;;
895 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
896 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
897 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
898 oldincludedir=$ac_optarg ;;
900 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
901 ac_prev=prefix ;;
902 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
903 prefix=$ac_optarg ;;
905 -program-prefix | --program-prefix | --program-prefi | --program-pref \
906 | --program-pre | --program-pr | --program-p)
907 ac_prev=program_prefix ;;
908 -program-prefix=* | --program-prefix=* | --program-prefi=* \
909 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
910 program_prefix=$ac_optarg ;;
912 -program-suffix | --program-suffix | --program-suffi | --program-suff \
913 | --program-suf | --program-su | --program-s)
914 ac_prev=program_suffix ;;
915 -program-suffix=* | --program-suffix=* | --program-suffi=* \
916 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
917 program_suffix=$ac_optarg ;;
919 -program-transform-name | --program-transform-name \
920 | --program-transform-nam | --program-transform-na \
921 | --program-transform-n | --program-transform- \
922 | --program-transform | --program-transfor \
923 | --program-transfo | --program-transf \
924 | --program-trans | --program-tran \
925 | --progr-tra | --program-tr | --program-t)
926 ac_prev=program_transform_name ;;
927 -program-transform-name=* | --program-transform-name=* \
928 | --program-transform-nam=* | --program-transform-na=* \
929 | --program-transform-n=* | --program-transform-=* \
930 | --program-transform=* | --program-transfor=* \
931 | --program-transfo=* | --program-transf=* \
932 | --program-trans=* | --program-tran=* \
933 | --progr-tra=* | --program-tr=* | --program-t=*)
934 program_transform_name=$ac_optarg ;;
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
937 ac_prev=pdfdir ;;
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
939 pdfdir=$ac_optarg ;;
941 -psdir | --psdir | --psdi | --psd | --ps)
942 ac_prev=psdir ;;
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
944 psdir=$ac_optarg ;;
946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
947 | -silent | --silent | --silen | --sile | --sil)
948 silent=yes ;;
950 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
951 ac_prev=sbindir ;;
952 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
953 | --sbi=* | --sb=*)
954 sbindir=$ac_optarg ;;
956 -sharedstatedir | --sharedstatedir | --sharedstatedi \
957 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
958 | --sharedst | --shareds | --shared | --share | --shar \
959 | --sha | --sh)
960 ac_prev=sharedstatedir ;;
961 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
962 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
963 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
964 | --sha=* | --sh=*)
965 sharedstatedir=$ac_optarg ;;
967 -site | --site | --sit)
968 ac_prev=site ;;
969 -site=* | --site=* | --sit=*)
970 site=$ac_optarg ;;
972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
973 ac_prev=srcdir ;;
974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
975 srcdir=$ac_optarg ;;
977 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
978 | --syscon | --sysco | --sysc | --sys | --sy)
979 ac_prev=sysconfdir ;;
980 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
981 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
982 sysconfdir=$ac_optarg ;;
984 -target | --target | --targe | --targ | --tar | --ta | --t)
985 ac_prev=target_alias ;;
986 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
987 target_alias=$ac_optarg ;;
989 -v | -verbose | --verbose | --verbos | --verbo | --verb)
990 verbose=yes ;;
992 -version | --version | --versio | --versi | --vers | -V)
993 ac_init_version=: ;;
995 -with-* | --with-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error $? "invalid package name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "with_$ac_useropt"
1005 "*) ;;
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1008 esac
1009 eval with_$ac_useropt=\$ac_optarg ;;
1011 -without-* | --without-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid package name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "with_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval with_$ac_useropt=no ;;
1027 --x)
1028 # Obsolete; use --with-x.
1029 with_x=yes ;;
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1046 Try \`$0 --help' for more information"
1049 *=*)
1050 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1051 # Reject names that are not valid shell variable names.
1052 case $ac_envvar in #(
1053 '' | [0-9]* | *[!_$as_cr_alnum]* )
1054 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1055 esac
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1067 esac
1068 done
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 as_fn_error $? "missing argument to $ac_option"
1075 if test -n "$ac_unrecognized_opts"; then
1076 case $enable_option_checking in
1077 no) ;;
1078 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1079 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1080 esac
1083 # Check all directory arguments for consistency.
1084 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1085 datadir sysconfdir sharedstatedir localstatedir includedir \
1086 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1087 libdir localedir mandir
1089 eval ac_val=\$$ac_var
1090 # Remove trailing slashes.
1091 case $ac_val in
1092 */ )
1093 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1094 eval $ac_var=\$ac_val;;
1095 esac
1096 # Be sure to have absolute directory names.
1097 case $ac_val in
1098 [\\/$]* | ?:[\\/]* ) continue;;
1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1100 esac
1101 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1102 done
1104 # There might be people who depend on the old broken behavior: `$host'
1105 # used to hold the argument of --host etc.
1106 # FIXME: To remove some day.
1107 build=$build_alias
1108 host=$host_alias
1109 target=$target_alias
1111 # FIXME: To remove some day.
1112 if test "x$host_alias" != x; then
1113 if test "x$build_alias" = x; then
1114 cross_compiling=maybe
1115 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1116 If a cross compiler is detected then cross compile mode will be used" >&2
1117 elif test "x$build_alias" != "x$host_alias"; then
1118 cross_compiling=yes
1122 ac_tool_prefix=
1123 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1125 test "$silent" = yes && exec 6>/dev/null
1128 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1129 ac_ls_di=`ls -di .` &&
1130 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1131 as_fn_error $? "working directory cannot be determined"
1132 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1133 as_fn_error $? "pwd does not report name of working directory"
1136 # Find the source files, if location was not specified.
1137 if test -z "$srcdir"; then
1138 ac_srcdir_defaulted=yes
1139 # Try the directory containing this script, then the parent directory.
1140 ac_confdir=`$as_dirname -- "$as_myself" ||
1141 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1142 X"$as_myself" : 'X\(//\)[^/]' \| \
1143 X"$as_myself" : 'X\(//\)$' \| \
1144 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1145 $as_echo X"$as_myself" |
1146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1147 s//\1/
1150 /^X\(\/\/\)[^/].*/{
1151 s//\1/
1154 /^X\(\/\/\)$/{
1155 s//\1/
1158 /^X\(\/\).*/{
1159 s//\1/
1162 s/.*/./; q'`
1163 srcdir=$ac_confdir
1164 if test ! -r "$srcdir/$ac_unique_file"; then
1165 srcdir=..
1167 else
1168 ac_srcdir_defaulted=no
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1171 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1172 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1174 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1175 ac_abs_confdir=`(
1176 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1177 pwd)`
1178 # When building in place, set srcdir=.
1179 if test "$ac_abs_confdir" = "$ac_pwd"; then
1180 srcdir=.
1182 # Remove unnecessary trailing slashes from srcdir.
1183 # Double slashes in file names in object file debugging info
1184 # mess up M-x gdb in Emacs.
1185 case $srcdir in
1186 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1187 esac
1188 for ac_var in $ac_precious_vars; do
1189 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1190 eval ac_env_${ac_var}_value=\$${ac_var}
1191 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1192 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1193 done
1196 # Report the --help message.
1198 if test "$ac_init_help" = "long"; then
1199 # Omit some internal or obsolete options to make the list less imposing.
1200 # This message is too long to be a string in the A/UX 3.1 sh.
1201 cat <<_ACEOF
1202 \`configure' configures GNU Automake 1.11 to adapt to many kinds of systems.
1204 Usage: $0 [OPTION]... [VAR=VALUE]...
1206 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207 VAR=VALUE. See below for descriptions of some of the useful variables.
1209 Defaults for the options are specified in brackets.
1211 Configuration:
1212 -h, --help display this help and exit
1213 --help=short display options specific to this package
1214 --help=recursive display the short help of all the included packages
1215 -V, --version display version information and exit
1216 -q, --quiet, --silent do not print \`checking ...' messages
1217 --cache-file=FILE cache test results in FILE [disabled]
1218 -C, --config-cache alias for \`--cache-file=config.cache'
1219 -n, --no-create do not create output files
1220 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1222 Installation directories:
1223 --prefix=PREFIX install architecture-independent files in PREFIX
1224 [$ac_default_prefix]
1225 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1226 [PREFIX]
1228 By default, \`make install' will install all the files in
1229 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1230 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231 for instance \`--prefix=\$HOME'.
1233 For better control, use the options below.
1235 Fine tuning of the installation directories:
1236 --bindir=DIR user executables [EPREFIX/bin]
1237 --sbindir=DIR system admin executables [EPREFIX/sbin]
1238 --libexecdir=DIR program executables [EPREFIX/libexec]
1239 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242 --libdir=DIR object code libraries [EPREFIX/lib]
1243 --includedir=DIR C header files [PREFIX/include]
1244 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1245 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1246 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1247 --infodir=DIR info documentation [DATAROOTDIR/info]
1248 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1249 --mandir=DIR man documentation [DATAROOTDIR/man]
1250 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1251 --htmldir=DIR html documentation [DOCDIR]
1252 --dvidir=DIR dvi documentation [DOCDIR]
1253 --pdfdir=DIR pdf documentation [DOCDIR]
1254 --psdir=DIR ps documentation [DOCDIR]
1255 _ACEOF
1257 cat <<\_ACEOF
1259 Program names:
1260 --program-prefix=PREFIX prepend PREFIX to installed program names
1261 --program-suffix=SUFFIX append SUFFIX to installed program names
1262 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1264 System types:
1265 --build=BUILD configure for building on BUILD [guessed]
1266 _ACEOF
1269 if test -n "$ac_init_help"; then
1270 case $ac_init_help in
1271 short | recursive ) echo "Configuration of GNU Automake 1.11:";;
1272 esac
1273 cat <<\_ACEOF
1275 Report bugs to <bug-automake@gnu.org>.
1276 GNU Automake home page: <http://www.gnu.org/software/automake/>.
1277 General help using GNU software: <http://www.gnu.org/gethelp/>.
1278 _ACEOF
1279 ac_status=$?
1282 if test "$ac_init_help" = "recursive"; then
1283 # If there are subdirs, report their specific --help.
1284 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1285 test -d "$ac_dir" ||
1286 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1287 continue
1288 ac_builddir=.
1290 case "$ac_dir" in
1291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1293 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1294 # A ".." for each directory in $ac_dir_suffix.
1295 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1296 case $ac_top_builddir_sub in
1297 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1299 esac ;;
1300 esac
1301 ac_abs_top_builddir=$ac_pwd
1302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1303 # for backward compatibility:
1304 ac_top_builddir=$ac_top_build_prefix
1306 case $srcdir in
1307 .) # We are building in place.
1308 ac_srcdir=.
1309 ac_top_srcdir=$ac_top_builddir_sub
1310 ac_abs_top_srcdir=$ac_pwd ;;
1311 [\\/]* | ?:[\\/]* ) # Absolute name.
1312 ac_srcdir=$srcdir$ac_dir_suffix;
1313 ac_top_srcdir=$srcdir
1314 ac_abs_top_srcdir=$srcdir ;;
1315 *) # Relative name.
1316 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1317 ac_top_srcdir=$ac_top_build_prefix$srcdir
1318 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1319 esac
1320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1322 cd "$ac_dir" || { ac_status=$?; continue; }
1323 # Check for guested configure.
1324 if test -f "$ac_srcdir/configure.gnu"; then
1325 echo &&
1326 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1327 elif test -f "$ac_srcdir/configure"; then
1328 echo &&
1329 $SHELL "$ac_srcdir/configure" --help=recursive
1330 else
1331 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi || ac_status=$?
1333 cd "$ac_pwd" || { ac_status=$?; break; }
1334 done
1337 test -n "$ac_init_help" && exit $ac_status
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 GNU Automake configure 1.11
1341 generated by GNU Autoconf 2.68
1343 Copyright (C) 2010 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit
1350 ## ------------------------ ##
1351 ## Autoconf initialization. ##
1352 ## ------------------------ ##
1353 cat >config.log <<_ACEOF
1354 This file contains any messages produced by compilers while
1355 running configure, to aid debugging if configure makes a mistake.
1357 It was created by GNU Automake $as_me 1.11, which was
1358 generated by GNU Autoconf 2.68. Invocation command line was
1360 $ $0 $@
1362 _ACEOF
1363 exec 5>>config.log
1365 cat <<_ASUNAME
1366 ## --------- ##
1367 ## Platform. ##
1368 ## --------- ##
1370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1382 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1387 _ASUNAME
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 for as_dir in $PATH
1392 IFS=$as_save_IFS
1393 test -z "$as_dir" && as_dir=.
1394 $as_echo "PATH: $as_dir"
1395 done
1396 IFS=$as_save_IFS
1398 } >&5
1400 cat >&5 <<_ACEOF
1403 ## ----------- ##
1404 ## Core tests. ##
1405 ## ----------- ##
1407 _ACEOF
1410 # Keep a trace of the command line.
1411 # Strip out --no-create and --no-recursion so they do not pile up.
1412 # Strip out --silent because we don't want to record it for future runs.
1413 # Also quote any args containing shell meta-characters.
1414 # Make two passes to allow for proper duplicate-argument suppression.
1415 ac_configure_args=
1416 ac_configure_args0=
1417 ac_configure_args1=
1418 ac_must_keep_next=false
1419 for ac_pass in 1 2
1421 for ac_arg
1423 case $ac_arg in
1424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426 | -silent | --silent | --silen | --sile | --sil)
1427 continue ;;
1428 *\'*)
1429 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430 esac
1431 case $ac_pass in
1432 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1434 as_fn_append ac_configure_args1 " '$ac_arg'"
1435 if test $ac_must_keep_next = true; then
1436 ac_must_keep_next=false # Got value, back to normal.
1437 else
1438 case $ac_arg in
1439 *=* | --config-cache | -C | -disable-* | --disable-* \
1440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442 | -with-* | --with-* | -without-* | --without-* | --x)
1443 case "$ac_configure_args0 " in
1444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445 esac
1447 -* ) ac_must_keep_next=true ;;
1448 esac
1450 as_fn_append ac_configure_args " '$ac_arg'"
1452 esac
1453 done
1454 done
1455 { ac_configure_args0=; unset ac_configure_args0;}
1456 { ac_configure_args1=; unset ac_configure_args1;}
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log. We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Use '\'' to represent an apostrophe within the trap.
1462 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1463 trap 'exit_status=$?
1464 # Save into config.log some information that might help in debugging.
1466 echo
1468 $as_echo "## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##"
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1474 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1475 eval ac_val=\$$ac_var
1476 case $ac_val in #(
1477 *${as_nl}*)
1478 case $ac_var in #(
1479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1481 esac
1482 case $ac_var in #(
1483 _ | IFS | as_nl) ;; #(
1484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1485 *) { eval $ac_var=; unset $ac_var;} ;;
1486 esac ;;
1487 esac
1488 done
1489 (set) 2>&1 |
1490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1491 *${as_nl}ac_space=\ *)
1492 sed -n \
1493 "s/'\''/'\''\\\\'\'''\''/g;
1494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1495 ;; #(
1497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1499 esac |
1500 sort
1502 echo
1504 $as_echo "## ----------------- ##
1505 ## Output variables. ##
1506 ## ----------------- ##"
1507 echo
1508 for ac_var in $ac_subst_vars
1510 eval ac_val=\$$ac_var
1511 case $ac_val in
1512 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1513 esac
1514 $as_echo "$ac_var='\''$ac_val'\''"
1515 done | sort
1516 echo
1518 if test -n "$ac_subst_files"; then
1519 $as_echo "## ------------------- ##
1520 ## File substitutions. ##
1521 ## ------------------- ##"
1522 echo
1523 for ac_var in $ac_subst_files
1525 eval ac_val=\$$ac_var
1526 case $ac_val in
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1528 esac
1529 $as_echo "$ac_var='\''$ac_val'\''"
1530 done | sort
1531 echo
1534 if test -s confdefs.h; then
1535 $as_echo "## ----------- ##
1536 ## confdefs.h. ##
1537 ## ----------- ##"
1538 echo
1539 cat confdefs.h
1540 echo
1542 test "$ac_signal" != 0 &&
1543 $as_echo "$as_me: caught signal $ac_signal"
1544 $as_echo "$as_me: exit $exit_status"
1545 } >&5
1546 rm -f core *.core core.conftest.* &&
1547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1548 exit $exit_status
1550 for ac_signal in 1 2 13 15; do
1551 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1552 done
1553 ac_signal=0
1555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1556 rm -f -r conftest* confdefs.h
1558 $as_echo "/* confdefs.h */" > confdefs.h
1560 # Predefined preprocessor variables.
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_NAME "$PACKAGE_NAME"
1564 _ACEOF
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1568 _ACEOF
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1572 _ACEOF
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_STRING "$PACKAGE_STRING"
1576 _ACEOF
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1580 _ACEOF
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_URL "$PACKAGE_URL"
1584 _ACEOF
1587 # Let the site file select an alternate cache file if it wants to.
1588 # Prefer an explicitly selected file to automatically selected ones.
1589 ac_site_file1=NONE
1590 ac_site_file2=NONE
1591 if test -n "$CONFIG_SITE"; then
1592 # We do not want a PATH search for config.site.
1593 case $CONFIG_SITE in #((
1594 -*) ac_site_file1=./$CONFIG_SITE;;
1595 */*) ac_site_file1=$CONFIG_SITE;;
1596 *) ac_site_file1=./$CONFIG_SITE;;
1597 esac
1598 elif test "x$prefix" != xNONE; then
1599 ac_site_file1=$prefix/share/config.site
1600 ac_site_file2=$prefix/etc/config.site
1601 else
1602 ac_site_file1=$ac_default_prefix/share/config.site
1603 ac_site_file2=$ac_default_prefix/etc/config.site
1605 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1607 test "x$ac_site_file" = xNONE && continue
1608 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1611 sed 's/^/| /' "$ac_site_file" >&5
1612 . "$ac_site_file" \
1613 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1615 as_fn_error $? "failed to load site script $ac_site_file
1616 See \`config.log' for more details" "$LINENO" 5; }
1618 done
1620 if test -r "$cache_file"; then
1621 # Some versions of bash will fail to source /dev/null (special files
1622 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1623 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1625 $as_echo "$as_me: loading cache $cache_file" >&6;}
1626 case $cache_file in
1627 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1628 *) . "./$cache_file";;
1629 esac
1631 else
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1633 $as_echo "$as_me: creating cache $cache_file" >&6;}
1634 >$cache_file
1637 # Check that the precious variables saved in the cache have kept the same
1638 # value.
1639 ac_cache_corrupted=false
1640 for ac_var in $ac_precious_vars; do
1641 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1642 eval ac_new_set=\$ac_env_${ac_var}_set
1643 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1644 eval ac_new_val=\$ac_env_${ac_var}_value
1645 case $ac_old_set,$ac_new_set in
1646 set,)
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1648 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1649 ac_cache_corrupted=: ;;
1650 ,set)
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1652 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1653 ac_cache_corrupted=: ;;
1654 ,);;
1656 if test "x$ac_old_val" != "x$ac_new_val"; then
1657 # differences in whitespace do not lead to failure.
1658 ac_old_val_w=`echo x $ac_old_val`
1659 ac_new_val_w=`echo x $ac_new_val`
1660 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1662 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1663 ac_cache_corrupted=:
1664 else
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1666 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1667 eval $ac_var=\$ac_old_val
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1670 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1672 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1673 fi;;
1674 esac
1675 # Pass precious variables to config.status.
1676 if test "$ac_new_set" = set; then
1677 case $ac_new_val in
1678 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679 *) ac_arg=$ac_var=$ac_new_val ;;
1680 esac
1681 case " $ac_configure_args " in
1682 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1683 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1684 esac
1686 done
1687 if $ac_cache_corrupted; then
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1691 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1694 ## -------------------- ##
1695 ## Main body of script. ##
1696 ## -------------------- ##
1698 ac_ext=c
1699 ac_cpp='$CPP $CPPFLAGS'
1700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1709 ac_aux_dir=
1710 for ac_dir in lib "$srcdir"/lib; do
1711 if test -f "$ac_dir/install-sh"; then
1712 ac_aux_dir=$ac_dir
1713 ac_install_sh="$ac_aux_dir/install-sh -c"
1714 break
1715 elif test -f "$ac_dir/install.sh"; then
1716 ac_aux_dir=$ac_dir
1717 ac_install_sh="$ac_aux_dir/install.sh -c"
1718 break
1719 elif test -f "$ac_dir/shtool"; then
1720 ac_aux_dir=$ac_dir
1721 ac_install_sh="$ac_aux_dir/shtool install -c"
1722 break
1724 done
1725 if test -z "$ac_aux_dir"; then
1726 as_fn_error $? "cannot find install-sh, install.sh, or shtool in lib \"$srcdir\"/lib" "$LINENO" 5
1729 # These three variables are undocumented and unsupported,
1730 # and are intended to be withdrawn in a future Autoconf release.
1731 # They can cause serious problems if a builder's source tree is in a directory
1732 # whose full name contains unusual characters.
1733 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1734 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1735 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1739 # Make sure we can run config.sub.
1740 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1741 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1744 $as_echo_n "checking build system type... " >&6; }
1745 if ${ac_cv_build+:} false; then :
1746 $as_echo_n "(cached) " >&6
1747 else
1748 ac_build_alias=$build_alias
1749 test "x$ac_build_alias" = x &&
1750 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1751 test "x$ac_build_alias" = x &&
1752 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1754 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1758 $as_echo "$ac_cv_build" >&6; }
1759 case $ac_cv_build in
1760 *-*-*) ;;
1761 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1762 esac
1763 build=$ac_cv_build
1764 ac_save_IFS=$IFS; IFS='-'
1765 set x $ac_cv_build
1766 shift
1767 build_cpu=$1
1768 build_vendor=$2
1769 shift; shift
1770 # Remember, the first character of IFS is used to create $*,
1771 # except with old shells:
1772 build_os=$*
1773 IFS=$ac_save_IFS
1774 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1778 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1779 # way we can run Autoconf tests from configure (or from the test
1780 # suite) without being bothered by `missing'. Likewise for autom4te,
1781 # autoreconf, autoheader, and autoupdate.
1782 am_AUTOCONF="${AUTOCONF-autoconf}"
1784 am_AUTOM4TE="${AUTOM4TE-autom4te}"
1786 am_AUTORECONF="${AUTORECONF-autoreconf}"
1788 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1790 am_AUTOUPDATE="${AUTOUPDATE-autoupdate}"
1793 am__api_version='1.11'
1795 # Find a good install program. We prefer a C program (faster),
1796 # so one script is as good as another. But avoid the broken or
1797 # incompatible versions:
1798 # SysV /etc/install, /usr/sbin/install
1799 # SunOS /usr/etc/install
1800 # IRIX /sbin/install
1801 # AIX /bin/install
1802 # AmigaOS /C/install, which installs bootblocks on floppy discs
1803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1806 # OS/2's system install, which has a completely different semantic
1807 # ./install, which can be erroneously created by make from ./install.sh.
1808 # Reject install programs that cannot install multiple files.
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1810 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1811 if test -z "$INSTALL"; then
1812 if ${ac_cv_path_install+:} false; then :
1813 $as_echo_n "(cached) " >&6
1814 else
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816 for as_dir in $PATH
1818 IFS=$as_save_IFS
1819 test -z "$as_dir" && as_dir=.
1820 # Account for people who put trailing slashes in PATH elements.
1821 case $as_dir/ in #((
1822 ./ | .// | /[cC]/* | \
1823 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1824 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1825 /usr/ucb/* ) ;;
1827 # OSF1 and SCO ODT 3.0 have their own names for install.
1828 # Don't use installbsd from OSF since it installs stuff as root
1829 # by default.
1830 for ac_prog in ginstall scoinst install; do
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1833 if test $ac_prog = install &&
1834 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1835 # AIX install. It has an incompatible calling convention.
1837 elif test $ac_prog = install &&
1838 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1839 # program-specific install script used by HP pwplus--don't use.
1841 else
1842 rm -rf conftest.one conftest.two conftest.dir
1843 echo one > conftest.one
1844 echo two > conftest.two
1845 mkdir conftest.dir
1846 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1847 test -s conftest.one && test -s conftest.two &&
1848 test -s conftest.dir/conftest.one &&
1849 test -s conftest.dir/conftest.two
1850 then
1851 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1852 break 3
1856 done
1857 done
1859 esac
1861 done
1862 IFS=$as_save_IFS
1864 rm -rf conftest.one conftest.two conftest.dir
1867 if test "${ac_cv_path_install+set}" = set; then
1868 INSTALL=$ac_cv_path_install
1869 else
1870 # As a last resort, use the slow shell script. Don't cache a
1871 # value for INSTALL within a source directory, because that will
1872 # break other packages using the cache if that directory is
1873 # removed, or if the value is a relative name.
1874 INSTALL=$ac_install_sh
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1878 $as_echo "$INSTALL" >&6; }
1880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1881 # It thinks the first close brace ends the variable substitution.
1882 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1884 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1889 $as_echo_n "checking whether build environment is sane... " >&6; }
1890 # Reject unsafe characters in $srcdir or the absolute working directory
1891 # name. Accept space and tab only in the latter.
1892 am_lf='
1894 case `pwd` in
1895 *[\\\"\#\$\&\'\`$am_lf]*)
1896 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1897 esac
1898 case $srcdir in
1899 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1900 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1901 esac
1903 # Do `set' in a subshell so we don't clobber the current shell's
1904 # arguments. Must try -L first in case configure is actually a
1905 # symlink; some systems play weird games with the mod time of symlinks
1906 # (eg FreeBSD returns the mod time of the symlink's containing
1907 # directory).
1908 if (
1909 for am_try in 1 2; do
1910 echo timestamp > conftest.file
1911 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1912 if test "$*" = "X"; then
1913 # -L didn't work.
1914 set X `ls -t "$srcdir/configure" conftest.file`
1916 rm -f conftest.file
1917 if test "$*" != "X $srcdir/configure conftest.file" \
1918 && test "$*" != "X conftest.file $srcdir/configure"; then
1920 # If neither matched, then we have a broken ls. This can happen
1921 # if, for instance, CONFIG_SHELL is bash and it inherits a
1922 # broken ls alias from the environment. This has actually
1923 # happened. Such a system could not be considered "sane".
1924 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1925 alias in your environment" "$LINENO" 5
1927 if test "$2" = conftest.file || test $am_try -eq 2; then
1928 break
1930 # Just in case.
1931 sleep 1
1932 done
1933 test "$2" = conftest.file
1935 then
1936 # Ok.
1938 else
1939 as_fn_error $? "newly created file is older than distributed files!
1940 Check your system clock" "$LINENO" 5
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1943 $as_echo "yes" >&6; }
1944 test "$program_prefix" != NONE &&
1945 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1946 # Use a double $ so make ignores it.
1947 test "$program_suffix" != NONE &&
1948 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1949 # Double any \ or $.
1950 # By default was `s,x,x', remove it if useless.
1951 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1952 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1954 # expand $ac_aux_dir to an absolute path
1955 am_aux_dir=`cd $ac_aux_dir && pwd`
1957 if test x"${MISSING+set}" != xset; then
1958 case $am_aux_dir in
1959 *\ * | *\ *)
1960 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1962 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1963 esac
1965 # Use eval to expand $SHELL
1966 if eval "$MISSING --run true"; then
1967 am_missing_run="$MISSING --run "
1968 else
1969 am_missing_run=
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1971 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1974 if test x"${install_sh}" != xset; then
1975 case $am_aux_dir in
1976 *\ * | *\ *)
1977 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1979 install_sh="\${SHELL} $am_aux_dir/install-sh"
1980 esac
1983 # Installed binaries are usually stripped using `strip' when the user
1984 # run `make install-strip'. However `strip' might not be the right
1985 # tool to use in cross-compilation environments, therefore Automake
1986 # will honor the `STRIP' environment variable to overrule this program.
1987 if test "$cross_compiling" != no; then
1988 if test -n "$ac_tool_prefix"; then
1989 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1990 set dummy ${ac_tool_prefix}strip; ac_word=$2
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1992 $as_echo_n "checking for $ac_word... " >&6; }
1993 if ${ac_cv_prog_STRIP+:} false; then :
1994 $as_echo_n "(cached) " >&6
1995 else
1996 if test -n "$STRIP"; then
1997 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1998 else
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 for as_dir in $PATH
2002 IFS=$as_save_IFS
2003 test -z "$as_dir" && as_dir=.
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2006 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2008 break 2
2010 done
2011 done
2012 IFS=$as_save_IFS
2016 STRIP=$ac_cv_prog_STRIP
2017 if test -n "$STRIP"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2019 $as_echo "$STRIP" >&6; }
2020 else
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022 $as_echo "no" >&6; }
2027 if test -z "$ac_cv_prog_STRIP"; then
2028 ac_ct_STRIP=$STRIP
2029 # Extract the first word of "strip", so it can be a program name with args.
2030 set dummy strip; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 if test -n "$ac_ct_STRIP"; then
2037 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_ac_ct_STRIP="strip"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2050 done
2051 done
2052 IFS=$as_save_IFS
2056 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2057 if test -n "$ac_ct_STRIP"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2059 $as_echo "$ac_ct_STRIP" >&6; }
2060 else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2065 if test "x$ac_ct_STRIP" = x; then
2066 STRIP=":"
2067 else
2068 case $cross_compiling:$ac_tool_warned in
2069 yes:)
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2072 ac_tool_warned=yes ;;
2073 esac
2074 STRIP=$ac_ct_STRIP
2076 else
2077 STRIP="$ac_cv_prog_STRIP"
2081 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2084 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2085 if test -z "$MKDIR_P"; then
2086 if ${ac_cv_path_mkdir+:} false; then :
2087 $as_echo_n "(cached) " >&6
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2092 IFS=$as_save_IFS
2093 test -z "$as_dir" && as_dir=.
2094 for ac_prog in mkdir gmkdir; do
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2097 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2098 'mkdir (GNU coreutils) '* | \
2099 'mkdir (coreutils) '* | \
2100 'mkdir (fileutils) '4.1*)
2101 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2102 break 3;;
2103 esac
2104 done
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 test -d ./--version && rmdir ./--version
2112 if test "${ac_cv_path_mkdir+set}" = set; then
2113 MKDIR_P="$ac_cv_path_mkdir -p"
2114 else
2115 # As a last resort, use the slow shell script. Don't cache a
2116 # value for MKDIR_P within a source directory, because that will
2117 # break other packages using the cache if that directory is
2118 # removed, or if the value is a relative name.
2119 MKDIR_P="$ac_install_sh -d"
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2123 $as_echo "$MKDIR_P" >&6; }
2125 mkdir_p="$MKDIR_P"
2126 case $mkdir_p in
2127 [\\/$]* | ?:[\\/]*) ;;
2128 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2129 esac
2131 for ac_prog in gawk mawk nawk awk
2133 # Extract the first word of "$ac_prog", so it can be a program name with args.
2134 set dummy $ac_prog; ac_word=$2
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2136 $as_echo_n "checking for $ac_word... " >&6; }
2137 if ${ac_cv_prog_AWK+:} false; then :
2138 $as_echo_n "(cached) " >&6
2139 else
2140 if test -n "$AWK"; then
2141 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_AWK="$ac_prog"
2151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 break 2
2154 done
2155 done
2156 IFS=$as_save_IFS
2160 AWK=$ac_cv_prog_AWK
2161 if test -n "$AWK"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2163 $as_echo "$AWK" >&6; }
2164 else
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166 $as_echo "no" >&6; }
2170 test -n "$AWK" && break
2171 done
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2174 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2175 set x ${MAKE-make}
2176 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2177 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2178 $as_echo_n "(cached) " >&6
2179 else
2180 cat >conftest.make <<\_ACEOF
2181 SHELL = /bin/sh
2182 all:
2183 @echo '@@@%%%=$(MAKE)=@@@%%%'
2184 _ACEOF
2185 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2186 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2187 *@@@%%%=?*=@@@%%%*)
2188 eval ac_cv_prog_make_${ac_make}_set=yes;;
2190 eval ac_cv_prog_make_${ac_make}_set=no;;
2191 esac
2192 rm -f conftest.make
2194 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2196 $as_echo "yes" >&6; }
2197 SET_MAKE=
2198 else
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200 $as_echo "no" >&6; }
2201 SET_MAKE="MAKE=${MAKE-make}"
2204 rm -rf .tst 2>/dev/null
2205 mkdir .tst 2>/dev/null
2206 if test -d .tst; then
2207 am__leading_dot=.
2208 else
2209 am__leading_dot=_
2211 rmdir .tst 2>/dev/null
2213 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2214 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2215 # is not polluted with repeated "-I."
2216 am__isrc=' -I$(srcdir)'
2217 # test to see if srcdir already configured
2218 if test -f $srcdir/config.status; then
2219 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2223 # test whether we have cygpath
2224 if test -z "$CYGPATH_W"; then
2225 if (cygpath --version) >/dev/null 2>/dev/null; then
2226 CYGPATH_W='cygpath -w'
2227 else
2228 CYGPATH_W=echo
2233 # Define the identity of the package.
2234 PACKAGE='automake'
2235 VERSION='1.11'
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE "$PACKAGE"
2240 _ACEOF
2243 cat >>confdefs.h <<_ACEOF
2244 #define VERSION "$VERSION"
2245 _ACEOF
2247 # Some tools Automake needs.
2249 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2252 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2255 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2258 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2261 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2263 # We need awk for the "check" target. The system "awk" is bad on
2264 # some platforms.
2265 # Always define AMTAR for backward compatibility.
2267 AMTAR=${AMTAR-"${am_missing_run}tar"}
2269 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2276 # The API version is the base version. We must guarantee
2277 # compatibility for all releases with the same API version.
2278 # Our current rule is that:
2279 # * All releases, including the prereleases, in an X.Y series
2280 # are compatible. So 1.5.1c is compatible with 1.5.
2281 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2282 # aren't the same.
2283 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2286 # A versioned directory, defined here for convenience.
2287 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2290 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2291 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2292 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2293 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2295 # Extract the first word of "perl", so it can be a program name with args.
2296 set dummy perl; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if ${ac_cv_path_PERL+:} false; then :
2300 $as_echo_n "(cached) " >&6
2301 else
2302 case $PERL in
2303 [\\/]* | ?:[\\/]*)
2304 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2320 IFS=$as_save_IFS
2323 esac
2325 PERL=$ac_cv_path_PERL
2326 if test -n "$PERL"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2328 $as_echo "$PERL" >&6; }
2329 else
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 $as_echo "no" >&6; }
2335 if test -z "$PERL"; then
2336 as_fn_error $? "perl not found" "$LINENO" 5
2338 # Save details about the selected perl interpreter in config.log.
2339 { echo "$as_me:$LINENO: eval $PERL --version" >&5
2340 (eval $PERL --version) >&5 2>&5
2341 ac_status=$?
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2344 $PERL -e 'require 5.006;' || {
2345 as_fn_error $? "perl 5.6 or better is required; perl 5.8.2 or better
2346 is recommended. If you have several perl versions
2347 installed, select the one Automake should use using
2348 ./configure PERL=/path/to/perl" "$LINENO" 5
2351 # We require ithreads support, and version 5.7.2 for CLONE.
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL supports ithreads" >&5
2353 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2354 if ${am_cv_prog_PERL_ithreads+:} false; then :
2355 $as_echo_n "(cached) " >&6
2356 else
2357 if $PERL -e '
2358 require 5.007_002;
2359 use Config;
2360 if ($Config{useithreads})
2362 require threads;
2363 import threads;
2364 require Thread::Queue;
2365 import Thread::Queue;
2366 exit 0;
2368 exit 1;' >&5 2>&1
2369 then
2370 am_cv_prog_PERL_ithreads=yes
2371 else
2372 am_cv_prog_PERL_ithreads=no
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_PERL_ithreads" >&5
2376 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2377 if test $am_cv_prog_PERL_ithreads = yes; then
2378 PERL_THREADS=1;
2379 else
2380 PERL_THREADS=0;
2384 # The test suite will skip some tests if tex is absent.
2385 # Extract the first word of "tex", so it can be a program name with args.
2386 set dummy tex; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_TEX+:} false; then :
2390 $as_echo_n "(cached) " >&6
2391 else
2392 if test -n "$TEX"; then
2393 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2394 else
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 for as_dir in $PATH
2398 IFS=$as_save_IFS
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_TEX="tex"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2406 done
2407 done
2408 IFS=$as_save_IFS
2412 TEX=$ac_cv_prog_TEX
2413 if test -n "$TEX"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
2415 $as_echo "$TEX" >&6; }
2416 else
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2423 # Generate man pages.
2425 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2428 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2429 # deletion of any files created (such as those added to
2430 # autom4te.cache). We used to perform only the last of the three
2431 # following tests, but some users were unable to figure out that their
2432 # installation was broken since --version appeared to work.
2434 required_autoconf_version=2.62
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is installed" >&5
2436 $as_echo_n "checking whether autoconf is installed... " >&6; }
2437 if ${am_cv_autoconf_installed+:} false; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2441 (eval $am_AUTOCONF --version) >&5 2>&5
2442 ac_status=$?
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); };
2445 then
2446 am_cv_autoconf_installed=yes
2447 else
2448 am_cv_autoconf_installed=no
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_installed" >&5
2452 $as_echo "$am_cv_autoconf_installed" >&6; }
2453 if test "$am_cv_autoconf_installed" = no; then
2454 as_fn_error $? "Autoconf $required_autoconf_version or better is required.
2455 Please make sure it is installed and in your PATH." "$LINENO" 5
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf works" >&5
2459 $as_echo_n "checking whether autoconf works... " >&6; }
2460 if ${am_cv_autoconf_works+:} false; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 mkdir conftest
2464 echo 'AC''_INIT' > conftest/conftest.ac
2465 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2466 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2467 ac_status=$?
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); };
2470 then
2471 am_cv_autoconf_works=yes
2472 else
2473 am_cv_autoconf_works=no
2475 rm -rf conftest
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_works" >&5
2478 $as_echo "$am_cv_autoconf_works" >&6; }
2479 if test "$am_cv_autoconf_works" = no; then
2480 as_fn_error $? "The installed version of autoconf does not work.
2481 Please check config.log for error messages before this one." "$LINENO" 5
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is recent enough" >&5
2485 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2486 if ${am_cv_autoconf_version+:} false; then :
2487 $as_echo_n "(cached) " >&6
2488 else
2489 mkdir conftest
2490 echo 'AC'"_PREREQ([$required_autoconf_version])" > conftest/conftest.ac
2491 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2492 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2493 ac_status=$?
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); };
2496 then
2497 am_cv_autoconf_version=yes
2498 else
2499 am_cv_autoconf_version=no
2501 rm -rf conftest
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_version" >&5
2504 $as_echo "$am_cv_autoconf_version" >&6; }
2505 if test "$am_cv_autoconf_version" = no; then
2506 as_fn_error $? "Autoconf $required_autoconf_version or better is required." "$LINENO" 5
2509 # Test for ln. We need use it to install the versioned binaries.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2511 $as_echo_n "checking whether ln works... " >&6; }
2512 if ${am_cv_prog_ln+:} false; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2516 rm -f conftest conftest.file
2517 : >conftest.file
2518 if ln conftest.file conftest 2>/dev/null; then
2519 am_cv_prog_ln=ln
2520 else
2521 am_cv_prog_ln='cp -p'
2523 rm -f conftest conftest.file
2526 LN=$am_cv_prog_ln
2528 result=no
2529 test "x$am_cv_prog_ln" = xln && result=yes
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2531 $as_echo "$result" >&6; }
2533 # The amount we should wait after modifying files depends on the platform.
2534 # On Windows '95, '98 and ME, files modifications have 2-seconds
2535 # granularity and can be up to 3 seconds in the future w.r.t. the
2536 # system clock. When it is important to ensure one file is older
2537 # than another we wait at least 5 seconds between creations.
2538 case $build in
2539 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2540 *) MODIFICATION_DELAY=2;;
2541 esac
2544 # Test for things needed by the test suite.
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2546 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2547 if ${ac_cv_path_GREP+:} false; then :
2548 $as_echo_n "(cached) " >&6
2549 else
2550 if test -z "$GREP"; then
2551 ac_path_GREP_found=false
2552 # Loop through the user's path and test for each of PROGNAME-LIST
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2556 IFS=$as_save_IFS
2557 test -z "$as_dir" && as_dir=.
2558 for ac_prog in grep ggrep; do
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2561 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2562 # Check for GNU ac_path_GREP and select it if it is found.
2563 # Check for GNU $ac_path_GREP
2564 case `"$ac_path_GREP" --version 2>&1` in
2565 *GNU*)
2566 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2568 ac_count=0
2569 $as_echo_n 0123456789 >"conftest.in"
2570 while :
2572 cat "conftest.in" "conftest.in" >"conftest.tmp"
2573 mv "conftest.tmp" "conftest.in"
2574 cp "conftest.in" "conftest.nl"
2575 $as_echo 'GREP' >> "conftest.nl"
2576 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2577 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2578 as_fn_arith $ac_count + 1 && ac_count=$as_val
2579 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2580 # Best one so far, save it but keep looking for a better one
2581 ac_cv_path_GREP="$ac_path_GREP"
2582 ac_path_GREP_max=$ac_count
2584 # 10*(2^10) chars as input seems more than enough
2585 test $ac_count -gt 10 && break
2586 done
2587 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2588 esac
2590 $ac_path_GREP_found && break 3
2591 done
2592 done
2593 done
2594 IFS=$as_save_IFS
2595 if test -z "$ac_cv_path_GREP"; then
2596 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2598 else
2599 ac_cv_path_GREP=$GREP
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2604 $as_echo "$ac_cv_path_GREP" >&6; }
2605 GREP="$ac_cv_path_GREP"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2609 $as_echo_n "checking for egrep... " >&6; }
2610 if ${ac_cv_path_EGREP+:} false; then :
2611 $as_echo_n "(cached) " >&6
2612 else
2613 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2614 then ac_cv_path_EGREP="$GREP -E"
2615 else
2616 if test -z "$EGREP"; then
2617 ac_path_EGREP_found=false
2618 # Loop through the user's path and test for each of PROGNAME-LIST
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2622 IFS=$as_save_IFS
2623 test -z "$as_dir" && as_dir=.
2624 for ac_prog in egrep; do
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2627 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2628 # Check for GNU ac_path_EGREP and select it if it is found.
2629 # Check for GNU $ac_path_EGREP
2630 case `"$ac_path_EGREP" --version 2>&1` in
2631 *GNU*)
2632 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2634 ac_count=0
2635 $as_echo_n 0123456789 >"conftest.in"
2636 while :
2638 cat "conftest.in" "conftest.in" >"conftest.tmp"
2639 mv "conftest.tmp" "conftest.in"
2640 cp "conftest.in" "conftest.nl"
2641 $as_echo 'EGREP' >> "conftest.nl"
2642 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2644 as_fn_arith $ac_count + 1 && ac_count=$as_val
2645 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2646 # Best one so far, save it but keep looking for a better one
2647 ac_cv_path_EGREP="$ac_path_EGREP"
2648 ac_path_EGREP_max=$ac_count
2650 # 10*(2^10) chars as input seems more than enough
2651 test $ac_count -gt 10 && break
2652 done
2653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2654 esac
2656 $ac_path_EGREP_found && break 3
2657 done
2658 done
2659 done
2660 IFS=$as_save_IFS
2661 if test -z "$ac_cv_path_EGREP"; then
2662 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2664 else
2665 ac_cv_path_EGREP=$EGREP
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2671 $as_echo "$ac_cv_path_EGREP" >&6; }
2672 EGREP="$ac_cv_path_EGREP"
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
2676 $as_echo_n "checking for fgrep... " >&6; }
2677 if ${ac_cv_path_FGREP+:} false; then :
2678 $as_echo_n "(cached) " >&6
2679 else
2680 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2681 then ac_cv_path_FGREP="$GREP -F"
2682 else
2683 if test -z "$FGREP"; then
2684 ac_path_FGREP_found=false
2685 # Loop through the user's path and test for each of PROGNAME-LIST
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2689 IFS=$as_save_IFS
2690 test -z "$as_dir" && as_dir=.
2691 for ac_prog in fgrep; do
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2694 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2695 # Check for GNU ac_path_FGREP and select it if it is found.
2696 # Check for GNU $ac_path_FGREP
2697 case `"$ac_path_FGREP" --version 2>&1` in
2698 *GNU*)
2699 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2701 ac_count=0
2702 $as_echo_n 0123456789 >"conftest.in"
2703 while :
2705 cat "conftest.in" "conftest.in" >"conftest.tmp"
2706 mv "conftest.tmp" "conftest.in"
2707 cp "conftest.in" "conftest.nl"
2708 $as_echo 'FGREP' >> "conftest.nl"
2709 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2711 as_fn_arith $ac_count + 1 && ac_count=$as_val
2712 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2713 # Best one so far, save it but keep looking for a better one
2714 ac_cv_path_FGREP="$ac_path_FGREP"
2715 ac_path_FGREP_max=$ac_count
2717 # 10*(2^10) chars as input seems more than enough
2718 test $ac_count -gt 10 && break
2719 done
2720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2721 esac
2723 $ac_path_FGREP_found && break 3
2724 done
2725 done
2726 done
2727 IFS=$as_save_IFS
2728 if test -z "$ac_cv_path_FGREP"; then
2729 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2731 else
2732 ac_cv_path_FGREP=$FGREP
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
2738 $as_echo "$ac_cv_path_FGREP" >&6; }
2739 FGREP="$ac_cv_path_FGREP"
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /bin/sh has working 'set -e' with exit trap" >&5
2744 $as_echo_n "checking whether /bin/sh has working 'set -e' with exit trap... " >&6; }
2745 if ${am_cv_sh_errexit_works+:} false; then :
2746 $as_echo_n "(cached) " >&6
2747 else
2748 if /bin/sh -ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $? = 77
2749 then
2750 am_cv_sh_errexit_works=yes
2751 else
2752 am_cv_sh_errexit_works=no
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_sh_errexit_works" >&5
2757 $as_echo "$am_cv_sh_errexit_works" >&6; }
2758 if test $am_cv_sh_errexit_works = no; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2760 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2762 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2764 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2766 sh_errexit_works=$am_cv_sh_errexit_works
2769 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"
2771 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2773 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2776 cat >confcache <<\_ACEOF
2777 # This file is a shell script that caches the results of configure
2778 # tests run on this system so they can be shared between configure
2779 # scripts and configure runs, see configure's option --config-cache.
2780 # It is not useful on other systems. If it contains results you don't
2781 # want to keep, you may remove or edit it.
2783 # config.status only pays attention to the cache file if you give it
2784 # the --recheck option to rerun configure.
2786 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2787 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2788 # following values.
2790 _ACEOF
2792 # The following way of writing the cache mishandles newlines in values,
2793 # but we know of no workaround that is simple, portable, and efficient.
2794 # So, we kill variables containing newlines.
2795 # Ultrix sh set writes to stderr and can't be redirected directly,
2796 # and sets the high bit in the cache file unless we assign to the vars.
2798 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2799 eval ac_val=\$$ac_var
2800 case $ac_val in #(
2801 *${as_nl}*)
2802 case $ac_var in #(
2803 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2805 esac
2806 case $ac_var in #(
2807 _ | IFS | as_nl) ;; #(
2808 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2809 *) { eval $ac_var=; unset $ac_var;} ;;
2810 esac ;;
2811 esac
2812 done
2814 (set) 2>&1 |
2815 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2816 *${as_nl}ac_space=\ *)
2817 # `set' does not quote correctly, so add quotes: double-quote
2818 # substitution turns \\\\ into \\, and sed turns \\ into \.
2819 sed -n \
2820 "s/'/'\\\\''/g;
2821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2822 ;; #(
2824 # `set' quotes correctly as required by POSIX, so do not add quotes.
2825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2827 esac |
2828 sort
2830 sed '
2831 /^ac_cv_env_/b end
2832 t clear
2833 :clear
2834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2835 t end
2836 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2837 :end' >>confcache
2838 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2839 if test -w "$cache_file"; then
2840 if test "x$cache_file" != "x/dev/null"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2842 $as_echo "$as_me: updating cache $cache_file" >&6;}
2843 if test ! -f "$cache_file" || test -h "$cache_file"; then
2844 cat confcache >"$cache_file"
2845 else
2846 case $cache_file in #(
2847 */* | ?:*)
2848 mv -f confcache "$cache_file"$$ &&
2849 mv -f "$cache_file"$$ "$cache_file" ;; #(
2851 mv -f confcache "$cache_file" ;;
2852 esac
2855 else
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2857 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2860 rm -f confcache
2862 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2863 # Let make expand exec_prefix.
2864 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2866 # Transform confdefs.h into DEFS.
2867 # Protect against shell expansion while executing Makefile rules.
2868 # Protect against Makefile macro expansion.
2870 # If the first sed substitution is executed (which looks for macros that
2871 # take arguments), then branch to the quote section. Otherwise,
2872 # look for a macro that doesn't take arguments.
2873 ac_script='
2874 :mline
2875 /\\$/{
2877 s,\\\n,,
2878 b mline
2880 t clear
2881 :clear
2882 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2883 t quote
2884 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2885 t quote
2886 b any
2887 :quote
2888 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2889 s/\[/\\&/g
2890 s/\]/\\&/g
2891 s/\$/$$/g
2893 :any
2896 s/^\n//
2897 s/\n/ /g
2901 DEFS=`sed -n "$ac_script" confdefs.h`
2904 ac_libobjs=
2905 ac_ltlibobjs=
2907 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2908 # 1. Remove the extension, and $U if already installed.
2909 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2910 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2912 # will be set to the directory where LIBOBJS objects are built.
2913 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2914 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2915 done
2916 LIBOBJS=$ac_libobjs
2918 LTLIBOBJS=$ac_ltlibobjs
2923 : "${CONFIG_STATUS=./config.status}"
2924 ac_write_fail=0
2925 ac_clean_files_save=$ac_clean_files
2926 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2928 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2929 as_write_fail=0
2930 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2931 #! $SHELL
2932 # Generated by $as_me.
2933 # Run this file to recreate the current configuration.
2934 # Compiler output produced by configure, useful for debugging
2935 # configure, is in config.log if it exists.
2937 debug=false
2938 ac_cs_recheck=false
2939 ac_cs_silent=false
2941 SHELL=\${CONFIG_SHELL-$SHELL}
2942 export SHELL
2943 _ASEOF
2944 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2945 ## -------------------- ##
2946 ## M4sh Initialization. ##
2947 ## -------------------- ##
2949 # Be more Bourne compatible
2950 DUALCASE=1; export DUALCASE # for MKS sh
2951 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2952 emulate sh
2953 NULLCMD=:
2954 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2955 # is contrary to our usage. Disable this feature.
2956 alias -g '${1+"$@"}'='"$@"'
2957 setopt NO_GLOB_SUBST
2958 else
2959 case `(set -o) 2>/dev/null` in #(
2960 *posix*) :
2961 set -o posix ;; #(
2962 *) :
2964 esac
2968 as_nl='
2970 export as_nl
2971 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2972 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2973 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2974 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2975 # Prefer a ksh shell builtin over an external printf program on Solaris,
2976 # but without wasting forks for bash or zsh.
2977 if test -z "$BASH_VERSION$ZSH_VERSION" \
2978 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2979 as_echo='print -r --'
2980 as_echo_n='print -rn --'
2981 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2982 as_echo='printf %s\n'
2983 as_echo_n='printf %s'
2984 else
2985 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2986 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2987 as_echo_n='/usr/ucb/echo -n'
2988 else
2989 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2990 as_echo_n_body='eval
2991 arg=$1;
2992 case $arg in #(
2993 *"$as_nl"*)
2994 expr "X$arg" : "X\\(.*\\)$as_nl";
2995 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2996 esac;
2997 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2999 export as_echo_n_body
3000 as_echo_n='sh -c $as_echo_n_body as_echo'
3002 export as_echo_body
3003 as_echo='sh -c $as_echo_body as_echo'
3006 # The user is always right.
3007 if test "${PATH_SEPARATOR+set}" != set; then
3008 PATH_SEPARATOR=:
3009 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3010 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3011 PATH_SEPARATOR=';'
3016 # IFS
3017 # We need space, tab and new line, in precisely that order. Quoting is
3018 # there to prevent editors from complaining about space-tab.
3019 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3020 # splitting by setting IFS to empty value.)
3021 IFS=" "" $as_nl"
3023 # Find who we are. Look in the path if we contain no directory separator.
3024 as_myself=
3025 case $0 in #((
3026 *[\\/]* ) as_myself=$0 ;;
3027 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 for as_dir in $PATH
3030 IFS=$as_save_IFS
3031 test -z "$as_dir" && as_dir=.
3032 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3033 done
3034 IFS=$as_save_IFS
3037 esac
3038 # We did not find ourselves, most probably we were run as `sh COMMAND'
3039 # in which case we are not to be found in the path.
3040 if test "x$as_myself" = x; then
3041 as_myself=$0
3043 if test ! -f "$as_myself"; then
3044 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3045 exit 1
3048 # Unset variables that we do not need and which cause bugs (e.g. in
3049 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3050 # suppresses any "Segmentation fault" message there. '((' could
3051 # trigger a bug in pdksh 5.2.14.
3052 for as_var in BASH_ENV ENV MAIL MAILPATH
3053 do eval test x\${$as_var+set} = xset \
3054 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3055 done
3056 PS1='$ '
3057 PS2='> '
3058 PS4='+ '
3060 # NLS nuisances.
3061 LC_ALL=C
3062 export LC_ALL
3063 LANGUAGE=C
3064 export LANGUAGE
3066 # CDPATH.
3067 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3070 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3071 # ----------------------------------------
3072 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3073 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3074 # script with STATUS, using 1 if that was 0.
3075 as_fn_error ()
3077 as_status=$1; test $as_status -eq 0 && as_status=1
3078 if test "$4"; then
3079 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3082 $as_echo "$as_me: error: $2" >&2
3083 as_fn_exit $as_status
3084 } # as_fn_error
3087 # as_fn_set_status STATUS
3088 # -----------------------
3089 # Set $? to STATUS, without forking.
3090 as_fn_set_status ()
3092 return $1
3093 } # as_fn_set_status
3095 # as_fn_exit STATUS
3096 # -----------------
3097 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3098 as_fn_exit ()
3100 set +e
3101 as_fn_set_status $1
3102 exit $1
3103 } # as_fn_exit
3105 # as_fn_unset VAR
3106 # ---------------
3107 # Portably unset VAR.
3108 as_fn_unset ()
3110 { eval $1=; unset $1;}
3112 as_unset=as_fn_unset
3113 # as_fn_append VAR VALUE
3114 # ----------------------
3115 # Append the text in VALUE to the end of the definition contained in VAR. Take
3116 # advantage of any shell optimizations that allow amortized linear growth over
3117 # repeated appends, instead of the typical quadratic growth present in naive
3118 # implementations.
3119 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3120 eval 'as_fn_append ()
3122 eval $1+=\$2
3124 else
3125 as_fn_append ()
3127 eval $1=\$$1\$2
3129 fi # as_fn_append
3131 # as_fn_arith ARG...
3132 # ------------------
3133 # Perform arithmetic evaluation on the ARGs, and store the result in the
3134 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3135 # must be portable across $(()) and expr.
3136 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3137 eval 'as_fn_arith ()
3139 as_val=$(( $* ))
3141 else
3142 as_fn_arith ()
3144 as_val=`expr "$@" || test $? -eq 1`
3146 fi # as_fn_arith
3149 if expr a : '\(a\)' >/dev/null 2>&1 &&
3150 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3151 as_expr=expr
3152 else
3153 as_expr=false
3156 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3157 as_basename=basename
3158 else
3159 as_basename=false
3162 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3163 as_dirname=dirname
3164 else
3165 as_dirname=false
3168 as_me=`$as_basename -- "$0" ||
3169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3170 X"$0" : 'X\(//\)$' \| \
3171 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3172 $as_echo X/"$0" |
3173 sed '/^.*\/\([^/][^/]*\)\/*$/{
3174 s//\1/
3177 /^X\/\(\/\/\)$/{
3178 s//\1/
3181 /^X\/\(\/\).*/{
3182 s//\1/
3185 s/.*/./; q'`
3187 # Avoid depending upon Character Ranges.
3188 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3189 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3190 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3191 as_cr_digits='0123456789'
3192 as_cr_alnum=$as_cr_Letters$as_cr_digits
3194 ECHO_C= ECHO_N= ECHO_T=
3195 case `echo -n x` in #(((((
3196 -n*)
3197 case `echo 'xy\c'` in
3198 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3199 xy) ECHO_C='\c';;
3200 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3201 ECHO_T=' ';;
3202 esac;;
3204 ECHO_N='-n';;
3205 esac
3207 rm -f conf$$ conf$$.exe conf$$.file
3208 if test -d conf$$.dir; then
3209 rm -f conf$$.dir/conf$$.file
3210 else
3211 rm -f conf$$.dir
3212 mkdir conf$$.dir 2>/dev/null
3214 if (echo >conf$$.file) 2>/dev/null; then
3215 if ln -s conf$$.file conf$$ 2>/dev/null; then
3216 as_ln_s='ln -s'
3217 # ... but there are two gotchas:
3218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3220 # In both cases, we have to default to `cp -p'.
3221 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3222 as_ln_s='cp -p'
3223 elif ln conf$$.file conf$$ 2>/dev/null; then
3224 as_ln_s=ln
3225 else
3226 as_ln_s='cp -p'
3228 else
3229 as_ln_s='cp -p'
3231 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3232 rmdir conf$$.dir 2>/dev/null
3235 # as_fn_mkdir_p
3236 # -------------
3237 # Create "$as_dir" as a directory, including parents if necessary.
3238 as_fn_mkdir_p ()
3241 case $as_dir in #(
3242 -*) as_dir=./$as_dir;;
3243 esac
3244 test -d "$as_dir" || eval $as_mkdir_p || {
3245 as_dirs=
3246 while :; do
3247 case $as_dir in #(
3248 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3249 *) as_qdir=$as_dir;;
3250 esac
3251 as_dirs="'$as_qdir' $as_dirs"
3252 as_dir=`$as_dirname -- "$as_dir" ||
3253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3254 X"$as_dir" : 'X\(//\)[^/]' \| \
3255 X"$as_dir" : 'X\(//\)$' \| \
3256 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3257 $as_echo X"$as_dir" |
3258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3259 s//\1/
3262 /^X\(\/\/\)[^/].*/{
3263 s//\1/
3266 /^X\(\/\/\)$/{
3267 s//\1/
3270 /^X\(\/\).*/{
3271 s//\1/
3274 s/.*/./; q'`
3275 test -d "$as_dir" && break
3276 done
3277 test -z "$as_dirs" || eval "mkdir $as_dirs"
3278 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3281 } # as_fn_mkdir_p
3282 if mkdir -p . 2>/dev/null; then
3283 as_mkdir_p='mkdir -p "$as_dir"'
3284 else
3285 test -d ./-p && rmdir ./-p
3286 as_mkdir_p=false
3289 if test -x / >/dev/null 2>&1; then
3290 as_test_x='test -x'
3291 else
3292 if ls -dL / >/dev/null 2>&1; then
3293 as_ls_L_option=L
3294 else
3295 as_ls_L_option=
3297 as_test_x='
3298 eval sh -c '\''
3299 if test -d "$1"; then
3300 test -d "$1/.";
3301 else
3302 case $1 in #(
3303 -*)set "./$1";;
3304 esac;
3305 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3306 ???[sx]*):;;*)false;;esac;fi
3307 '\'' sh
3310 as_executable_p=$as_test_x
3312 # Sed expression to map a string onto a valid CPP name.
3313 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3315 # Sed expression to map a string onto a valid variable name.
3316 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3319 exec 6>&1
3320 ## ----------------------------------- ##
3321 ## Main body of $CONFIG_STATUS script. ##
3322 ## ----------------------------------- ##
3323 _ASEOF
3324 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3327 # Save the log message, to keep $0 and so on meaningful, and to
3328 # report actual input values of CONFIG_FILES etc. instead of their
3329 # values after options handling.
3330 ac_log="
3331 This file was extended by GNU Automake $as_me 1.11, which was
3332 generated by GNU Autoconf 2.68. Invocation command line was
3334 CONFIG_FILES = $CONFIG_FILES
3335 CONFIG_HEADERS = $CONFIG_HEADERS
3336 CONFIG_LINKS = $CONFIG_LINKS
3337 CONFIG_COMMANDS = $CONFIG_COMMANDS
3338 $ $0 $@
3340 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3343 _ACEOF
3345 case $ac_config_files in *"
3346 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3347 esac
3351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3352 # Files that config.status was made for.
3353 config_files="$ac_config_files"
3355 _ACEOF
3357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3358 ac_cs_usage="\
3359 \`$as_me' instantiates files and other configuration actions
3360 from templates according to the current configuration. Unless the files
3361 and actions are specified as TAGs, all are instantiated by default.
3363 Usage: $0 [OPTION]... [TAG]...
3365 -h, --help print this help, then exit
3366 -V, --version print version number and configuration settings, then exit
3367 --config print configuration, then exit
3368 -q, --quiet, --silent
3369 do not print progress messages
3370 -d, --debug don't remove temporary files
3371 --recheck update $as_me by reconfiguring in the same conditions
3372 --file=FILE[:TEMPLATE]
3373 instantiate the configuration file FILE
3375 Configuration files:
3376 $config_files
3378 Report bugs to <bug-automake@gnu.org>.
3379 GNU Automake home page: <http://www.gnu.org/software/automake/>.
3380 General help using GNU software: <http://www.gnu.org/gethelp/>."
3382 _ACEOF
3383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3384 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3385 ac_cs_version="\\
3386 GNU Automake config.status 1.11
3387 configured by $0, generated by GNU Autoconf 2.68,
3388 with options \\"\$ac_cs_config\\"
3390 Copyright (C) 2010 Free Software Foundation, Inc.
3391 This config.status script is free software; the Free Software Foundation
3392 gives unlimited permission to copy, distribute and modify it."
3394 ac_pwd='$ac_pwd'
3395 srcdir='$srcdir'
3396 INSTALL='$INSTALL'
3397 MKDIR_P='$MKDIR_P'
3398 AWK='$AWK'
3399 test -n "\$AWK" || AWK=awk
3400 _ACEOF
3402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3403 # The default lists apply if the user does not specify any file.
3404 ac_need_defaults=:
3405 while test $# != 0
3407 case $1 in
3408 --*=?*)
3409 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3410 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3411 ac_shift=:
3413 --*=)
3414 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3415 ac_optarg=
3416 ac_shift=:
3419 ac_option=$1
3420 ac_optarg=$2
3421 ac_shift=shift
3423 esac
3425 case $ac_option in
3426 # Handling of the options.
3427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3428 ac_cs_recheck=: ;;
3429 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3430 $as_echo "$ac_cs_version"; exit ;;
3431 --config | --confi | --conf | --con | --co | --c )
3432 $as_echo "$ac_cs_config"; exit ;;
3433 --debug | --debu | --deb | --de | --d | -d )
3434 debug=: ;;
3435 --file | --fil | --fi | --f )
3436 $ac_shift
3437 case $ac_optarg in
3438 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3439 '') as_fn_error $? "missing file argument" ;;
3440 esac
3441 as_fn_append CONFIG_FILES " '$ac_optarg'"
3442 ac_need_defaults=false;;
3443 --he | --h | --help | --hel | -h )
3444 $as_echo "$ac_cs_usage"; exit ;;
3445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3447 ac_cs_silent=: ;;
3449 # This is an error.
3450 -*) as_fn_error $? "unrecognized option: \`$1'
3451 Try \`$0 --help' for more information." ;;
3453 *) as_fn_append ac_config_targets " $1"
3454 ac_need_defaults=false ;;
3456 esac
3457 shift
3458 done
3460 ac_configure_extra_args=
3462 if $ac_cs_silent; then
3463 exec 6>/dev/null
3464 ac_configure_extra_args="$ac_configure_extra_args --silent"
3467 _ACEOF
3468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3469 if \$ac_cs_recheck; then
3470 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3471 shift
3472 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3473 CONFIG_SHELL='$SHELL'
3474 export CONFIG_SHELL
3475 exec "\$@"
3478 _ACEOF
3479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3480 exec 5>>config.log
3482 echo
3483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3484 ## Running $as_me. ##
3485 _ASBOX
3486 $as_echo "$ac_log"
3487 } >&5
3489 _ACEOF
3490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3492 # INIT-COMMANDS
3494 APIVERSION=$APIVERSION
3496 _ACEOF
3498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3500 # Handling of arguments.
3501 for ac_config_target in $ac_config_targets
3503 case $ac_config_target in
3504 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3505 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3506 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3507 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3508 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3509 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3510 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3511 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3512 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3513 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3514 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3516 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3517 esac
3518 done
3521 # If the user did not use the arguments to specify the items to instantiate,
3522 # then the envvar interface is used. Set only those that are not.
3523 # We use the long form for the default assignment because of an extremely
3524 # bizarre bug on SunOS 4.1.3.
3525 if $ac_need_defaults; then
3526 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3529 # Have a temporary directory for convenience. Make it in the build tree
3530 # simply because there is no reason against having it here, and in addition,
3531 # creating and moving files from /tmp can sometimes cause problems.
3532 # Hook for its removal unless debugging.
3533 # Note that there is a small window in which the directory will not be cleaned:
3534 # after its creation but before its name has been assigned to `$tmp'.
3535 $debug ||
3537 tmp= ac_tmp=
3538 trap 'exit_status=$?
3539 : "${ac_tmp:=$tmp}"
3540 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3542 trap 'as_fn_exit 1' 1 2 13 15
3544 # Create a (secure) tmp directory for tmp files.
3547 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3548 test -d "$tmp"
3549 } ||
3551 tmp=./conf$$-$RANDOM
3552 (umask 077 && mkdir "$tmp")
3553 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3554 ac_tmp=$tmp
3556 # Set up the scripts for CONFIG_FILES section.
3557 # No need to generate them if there are no CONFIG_FILES.
3558 # This happens for instance with `./config.status config.h'.
3559 if test -n "$CONFIG_FILES"; then
3562 ac_cr=`echo X | tr X '\015'`
3563 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3564 # But we know of no other shell where ac_cr would be empty at this
3565 # point, so we can use a bashism as a fallback.
3566 if test "x$ac_cr" = x; then
3567 eval ac_cr=\$\'\\r\'
3569 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3570 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3571 ac_cs_awk_cr='\\r'
3572 else
3573 ac_cs_awk_cr=$ac_cr
3576 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3577 _ACEOF
3581 echo "cat >conf$$subs.awk <<_ACEOF" &&
3582 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3583 echo "_ACEOF"
3584 } >conf$$subs.sh ||
3585 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3586 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3587 ac_delim='%!_!# '
3588 for ac_last_try in false false false false false :; do
3589 . ./conf$$subs.sh ||
3590 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3592 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3593 if test $ac_delim_n = $ac_delim_num; then
3594 break
3595 elif $ac_last_try; then
3596 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3597 else
3598 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3600 done
3601 rm -f conf$$subs.sh
3603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3604 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3605 _ACEOF
3606 sed -n '
3608 s/^/S["/; s/!.*/"]=/
3611 s/^[^!]*!//
3612 :repl
3613 t repl
3614 s/'"$ac_delim"'$//
3615 t delim
3618 s/\(.\{148\}\)..*/\1/
3619 t more1
3620 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3623 b repl
3624 :more1
3625 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3628 s/.\{148\}//
3629 t nl
3630 :delim
3632 s/\(.\{148\}\)..*/\1/
3633 t more2
3634 s/["\\]/\\&/g; s/^/"/; s/$/"/
3637 :more2
3638 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3641 s/.\{148\}//
3642 t delim
3643 ' <conf$$subs.awk | sed '
3644 /^[^""]/{
3646 s/\n//
3648 ' >>$CONFIG_STATUS || ac_write_fail=1
3649 rm -f conf$$subs.awk
3650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3651 _ACAWK
3652 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3653 for (key in S) S_is_set[key] = 1
3654 FS = "\a"
3658 line = $ 0
3659 nfields = split(line, field, "@")
3660 substed = 0
3661 len = length(field[1])
3662 for (i = 2; i < nfields; i++) {
3663 key = field[i]
3664 keylen = length(key)
3665 if (S_is_set[key]) {
3666 value = S[key]
3667 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3668 len += length(value) + length(field[++i])
3669 substed = 1
3670 } else
3671 len += 1 + keylen
3674 print line
3677 _ACAWK
3678 _ACEOF
3679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3680 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3681 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3682 else
3684 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3685 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3686 _ACEOF
3688 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3689 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3690 # trailing colons and then remove the whole line if VPATH becomes empty
3691 # (actually we leave an empty line to preserve line numbers).
3692 if test "x$srcdir" = x.; then
3693 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3695 s///
3696 s/^/:/
3697 s/[ ]*$/:/
3698 s/:\$(srcdir):/:/g
3699 s/:\${srcdir}:/:/g
3700 s/:@srcdir@:/:/g
3701 s/^:*//
3702 s/:*$//
3704 s/\(=[ ]*\).*/\1/
3706 s/\n//
3707 s/^[^=]*=[ ]*$//
3711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3712 fi # test -n "$CONFIG_FILES"
3715 eval set X " :F $CONFIG_FILES "
3716 shift
3717 for ac_tag
3719 case $ac_tag in
3720 :[FHLC]) ac_mode=$ac_tag; continue;;
3721 esac
3722 case $ac_mode$ac_tag in
3723 :[FHL]*:*);;
3724 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3725 :[FH]-) ac_tag=-:-;;
3726 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3727 esac
3728 ac_save_IFS=$IFS
3729 IFS=:
3730 set x $ac_tag
3731 IFS=$ac_save_IFS
3732 shift
3733 ac_file=$1
3734 shift
3736 case $ac_mode in
3737 :L) ac_source=$1;;
3738 :[FH])
3739 ac_file_inputs=
3740 for ac_f
3742 case $ac_f in
3743 -) ac_f="$ac_tmp/stdin";;
3744 *) # Look for the file first in the build tree, then in the source tree
3745 # (if the path is not absolute). The absolute path cannot be DOS-style,
3746 # because $ac_f cannot contain `:'.
3747 test -f "$ac_f" ||
3748 case $ac_f in
3749 [\\/$]*) false;;
3750 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3751 esac ||
3752 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3753 esac
3754 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3755 as_fn_append ac_file_inputs " '$ac_f'"
3756 done
3758 # Let's still pretend it is `configure' which instantiates (i.e., don't
3759 # use $as_me), people would be surprised to read:
3760 # /* config.h. Generated by config.status. */
3761 configure_input='Generated from '`
3762 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3763 `' by configure.'
3764 if test x"$ac_file" != x-; then
3765 configure_input="$ac_file. $configure_input"
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3767 $as_echo "$as_me: creating $ac_file" >&6;}
3769 # Neutralize special characters interpreted by sed in replacement strings.
3770 case $configure_input in #(
3771 *\&* | *\|* | *\\* )
3772 ac_sed_conf_input=`$as_echo "$configure_input" |
3773 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3774 *) ac_sed_conf_input=$configure_input;;
3775 esac
3777 case $ac_tag in
3778 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3779 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3780 esac
3782 esac
3784 ac_dir=`$as_dirname -- "$ac_file" ||
3785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3786 X"$ac_file" : 'X\(//\)[^/]' \| \
3787 X"$ac_file" : 'X\(//\)$' \| \
3788 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3789 $as_echo X"$ac_file" |
3790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3791 s//\1/
3794 /^X\(\/\/\)[^/].*/{
3795 s//\1/
3798 /^X\(\/\/\)$/{
3799 s//\1/
3802 /^X\(\/\).*/{
3803 s//\1/
3806 s/.*/./; q'`
3807 as_dir="$ac_dir"; as_fn_mkdir_p
3808 ac_builddir=.
3810 case "$ac_dir" in
3811 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3813 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3814 # A ".." for each directory in $ac_dir_suffix.
3815 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3816 case $ac_top_builddir_sub in
3817 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3818 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3819 esac ;;
3820 esac
3821 ac_abs_top_builddir=$ac_pwd
3822 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3823 # for backward compatibility:
3824 ac_top_builddir=$ac_top_build_prefix
3826 case $srcdir in
3827 .) # We are building in place.
3828 ac_srcdir=.
3829 ac_top_srcdir=$ac_top_builddir_sub
3830 ac_abs_top_srcdir=$ac_pwd ;;
3831 [\\/]* | ?:[\\/]* ) # Absolute name.
3832 ac_srcdir=$srcdir$ac_dir_suffix;
3833 ac_top_srcdir=$srcdir
3834 ac_abs_top_srcdir=$srcdir ;;
3835 *) # Relative name.
3836 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3837 ac_top_srcdir=$ac_top_build_prefix$srcdir
3838 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3839 esac
3840 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3843 case $ac_mode in
3846 # CONFIG_FILE
3849 case $INSTALL in
3850 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3851 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3852 esac
3853 ac_MKDIR_P=$MKDIR_P
3854 case $MKDIR_P in
3855 [\\/$]* | ?:[\\/]* ) ;;
3856 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3857 esac
3858 _ACEOF
3860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3861 # If the template does not know about datarootdir, expand it.
3862 # FIXME: This hack should be removed a few years after 2.60.
3863 ac_datarootdir_hack=; ac_datarootdir_seen=
3864 ac_sed_dataroot='
3865 /datarootdir/ {
3869 /@datadir@/p
3870 /@docdir@/p
3871 /@infodir@/p
3872 /@localedir@/p
3873 /@mandir@/p'
3874 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3875 *datarootdir*) ac_datarootdir_seen=yes;;
3876 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3878 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3879 _ACEOF
3880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3881 ac_datarootdir_hack='
3882 s&@datadir@&$datadir&g
3883 s&@docdir@&$docdir&g
3884 s&@infodir@&$infodir&g
3885 s&@localedir@&$localedir&g
3886 s&@mandir@&$mandir&g
3887 s&\\\${datarootdir}&$datarootdir&g' ;;
3888 esac
3889 _ACEOF
3891 # Neutralize VPATH when `$srcdir' = `.'.
3892 # Shell code in configure.ac might set extrasub.
3893 # FIXME: do we really want to maintain this feature?
3894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3895 ac_sed_extra="$ac_vpsub
3896 $extrasub
3897 _ACEOF
3898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3900 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3901 s|@configure_input@|$ac_sed_conf_input|;t t
3902 s&@top_builddir@&$ac_top_builddir_sub&;t t
3903 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3904 s&@srcdir@&$ac_srcdir&;t t
3905 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3906 s&@top_srcdir@&$ac_top_srcdir&;t t
3907 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3908 s&@builddir@&$ac_builddir&;t t
3909 s&@abs_builddir@&$ac_abs_builddir&;t t
3910 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3911 s&@INSTALL@&$ac_INSTALL&;t t
3912 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3913 $ac_datarootdir_hack
3915 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3916 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3918 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3919 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3920 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3921 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3923 which seems to be undefined. Please make sure it is defined" >&5
3924 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3925 which seems to be undefined. Please make sure it is defined" >&2;}
3927 rm -f "$ac_tmp/stdin"
3928 case $ac_file in
3929 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3930 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3931 esac \
3932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3937 esac
3940 case $ac_file$ac_mode in
3941 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3942 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3944 esac
3945 done # for ac_tag
3948 as_fn_exit 0
3949 _ACEOF
3950 ac_clean_files=$ac_clean_files_save
3952 test $ac_write_fail = 0 ||
3953 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3956 # configure is writing to config.log, and then calls config.status.
3957 # config.status does its own redirection, appending to config.log.
3958 # Unfortunately, on DOS this fails, as config.log is still kept open
3959 # by configure, so config.status won't be able to write to it; its
3960 # output is simply discarded. So we exec the FD to /dev/null,
3961 # effectively closing config.log, so it can be properly (re)opened and
3962 # appended to by config.status. When coming back to configure, we
3963 # need to make the FD available again.
3964 if test "$no_create" != yes; then
3965 ac_cs_success=:
3966 ac_config_status_args=
3967 test "$silent" = yes &&
3968 ac_config_status_args="$ac_config_status_args --quiet"
3969 exec 5>/dev/null
3970 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3971 exec 5>>config.log
3972 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3973 # would make configure fail if this is the last instruction.
3974 $ac_cs_success || as_fn_exit 1
3976 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3978 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}