2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU DejaGnu 1.6.3-git.
5 # Report bugs to <bug-dejagnu@gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: bug-dejagnu@gnu.org about your system, including any
270 $0: error possibly output before this message. Then install
271 $0: a modern shell, or manually run the script under such a
272 $0: shell if you do have one."
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
579 # Identity of this package.
580 PACKAGE_NAME
='GNU DejaGnu'
581 PACKAGE_TARNAME
='dejagnu'
582 PACKAGE_VERSION
='1.6.3-git'
583 PACKAGE_STRING
='GNU DejaGnu 1.6.3-git'
584 PACKAGE_BUGREPORT
='bug-dejagnu@gnu.org'
585 PACKAGE_URL
='http://www.gnu.org/software/dejagnu/'
587 ac_subst_vars
='am__EXEEXT_FALSE
617 MAINTAINER_MODE_FALSE
631 INSTALL_STRIP_PROGRAM
673 program_transform_name
687 enable_option_checking
689 enable_maintainer_mode
690 enable_dependency_tracking
692 ac_precious_vars
='build_alias
705 # Initialize some variables set by options.
707 ac_init_version
=false
708 ac_unrecognized_opts
=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
719 program_transform_name
=s
,x
,x
,
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir
='${exec_prefix}/bin'
734 sbindir
='${exec_prefix}/sbin'
735 libexecdir
='${exec_prefix}/libexec'
736 datarootdir
='${prefix}/share'
737 datadir
='${datarootdir}'
738 sysconfdir
='${prefix}/etc'
739 sharedstatedir
='${prefix}/com'
740 localstatedir
='${prefix}/var'
741 includedir
='${prefix}/include'
742 oldincludedir
='/usr/include'
743 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir
='${datarootdir}/info'
749 libdir
='${exec_prefix}/lib'
750 localedir
='${datarootdir}/locale'
751 mandir
='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\
$ac_option
765 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
778 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
781 -build |
--build |
--buil |
--bui |
--bu)
782 ac_prev
=build_alias
;;
783 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
784 build_alias
=$ac_optarg ;;
786 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
787 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
788 ac_prev
=cache_file
;;
789 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
790 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
791 cache_file
=$ac_optarg ;;
794 cache_file
=config.cache
;;
796 -datadir |
--datadir |
--datadi |
--datad)
798 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
799 datadir
=$ac_optarg ;;
801 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
802 |
--dataroo |
--dataro |
--datar)
803 ac_prev
=datarootdir
;;
804 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
805 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
806 datarootdir
=$ac_optarg ;;
808 -disable-* |
--disable-*)
809 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
812 as_fn_error $?
"invalid feature name: $ac_useropt"
813 ac_useropt_orig
=$ac_useropt
814 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep
=', ';;
822 eval enable_
$ac_useropt=no
;;
824 -docdir |
--docdir |
--docdi |
--doc |
--do)
826 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
829 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
831 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
834 -enable-* |
--enable-*)
835 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
838 as_fn_error $?
"invalid feature name: $ac_useropt"
839 ac_useropt_orig
=$ac_useropt
840 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep
=', ';;
848 eval enable_
$ac_useropt=\
$ac_optarg ;;
850 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
851 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
852 |
--exec |
--exe |
--ex)
853 ac_prev
=exec_prefix
;;
854 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
855 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
856 |
--exec=* |
--exe=* |
--ex=*)
857 exec_prefix
=$ac_optarg ;;
859 -gas |
--gas |
--ga |
--g)
860 # Obsolete; use --with-gas.
863 -help |
--help |
--hel |
--he |
-h)
865 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
866 ac_init_help
=recursive
;;
867 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
868 ac_init_help
=short
;;
870 -host |
--host |
--hos |
--ho)
871 ac_prev
=host_alias
;;
872 -host=* |
--host=* |
--hos=* |
--ho=*)
873 host_alias
=$ac_optarg ;;
875 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
877 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
879 htmldir
=$ac_optarg ;;
881 -includedir |
--includedir |
--includedi |
--included |
--include \
882 |
--includ |
--inclu |
--incl |
--inc)
883 ac_prev
=includedir
;;
884 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
885 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
886 includedir
=$ac_optarg ;;
888 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
890 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
891 infodir
=$ac_optarg ;;
893 -libdir |
--libdir |
--libdi |
--libd)
895 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
898 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
899 |
--libexe |
--libex |
--libe)
900 ac_prev
=libexecdir
;;
901 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
902 |
--libexe=* |
--libex=* |
--libe=*)
903 libexecdir
=$ac_optarg ;;
905 -localedir |
--localedir |
--localedi |
--localed |
--locale)
907 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
908 localedir
=$ac_optarg ;;
910 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
911 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
912 ac_prev
=localstatedir
;;
913 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
914 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
915 localstatedir
=$ac_optarg ;;
917 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
919 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
923 # Obsolete; use --without-fp.
926 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
927 |
--no-cr |
--no-c |
-n)
930 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
931 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
934 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
935 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
936 |
--oldin |
--oldi |
--old |
--ol |
--o)
937 ac_prev
=oldincludedir
;;
938 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
939 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
940 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
941 oldincludedir
=$ac_optarg ;;
943 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
945 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
948 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
949 |
--program-pre |
--program-pr |
--program-p)
950 ac_prev
=program_prefix
;;
951 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
952 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
953 program_prefix
=$ac_optarg ;;
955 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
956 |
--program-suf |
--program-su |
--program-s)
957 ac_prev
=program_suffix
;;
958 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
959 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
960 program_suffix
=$ac_optarg ;;
962 -program-transform-name |
--program-transform-name \
963 |
--program-transform-nam |
--program-transform-na \
964 |
--program-transform-n |
--program-transform- \
965 |
--program-transform |
--program-transfor \
966 |
--program-transfo |
--program-transf \
967 |
--program-trans |
--program-tran \
968 |
--progr-tra |
--program-tr |
--program-t)
969 ac_prev
=program_transform_name
;;
970 -program-transform-name=* |
--program-transform-name=* \
971 |
--program-transform-nam=* |
--program-transform-na=* \
972 |
--program-transform-n=* |
--program-transform-=* \
973 |
--program-transform=* |
--program-transfor=* \
974 |
--program-transfo=* |
--program-transf=* \
975 |
--program-trans=* |
--program-tran=* \
976 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
977 program_transform_name
=$ac_optarg ;;
979 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
981 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
984 -psdir |
--psdir |
--psdi |
--psd |
--ps)
986 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
989 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
990 |
-silent |
--silent |
--silen |
--sile |
--sil)
993 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
995 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
997 sbindir
=$ac_optarg ;;
999 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1000 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1001 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1003 ac_prev
=sharedstatedir
;;
1004 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1005 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1006 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1008 sharedstatedir
=$ac_optarg ;;
1010 -site |
--site |
--sit)
1012 -site=* |
--site=* |
--sit=*)
1015 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1017 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1018 srcdir
=$ac_optarg ;;
1020 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1021 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1022 ac_prev
=sysconfdir
;;
1023 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1024 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1025 sysconfdir
=$ac_optarg ;;
1027 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1028 ac_prev
=target_alias
;;
1029 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1030 target_alias
=$ac_optarg ;;
1032 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1035 -version |
--version |
--versio |
--versi |
--vers |
-V)
1036 ac_init_version
=: ;;
1039 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 as_fn_error $?
"invalid package name: $ac_useropt"
1043 ac_useropt_orig
=$ac_useropt
1044 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1049 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep
=', ';;
1052 eval with_
$ac_useropt=\
$ac_optarg ;;
1054 -without-* |
--without-*)
1055 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error $?
"invalid package name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=no
;;
1071 # Obsolete; use --with-x.
1074 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1075 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1076 ac_prev
=x_includes
;;
1077 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1078 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1079 x_includes
=$ac_optarg ;;
1081 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1082 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1083 ac_prev
=x_libraries
;;
1084 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1085 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1086 x_libraries
=$ac_optarg ;;
1088 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1093 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1097 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1099 eval $ac_envvar=\
$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1113 if test -n "$ac_prev"; then
1114 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $?
"missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1121 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1126 # Check all directory arguments for consistency.
1127 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val
=\$
$ac_var
1133 # Remove trailing slashes.
1136 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\
$ac_val;;
1139 # Be sure to have absolute directory names.
1141 [\\/$
]* | ?
:[\\/]* ) continue;;
1142 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1144 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1152 target
=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x
; then
1156 if test "x$build_alias" = x
; then
1157 cross_compiling
=maybe
1158 elif test "x$build_alias" != "x$host_alias"; then
1164 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1166 test "$silent" = yes && exec 6>/dev
/null
1169 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di
=`ls -di .` &&
1171 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1172 as_fn_error $?
"working directory cannot be determined"
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 as_fn_error $?
"pwd does not report name of working directory"
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted
=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir
=`$as_dirname -- "$as_myself" ||
1182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$as_myself" : 'X\(//\)[^/]' \| \
1184 X"$as_myself" : 'X\(//\)$' \| \
1185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186 $as_echo X"$as_myself" |
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1209 ac_srcdir_defaulted
=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1213 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1215 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1227 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 for ac_var
in $ac_precious_vars; do
1230 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1232 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1243 \`configure' configures GNU DejaGnu 1.6.3-git to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking ...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/dejagnu]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive
) echo "Configuration of GNU DejaGnu 1.6.3-git:";;
1314 --disable-option-checking ignore unrecognized
--enable/--with options
1315 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1316 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1317 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1318 --disable-silent-rules verbose build output
(undo
: "make V=0")
1319 --enable-maintainer-mode
1320 enable make rules and dependencies not useful
(and
1321 sometimes confusing
) to the casual installer
1322 --enable-dependency-tracking
1323 do not reject slow dependency extractors
1324 --disable-dependency-tracking
1325 speeds up one-time build
1327 Some influential environment variables
:
1328 CC C compiler
command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1331 nonstandard directory
<lib dir
>
1332 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1333 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1334 you have headers
in a nonstandard directory
<include dir
>
1335 CXX C
++ compiler
command
1336 CXXFLAGS C
++ compiler flags
1338 Use these variables to override the choices made by
`configure' or to help
1339 it to find libraries and programs with nonstandard names/locations.
1341 Report bugs to <bug-dejagnu@gnu.org>.
1342 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
1343 General help using GNU software: <http://www.gnu.org/gethelp/>.
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" ||
1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1373 .) # We are building in place.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1406 GNU DejaGnu configure 1.6.3-git
1407 generated by GNU Autoconf 2.69
1409 Copyright (C) 2012 Free Software Foundation, Inc.
1410 This configure script is free software; the Free Software Foundation
1411 gives unlimited permission to copy, distribute and modify it.
1416 ## ------------------------ ##
1417 ## Autoconf initialization. ##
1418 ## ------------------------ ##
1420 # ac_fn_c_try_compile LINENO
1421 # --------------------------
1422 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1423 ac_fn_c_try_compile ()
1425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426 rm -f conftest.$ac_objext
1427 if { { ac_try="$ac_compile"
1429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1430 *) ac_try_echo
=$ac_try;;
1432 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433 $as_echo "$ac_try_echo"; } >&5
1434 (eval "$ac_compile") 2>conftest.err
1436 if test -s conftest.err
; then
1437 grep -v '^ *+' conftest.err
>conftest.er1
1438 cat conftest.er1
>&5
1439 mv -f conftest.er1 conftest.err
1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442 test $ac_status = 0; } && {
1443 test -z "$ac_c_werror_flag" ||
1444 test ! -s conftest.err
1445 } && test -s conftest.
$ac_objext; then :
1448 $as_echo "$as_me: failed program was:" >&5
1449 sed 's/^/| /' conftest.
$ac_ext >&5
1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1454 as_fn_set_status
$ac_retval
1456 } # ac_fn_c_try_compile
1458 # ac_fn_cxx_try_compile LINENO
1459 # ----------------------------
1460 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1461 ac_fn_cxx_try_compile
()
1463 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1464 rm -f conftest.
$ac_objext
1465 if { { ac_try
="$ac_compile"
1467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_compile") 2>conftest.err
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } && {
1481 test -z "$ac_cxx_werror_flag" ||
1482 test ! -s conftest.err
1483 } && test -s conftest.$ac_objext; then :
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1494 } # ac_fn_cxx_try_compile
1495 cat >config.log <<_ACEOF
1496 This file contains any messages produced by compilers while
1497 running configure, to aid debugging if configure makes a mistake.
1499 It was created by GNU DejaGnu $as_me 1.6.3-git, which was
1500 generated by GNU Autoconf 2.69. Invocation command line was
1512 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1513 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1514 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1515 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1516 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1518 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1519 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1521 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1522 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1523 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1524 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1525 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1526 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1527 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 $as_echo "PATH: $as_dir"
1552 # Keep a trace of the command line.
1553 # Strip out --no-create and --no-recursion so they do not pile up.
1554 # Strip out --silent because we don't want to record it for future runs.
1555 # Also quote any args containing shell meta-characters.
1556 # Make two passes to allow for proper duplicate-argument suppression.
1560 ac_must_keep_next=false
1566 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1568 | -silent | --silent | --silen | --sile | --sil)
1571 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1574 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1576 as_fn_append ac_configure_args1 " '$ac_arg'"
1577 if test $ac_must_keep_next = true; then
1578 ac_must_keep_next=false # Got value, back to normal.
1581 *=* | --config-cache | -C | -disable-* | --disable-* \
1582 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1583 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1584 | -with-* | --with-* | -without-* | --without-* | --x)
1585 case "$ac_configure_args0 " in
1586 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1589 -* ) ac_must_keep_next=true ;;
1592 as_fn_append ac_configure_args " '$ac_arg'"
1597 { ac_configure_args0=; unset ac_configure_args0;}
1598 { ac_configure_args1=; unset ac_configure_args1;}
1600 # When interrupted or exit'd, cleanup temporary files, and complete
1601 # config.log. We remove comments because anyway the quotes in there
1602 # would cause problems or look ugly.
1603 # WARNING: Use '\'' to represent an apostrophe within the trap.
1604 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1605 trap 'exit_status=$?
1606 # Save into config.log some information that might help in debugging.
1610 $as_echo "## ---------------- ##
1611 ## Cache variables. ##
1612 ## ---------------- ##"
1614 # The following way of writing the cache mishandles newlines in values,
1616 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1617 eval ac_val=\$$ac_var
1621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1625 _ | IFS | as_nl) ;; #(
1626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1627 *) { eval $ac_var=; unset $ac_var;} ;;
1632 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1633 *${as_nl}ac_space=\ *)
1635 "s/'\''/'\''\\\\'\'''\''/g;
1636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1646 $as_echo "## ----------------- ##
1647 ## Output variables. ##
1648 ## ----------------- ##"
1650 for ac_var in $ac_subst_vars
1652 eval ac_val=\$$ac_var
1654 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656 $as_echo "$ac_var='\''$ac_val'\''"
1660 if test -n "$ac_subst_files"; then
1661 $as_echo "## ------------------- ##
1662 ## File substitutions. ##
1663 ## ------------------- ##"
1665 for ac_var in $ac_subst_files
1667 eval ac_val=\$$ac_var
1669 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 $as_echo "$ac_var='\''$ac_val'\''"
1676 if test -s confdefs.h; then
1677 $as_echo "## ----------- ##
1684 test "$ac_signal" != 0 &&
1685 $as_echo "$as_me: caught signal $ac_signal"
1686 $as_echo "$as_me: exit $exit_status"
1688 rm -f core *.core core.conftest.* &&
1689 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1692 for ac_signal in 1 2 13 15; do
1693 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1697 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1698 rm -f -r conftest* confdefs.h
1700 $as_echo "/* confdefs.h */" > confdefs.h
1702 # Predefined preprocessor variables.
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_NAME "$PACKAGE_NAME"
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_STRING "$PACKAGE_STRING"
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_URL "$PACKAGE_URL"
1729 # Let the site file select an alternate cache file if it wants to.
1730 # Prefer an explicitly selected file to automatically selected ones.
1733 if test -n "$CONFIG_SITE"; then
1734 # We do not want a PATH search for config.site.
1735 case $CONFIG_SITE in #((
1736 -*) ac_site_file1=./$CONFIG_SITE;;
1737 */*) ac_site_file1=$CONFIG_SITE;;
1738 *) ac_site_file1=./$CONFIG_SITE;;
1740 elif test "x$prefix" != xNONE; then
1741 ac_site_file1=$prefix/share/config.site
1742 ac_site_file2=$prefix/etc/config.site
1744 ac_site_file1=$ac_default_prefix/share/config.site
1745 ac_site_file2=$ac_default_prefix/etc/config.site
1747 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1749 test "x$ac_site_file" = xNONE && continue
1750 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1752 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1753 sed 's/^/| /' "$ac_site_file" >&5
1755 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1757 as_fn_error $? "failed to load site
script $ac_site_file
1758 See \
`config.log' for more details" "$LINENO" 5; }
1762 if test -r "$cache_file"; then
1763 # Some versions of bash will fail to source /dev/null (special files
1764 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1765 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1767 $as_echo "$as_me: loading cache $cache_file" >&6;}
1769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770 *) . "./$cache_file";;
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1775 $as_echo "$as_me: creating cache $cache_file" >&6;}
1779 # Check that the precious variables saved in the cache have kept the same
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784 eval ac_new_set=\$ac_env_${ac_var}_set
1785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786 eval ac_new_val=\$ac_env_${ac_var}_value
1787 case $ac_old_set,$ac_new_set in
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1790 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1794 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1798 if test "x$ac_old_val" != "x$ac_new_val"; then
1799 # differences in whitespace do not lead to failure.
1800 ac_old_val_w=`echo x
$ac_old_val`
1801 ac_new_val_w=`echo x
$ac_new_val`
1802 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1804 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1805 ac_cache_corrupted=:
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1808 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1809 eval $ac_var=\$ac_old_val
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1812 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1814 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1817 # Pass precious variables to config.status.
1818 if test "$ac_new_set" = set; then
1820 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1821 *) ac_arg=$ac_var=$ac_new_val ;;
1823 case " $ac_configure_args " in
1824 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1825 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1829 if $ac_cache_corrupted; then
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1833 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1834 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1836 ## -------------------- ##
1837 ## Main body of script. ##
1838 ## -------------------- ##
1841 ac_cpp='$CPP $CPPFLAGS'
1842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1847 am__api_version='1.16'
1850 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1851 if test -f "$ac_dir/install-sh"; then
1853 ac_install_sh="$ac_aux_dir/install-sh -c"
1855 elif test -f "$ac_dir/install.sh"; then
1857 ac_install_sh="$ac_aux_dir/install.sh -c"
1859 elif test -f "$ac_dir/shtool"; then
1861 ac_install_sh="$ac_aux_dir/shtool install -c"
1865 if test -z "$ac_aux_dir"; then
1866 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1869 # These three variables are undocumented and unsupported,
1870 # and are intended to be withdrawn in a future Autoconf release.
1871 # They can cause serious problems if a builder's source tree is in a directory
1872 # whose full name contains unusual characters.
1873 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1874 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1875 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1878 # Find a good install program. We prefer a C program (faster),
1879 # so one script is as good as another. But avoid the broken or
1880 # incompatible versions:
1881 # SysV /etc/install, /usr/sbin/install
1882 # SunOS /usr/etc/install
1883 # IRIX /sbin/install
1885 # AmigaOS /C/install, which installs bootblocks on floppy discs
1886 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1887 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1889 # OS/2's system install, which has a completely different semantic
1890 # ./install, which can be erroneously created by make from ./install.sh.
1891 # Reject install programs that cannot install multiple files.
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1893 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1894 if test -z "$INSTALL"; then
1895 if ${ac_cv_path_install+:} false; then :
1896 $as_echo_n "(cached) " >&6
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir=.
1903 # Account for people who put trailing slashes in PATH elements.
1904 case $as_dir/ in #((
1905 ./ | .// | /[cC]/* | \
1906 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1907 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1910 # OSF1 and SCO ODT 3.0 have their own names for install.
1911 # Don't use installbsd from OSF since it installs stuff as root
1913 for ac_prog in ginstall scoinst install; do
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1916 if test $ac_prog = install &&
1917 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1918 # AIX install. It has an incompatible calling convention.
1920 elif test $ac_prog = install &&
1921 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1922 # program-specific install script used by HP pwplus--don't use.
1925 rm -rf conftest.one conftest.two conftest.dir
1926 echo one > conftest.one
1927 echo two > conftest.two
1929 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1930 test -s conftest.one && test -s conftest.two &&
1931 test -s conftest.dir/conftest.one &&
1932 test -s conftest.dir/conftest.two
1934 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1947 rm -rf conftest.one conftest.two conftest.dir
1950 if test "${ac_cv_path_install+set}" = set; then
1951 INSTALL=$ac_cv_path_install
1953 # As a last resort, use the slow shell script. Don't cache a
1954 # value for INSTALL within a source directory, because that will
1955 # break other packages using the cache if that directory is
1956 # removed, or if the value is a relative name.
1957 INSTALL=$ac_install_sh
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1961 $as_echo "$INSTALL" >&6; }
1963 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1964 # It thinks the first close brace ends the variable substitution.
1965 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1967 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1969 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1972 $as_echo_n "checking whether build environment is sane... " >&6; }
1973 # Reject unsafe characters in $srcdir or the absolute working directory
1974 # name. Accept space and tab only in the latter.
1978 *[\\\"\#\$\&\'\`$am_lf]*)
1979 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
1982 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
1983 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1986 # Do 'set' in a subshell so we don't clobber the current shell's
1987 # arguments. Must try -L first in case configure is actually a
1988 # symlink; some systems play weird games with the mod time of symlinks
1989 # (eg FreeBSD returns the mod time of the symlink's containing
1993 for am_try
in 1 2; do
1994 echo "timestamp, slept: $am_has_slept" > conftest.
file
1995 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1996 if test "$*" = "X"; then
1998 set X
`ls -t "$srcdir/configure" conftest.file`
2000 if test "$*" != "X $srcdir/configure conftest.file" \
2001 && test "$*" != "X conftest.file $srcdir/configure"; then
2003 # If neither matched, then we have a broken ls. This can happen
2004 # if, for instance, CONFIG_SHELL is bash and it inherits a
2005 # broken ls alias from the environment. This has actually
2006 # happened. Such a system could not be considered "sane".
2007 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2008 alias in your environment" "$LINENO" 5
2010 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2017 test "$2" = conftest.
file
2023 as_fn_error $?
"newly created file is older than distributed files!
2024 Check your system clock" "$LINENO" 5
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2027 $as_echo "yes" >&6; }
2028 # If we didn't sleep, we still need to ensure time stamps of config.status and
2029 # generated files are strictly newer.
2031 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2038 test "$program_prefix" != NONE
&&
2039 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2040 # Use a double $ so make ignores it.
2041 test "$program_suffix" != NONE
&&
2042 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2043 # Double any \ or $.
2044 # By default was `s,x,x', remove it if useless.
2045 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2046 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2048 # Expand $ac_aux_dir to an absolute path.
2049 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2051 if test x
"${MISSING+set}" != xset
; then
2054 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2056 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2059 # Use eval to expand $SHELL
2060 if eval "$MISSING --is-lightweight"; then
2061 am_missing_run
="$MISSING "
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2065 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2068 if test x
"${install_sh+set}" != xset
; then
2071 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2073 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2077 # Installed binaries are usually stripped using 'strip' when the user
2078 # run "make install-strip". However 'strip' might not be the right
2079 # tool to use in cross-compilation environments, therefore Automake
2080 # will honor the 'STRIP' environment variable to overrule this program.
2081 if test "$cross_compiling" != no
; then
2082 if test -n "$ac_tool_prefix"; then
2083 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2084 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if ${ac_cv_prog_STRIP+:} false
; then :
2088 $as_echo_n "(cached) " >&6
2090 if test -n "$STRIP"; then
2091 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir
=.
2098 for ac_exec_ext
in '' $ac_executable_extensions; do
2099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2100 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 STRIP
=$ac_cv_prog_STRIP
2111 if test -n "$STRIP"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2113 $as_echo "$STRIP" >&6; }
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2116 $as_echo "no" >&6; }
2121 if test -z "$ac_cv_prog_STRIP"; then
2123 # Extract the first word of "strip", so it can be a program name with args.
2124 set dummy strip
; ac_word
=$2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2126 $as_echo_n "checking for $ac_word... " >&6; }
2127 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2128 $as_echo_n "(cached) " >&6
2130 if test -n "$ac_ct_STRIP"; then
2131 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir
=.
2138 for ac_exec_ext
in '' $ac_executable_extensions; do
2139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2140 ac_cv_prog_ac_ct_STRIP
="strip"
2141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2151 if test -n "$ac_ct_STRIP"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2153 $as_echo "$ac_ct_STRIP" >&6; }
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156 $as_echo "no" >&6; }
2159 if test "x$ac_ct_STRIP" = x
; then
2162 case $cross_compiling:$ac_tool_warned in
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2166 ac_tool_warned
=yes ;;
2171 STRIP
="$ac_cv_prog_STRIP"
2175 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2178 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2179 if test -z "$MKDIR_P"; then
2180 if ${ac_cv_path_mkdir+:} false
; then :
2181 $as_echo_n "(cached) " >&6
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_prog
in mkdir gmkdir
; do
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2191 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2192 'mkdir (GNU coreutils) '* | \
2193 'mkdir (coreutils) '* | \
2194 'mkdir (fileutils) '4.1*)
2195 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2205 test -d .
/--version && rmdir .
/--version
2206 if test "${ac_cv_path_mkdir+set}" = set; then
2207 MKDIR_P
="$ac_cv_path_mkdir -p"
2209 # As a last resort, use the slow shell script. Don't cache a
2210 # value for MKDIR_P within a source directory, because that will
2211 # break other packages using the cache if that directory is
2212 # removed, or if the value is a relative name.
2213 MKDIR_P
="$ac_install_sh -d"
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2217 $as_echo "$MKDIR_P" >&6; }
2219 for ac_prog
in gawk mawk nawk
awk
2221 # Extract the first word of "$ac_prog", so it can be a program name with args.
2222 set dummy
$ac_prog; ac_word
=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if ${ac_cv_prog_AWK+:} false
; then :
2226 $as_echo_n "(cached) " >&6
2228 if test -n "$AWK"; then
2229 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir
=.
2236 for ac_exec_ext
in '' $ac_executable_extensions; do
2237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_AWK
="$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 if test -n "$AWK"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2251 $as_echo "$AWK" >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$AWK" && break
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2262 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2264 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2265 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2266 $as_echo_n "(cached) " >&6
2268 cat >conftest.
make <<\_ACEOF
2271 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2273 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2276 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2278 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2282 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2284 $as_echo "yes" >&6; }
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288 $as_echo "no" >&6; }
2289 SET_MAKE
="MAKE=${MAKE-make}"
2292 rm -rf .tst
2>/dev
/null
2293 mkdir .tst
2>/dev
/null
2294 if test -d .tst
; then
2299 rmdir .tst
2>/dev
/null
2301 # Check whether --enable-silent-rules was given.
2302 if test "${enable_silent_rules+set}" = set; then :
2303 enableval
=$enable_silent_rules;
2306 case $enable_silent_rules in # (((
2307 yes) AM_DEFAULT_VERBOSITY
=0;;
2308 no
) AM_DEFAULT_VERBOSITY
=1;;
2309 *) AM_DEFAULT_VERBOSITY
=1;;
2311 am_make
=${MAKE-make}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2313 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2314 if ${am_cv_make_support_nested_variables+:} false
; then :
2315 $as_echo_n "(cached) " >&6
2317 if $as_echo 'TRUE=$(BAR$(V))
2323 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2324 am_cv_make_support_nested_variables
=yes
2326 am_cv_make_support_nested_variables
=no
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2330 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2331 if test $am_cv_make_support_nested_variables = yes; then
2333 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2335 AM_V
=$AM_DEFAULT_VERBOSITY
2336 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2340 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2341 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2342 # is not polluted with repeated "-I."
2343 am__isrc
=' -I$(srcdir)'
2344 # test to see if srcdir already configured
2345 if test -f $srcdir/config.status
; then
2346 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2350 # test whether we have cygpath
2351 if test -z "$CYGPATH_W"; then
2352 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2353 CYGPATH_W
='cygpath -w'
2360 # Define the identity of the package.
2365 cat >>confdefs.h
<<_ACEOF
2366 #define PACKAGE "$PACKAGE"
2370 cat >>confdefs.h
<<_ACEOF
2371 #define VERSION "$VERSION"
2374 # Some tools Automake needs.
2376 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2379 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2382 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2385 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2388 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2390 # For better backward compatibility. To be removed once Automake 1.9.x
2391 # dies out for good. For more background, see:
2392 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2393 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2394 mkdir_p
='$(MKDIR_P)'
2396 # We need awk for the "check" target (and possibly the TAP driver). The
2397 # system "awk" is bad on some platforms.
2398 # Always define AMTAR for backward compatibility. Yes, it's still used
2399 # in the wild :-( We should find a proper way to deprecate it ...
2403 # We'll loop over all known methods to create a tar archive until one works.
2404 _am_tools
='gnutar pax cpio none'
2406 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2413 # POSIX will say in a future version that running "rm -f" with no argument
2414 # is OK; and we want to be able to make that assumption in our Makefile
2415 # recipes. So use an aggressive probe to check that the usage we want is
2416 # actually supported "in the wild" to an acceptable degree.
2417 # See automake bug#10828.
2418 # To make any issue more visible, cause the running configure to be aborted
2419 # by default if the 'rm' program in use doesn't match our expectations; the
2420 # user can still override this though.
2421 if rm -f && rm -fr && rm -rf; then : OK
; else
2425 Your 'rm' program seems unable to run without file operands specified
2426 on the command line, even when the '-f' option is present. This is contrary
2427 to the behaviour of most rm programs out there, and not conforming with
2428 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2430 Please tell bug-automake@gnu.org about your system, including the value
2431 of your $PATH and any error possibly output before this message. This
2432 can help us improve future automake versions.
2435 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2436 echo 'Configuration will proceed anyway, since you have set the' >&2
2437 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2441 Aborting the configuration process, to ensure you take notice of the issue.
2443 You can download and install GNU coreutils to get an 'rm' implementation
2444 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2446 If you want to complete the configuration process using your problematic
2447 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2448 to "yes", and re-run configure.
2451 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2457 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2458 # Check whether --enable-maintainer-mode was given.
2459 if test "${enable_maintainer_mode+set}" = set; then :
2460 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2462 USE_MAINTAINER_MODE
=no
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2466 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2467 if test $USE_MAINTAINER_MODE = yes; then
2468 MAINTAINER_MODE_TRUE
=
2469 MAINTAINER_MODE_FALSE
='#'
2471 MAINTAINER_MODE_TRUE
='#'
2472 MAINTAINER_MODE_FALSE
=
2475 MAINT
=$MAINTAINER_MODE_TRUE
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2479 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2481 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2482 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2483 $as_echo_n "(cached) " >&6
2485 cat >conftest.
make <<\_ACEOF
2488 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2490 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2491 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2493 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2495 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2499 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2505 $as_echo "no" >&6; }
2506 SET_MAKE
="MAKE=${MAKE-make}"
2510 for ac_prog
in gawk mawk nawk
awk
2512 # Extract the first word of "$ac_prog", so it can be a program name with args.
2513 set dummy
$ac_prog; ac_word
=$2
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2515 $as_echo_n "checking for $ac_word... " >&6; }
2516 if ${ac_cv_prog_AWK+:} false
; then :
2517 $as_echo_n "(cached) " >&6
2519 if test -n "$AWK"; then
2520 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir
=.
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2529 ac_cv_prog_AWK
="$ac_prog"
2530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 if test -n "$AWK"; then
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2542 $as_echo "$AWK" >&6; }
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2545 $as_echo "no" >&6; }
2549 test -n "$AWK" && break
2553 ac_cpp
='$CPP $CPPFLAGS'
2554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2559 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_CC+:} false
; then :
2563 $as_echo_n "(cached) " >&6
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC
="$CC" # Let the user override the test.
2568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir
=.
2573 for ac_exec_ext
in '' $ac_executable_extensions; do
2574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2575 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test -n "$CC"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2588 $as_echo "$CC" >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2596 if test -z "$ac_cv_prog_CC"; then
2598 # Extract the first word of "gcc", so it can be a program name with args.
2599 set dummy gcc
; ac_word
=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2603 $as_echo_n "(cached) " >&6
2605 if test -n "$ac_ct_CC"; then
2606 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir
=.
2613 for ac_exec_ext
in '' $ac_executable_extensions; do
2614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2615 ac_cv_prog_ac_ct_CC
="gcc"
2616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2626 if test -n "$ac_ct_CC"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2628 $as_echo "$ac_ct_CC" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2634 if test "x$ac_ct_CC" = x
; then
2637 case $cross_compiling:$ac_tool_warned in
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2641 ac_tool_warned
=yes ;;
2649 if test -z "$CC"; then
2650 if test -n "$ac_tool_prefix"; then
2651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2652 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC
="$CC" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2681 $as_echo "$CC" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2690 if test -z "$CC"; then
2691 # Extract the first word of "cc", so it can be a program name with args.
2692 set dummy cc
; ac_word
=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_CC+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC
="$CC" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2710 ac_prog_rejected
=yes
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 if test $ac_prog_rejected = yes; then
2722 # We found a bogon in the path, so make sure we never use it.
2723 set dummy
$ac_cv_prog_CC
2725 if test $# != 0; then
2726 # We chose a different compiler from the bogus one.
2727 # However, it has the same basename, so the bogon will be chosen
2728 # first if we set CC to just the basename; use the full file name.
2730 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2736 if test -n "$CC"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2738 $as_echo "$CC" >&6; }
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741 $as_echo "no" >&6; }
2746 if test -z "$CC"; then
2747 if test -n "$ac_tool_prefix"; then
2748 for ac_prog
in cl.exe
2750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2751 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_CC+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 if test -n "$CC"; then
2758 ac_cv_prog_CC
="$CC" # Let the user override the test.
2760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir
=.
2765 for ac_exec_ext
in '' $ac_executable_extensions; do
2766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 if test -n "$CC"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2780 $as_echo "$CC" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2787 test -n "$CC" && break
2790 if test -z "$CC"; then
2792 for ac_prog
in cl.exe
2794 # Extract the first word of "$ac_prog", so it can be a program name with args.
2795 set dummy
$ac_prog; ac_word
=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2799 $as_echo_n "(cached) " >&6
2801 if test -n "$ac_ct_CC"; then
2802 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir
=.
2809 for ac_exec_ext
in '' $ac_executable_extensions; do
2810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_ac_ct_CC
="$ac_prog"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2822 if test -n "$ac_ct_CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2824 $as_echo "$ac_ct_CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2831 test -n "$ac_ct_CC" && break
2834 if test "x$ac_ct_CC" = x
; then
2837 case $cross_compiling:$ac_tool_warned in
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned
=yes ;;
2850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2852 as_fn_error $?
"no acceptable C compiler found in \$PATH
2853 See \`config.log' for more details" "$LINENO" 5; }
2855 # Provide some information about the compiler.
2856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2859 for ac_option
in --version -v -V -qversion; do
2860 { { ac_try
="$ac_compiler $ac_option >&5"
2862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2869 if test -s conftest.err; then
2871 ... rest of stderr output deleted ...
2872 10q' conftest.err >conftest.er1
2873 cat conftest.er1 >&5
2875 rm -f conftest.er1 conftest.err
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; }
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2891 ac_clean_files_save=$ac_clean_files
2892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2893 # Try to create an executable without -o first, disregard a.out.
2894 # It will help us diagnose broken compilers, and finding out an intuition
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2897 $as_echo_n "checking whether the C compiler works... " >&6; }
2898 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2900 # The possible output files:
2901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2904 for ac_file in $ac_files
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2913 if { { ac_try="$ac_link_default"
2915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2916 *) ac_try_echo
=$ac_try;;
2918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_link_default") 2>&5
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; }; then :
2924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2927 # so that the user can short-circuit this test for compilers unknown to
2929 for ac_file
in $ac_files ''
2931 test -f "$ac_file" ||
continue
2933 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2936 # We found the default executable, but exeext='' is most
2940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2942 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2944 # We set ac_cv_exeext here because the later test for it is not
2945 # safe: cross compilers may not add the suffix if given an `-o'
2946 # argument, so we may need to know it at that point already.
2947 # Even if this section looks crufty: it has the advantage of
2954 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2959 if test -z "$ac_file"; then :
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2962 $as_echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.
$ac_ext >&5
2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error
77 "C compiler cannot create executables
2968 See \`config.log' for more details" "$LINENO" 5; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2974 $as_echo_n "checking for C compiler default output file name... " >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2976 $as_echo "$ac_file" >&6; }
2977 ac_exeext
=$ac_cv_exeext
2979 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2980 ac_clean_files
=$ac_clean_files_save
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2982 $as_echo_n "checking for suffix of executables... " >&6; }
2983 if { { ac_try
="$ac_link"
2985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 $as_echo "$ac_try_echo"; } >&5
2990 (eval "$ac_link") 2>&5
2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; }; then :
2994 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2995 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe'), while it won't with
2998 for ac_file
in conftest.exe conftest conftest.
*; do
2999 test -f "$ac_file" ||
continue
3001 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3002 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3010 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details" "$LINENO" 5; }
3013 rm -f conftest conftest
$ac_cv_exeext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3015 $as_echo "$ac_cv_exeext" >&6; }
3017 rm -f conftest.
$ac_ext
3018 EXEEXT
=$ac_cv_exeext
3020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3026 FILE *f = fopen ("conftest.out", "w");
3027 return ferror (f) || fclose (f) != 0;
3033 ac_clean_files
="$ac_clean_files conftest.out"
3034 # Check that the compiler produces executables we can run. If not, either
3035 # the compiler is broken, or we cross compile.
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3037 $as_echo_n "checking whether we are cross compiling... " >&6; }
3038 if test "$cross_compiling" != yes; then
3039 { { ac_try
="$ac_link"
3041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_link") 2>&5
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; }
3050 if { ac_try='./conftest$ac_cv_exeext'
3051 { { case "(($ac_try" in
3052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3053 *) ac_try_echo
=$ac_try;;
3055 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_try") 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; }; then
3063 if test "$cross_compiling" = maybe
; then
3066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $?
"cannot run C compiled programs.
3069 If you meant to cross compile, use \`--host'.
3070 See \`config.log' for more details" "$LINENO" 5; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3075 $as_echo "$cross_compiling" >&6; }
3077 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3078 ac_clean_files
=$ac_clean_files_save
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3080 $as_echo_n "checking for suffix of object files... " >&6; }
3081 if ${ac_cv_objext+:} false
; then :
3082 $as_echo_n "(cached) " >&6
3084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3095 rm -f conftest.o conftest.obj
3096 if { { ac_try
="$ac_compile"
3098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_compile") 2>&5
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }; then :
3107 for ac_file in conftest.o conftest.obj conftest.*; do
3108 test -f "$ac_file" || continue;
3110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3116 $as_echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3122 See \
`config.log' for more details" "$LINENO" 5; }
3124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3127 $as_echo "$ac_cv_objext" >&6; }
3128 OBJEXT=$ac_cv_objext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3132 if ${ac_cv_c_compiler_gnu+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3149 if ac_fn_c_try_compile "$LINENO"; then :
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3159 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3160 if test $ac_compiler_gnu = yes; then
3165 ac_test_CFLAGS=${CFLAGS+set}
3166 ac_save_CFLAGS=$CFLAGS
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3168 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3169 if ${ac_cv_prog_cc_g+:} false; then :
3170 $as_echo_n "(cached) " >&6
3172 ac_save_c_werror_flag=$ac_c_werror_flag
3173 ac_c_werror_flag=yes
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_c_try_compile "$LINENO"; then :
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3202 if ac_fn_c_try_compile "$LINENO"; then :
3205 ac_c_werror_flag=$ac_save_c_werror_flag
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3218 if ac_fn_c_try_compile "$LINENO"; then :
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 ac_c_werror_flag=$ac_save_c_werror_flag
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3229 $as_echo "$ac_cv_prog_cc_g" >&6; }
3230 if test "$ac_test_CFLAGS" = set; then
3231 CFLAGS=$ac_save_CFLAGS
3232 elif test $ac_cv_prog_cc_g = yes; then
3233 if test "$GCC" = yes; then
3239 if test "$GCC" = yes; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3246 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3247 if ${ac_cv_prog_cc_c89+:} false; then :
3248 $as_echo_n "(cached) " >&6
3250 ac_cv_prog_cc_c89=no
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3258 struct buf { int x; };
3259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3260 static char *e (p, i)
3266 static char *f (char * (*g) (char **, int), char **p, ...)
3271 s = g (p, va_arg (v,int));
3276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3277 function prototypes and stuff, but not '\xHH' hex character constants.
3278 These don't provoke an error unfortunately, instead are silently treated
3279 as 'x'. The following induces an error, until -std is added to get
3280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3281 array size at least. It's necessary to write '\x00'==0 to get something
3282 that's true only with -std. */
3283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3286 inside strings and character constants. */
3288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3290 int test (int i, double x);
3291 struct s1 {int (*f) (int a);};
3292 struct s2 {int (*f) (double a);};
3293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3307 CC="$ac_save_CC $ac_arg"
3308 if ac_fn_c_try_compile "$LINENO"; then :
3309 ac_cv_prog_cc_c89=$ac_arg
3311 rm -f core conftest.err conftest.$ac_objext
3312 test "x$ac_cv_prog_cc_c89" != "xno" && break
3314 rm -f conftest.$ac_ext
3319 case "x$ac_cv_prog_cc_c89" in
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3322 $as_echo "none needed" >&6; } ;;
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3325 $as_echo "unsupported" >&6; } ;;
3327 CC="$CC $ac_cv_prog_cc_c89"
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3331 if test "x$ac_cv_prog_cc_c89" != xno; then :
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 ac_cpp='$CPP $CPPFLAGS'
3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3347 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3348 if ${am_cv_prog_cc_c_o+:} false; then :
3349 $as_echo_n "(cached) " >&6
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3362 # Make sure it works both with $CC and with simple cc.
3363 # Following AC_PROG_CC_C_O, we do the test twice because some
3364 # compilers refuse to overwrite an existing .o file with -o,
3365 # though they will create one.
3366 am_cv_prog_cc_c_o=yes
3368 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3369 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } \
3373 && test -f conftest2.$ac_objext; then
3376 am_cv_prog_cc_c_o=no
3380 rm -f core conftest*
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3384 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3385 if test "$am_cv_prog_cc_c_o" != yes; then
3386 # Losing compiler, so override with the script.
3387 # FIXME: It is wrong to rewrite CC.
3388 # But if we don't then we get into trouble of one sort or another.
3389 # A longer-term fix would be to have automake use am__CC in this case,
3390 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3391 CC="$am_aux_dir/compile $CC"
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 DEPDIR="${am__leading_dot}deps"
3401 ac_config_commands="$ac_config_commands depfiles"
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3404 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3405 cat > confinc.mk << 'END'
3407 @echo this is the am__doit target >confinc.out
3412 # BSD make does it like this.
3413 echo '.include "confinc.mk" # ignored' > confmf.BSD
3414 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3415 echo 'include confinc.mk # ignored' > confmf.GNU
3417 for s in GNU BSD; do
3418 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3419 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }
3423 case $?:`cat confinc.out
2>/dev
/null
` in #(
3424 '0:this is the am__doit target') :
3427 am__include='.include' am__quote='"' ;; #(
3429 am__include='include' am__quote='' ;;
3434 if test "$am__include" != "#"; then
3435 _am_result="yes ($s style)"
3439 rm -f confinc.* confmf.*
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3441 $as_echo "${_am_result}" >&6; }
3443 # Check whether --enable-dependency-tracking was given.
3444 if test "${enable_dependency_tracking+set}" = set; then :
3445 enableval=$enable_dependency_tracking;
3448 if test "x$enable_dependency_tracking" != xno; then
3449 am_depcomp="$ac_aux_dir/depcomp"
3453 if test "x$enable_dependency_tracking" != xno; then
3463 depcc="$CC" am_compiler_list=
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3466 $as_echo_n "checking dependency style of $depcc... " >&6; }
3467 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3471 # We make a subdir and do the tests there. Otherwise we can end up
3472 # making bogus files that we don't know about and never remove. For
3473 # instance it was reported that on HP-UX the gcc test will end up
3474 # making a dummy file named 'D' -- because '-MD' means "put the output
3478 # Copy depcomp to subdir because otherwise we won't find it if we're
3479 # using a relative directory.
3480 cp "$am_depcomp" conftest.dir
3482 # We will build objects and dependencies in a subdirectory because
3483 # it helps to detect inapplicable dependency modes. For instance
3484 # both Tru64's cc and ICC support -MD to output dependencies as a
3485 # side effect of compilation, but ICC will put the dependencies in
3486 # the current directory while Tru64 will put them in the object
3490 am_cv_CC_dependencies_compiler_type=none
3491 if test "$am_compiler_list" = ""; then
3492 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3495 case " $depcc " in #(
3496 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3499 for depmode in $am_compiler_list; do
3500 # Setup a source with many dependencies, because some compilers
3501 # like to wrap large dependency lists on column 80 (with \), and
3502 # we should not choose a depcomp mode which is confused by this.
3504 # We need to recreate these files for each test, as the compiler may
3505 # overwrite some of them when testing with obscure command lines.
3506 # This happens at least with the AIX C compiler.
3508 for i in 1 2 3 4 5 6; do
3509 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3510 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3511 # Solaris 10 /bin/sh.
3512 echo '/* dummy */' > sub/conftst$i.h
3514 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3516 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3517 # mode. It turns out that the SunPro C++ compiler does not properly
3518 # handle '-M -o', and we need to detect this. Also, some Intel
3519 # versions had trouble with output in subdirs.
3520 am__obj=sub/conftest.${OBJEXT-o}
3521 am__minus_obj="-o $am__obj"
3524 # This depmode causes a compiler race in universal mode.
3525 test "$am__universal" = false || continue
3528 # After this tag, mechanisms are not by side-effect, so they'll
3529 # only be used when explicitly requested.
3530 if test "x$enable_dependency_tracking" = xyes; then
3536 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3537 # This compiler won't grok '-c -o', but also, the minuso test has
3538 # not run yet. These depmodes are late enough in the game, and
3539 # so weak that their functioning should not be impacted.
3540 am__obj=conftest.${OBJEXT-o}
3545 if depmode=$depmode \
3546 source=sub/conftest.c object=$am__obj \
3547 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3548 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3549 >/dev/null 2>conftest.err &&
3550 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3551 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3552 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3553 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3554 # icc doesn't choke on unknown options, it will just issue warnings
3555 # or remarks (even with -Werror). So we grep stderr for any message
3556 # that says an option was ignored or not supported.
3557 # When given -MP, icc 7.0 and 7.1 complain thusly:
3558 # icc: Command line warning: ignoring option '-M'; no argument required
3559 # The diagnosis changed in icc 8.0:
3560 # icc: Command line remark: option '-MP' not supported
3561 if (grep 'ignoring option' conftest.err ||
3562 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3563 am_cv_CC_dependencies_compiler_type=$depmode
3572 am_cv_CC_dependencies_compiler_type=none
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3577 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3578 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3581 test "x$enable_dependency_tracking" != xno \
3582 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3584 am__fastdepCC_FALSE='#'
3586 am__fastdepCC_TRUE='#'
3587 am__fastdepCC_FALSE=
3592 ac_cpp='$CXXCPP $CPPFLAGS'
3593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3596 if test -z "$CXX"; then
3597 if test -n "$CCC"; then
3600 if test -n "$ac_tool_prefix"; then
3601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CXX+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$CXX"; then
3611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 if test -n "$CXX"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3633 $as_echo "$CXX" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3640 test -n "$CXX" && break
3643 if test -z "$CXX"; then
3645 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3647 # Extract the first word of "$ac_prog", so it can be a program name with args.
3648 set dummy $ac_prog; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3652 $as_echo_n "(cached) " >&6
3654 if test -n "$ac_ct_CXX"; then
3655 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_ac_ct_CXX="$ac_prog"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3675 if test -n "$ac_ct_CXX"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3677 $as_echo "$ac_ct_CXX" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3684 test -n "$ac_ct_CXX" && break
3687 if test "x$ac_ct_CXX" = x; then
3690 case $cross_compiling:$ac_tool_warned in
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3694 ac_tool_warned=yes ;;
3702 # Provide some information about the compiler.
3703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3706 for ac_option in --version -v -V -qversion; do
3707 { { ac_try="$ac_compiler $ac_option >&5"
3709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3710 *) ac_try_echo
=$ac_try;;
3712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713 $as_echo "$ac_try_echo"; } >&5
3714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3716 if test -s conftest.err
; then
3718 ... rest of stderr output deleted ...
3719 10q' conftest.err
>conftest.er1
3720 cat conftest.er1
>&5
3722 rm -f conftest.er1 conftest.err
3723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724 test $ac_status = 0; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3729 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3746 if ac_fn_cxx_try_compile
"$LINENO"; then :
3751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3752 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3756 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3762 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3763 ac_save_CXXFLAGS
=$CXXFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3765 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3766 if ${ac_cv_prog_cxx_g+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3770 ac_cxx_werror_flag
=yes
3773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_cxx_try_compile
"$LINENO"; then :
3785 ac_cv_prog_cxx_g
=yes
3788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_cxx_try_compile
"$LINENO"; then :
3802 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_cxx_try_compile
"$LINENO"; then :
3816 ac_cv_prog_cxx_g
=yes
3818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3823 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3826 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3827 if test "$ac_test_CXXFLAGS" = set; then
3828 CXXFLAGS
=$ac_save_CXXFLAGS
3829 elif test $ac_cv_prog_cxx_g = yes; then
3830 if test "$GXX" = yes; then
3836 if test "$GXX" = yes; then
3843 ac_cpp
='$CPP $CPPFLAGS'
3844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3848 depcc
="$CXX" am_compiler_list
=
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3851 $as_echo_n "checking dependency style of $depcc... " >&6; }
3852 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
3853 $as_echo_n "(cached) " >&6
3855 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3856 # We make a subdir and do the tests there. Otherwise we can end up
3857 # making bogus files that we don't know about and never remove. For
3858 # instance it was reported that on HP-UX the gcc test will end up
3859 # making a dummy file named 'D' -- because '-MD' means "put the output
3863 # Copy depcomp to subdir because otherwise we won't find it if we're
3864 # using a relative directory.
3865 cp "$am_depcomp" conftest.dir
3867 # We will build objects and dependencies in a subdirectory because
3868 # it helps to detect inapplicable dependency modes. For instance
3869 # both Tru64's cc and ICC support -MD to output dependencies as a
3870 # side effect of compilation, but ICC will put the dependencies in
3871 # the current directory while Tru64 will put them in the object
3875 am_cv_CXX_dependencies_compiler_type
=none
3876 if test "$am_compiler_list" = ""; then
3877 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3880 case " $depcc " in #(
3881 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3884 for depmode
in $am_compiler_list; do
3885 # Setup a source with many dependencies, because some compilers
3886 # like to wrap large dependency lists on column 80 (with \), and
3887 # we should not choose a depcomp mode which is confused by this.
3889 # We need to recreate these files for each test, as the compiler may
3890 # overwrite some of them when testing with obscure command lines.
3891 # This happens at least with the AIX C compiler.
3893 for i
in 1 2 3 4 5 6; do
3894 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3895 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3896 # Solaris 10 /bin/sh.
3897 echo '/* dummy */' > sub
/conftst
$i.h
3899 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3901 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3902 # mode. It turns out that the SunPro C++ compiler does not properly
3903 # handle '-M -o', and we need to detect this. Also, some Intel
3904 # versions had trouble with output in subdirs.
3905 am__obj
=sub
/conftest.
${OBJEXT-o}
3906 am__minus_obj
="-o $am__obj"
3909 # This depmode causes a compiler race in universal mode.
3910 test "$am__universal" = false ||
continue
3913 # After this tag, mechanisms are not by side-effect, so they'll
3914 # only be used when explicitly requested.
3915 if test "x$enable_dependency_tracking" = xyes
; then
3921 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3922 # This compiler won't grok '-c -o', but also, the minuso test has
3923 # not run yet. These depmodes are late enough in the game, and
3924 # so weak that their functioning should not be impacted.
3925 am__obj
=conftest.
${OBJEXT-o}
3930 if depmode
=$depmode \
3931 source=sub
/conftest.c object
=$am__obj \
3932 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3933 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3934 >/dev
/null
2>conftest.err
&&
3935 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3936 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3937 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3938 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3939 # icc doesn't choke on unknown options, it will just issue warnings
3940 # or remarks (even with -Werror). So we grep stderr for any message
3941 # that says an option was ignored or not supported.
3942 # When given -MP, icc 7.0 and 7.1 complain thusly:
3943 # icc: Command line warning: ignoring option '-M'; no argument required
3944 # The diagnosis changed in icc 8.0:
3945 # icc: Command line remark: option '-MP' not supported
3946 if (grep 'ignoring option' conftest.err ||
3947 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3948 am_cv_CXX_dependencies_compiler_type
=$depmode
3957 am_cv_CXX_dependencies_compiler_type
=none
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3962 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3963 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3966 test "x$enable_dependency_tracking" != xno \
3967 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3968 am__fastdepCXX_TRUE
=
3969 am__fastdepCXX_FALSE
='#'
3971 am__fastdepCXX_TRUE
='#'
3972 am__fastdepCXX_FALSE
=
3979 if test -z "$AWK"; then
3980 as_fn_error $?
"AWK not installed" "$LINENO" 5
3983 # Extract the first word of "expect", so it can be a program name with args.
3984 set dummy expect
; ac_word
=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_path_EXPECT+:} false
; then :
3988 $as_echo_n "(cached) " >&6
3992 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 EXPECT
=$ac_cv_path_EXPECT
4014 if test -n "$EXPECT"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
4016 $as_echo "$EXPECT" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4023 if test -z $ac_cv_path_EXPECT ; then
4024 as_fn_error $?
"unable to locate expect" "$LINENO" 5
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl version 8.5 or greater" >&5
4028 $as_echo_n "checking Tcl version 8.5 or greater... " >&6; }
4029 if ${ac_cv_dg_tcl_modern+:} false
; then :
4030 $as_echo_n "(cached) " >&6
4033 ac_cv_dg_tcl_modern
=`$EXPECT << EOF
4034 if [ expr \\${tcl_version} >= 8.5 ] then { puts yes } else { puts no }
4039 if test x
${ac_cv_dg_tcl_modern} = xyes
; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_dg_tcl_modern}" >&5
4041 $as_echo "${ac_cv_dg_tcl_modern}" >&6; }
4043 as_fn_error $?
"Tcl 8.5 or greater is required" "$LINENO" 5
4046 if test x
"$DEJAGNU" = x
4052 # See what branch we're in
4053 # FIXME: this will need to deal with a release branch and
4054 # do something different
4055 BRANCH
=$
(cd ${srcdir} && git branch |
grep '^\*' | cut
-d ' ' -f 2)
4058 ac_config_files
="$ac_config_files Makefile"
4060 cat >confcache
<<\_ACEOF
4061 # This file is a shell script that caches the results of configure
4062 # tests run on this system so they can be shared between configure
4063 # scripts and configure runs, see configure's option --config-cache.
4064 # It is not useful on other systems. If it contains results you don't
4065 # want to keep, you may remove or edit it.
4067 # config.status only pays attention to the cache file if you give it
4068 # the --recheck option to rerun configure.
4070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4076 # The following way of writing the cache mishandles newlines in values,
4077 # but we know of no workaround that is simple, portable, and efficient.
4078 # So, we kill variables containing newlines.
4079 # Ultrix sh set writes to stderr and can't be redirected directly,
4080 # and sets the high bit in the cache file unless we assign to the vars.
4082 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4083 eval ac_val
=\$
$ac_var
4087 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4091 _ | IFS | as_nl
) ;; #(
4092 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4093 *) { eval $ac_var=; unset $ac_var;} ;;
4099 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4100 *${as_nl}ac_space
=\
*)
4101 # `set' does not quote correctly, so add quotes: double-quote
4102 # substitution turns \\\\ into \\, and sed turns \\ into \.
4105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4108 # `set' quotes correctly as required by POSIX, so do not add quotes.
4109 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4118 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4120 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4122 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4123 if test -w "$cache_file"; then
4124 if test "x$cache_file" != "x/dev/null"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4126 $as_echo "$as_me: updating cache $cache_file" >&6;}
4127 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4128 cat confcache
>"$cache_file"
4130 case $cache_file in #(
4132 mv -f confcache
"$cache_file"$$
&&
4133 mv -f "$cache_file"$$
"$cache_file" ;; #(
4135 mv -f confcache
"$cache_file" ;;
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4141 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4146 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4147 # Let make expand exec_prefix.
4148 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4150 # Transform confdefs.h into DEFS.
4151 # Protect against shell expansion while executing Makefile rules.
4152 # Protect against Makefile macro expansion.
4154 # If the first sed substitution is executed (which looks for macros that
4155 # take arguments), then branch to the quote section. Otherwise,
4156 # look for a macro that doesn't take arguments.
4166 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4168 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4172 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4185 DEFS
=`sed -n "$ac_script" confdefs.h`
4191 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4192 # 1. Remove the extension, and $U if already installed.
4193 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4194 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4195 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4196 # will be set to the directory where LIBOBJS objects are built.
4197 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4198 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4202 LTLIBOBJS
=$ac_ltlibobjs
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4206 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4207 if test -n "$am_sleep_pid"; then
4208 # Hide warnings about reused PIDs.
4209 wait $am_sleep_pid 2>/dev
/null
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4212 $as_echo "done" >&6; }
4213 if test -n "$EXEEXT"; then
4215 am__EXEEXT_FALSE
='#'
4221 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4222 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4225 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4226 as_fn_error $?
"conditional \"AMDEP\" was never defined.
4227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4229 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4230 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
4231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4233 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4234 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
4235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4238 : "${CONFIG_STATUS=./config.status}"
4240 ac_clean_files_save
=$ac_clean_files
4241 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4243 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4245 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4247 # Generated by $as_me.
4248 # Run this file to recreate the current configuration.
4249 # Compiler output produced by configure, useful for debugging
4250 # configure, is in config.log if it exists.
4256 SHELL=\${CONFIG_SHELL-$SHELL}
4259 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4260 ## -------------------- ##
4261 ## M4sh Initialization. ##
4262 ## -------------------- ##
4264 # Be more Bourne compatible
4265 DUALCASE
=1; export DUALCASE
# for MKS sh
4266 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4269 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4270 # is contrary to our usage. Disable this feature.
4271 alias -g '${1+"$@"}'='"$@"'
4272 setopt NO_GLOB_SUBST
4274 case `(set -o) 2>/dev/null` in #(
4286 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4287 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4288 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4289 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4290 # Prefer a ksh shell builtin over an external printf program on Solaris,
4291 # but without wasting forks for bash or zsh.
4292 if test -z "$BASH_VERSION$ZSH_VERSION" \
4293 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4294 as_echo='print
-r --'
4295 as_echo_n='print
-rn --'
4296 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4297 as_echo='printf %s
\n'
4298 as_echo_n='printf %s
'
4300 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4301 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4302 as_echo_n='/usr
/ucb
/echo -n'
4304 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4305 as_echo_n_body='eval
4309 expr "X$arg" : "X\\(.*\\)$as_nl";
4310 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4312 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4314 export as_echo_n_body
4315 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4318 as_echo='sh
-c $as_echo_body as_echo
'
4321 # The user is always right.
4322 if test "${PATH_SEPARATOR+set}" != set; then
4324 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4325 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4332 # We need space, tab and new line, in precisely that order. Quoting is
4333 # there to prevent editors from complaining about space-tab.
4334 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4335 # splitting by setting IFS to empty value.)
4338 # Find who we are. Look in the path if we contain no directory separator.
4341 *[\\/]* ) as_myself=$0 ;;
4342 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir=.
4347 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4353 # We did not find ourselves, most probably we were run as `sh COMMAND'
4354 # in which case we are not to be found in the path.
4355 if test "x$as_myself" = x
; then
4358 if test ! -f "$as_myself"; then
4359 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4363 # Unset variables that we do not need and which cause bugs (e.g. in
4364 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4365 # suppresses any "Segmentation fault" message there. '((' could
4366 # trigger a bug in pdksh 5.2.14.
4367 for as_var
in BASH_ENV ENV MAIL MAILPATH
4368 do eval test x\
${$as_var+set} = xset \
4369 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4382 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4385 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4386 # ----------------------------------------
4387 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4388 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4389 # script with STATUS, using 1 if that was 0.
4392 as_status
=$1; test $as_status -eq 0 && as_status
=1
4394 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4395 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4397 $as_echo "$as_me: error: $2" >&2
4398 as_fn_exit
$as_status
4402 # as_fn_set_status STATUS
4403 # -----------------------
4404 # Set $? to STATUS, without forking.
4408 } # as_fn_set_status
4412 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4422 # Portably unset VAR.
4425 { eval $1=; unset $1;}
4427 as_unset
=as_fn_unset
4428 # as_fn_append VAR VALUE
4429 # ----------------------
4430 # Append the text in VALUE to the end of the definition contained in VAR. Take
4431 # advantage of any shell optimizations that allow amortized linear growth over
4432 # repeated appends, instead of the typical quadratic growth present in naive
4434 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4435 eval 'as_fn_append ()
4446 # as_fn_arith ARG...
4447 # ------------------
4448 # Perform arithmetic evaluation on the ARGs, and store the result in the
4449 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4450 # must be portable across $(()) and expr.
4451 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4452 eval 'as_fn_arith ()
4459 as_val
=`expr "$@" || test $? -eq 1`
4464 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4465 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4471 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4472 as_basename
=basename
4477 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4483 as_me
=`$as_basename -- "$0" ||
4484 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4485 X"$0" : 'X\(//\)$' \| \
4486 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4488 sed '/^.*\/\([^/][^/]*\)\/*$/{
4502 # Avoid depending upon Character Ranges.
4503 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4504 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4505 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4506 as_cr_digits
='0123456789'
4507 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4509 ECHO_C
= ECHO_N
= ECHO_T
=
4510 case `echo -n x` in #(((((
4512 case `echo 'xy\c'` in
4513 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4515 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4522 rm -f conf$$ conf$$.exe conf$$.
file
4523 if test -d conf$$.dir
; then
4524 rm -f conf$$.dir
/conf$$.
file
4527 mkdir conf$$.dir
2>/dev
/null
4529 if (echo >conf$$.
file) 2>/dev
/null
; then
4530 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4532 # ... but there are two gotchas:
4533 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4534 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4535 # In both cases, we have to default to `cp -pR'.
4536 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4538 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4546 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4547 rmdir conf$$.dir
2>/dev
/null
4552 # Create "$as_dir" as a directory, including parents if necessary.
4557 -*) as_dir
=.
/$as_dir;;
4559 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4563 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4564 *) as_qdir
=$as_dir;;
4566 as_dirs
="'$as_qdir' $as_dirs"
4567 as_dir
=`$as_dirname -- "$as_dir" ||
4568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4569 X"$as_dir" : 'X\(//\)[^/]' \| \
4570 X"$as_dir" : 'X\(//\)$' \| \
4571 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4572 $as_echo X"$as_dir" |
4573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4590 test -d "$as_dir" && break
4592 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4593 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4597 if mkdir
-p .
2>/dev
/null
; then
4598 as_mkdir_p
='mkdir -p "$as_dir"'
4600 test -d .
/-p && rmdir .
/-p
4605 # as_fn_executable_p FILE
4606 # -----------------------
4607 # Test if FILE is an executable regular file.
4608 as_fn_executable_p
()
4610 test -f "$1" && test -x "$1"
4611 } # as_fn_executable_p
4613 as_executable_p
=as_fn_executable_p
4615 # Sed expression to map a string onto a valid CPP name.
4616 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4618 # Sed expression to map a string onto a valid variable name.
4619 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4623 ## ----------------------------------- ##
4624 ## Main body of $CONFIG_STATUS script. ##
4625 ## ----------------------------------- ##
4627 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4630 # Save the log message, to keep $0 and so on meaningful, and to
4631 # report actual input values of CONFIG_FILES etc. instead of their
4632 # values after options handling.
4634 This file was extended by GNU DejaGnu $as_me 1.6.3-git, which was
4635 generated by GNU Autoconf 2.69. Invocation command line was
4637 CONFIG_FILES = $CONFIG_FILES
4638 CONFIG_HEADERS = $CONFIG_HEADERS
4639 CONFIG_LINKS = $CONFIG_LINKS
4640 CONFIG_COMMANDS = $CONFIG_COMMANDS
4643 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4648 case $ac_config_files in *"
4649 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4655 # Files that config.status was made for.
4656 config_files="$ac_config_files"
4657 config_commands="$ac_config_commands"
4661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4663 \`$as_me' instantiates files and other configuration actions
4664 from templates according to the current configuration. Unless the files
4665 and actions are specified as TAGs, all are instantiated by default.
4667 Usage: $0 [OPTION]... [TAG]...
4669 -h, --help print this help, then exit
4670 -V, --version print version number and configuration settings, then exit
4671 --config print configuration, then exit
4672 -q, --quiet, --silent
4673 do not print progress messages
4674 -d, --debug don't remove temporary files
4675 --recheck update $as_me by reconfiguring in the same conditions
4676 --file=FILE[:TEMPLATE]
4677 instantiate the configuration file FILE
4679 Configuration files:
4682 Configuration commands:
4685 Report bugs to <bug-dejagnu@gnu.org>.
4686 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
4687 General help using GNU software: <http://www.gnu.org/gethelp/>."
4690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4691 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4693 GNU DejaGnu config.status 1.6.3-git
4694 configured by $0, generated by GNU Autoconf 2.69,
4695 with options \\"\$ac_cs_config\\"
4697 Copyright (C) 2012 Free Software Foundation, Inc.
4698 This config.status script is free software; the Free Software Foundation
4699 gives unlimited permission to copy, distribute and modify it."
4706 test -n "\$AWK" || AWK=awk
4709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4710 # The default lists apply if the user does not specify any file.
4716 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4717 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4721 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4733 # Handling of the options.
4734 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4736 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4737 $as_echo "$ac_cs_version"; exit ;;
4738 --config |
--confi |
--conf |
--con |
--co |
--c )
4739 $as_echo "$ac_cs_config"; exit ;;
4740 --debug |
--debu |
--deb |
--de |
--d |
-d )
4742 --file |
--fil |
--fi |
--f )
4745 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4746 '') as_fn_error $?
"missing file argument" ;;
4748 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4749 ac_need_defaults
=false
;;
4750 --he |
--h |
--help |
--hel |
-h )
4751 $as_echo "$ac_cs_usage"; exit ;;
4752 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4753 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4757 -*) as_fn_error $?
"unrecognized option: \`$1'
4758 Try \`$0 --help' for more information." ;;
4760 *) as_fn_append ac_config_targets
" $1"
4761 ac_need_defaults
=false
;;
4767 ac_configure_extra_args
=
4769 if $ac_cs_silent; then
4771 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4776 if \$ac_cs_recheck; then
4777 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4779 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4780 CONFIG_SHELL='$SHELL'
4786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4790 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4791 ## Running $as_me. ##
4797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4801 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
4805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4807 # Handling of arguments.
4808 for ac_config_target
in $ac_config_targets
4810 case $ac_config_target in
4811 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4812 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4814 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4819 # If the user did not use the arguments to specify the items to instantiate,
4820 # then the envvar interface is used. Set only those that are not.
4821 # We use the long form for the default assignment because of an extremely
4822 # bizarre bug on SunOS 4.1.3.
4823 if $ac_need_defaults; then
4824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4825 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4828 # Have a temporary directory for convenience. Make it in the build tree
4829 # simply because there is no reason against having it here, and in addition,
4830 # creating and moving files from /tmp can sometimes cause problems.
4831 # Hook for its removal unless debugging.
4832 # Note that there is a small window in which the directory will not be cleaned:
4833 # after its creation but before its name has been assigned to `$tmp'.
4837 trap 'exit_status=$?
4839 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4841 trap 'as_fn_exit 1' 1 2 13 15
4843 # Create a (secure) tmp directory for tmp files.
4846 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4850 tmp
=.
/conf$$
-$RANDOM
4851 (umask 077 && mkdir
"$tmp")
4852 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4855 # Set up the scripts for CONFIG_FILES section.
4856 # No need to generate them if there are no CONFIG_FILES.
4857 # This happens for instance with `./config.status config.h'.
4858 if test -n "$CONFIG_FILES"; then
4861 ac_cr
=`echo X | tr X '\015'`
4862 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4863 # But we know of no other shell where ac_cr would be empty at this
4864 # point, so we can use a bashism as a fallback.
4865 if test "x$ac_cr" = x
; then
4866 eval ac_cr
=\$
\'\\r
\'
4868 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4869 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4875 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4880 echo "cat >conf$$subs.awk <<_ACEOF" &&
4881 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4884 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4885 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4887 for ac_last_try in false false false false false :; do
4888 . ./conf$$subs.sh ||
4889 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4891 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4892 if test $ac_delim_n = $ac_delim_num; then
4894 elif $ac_last_try; then
4895 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4897 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4903 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4907 s/^/S["/; s
/!.
*/"]=/
4917 s/\(.\{148\}\)..*/\1/
4919 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4924 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4931 s/\(.\{148\}\)..*/\1/
4933 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4937 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4942 ' <conf$$subs.awk | sed '
4947 ' >>$CONFIG_STATUS || ac_write_fail=1
4948 rm -f conf$$subs.awk
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4951 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4952 for (key in S) S_is_set[key] = 1
4958 nfields = split(line, field, "@
")
4960 len = length(field[1])
4961 for (i = 2; i < nfields; i++) {
4963 keylen = length(key)
4964 if (S_is_set[key]) {
4966 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4967 len += length(value) + length(field[++i])
4978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4979 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4980 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4983 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4984 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4987 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4988 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4989 # trailing colons and then remove the whole line if VPATH becomes empty
4990 # (actually we leave an empty line to preserve line numbers).
4991 if test "x
$srcdir" = x.; then
4992 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5011 fi # test -n "$CONFIG_FILES"
5014 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5019 :[FHLC]) ac_mode=$ac_tag; continue;;
5021 case $ac_mode$ac_tag in
5023 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5024 :[FH]-) ac_tag=-:-;;
5025 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5042 -) ac_f="$ac_tmp/stdin";;
5043 *) # Look for the file first in the build tree, then in the source tree
5044 # (if the path is not absolute). The absolute path cannot be DOS-style,
5045 # because $ac_f cannot contain `:'.
5049 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5051 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5053 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5054 as_fn_append ac_file_inputs " '$ac_f'"
5057 # Let's still pretend it is `configure' which instantiates (i.e., don't
5058 # use $as_me), people would be surprised to read:
5059 # /* config.h. Generated by config.status. */
5060 configure_input='Generated from '`
5061 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5063 if test x"$ac_file" != x-; then
5064 configure_input="$ac_file.
$configure_input"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5066 $as_echo "$as_me: creating
$ac_file" >&6;}
5068 # Neutralize special characters interpreted by sed in replacement strings.
5069 case $configure_input in #(
5070 *\&* | *\|* | *\\* )
5071 ac_sed_conf_input=`$as_echo "$configure_input" |
5072 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5073 *) ac_sed_conf_input=$configure_input;;
5077 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5078 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5083 ac_dir=`$as_dirname -- "$ac_file" ||
5084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5085 X"$ac_file" : 'X\(//\)[^/]' \| \
5086 X"$ac_file" : 'X\(//\)$' \| \
5087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5088 $as_echo X"$ac_file" |
5089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5106 as_dir="$ac_dir"; as_fn_mkdir_p
5110 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5112 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5113 # A "..
" for each directory in $ac_dir_suffix.
5114 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5115 case $ac_top_builddir_sub in
5116 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5117 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5120 ac_abs_top_builddir=$ac_pwd
5121 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5122 # for backward compatibility:
5123 ac_top_builddir=$ac_top_build_prefix
5126 .) # We are building in place.
5128 ac_top_srcdir=$ac_top_builddir_sub
5129 ac_abs_top_srcdir=$ac_pwd ;;
5130 [\\/]* | ?:[\\/]* ) # Absolute name.
5131 ac_srcdir=$srcdir$ac_dir_suffix;
5132 ac_top_srcdir=$srcdir
5133 ac_abs_top_srcdir=$srcdir ;;
5135 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5136 ac_top_srcdir=$ac_top_build_prefix$srcdir
5137 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5139 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5149 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5150 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5154 [\\/$]* | ?:[\\/]* ) ;;
5155 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5160 # If the template does not know about datarootdir, expand it.
5161 # FIXME: This hack should be removed a few years after 2.60.
5162 ac_datarootdir_hack=; ac_datarootdir_seen=
5173 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5174 *datarootdir*) ac_datarootdir_seen=yes;;
5175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5177 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5180 ac_datarootdir_hack='
5181 s&@datadir@&$datadir&g
5182 s&@docdir@&$docdir&g
5183 s&@infodir@&$infodir&g
5184 s&@localedir@&$localedir&g
5185 s&@mandir@&$mandir&g
5186 s&\\\${datarootdir}&$datarootdir&g' ;;
5190 # Neutralize VPATH when `$srcdir' = `.'.
5191 # Shell code in configure.ac might set extrasub.
5192 # FIXME: do we really want to maintain this feature?
5193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5194 ac_sed_extra="$ac_vpsub
5197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5199 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5200 s|@configure_input@|
$ac_sed_conf_input|
;t t
5201 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5202 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5203 s
&@srcdir@
&$ac_srcdir&;t t
5204 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5205 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5206 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5207 s
&@builddir@
&$ac_builddir&;t t
5208 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5209 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5210 s
&@INSTALL@
&$ac_INSTALL&;t t
5211 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5212 $ac_datarootdir_hack
5214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5215 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5218 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5219 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5220 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5222 which seems to be undefined. Please make sure it is defined" >&5
5223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5224 which seems to be undefined. Please make sure it is defined" >&2;}
5226 rm -f "$ac_tmp/stdin"
5228 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5229 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5231 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5235 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5236 $as_echo "$as_me: executing $ac_file commands" >&6;}
5241 case $ac_file$ac_mode in
5242 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5243 # Older Autoconf quotes --file arguments for eval, but not when files
5244 # are listed without --file. Let's play safe and only
enable the
eval
5245 # if we detect the quoting.
5246 # TODO: see whether this extra hack can be removed once we start
5247 # requiring Autoconf 2.70 or later.
5248 case $CONFIG_FILES in #(
5250 eval set x
"$CONFIG_FILES" ;; #(
5252 set x
$CONFIG_FILES ;; #(
5257 # Used to flag and report bootstrapping failures.
5261 # Strip MF so we end up with the name of the file.
5262 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5263 # Check whether this is an Automake generated Makefile which includes
5264 # dependency-tracking related rules and includes.
5265 # Grep'ing the whole file directly is not great: AIX grep has a line
5266 # limit of 2048, but all sed's we know have understand at least 4000.
5267 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
5269 am_dirpart
=`$as_dirname -- "$am_mf" ||
5270 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5271 X"$am_mf" : 'X\(//\)[^/]' \| \
5272 X"$am_mf" : 'X\(//\)$' \| \
5273 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5274 $as_echo X"$am_mf" |
5275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5292 am_filepart
=`$as_basename -- "$am_mf" ||
5293 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5294 X"$am_mf" : 'X\(//\)$' \| \
5295 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5296 $as_echo X/"$am_mf" |
5297 sed '/^.*\/\([^/][^/]*\)\/*$/{
5310 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5311 && sed -e '/# am--include-marker/d' "$am_filepart" \
5312 | $MAKE -f - am--depfiles" >&5
5314 && sed -e '/# am--include-marker/d' "$am_filepart" \
5315 |
$MAKE -f - am--depfiles
) >&5 2>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } || am_rc
=$?
5320 if test $am_rc -ne 0; then
5321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5323 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
5324 for automatic dependency tracking. Try re-running configure with the
5325 '--disable-dependency-tracking' option to at least be able to build
5326 the package (albeit without support for automatic dependency tracking).
5327 See \`config.log' for more details" "$LINENO" 5; }
5329 { am_dirpart
=; unset am_dirpart
;}
5330 { am_filepart
=; unset am_filepart
;}
5331 { am_mf
=; unset am_mf
;}
5332 { am_rc
=; unset am_rc
;}
5333 rm -f conftest-deps.mk
5343 ac_clean_files
=$ac_clean_files_save
5345 test $ac_write_fail = 0 ||
5346 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5349 # configure is writing to config.log, and then calls config.status.
5350 # config.status does its own redirection, appending to config.log.
5351 # Unfortunately, on DOS this fails, as config.log is still kept open
5352 # by configure, so config.status won't be able to write to it; its
5353 # output is simply discarded. So we exec the FD to /dev/null,
5354 # effectively closing config.log, so it can be properly (re)opened and
5355 # appended to by config.status. When coming back to configure, we
5356 # need to make the FD available again.
5357 if test "$no_create" != yes; then
5359 ac_config_status_args
=
5360 test "$silent" = yes &&
5361 ac_config_status_args
="$ac_config_status_args --quiet"
5363 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5365 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5366 # would make configure fail if this is the last instruction.
5367 $ac_cs_success || as_fn_exit
1
5369 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5371 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}