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
674 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 runstatedir
='${localstatedir}/run'
742 includedir
='${prefix}/include'
743 oldincludedir
='/usr/include'
744 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
745 infodir
='${datarootdir}/info'
750 libdir
='${exec_prefix}/lib'
751 localedir
='${datarootdir}/locale'
752 mandir
='${datarootdir}/man'
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\
$ac_option
766 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
777 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
779 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
782 -build |
--build |
--buil |
--bui |
--bu)
783 ac_prev
=build_alias
;;
784 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
785 build_alias
=$ac_optarg ;;
787 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
788 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
789 ac_prev
=cache_file
;;
790 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
791 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
792 cache_file
=$ac_optarg ;;
795 cache_file
=config.cache
;;
797 -datadir |
--datadir |
--datadi |
--datad)
799 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
800 datadir
=$ac_optarg ;;
802 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
803 |
--dataroo |
--dataro |
--datar)
804 ac_prev
=datarootdir
;;
805 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
806 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
807 datarootdir
=$ac_optarg ;;
809 -disable-* |
--disable-*)
810 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
813 as_fn_error $?
"invalid feature name: $ac_useropt"
814 ac_useropt_orig
=$ac_useropt
815 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
820 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep
=', ';;
823 eval enable_
$ac_useropt=no
;;
825 -docdir |
--docdir |
--docdi |
--doc |
--do)
827 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
830 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
832 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
835 -enable-* |
--enable-*)
836 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
839 as_fn_error $?
"invalid feature name: $ac_useropt"
840 ac_useropt_orig
=$ac_useropt
841 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
846 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep
=', ';;
849 eval enable_
$ac_useropt=\
$ac_optarg ;;
851 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
852 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
853 |
--exec |
--exe |
--ex)
854 ac_prev
=exec_prefix
;;
855 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
856 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
857 |
--exec=* |
--exe=* |
--ex=*)
858 exec_prefix
=$ac_optarg ;;
860 -gas |
--gas |
--ga |
--g)
861 # Obsolete; use --with-gas.
864 -help |
--help |
--hel |
--he |
-h)
866 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
867 ac_init_help
=recursive
;;
868 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
869 ac_init_help
=short
;;
871 -host |
--host |
--hos |
--ho)
872 ac_prev
=host_alias
;;
873 -host=* |
--host=* |
--hos=* |
--ho=*)
874 host_alias
=$ac_optarg ;;
876 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
878 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
880 htmldir
=$ac_optarg ;;
882 -includedir |
--includedir |
--includedi |
--included |
--include \
883 |
--includ |
--inclu |
--incl |
--inc)
884 ac_prev
=includedir
;;
885 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
886 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
887 includedir
=$ac_optarg ;;
889 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
891 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
892 infodir
=$ac_optarg ;;
894 -libdir |
--libdir |
--libdi |
--libd)
896 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
899 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
900 |
--libexe |
--libex |
--libe)
901 ac_prev
=libexecdir
;;
902 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
903 |
--libexe=* |
--libex=* |
--libe=*)
904 libexecdir
=$ac_optarg ;;
906 -localedir |
--localedir |
--localedi |
--localed |
--locale)
908 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
909 localedir
=$ac_optarg ;;
911 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
912 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
913 ac_prev
=localstatedir
;;
914 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
915 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
916 localstatedir
=$ac_optarg ;;
918 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
920 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
924 # Obsolete; use --without-fp.
927 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
928 |
--no-cr |
--no-c |
-n)
931 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
932 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
935 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
936 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
937 |
--oldin |
--oldi |
--old |
--ol |
--o)
938 ac_prev
=oldincludedir
;;
939 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
940 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
941 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
942 oldincludedir
=$ac_optarg ;;
944 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
946 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
949 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
950 |
--program-pre |
--program-pr |
--program-p)
951 ac_prev
=program_prefix
;;
952 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
953 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
954 program_prefix
=$ac_optarg ;;
956 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
957 |
--program-suf |
--program-su |
--program-s)
958 ac_prev
=program_suffix
;;
959 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
960 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
961 program_suffix
=$ac_optarg ;;
963 -program-transform-name |
--program-transform-name \
964 |
--program-transform-nam |
--program-transform-na \
965 |
--program-transform-n |
--program-transform- \
966 |
--program-transform |
--program-transfor \
967 |
--program-transfo |
--program-transf \
968 |
--program-trans |
--program-tran \
969 |
--progr-tra |
--program-tr |
--program-t)
970 ac_prev
=program_transform_name
;;
971 -program-transform-name=* |
--program-transform-name=* \
972 |
--program-transform-nam=* |
--program-transform-na=* \
973 |
--program-transform-n=* |
--program-transform-=* \
974 |
--program-transform=* |
--program-transfor=* \
975 |
--program-transfo=* |
--program-transf=* \
976 |
--program-trans=* |
--program-tran=* \
977 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
978 program_transform_name
=$ac_optarg ;;
980 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
982 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
985 -psdir |
--psdir |
--psdi |
--psd |
--ps)
987 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
990 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
991 |
-silent |
--silent |
--silen |
--sile |
--sil)
994 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
995 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
996 |
--run |
--ru |
--r)
997 ac_prev
=runstatedir
;;
998 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
999 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1000 |
--run=* |
--ru=* |
--r=*)
1001 runstatedir
=$ac_optarg ;;
1003 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1005 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1007 sbindir
=$ac_optarg ;;
1009 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1010 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1011 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1013 ac_prev
=sharedstatedir
;;
1014 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1015 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1016 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1018 sharedstatedir
=$ac_optarg ;;
1020 -site |
--site |
--sit)
1022 -site=* |
--site=* |
--sit=*)
1025 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1027 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1028 srcdir
=$ac_optarg ;;
1030 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1031 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1032 ac_prev
=sysconfdir
;;
1033 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1034 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1035 sysconfdir
=$ac_optarg ;;
1037 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1038 ac_prev
=target_alias
;;
1039 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1040 target_alias
=$ac_optarg ;;
1042 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1045 -version |
--version |
--versio |
--versi |
--vers |
-V)
1046 ac_init_version
=: ;;
1049 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error $?
"invalid package name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval with_
$ac_useropt=\
$ac_optarg ;;
1064 -without-* |
--without-*)
1065 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1068 as_fn_error $?
"invalid package name: $ac_useropt"
1069 ac_useropt_orig
=$ac_useropt
1070 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1075 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1076 ac_unrecognized_sep
=', ';;
1078 eval with_
$ac_useropt=no
;;
1081 # Obsolete; use --with-x.
1084 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1085 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1086 ac_prev
=x_includes
;;
1087 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1088 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1089 x_includes
=$ac_optarg ;;
1091 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1092 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1093 ac_prev
=x_libraries
;;
1094 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1095 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1096 x_libraries
=$ac_optarg ;;
1098 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1099 Try \`$0 --help' for more information"
1103 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1104 # Reject names that are not valid shell variable names.
1105 case $ac_envvar in #(
1106 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1107 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1109 eval $ac_envvar=\
$ac_optarg
1110 export $ac_envvar ;;
1113 # FIXME: should be removed in autoconf 3.0.
1114 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1116 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1117 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1123 if test -n "$ac_prev"; then
1124 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1125 as_fn_error $?
"missing argument to $ac_option"
1128 if test -n "$ac_unrecognized_opts"; then
1129 case $enable_option_checking in
1131 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1132 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1136 # Check all directory arguments for consistency.
1137 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1138 datadir sysconfdir sharedstatedir localstatedir includedir \
1139 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1140 libdir localedir mandir runstatedir
1142 eval ac_val
=\$
$ac_var
1143 # Remove trailing slashes.
1146 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1147 eval $ac_var=\
$ac_val;;
1149 # Be sure to have absolute directory names.
1151 [\\/$
]* | ?
:[\\/]* ) continue;;
1152 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1154 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1157 # There might be people who depend on the old broken behavior: `$host'
1158 # used to hold the argument of --host etc.
1159 # FIXME: To remove some day.
1162 target
=$target_alias
1164 # FIXME: To remove some day.
1165 if test "x$host_alias" != x
; then
1166 if test "x$build_alias" = x
; then
1167 cross_compiling
=maybe
1168 elif test "x$build_alias" != "x$host_alias"; then
1174 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1176 test "$silent" = yes && exec 6>/dev
/null
1179 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1180 ac_ls_di
=`ls -di .` &&
1181 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1182 as_fn_error $?
"working directory cannot be determined"
1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1184 as_fn_error $?
"pwd does not report name of working directory"
1187 # Find the source files, if location was not specified.
1188 if test -z "$srcdir"; then
1189 ac_srcdir_defaulted
=yes
1190 # Try the directory containing this script, then the parent directory.
1191 ac_confdir
=`$as_dirname -- "$as_myself" ||
1192 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$as_myself" : 'X\(//\)[^/]' \| \
1194 X"$as_myself" : 'X\(//\)$' \| \
1195 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1196 $as_echo X"$as_myself" |
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1219 ac_srcdir_defaulted
=no
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1223 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1225 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1227 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1229 # When building in place, set srcdir=.
1230 if test "$ac_abs_confdir" = "$ac_pwd"; then
1233 # Remove unnecessary trailing slashes from srcdir.
1234 # Double slashes in file names in object file debugging info
1235 # mess up M-x gdb in Emacs.
1237 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1239 for ac_var
in $ac_precious_vars; do
1240 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1241 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1242 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1243 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1247 # Report the --help message.
1249 if test "$ac_init_help" = "long"; then
1250 # Omit some internal or obsolete options to make the list less imposing.
1251 # This message is too long to be a string in the A/UX 3.1 sh.
1253 \`configure' configures GNU DejaGnu 1.6.3-git to adapt to many kinds of systems.
1255 Usage: $0 [OPTION]... [VAR=VALUE]...
1257 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1258 VAR=VALUE. See below for descriptions of some of the useful variables.
1260 Defaults for the options are specified in brackets.
1263 -h, --help display this help and exit
1264 --help=short display options specific to this package
1265 --help=recursive display the short help of all the included packages
1266 -V, --version display version information and exit
1267 -q, --quiet, --silent do not print \`checking ...' messages
1268 --cache-file=FILE cache test results in FILE [disabled]
1269 -C, --config-cache alias for \`--cache-file=config.cache'
1270 -n, --no-create do not create output files
1271 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1273 Installation directories:
1274 --prefix=PREFIX install architecture-independent files in PREFIX
1275 [$ac_default_prefix]
1276 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1279 By default, \`make install' will install all the files in
1280 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1281 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1282 for instance \`--prefix=\$HOME'.
1284 For better control, use the options below.
1286 Fine tuning of the installation directories:
1287 --bindir=DIR user executables [EPREFIX/bin]
1288 --sbindir=DIR system admin executables [EPREFIX/sbin]
1289 --libexecdir=DIR program executables [EPREFIX/libexec]
1290 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1291 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1292 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1293 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1294 --libdir=DIR object code libraries [EPREFIX/lib]
1295 --includedir=DIR C header files [PREFIX/include]
1296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1299 --infodir=DIR info documentation [DATAROOTDIR/info]
1300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1301 --mandir=DIR man documentation [DATAROOTDIR/man]
1302 --docdir=DIR documentation root [DATAROOTDIR/doc/dejagnu]
1303 --htmldir=DIR html documentation [DOCDIR]
1304 --dvidir=DIR dvi documentation [DOCDIR]
1305 --pdfdir=DIR pdf documentation [DOCDIR]
1306 --psdir=DIR ps documentation [DOCDIR]
1312 --program-prefix=PREFIX prepend PREFIX to installed program names
1313 --program-suffix=SUFFIX append SUFFIX to installed program names
1314 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1318 if test -n "$ac_init_help"; then
1319 case $ac_init_help in
1320 short | recursive
) echo "Configuration of GNU DejaGnu 1.6.3-git:";;
1325 --disable-option-checking ignore unrecognized
--enable/--with options
1326 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1327 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1328 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1329 --disable-silent-rules verbose build output
(undo
: "make V=0")
1330 --enable-maintainer-mode
1331 enable make rules and dependencies not useful
(and
1332 sometimes confusing
) to the casual installer
1333 --enable-dependency-tracking
1334 do not reject slow dependency extractors
1335 --disable-dependency-tracking
1336 speeds up one-time build
1338 Some influential environment variables
:
1339 CC C compiler
command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1342 nonstandard directory
<lib dir
>
1343 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1344 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1345 you have headers
in a nonstandard directory
<include dir
>
1346 CXX C
++ compiler
command
1347 CXXFLAGS C
++ compiler flags
1349 Use these variables to override the choices made by
`configure' or to help
1350 it to find libraries and programs with nonstandard names/locations.
1352 Report bugs to <bug-dejagnu@gnu.org>.
1353 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
1354 General help using GNU software: <http://www.gnu.org/gethelp/>.
1359 if test "$ac_init_help" = "recursive"; then
1360 # If there are subdirs, report their specific --help.
1361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1362 test -d "$ac_dir" ||
1363 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1368 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1371 # A ".." for each directory in $ac_dir_suffix.
1372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1373 case $ac_top_builddir_sub in
1374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1378 ac_abs_top_builddir=$ac_pwd
1379 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1380 # for backward compatibility:
1381 ac_top_builddir=$ac_top_build_prefix
1384 .) # We are building in place.
1386 ac_top_srcdir=$ac_top_builddir_sub
1387 ac_abs_top_srcdir=$ac_pwd ;;
1388 [\\/]* | ?:[\\/]* ) # Absolute name.
1389 ac_srcdir=$srcdir$ac_dir_suffix;
1390 ac_top_srcdir=$srcdir
1391 ac_abs_top_srcdir=$srcdir ;;
1393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1394 ac_top_srcdir=$ac_top_build_prefix$srcdir
1395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1397 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1399 cd "$ac_dir" || { ac_status=$?; continue; }
1400 # Check for guested configure.
1401 if test -f "$ac_srcdir/configure.gnu"; then
1403 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1404 elif test -f "$ac_srcdir/configure"; then
1406 $SHELL "$ac_srcdir/configure" --help=recursive
1408 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1410 cd "$ac_pwd" || { ac_status=$?; break; }
1414 test -n "$ac_init_help" && exit $ac_status
1415 if $ac_init_version; then
1417 GNU DejaGnu configure 1.6.3-git
1418 generated by GNU Autoconf 2.69
1420 Copyright (C) 2012 Free Software Foundation, Inc.
1421 This configure script is free software; the Free Software Foundation
1422 gives unlimited permission to copy, distribute and modify it.
1427 ## ------------------------ ##
1428 ## Autoconf initialization. ##
1429 ## ------------------------ ##
1431 # ac_fn_c_try_compile LINENO
1432 # --------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_c_try_compile ()
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 rm -f conftest.$ac_objext
1438 if { { ac_try="$ac_compile"
1440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1441 *) ac_try_echo
=$ac_try;;
1443 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1447 if test -s conftest.err
; then
1448 grep -v '^ *+' conftest.err
>conftest.er1
1449 cat conftest.er1
>&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_c_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.
$ac_objext; then :
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.
$ac_ext >&5
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status
$ac_retval
1467 } # ac_fn_c_try_compile
1469 # ac_fn_cxx_try_compile LINENO
1470 # ----------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_cxx_try_compile
()
1474 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1475 rm -f conftest.
$ac_objext
1476 if { { ac_try
="$ac_compile"
1478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_cxx_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_cxx_try_compile
1506 cat >config.log <<_ACEOF
1507 This file contains any messages produced by compilers while
1508 running configure, to aid debugging if configure makes a mistake.
1510 It was created by GNU DejaGnu $as_me 1.6.3-git, which was
1511 generated by GNU Autoconf 2.69. Invocation command line was
1523 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1524 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1525 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1526 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1527 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1529 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1530 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1532 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1533 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1534 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1535 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1536 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1537 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1538 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546 test -z "$as_dir" && as_dir=.
1547 $as_echo "PATH: $as_dir"
1563 # Keep a trace of the command line.
1564 # Strip out --no-create and --no-recursion so they do not pile up.
1565 # Strip out --silent because we don't want to record it for future runs.
1566 # Also quote any args containing shell meta-characters.
1567 # Make two passes to allow for proper duplicate-argument suppression.
1571 ac_must_keep_next=false
1577 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1579 | -silent | --silent | --silen | --sile | --sil)
1582 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1585 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1587 as_fn_append ac_configure_args1 " '$ac_arg'"
1588 if test $ac_must_keep_next = true; then
1589 ac_must_keep_next=false # Got value, back to normal.
1592 *=* | --config-cache | -C | -disable-* | --disable-* \
1593 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1594 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1595 | -with-* | --with-* | -without-* | --without-* | --x)
1596 case "$ac_configure_args0 " in
1597 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1600 -* ) ac_must_keep_next=true ;;
1603 as_fn_append ac_configure_args " '$ac_arg'"
1608 { ac_configure_args0=; unset ac_configure_args0;}
1609 { ac_configure_args1=; unset ac_configure_args1;}
1611 # When interrupted or exit'd, cleanup temporary files, and complete
1612 # config.log. We remove comments because anyway the quotes in there
1613 # would cause problems or look ugly.
1614 # WARNING: Use '\'' to represent an apostrophe within the trap.
1615 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 trap 'exit_status=$?
1617 # Save into config.log some information that might help in debugging.
1621 $as_echo "## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##"
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1628 eval ac_val=\$$ac_var
1632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1636 _ | IFS | as_nl) ;; #(
1637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1638 *) { eval $ac_var=; unset $ac_var;} ;;
1643 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1657 $as_echo "## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##"
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1665 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 $as_echo "$ac_var='\''$ac_val'\''"
1671 if test -n "$ac_subst_files"; then
1672 $as_echo "## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##"
1676 for ac_var in $ac_subst_files
1678 eval ac_val=\$$ac_var
1680 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 $as_echo "$ac_var='\''$ac_val'\''"
1687 if test -s confdefs.h; then
1688 $as_echo "## ----------- ##
1695 test "$ac_signal" != 0 &&
1696 $as_echo "$as_me: caught signal $ac_signal"
1697 $as_echo "$as_me: exit $exit_status"
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1703 for ac_signal in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest* confdefs.h
1711 $as_echo "/* confdefs.h */" > confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_URL "$PACKAGE_URL"
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 # We do not want a PATH search for config.site.
1746 case $CONFIG_SITE in #((
1747 -*) ac_site_file1=./$CONFIG_SITE;;
1748 */*) ac_site_file1=$CONFIG_SITE;;
1749 *) ac_site_file1=./$CONFIG_SITE;;
1751 elif test "x$prefix" != xNONE; then
1752 ac_site_file1=$prefix/share/config.site
1753 ac_site_file2=$prefix/etc/config.site
1755 ac_site_file1=$ac_default_prefix/share/config.site
1756 ac_site_file2=$ac_default_prefix/etc/config.site
1758 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1760 test "x$ac_site_file" = xNONE && continue
1761 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1766 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1768 as_fn_error $? "failed to load site
script $ac_site_file
1769 See \
`config.log' for more details" "$LINENO" 5; }
1773 if test -r "$cache_file"; then
1774 # Some versions of bash will fail to source /dev/null (special files
1775 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1776 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1778 $as_echo "$as_me: loading cache $cache_file" >&6;}
1780 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1781 *) . "./$cache_file";;
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1786 $as_echo "$as_me: creating cache $cache_file" >&6;}
1790 # Check that the precious variables saved in the cache have kept the same
1792 ac_cache_corrupted=false
1793 for ac_var in $ac_precious_vars; do
1794 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1795 eval ac_new_set=\$ac_env_${ac_var}_set
1796 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1797 eval ac_new_val=\$ac_env_${ac_var}_value
1798 case $ac_old_set,$ac_new_set in
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1801 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802 ac_cache_corrupted=: ;;
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1805 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1809 if test "x$ac_old_val" != "x$ac_new_val"; then
1810 # differences in whitespace do not lead to failure.
1811 ac_old_val_w=`echo x
$ac_old_val`
1812 ac_new_val_w=`echo x
$ac_new_val`
1813 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1815 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1816 ac_cache_corrupted=:
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1819 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1820 eval $ac_var=\$ac_old_val
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1823 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1825 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1828 # Pass precious variables to config.status.
1829 if test "$ac_new_set" = set; then
1831 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1832 *) ac_arg=$ac_var=$ac_new_val ;;
1834 case " $ac_configure_args " in
1835 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1836 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1840 if $ac_cache_corrupted; then
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1844 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1845 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1847 ## -------------------- ##
1848 ## Main body of script. ##
1849 ## -------------------- ##
1852 ac_cpp='$CPP $CPPFLAGS'
1853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1858 am__api_version='1.15'
1861 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1862 if test -f "$ac_dir/install-sh"; then
1864 ac_install_sh="$ac_aux_dir/install-sh -c"
1866 elif test -f "$ac_dir/install.sh"; then
1868 ac_install_sh="$ac_aux_dir/install.sh -c"
1870 elif test -f "$ac_dir/shtool"; then
1872 ac_install_sh="$ac_aux_dir/shtool install -c"
1876 if test -z "$ac_aux_dir"; then
1877 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1880 # These three variables are undocumented and unsupported,
1881 # and are intended to be withdrawn in a future Autoconf release.
1882 # They can cause serious problems if a builder's source tree is in a directory
1883 # whose full name contains unusual characters.
1884 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1885 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1886 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 # Find a good install program. We prefer a C program (faster),
1890 # so one script is as good as another. But avoid the broken or
1891 # incompatible versions:
1892 # SysV /etc/install, /usr/sbin/install
1893 # SunOS /usr/etc/install
1894 # IRIX /sbin/install
1896 # AmigaOS /C/install, which installs bootblocks on floppy discs
1897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1900 # OS/2's system install, which has a completely different semantic
1901 # ./install, which can be erroneously created by make from ./install.sh.
1902 # Reject install programs that cannot install multiple files.
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1904 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1905 if test -z "$INSTALL"; then
1906 if ${ac_cv_path_install+:} false; then :
1907 $as_echo_n "(cached) " >&6
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 # Account for people who put trailing slashes in PATH elements.
1915 case $as_dir/ in #((
1916 ./ | .// | /[cC]/* | \
1917 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1918 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1921 # OSF1 and SCO ODT 3.0 have their own names for install.
1922 # Don't use installbsd from OSF since it installs stuff as root
1924 for ac_prog in ginstall scoinst install; do
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1927 if test $ac_prog = install &&
1928 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1929 # AIX install. It has an incompatible calling convention.
1931 elif test $ac_prog = install &&
1932 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1933 # program-specific install script used by HP pwplus--don't use.
1936 rm -rf conftest.one conftest.two conftest.dir
1937 echo one > conftest.one
1938 echo two > conftest.two
1940 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1941 test -s conftest.one && test -s conftest.two &&
1942 test -s conftest.dir/conftest.one &&
1943 test -s conftest.dir/conftest.two
1945 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1958 rm -rf conftest.one conftest.two conftest.dir
1961 if test "${ac_cv_path_install+set}" = set; then
1962 INSTALL=$ac_cv_path_install
1964 # As a last resort, use the slow shell script. Don't cache a
1965 # value for INSTALL within a source directory, because that will
1966 # break other packages using the cache if that directory is
1967 # removed, or if the value is a relative name.
1968 INSTALL=$ac_install_sh
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1972 $as_echo "$INSTALL" >&6; }
1974 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1975 # It thinks the first close brace ends the variable substitution.
1976 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1978 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1980 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1983 $as_echo_n "checking whether build environment is sane... " >&6; }
1984 # Reject unsafe characters in $srcdir or the absolute working directory
1985 # name. Accept space and tab only in the latter.
1989 *[\\\"\#\$\&\'\`$am_lf]*)
1990 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
1993 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
1994 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1997 # Do 'set' in a subshell so we don't clobber the current shell's
1998 # arguments. Must try -L first in case configure is actually a
1999 # symlink; some systems play weird games with the mod time of symlinks
2000 # (eg FreeBSD returns the mod time of the symlink's containing
2004 for am_try
in 1 2; do
2005 echo "timestamp, slept: $am_has_slept" > conftest.
file
2006 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2007 if test "$*" = "X"; then
2009 set X
`ls -t "$srcdir/configure" conftest.file`
2011 if test "$*" != "X $srcdir/configure conftest.file" \
2012 && test "$*" != "X conftest.file $srcdir/configure"; then
2014 # If neither matched, then we have a broken ls. This can happen
2015 # if, for instance, CONFIG_SHELL is bash and it inherits a
2016 # broken ls alias from the environment. This has actually
2017 # happened. Such a system could not be considered "sane".
2018 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2019 alias in your environment" "$LINENO" 5
2021 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2028 test "$2" = conftest.
file
2034 as_fn_error $?
"newly created file is older than distributed files!
2035 Check your system clock" "$LINENO" 5
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2038 $as_echo "yes" >&6; }
2039 # If we didn't sleep, we still need to ensure time stamps of config.status and
2040 # generated files are strictly newer.
2042 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2049 test "$program_prefix" != NONE
&&
2050 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2051 # Use a double $ so make ignores it.
2052 test "$program_suffix" != NONE
&&
2053 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2054 # Double any \ or $.
2055 # By default was `s,x,x', remove it if useless.
2056 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2057 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2059 # Expand $ac_aux_dir to an absolute path.
2060 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2062 if test x
"${MISSING+set}" != xset
; then
2065 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2067 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2070 # Use eval to expand $SHELL
2071 if eval "$MISSING --is-lightweight"; then
2072 am_missing_run
="$MISSING "
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2076 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2079 if test x
"${install_sh+set}" != xset
; then
2082 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2084 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2088 # Installed binaries are usually stripped using 'strip' when the user
2089 # run "make install-strip". However 'strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the 'STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no
; then
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2097 $as_echo_n "checking for $ac_word... " >&6; }
2098 if ${ac_cv_prog_STRIP+:} false
; then :
2099 $as_echo_n "(cached) " >&6
2101 if test -n "$STRIP"; then
2102 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir
=.
2109 for ac_exec_ext
in '' $ac_executable_extensions; do
2110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2111 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 STRIP
=$ac_cv_prog_STRIP
2122 if test -n "$STRIP"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2124 $as_echo "$STRIP" >&6; }
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2127 $as_echo "no" >&6; }
2132 if test -z "$ac_cv_prog_STRIP"; then
2134 # Extract the first word of "strip", so it can be a program name with args.
2135 set dummy strip
; ac_word
=$2
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2137 $as_echo_n "checking for $ac_word... " >&6; }
2138 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2139 $as_echo_n "(cached) " >&6
2141 if test -n "$ac_ct_STRIP"; then
2142 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 for ac_exec_ext
in '' $ac_executable_extensions; do
2150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_ac_ct_STRIP
="strip"
2152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2162 if test -n "$ac_ct_STRIP"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2164 $as_echo "$ac_ct_STRIP" >&6; }
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2167 $as_echo "no" >&6; }
2170 if test "x$ac_ct_STRIP" = x
; then
2173 case $cross_compiling:$ac_tool_warned in
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2177 ac_tool_warned
=yes ;;
2182 STRIP
="$ac_cv_prog_STRIP"
2186 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2189 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2190 if test -z "$MKDIR_P"; then
2191 if ${ac_cv_path_mkdir+:} false
; then :
2192 $as_echo_n "(cached) " >&6
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2195 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_prog
in mkdir gmkdir
; do
2200 for ac_exec_ext
in '' $ac_executable_extensions; do
2201 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2202 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2203 'mkdir (GNU coreutils) '* | \
2204 'mkdir (coreutils) '* | \
2205 'mkdir (fileutils) '4.1*)
2206 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2216 test -d .
/--version && rmdir .
/--version
2217 if test "${ac_cv_path_mkdir+set}" = set; then
2218 MKDIR_P
="$ac_cv_path_mkdir -p"
2220 # As a last resort, use the slow shell script. Don't cache a
2221 # value for MKDIR_P within a source directory, because that will
2222 # break other packages using the cache if that directory is
2223 # removed, or if the value is a relative name.
2224 MKDIR_P
="$ac_install_sh -d"
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2228 $as_echo "$MKDIR_P" >&6; }
2230 for ac_prog
in gawk mawk nawk
awk
2232 # Extract the first word of "$ac_prog", so it can be a program name with args.
2233 set dummy
$ac_prog; ac_word
=$2
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2235 $as_echo_n "checking for $ac_word... " >&6; }
2236 if ${ac_cv_prog_AWK+:} false
; then :
2237 $as_echo_n "(cached) " >&6
2239 if test -n "$AWK"; then
2240 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir
=.
2247 for ac_exec_ext
in '' $ac_executable_extensions; do
2248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2249 ac_cv_prog_AWK
="$ac_prog"
2250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 if test -n "$AWK"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2262 $as_echo "$AWK" >&6; }
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2265 $as_echo "no" >&6; }
2269 test -n "$AWK" && break
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2273 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2275 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2276 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2277 $as_echo_n "(cached) " >&6
2279 cat >conftest.
make <<\_ACEOF
2282 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2284 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2285 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2287 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2289 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2293 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295 $as_echo "yes" >&6; }
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299 $as_echo "no" >&6; }
2300 SET_MAKE
="MAKE=${MAKE-make}"
2303 rm -rf .tst
2>/dev
/null
2304 mkdir .tst
2>/dev
/null
2305 if test -d .tst
; then
2310 rmdir .tst
2>/dev
/null
2312 # Check whether --enable-silent-rules was given.
2313 if test "${enable_silent_rules+set}" = set; then :
2314 enableval
=$enable_silent_rules;
2317 case $enable_silent_rules in # (((
2318 yes) AM_DEFAULT_VERBOSITY
=0;;
2319 no
) AM_DEFAULT_VERBOSITY
=1;;
2320 *) AM_DEFAULT_VERBOSITY
=1;;
2322 am_make
=${MAKE-make}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2324 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2325 if ${am_cv_make_support_nested_variables+:} false
; then :
2326 $as_echo_n "(cached) " >&6
2328 if $as_echo 'TRUE=$(BAR$(V))
2334 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2335 am_cv_make_support_nested_variables
=yes
2337 am_cv_make_support_nested_variables
=no
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2341 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2342 if test $am_cv_make_support_nested_variables = yes; then
2344 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2346 AM_V
=$AM_DEFAULT_VERBOSITY
2347 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2351 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2352 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2353 # is not polluted with repeated "-I."
2354 am__isrc
=' -I$(srcdir)'
2355 # test to see if srcdir already configured
2356 if test -f $srcdir/config.status
; then
2357 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2361 # test whether we have cygpath
2362 if test -z "$CYGPATH_W"; then
2363 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2364 CYGPATH_W
='cygpath -w'
2371 # Define the identity of the package.
2376 cat >>confdefs.h
<<_ACEOF
2377 #define PACKAGE "$PACKAGE"
2381 cat >>confdefs.h
<<_ACEOF
2382 #define VERSION "$VERSION"
2385 # Some tools Automake needs.
2387 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2390 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2393 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2396 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2399 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2401 # For better backward compatibility. To be removed once Automake 1.9.x
2402 # dies out for good. For more background, see:
2403 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2404 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2405 mkdir_p
='$(MKDIR_P)'
2407 # We need awk for the "check" target (and possibly the TAP driver). The
2408 # system "awk" is bad on some platforms.
2409 # Always define AMTAR for backward compatibility. Yes, it's still used
2410 # in the wild :-( We should find a proper way to deprecate it ...
2414 # We'll loop over all known methods to create a tar archive until one works.
2415 _am_tools
='gnutar pax cpio none'
2417 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2424 # POSIX will say in a future version that running "rm -f" with no argument
2425 # is OK; and we want to be able to make that assumption in our Makefile
2426 # recipes. So use an aggressive probe to check that the usage we want is
2427 # actually supported "in the wild" to an acceptable degree.
2428 # See automake bug#10828.
2429 # To make any issue more visible, cause the running configure to be aborted
2430 # by default if the 'rm' program in use doesn't match our expectations; the
2431 # user can still override this though.
2432 if rm -f && rm -fr && rm -rf; then : OK
; else
2436 Your 'rm' program seems unable to run without file operands specified
2437 on the command line, even when the '-f' option is present. This is contrary
2438 to the behaviour of most rm programs out there, and not conforming with
2439 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2441 Please tell bug-automake@gnu.org about your system, including the value
2442 of your $PATH and any error possibly output before this message. This
2443 can help us improve future automake versions.
2446 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2447 echo 'Configuration will proceed anyway, since you have set the' >&2
2448 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2452 Aborting the configuration process, to ensure you take notice of the issue.
2454 You can download and install GNU coreutils to get an 'rm' implementation
2455 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2457 If you want to complete the configuration process using your problematic
2458 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2459 to "yes", and re-run configure.
2462 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2468 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2469 # Check whether --enable-maintainer-mode was given.
2470 if test "${enable_maintainer_mode+set}" = set; then :
2471 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2473 USE_MAINTAINER_MODE
=no
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2477 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2478 if test $USE_MAINTAINER_MODE = yes; then
2479 MAINTAINER_MODE_TRUE
=
2480 MAINTAINER_MODE_FALSE
='#'
2482 MAINTAINER_MODE_TRUE
='#'
2483 MAINTAINER_MODE_FALSE
=
2486 MAINT
=$MAINTAINER_MODE_TRUE
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2490 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2492 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2493 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2494 $as_echo_n "(cached) " >&6
2496 cat >conftest.
make <<\_ACEOF
2499 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2501 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2502 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2504 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2506 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2510 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512 $as_echo "yes" >&6; }
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2517 SET_MAKE
="MAKE=${MAKE-make}"
2521 for ac_prog
in gawk mawk nawk
awk
2523 # Extract the first word of "$ac_prog", so it can be a program name with args.
2524 set dummy
$ac_prog; ac_word
=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_AWK+:} false
; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$AWK"; then
2531 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_AWK
="$ac_prog"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$AWK"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2553 $as_echo "$AWK" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2560 test -n "$AWK" && break
2564 ac_cpp
='$CPP $CPPFLAGS'
2565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2568 if test -n "$ac_tool_prefix"; then
2569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2570 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_CC+:} false
; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC
="$CC" # Let the user override the test.
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_exec_ext
in '' $ac_executable_extensions; do
2585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 if test -n "$CC"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2599 $as_echo "$CC" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2607 if test -z "$ac_cv_prog_CC"; then
2609 # Extract the first word of "gcc", so it can be a program name with args.
2610 set dummy gcc
; ac_word
=$2
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2612 $as_echo_n "checking for $ac_word... " >&6; }
2613 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2614 $as_echo_n "(cached) " >&6
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_ac_ct_CC
="gcc"
2627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2637 if test -n "$ac_ct_CC"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2639 $as_echo "$ac_ct_CC" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2645 if test "x$ac_ct_CC" = x
; then
2648 case $cross_compiling:$ac_tool_warned in
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2652 ac_tool_warned
=yes ;;
2660 if test -z "$CC"; then
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2663 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_prog_CC+:} false
; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC
="$CC" # Let the user override the test.
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2679 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test -n "$CC"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2692 $as_echo "$CC" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2701 if test -z "$CC"; then
2702 # Extract the first word of "cc", so it can be a program name with args.
2703 set dummy cc
; ac_word
=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if ${ac_cv_prog_CC+:} false
; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC
="$CC" # Let the user override the test.
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 for ac_exec_ext
in '' $ac_executable_extensions; do
2719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2721 ac_prog_rejected
=yes
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test $ac_prog_rejected = yes; then
2733 # We found a bogon in the path, so make sure we never use it.
2734 set dummy
$ac_cv_prog_CC
2736 if test $# != 0; then
2737 # We chose a different compiler from the bogus one.
2738 # However, it has the same basename, so the bogon will be chosen
2739 # first if we set CC to just the basename; use the full file name.
2741 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$CC"; then
2758 if test -n "$ac_tool_prefix"; then
2759 for ac_prog
in cl.exe
2761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2762 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_CC+:} false
; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC
="$CC" # Let the user override the test.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 if test -n "$CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2791 $as_echo "$CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2798 test -n "$CC" && break
2801 if test -z "$CC"; then
2803 for ac_prog
in cl.exe
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy
$ac_prog; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$ac_ct_CC"; then
2813 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_ac_ct_CC
="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2833 if test -n "$ac_ct_CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2835 $as_echo "$ac_ct_CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$ac_ct_CC" && break
2845 if test "x$ac_ct_CC" = x
; then
2848 case $cross_compiling:$ac_tool_warned in
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2852 ac_tool_warned
=yes ;;
2861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2863 as_fn_error $?
"no acceptable C compiler found in \$PATH
2864 See \`config.log' for more details" "$LINENO" 5; }
2866 # Provide some information about the compiler.
2867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2870 for ac_option
in --version -v -V -qversion; do
2871 { { ac_try
="$ac_compiler $ac_option >&5"
2873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2880 if test -s conftest.err; then
2882 ... rest of stderr output deleted ...
2883 10q' conftest.err >conftest.er1
2884 cat conftest.er1 >&5
2886 rm -f conftest.er1 conftest.err
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2902 ac_clean_files_save=$ac_clean_files
2903 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2904 # Try to create an executable without -o first, disregard a.out.
2905 # It will help us diagnose broken compilers, and finding out an intuition
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2908 $as_echo_n "checking whether the C compiler works... " >&6; }
2909 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2911 # The possible output files:
2912 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2915 for ac_file in $ac_files
2918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2919 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2924 if { { ac_try="$ac_link_default"
2926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2927 *) ac_try_echo
=$ac_try;;
2929 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_link_default") 2>&5
2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2934 test $ac_status = 0; }; then :
2935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2938 # so that the user can short-circuit this test for compilers unknown to
2940 for ac_file
in $ac_files ''
2942 test -f "$ac_file" ||
continue
2944 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2947 # We found the default executable, but exeext='' is most
2951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2953 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2955 # We set ac_cv_exeext here because the later test for it is not
2956 # safe: cross compilers may not add the suffix if given an `-o'
2957 # argument, so we may need to know it at that point already.
2958 # Even if this section looks crufty: it has the advantage of
2965 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2970 if test -z "$ac_file"; then :
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2978 as_fn_error
77 "C compiler cannot create executables
2979 See \`config.log' for more details" "$LINENO" 5; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2982 $as_echo "yes" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2985 $as_echo_n "checking for C compiler default output file name... " >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2987 $as_echo "$ac_file" >&6; }
2988 ac_exeext
=$ac_cv_exeext
2990 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2991 ac_clean_files
=$ac_clean_files_save
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2993 $as_echo_n "checking for suffix of executables... " >&6; }
2994 if { { ac_try
="$ac_link"
2996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>&5
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }; then :
3005 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3006 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3007 # work properly (i.e., refer to `conftest.exe'), while it won't with
3009 for ac_file
in conftest.exe conftest conftest.
*; do
3010 test -f "$ac_file" ||
continue
3012 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3013 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3021 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3022 See \`config.log' for more details" "$LINENO" 5; }
3024 rm -f conftest conftest
$ac_cv_exeext
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3026 $as_echo "$ac_cv_exeext" >&6; }
3028 rm -f conftest.
$ac_ext
3029 EXEEXT
=$ac_cv_exeext
3031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3037 FILE *f = fopen ("conftest.out", "w");
3038 return ferror (f) || fclose (f) != 0;
3044 ac_clean_files
="$ac_clean_files conftest.out"
3045 # Check that the compiler produces executables we can run. If not, either
3046 # the compiler is broken, or we cross compile.
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3048 $as_echo_n "checking whether we are cross compiling... " >&6; }
3049 if test "$cross_compiling" != yes; then
3050 { { ac_try
="$ac_link"
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_link") 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }
3061 if { ac_try='./conftest$ac_cv_exeext'
3062 { { case "(($ac_try" in
3063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3064 *) ac_try_echo
=$ac_try;;
3066 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_try") 2>&5
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }; }; then
3074 if test "$cross_compiling" = maybe
; then
3077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 as_fn_error $?
"cannot run C compiled programs.
3080 If you meant to cross compile, use \`--host'.
3081 See \`config.log' for more details" "$LINENO" 5; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3086 $as_echo "$cross_compiling" >&6; }
3088 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3089 ac_clean_files
=$ac_clean_files_save
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3091 $as_echo_n "checking for suffix of object files... " >&6; }
3092 if ${ac_cv_objext+:} false
; then :
3093 $as_echo_n "(cached) " >&6
3095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3106 rm -f conftest.o conftest.obj
3107 if { { ac_try
="$ac_compile"
3109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_compile") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 for ac_file in conftest.o conftest.obj conftest.*; do
3119 test -f "$ac_file" || continue;
3121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3122 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3133 See \
`config.log' for more details" "$LINENO" 5; }
3135 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3138 $as_echo "$ac_cv_objext" >&6; }
3139 OBJEXT=$ac_cv_objext
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3142 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3143 if ${ac_cv_c_compiler_gnu+:} false; then :
3144 $as_echo_n "(cached) " >&6
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3160 if ac_fn_c_try_compile "$LINENO"; then :
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3170 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3171 if test $ac_compiler_gnu = yes; then
3176 ac_test_CFLAGS=${CFLAGS+set}
3177 ac_save_CFLAGS=$CFLAGS
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3179 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3180 if ${ac_cv_prog_cc_g+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 ac_save_c_werror_flag=$ac_c_werror_flag
3184 ac_c_werror_flag=yes
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 if ac_fn_c_try_compile "$LINENO"; then :
3216 ac_c_werror_flag=$ac_save_c_werror_flag
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3229 if ac_fn_c_try_compile "$LINENO"; then :
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_c_werror_flag=$ac_save_c_werror_flag
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3240 $as_echo "$ac_cv_prog_cc_g" >&6; }
3241 if test "$ac_test_CFLAGS" = set; then
3242 CFLAGS=$ac_save_CFLAGS
3243 elif test $ac_cv_prog_cc_g = yes; then
3244 if test "$GCC" = yes; then
3250 if test "$GCC" = yes; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3257 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3258 if ${ac_cv_prog_cc_c89+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 ac_cv_prog_cc_c89=no
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3269 struct buf { int x; };
3270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3271 static char *e (p, i)
3277 static char *f (char * (*g) (char **, int), char **p, ...)
3282 s = g (p, va_arg (v,int));
3287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3288 function prototypes and stuff, but not '\xHH' hex character constants.
3289 These don't provoke an error unfortunately, instead are silently treated
3290 as 'x'. The following induces an error, until -std is added to get
3291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3292 array size at least. It's necessary to write '\x00'==0 to get something
3293 that's true only with -std. */
3294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3297 inside strings and character constants. */
3299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3301 int test (int i, double x);
3302 struct s1 {int (*f) (int a);};
3303 struct s2 {int (*f) (double a);};
3304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3318 CC="$ac_save_CC $ac_arg"
3319 if ac_fn_c_try_compile "$LINENO"; then :
3320 ac_cv_prog_cc_c89=$ac_arg
3322 rm -f core conftest.err conftest.$ac_objext
3323 test "x$ac_cv_prog_cc_c89" != "xno" && break
3325 rm -f conftest.$ac_ext
3330 case "x$ac_cv_prog_cc_c89" in
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3333 $as_echo "none needed" >&6; } ;;
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3336 $as_echo "unsupported" >&6; } ;;
3338 CC="$CC $ac_cv_prog_cc_c89"
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3342 if test "x$ac_cv_prog_cc_c89" != xno; then :
3347 ac_cpp='$CPP $CPPFLAGS'
3348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3353 ac_cpp='$CPP $CPPFLAGS'
3354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3358 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3359 if ${am_cv_prog_cc_c_o+:} false; then :
3360 $as_echo_n "(cached) " >&6
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3373 # Make sure it works both with $CC and with simple cc.
3374 # Following AC_PROG_CC_C_O, we do the test twice because some
3375 # compilers refuse to overwrite an existing .o file with -o,
3376 # though they will create one.
3377 am_cv_prog_cc_c_o=yes
3379 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3380 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } \
3384 && test -f conftest2.$ac_objext; then
3387 am_cv_prog_cc_c_o=no
3391 rm -f core conftest*
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3395 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3396 if test "$am_cv_prog_cc_c_o" != yes; then
3397 # Losing compiler, so override with the script.
3398 # FIXME: It is wrong to rewrite CC.
3399 # But if we don't then we get into trouble of one sort or another.
3400 # A longer-term fix would be to have automake use am__CC in this case,
3401 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3402 CC="$am_aux_dir/compile $CC"
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 DEPDIR="${am__leading_dot}deps"
3412 ac_config_commands="$ac_config_commands depfiles"
3415 am_make=${MAKE-make}
3416 cat > confinc << 'END'
3418 @echo this is the am__doit target
3421 # If we don't find an include directive, just comment out the code.
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3423 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3427 # First try GNU make style include.
3428 echo "include confinc" > confmf
3429 # Ignore all kinds of additional output from 'make'.
3430 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3431 *the\ am__doit\ target*)
3437 # Now try BSD make style include.
3438 if test "$am__include" = "#"; then
3439 echo '.include "confinc"' > confmf
3440 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3441 *the\ am__doit\ target*)
3442 am__include=.include
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3451 $as_echo "$_am_result" >&6; }
3452 rm -f confinc confmf
3454 # Check whether --enable-dependency-tracking was given.
3455 if test "${enable_dependency_tracking+set}" = set; then :
3456 enableval=$enable_dependency_tracking;
3459 if test "x$enable_dependency_tracking" != xno; then
3460 am_depcomp="$ac_aux_dir/depcomp"
3464 if test "x$enable_dependency_tracking" != xno; then
3474 depcc="$CC" am_compiler_list=
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3477 $as_echo_n "checking dependency style of $depcc... " >&6; }
3478 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3482 # We make a subdir and do the tests there. Otherwise we can end up
3483 # making bogus files that we don't know about and never remove. For
3484 # instance it was reported that on HP-UX the gcc test will end up
3485 # making a dummy file named 'D' -- because '-MD' means "put the output
3489 # Copy depcomp to subdir because otherwise we won't find it if we're
3490 # using a relative directory.
3491 cp "$am_depcomp" conftest.dir
3493 # We will build objects and dependencies in a subdirectory because
3494 # it helps to detect inapplicable dependency modes. For instance
3495 # both Tru64's cc and ICC support -MD to output dependencies as a
3496 # side effect of compilation, but ICC will put the dependencies in
3497 # the current directory while Tru64 will put them in the object
3501 am_cv_CC_dependencies_compiler_type=none
3502 if test "$am_compiler_list" = ""; then
3503 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3506 case " $depcc " in #(
3507 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3510 for depmode in $am_compiler_list; do
3511 # Setup a source with many dependencies, because some compilers
3512 # like to wrap large dependency lists on column 80 (with \), and
3513 # we should not choose a depcomp mode which is confused by this.
3515 # We need to recreate these files for each test, as the compiler may
3516 # overwrite some of them when testing with obscure command lines.
3517 # This happens at least with the AIX C compiler.
3519 for i in 1 2 3 4 5 6; do
3520 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3521 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3522 # Solaris 10 /bin/sh.
3523 echo '/* dummy */' > sub/conftst$i.h
3525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3527 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3528 # mode. It turns out that the SunPro C++ compiler does not properly
3529 # handle '-M -o', and we need to detect this. Also, some Intel
3530 # versions had trouble with output in subdirs.
3531 am__obj=sub/conftest.${OBJEXT-o}
3532 am__minus_obj="-o $am__obj"
3535 # This depmode causes a compiler race in universal mode.
3536 test "$am__universal" = false || continue
3539 # After this tag, mechanisms are not by side-effect, so they'll
3540 # only be used when explicitly requested.
3541 if test "x$enable_dependency_tracking" = xyes; then
3547 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3548 # This compiler won't grok '-c -o', but also, the minuso test has
3549 # not run yet. These depmodes are late enough in the game, and
3550 # so weak that their functioning should not be impacted.
3551 am__obj=conftest.${OBJEXT-o}
3556 if depmode=$depmode \
3557 source=sub/conftest.c object=$am__obj \
3558 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3559 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3560 >/dev/null 2>conftest.err &&
3561 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3562 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3563 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3564 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3565 # icc doesn't choke on unknown options, it will just issue warnings
3566 # or remarks (even with -Werror). So we grep stderr for any message
3567 # that says an option was ignored or not supported.
3568 # When given -MP, icc 7.0 and 7.1 complain thusly:
3569 # icc: Command line warning: ignoring option '-M'; no argument required
3570 # The diagnosis changed in icc 8.0:
3571 # icc: Command line remark: option '-MP' not supported
3572 if (grep 'ignoring option' conftest.err ||
3573 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3574 am_cv_CC_dependencies_compiler_type=$depmode
3583 am_cv_CC_dependencies_compiler_type=none
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3589 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3592 test "x$enable_dependency_tracking" != xno \
3593 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3595 am__fastdepCC_FALSE='#'
3597 am__fastdepCC_TRUE='#'
3598 am__fastdepCC_FALSE=
3603 ac_cpp='$CXXCPP $CPPFLAGS'
3604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3607 if test -z "$CXX"; then
3608 if test -n "$CCC"; then
3611 if test -n "$ac_tool_prefix"; then
3612 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_CXX+:} false; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -n "$CXX"; then
3622 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 if test -n "$CXX"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3644 $as_echo "$CXX" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3651 test -n "$CXX" && break
3654 if test -z "$CXX"; then
3656 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3658 # Extract the first word of "$ac_prog", so it can be a program name with args.
3659 set dummy $ac_prog; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3663 $as_echo_n "(cached) " >&6
3665 if test -n "$ac_ct_CXX"; then
3666 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_ac_ct_CXX="$ac_prog"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3686 if test -n "$ac_ct_CXX"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3688 $as_echo "$ac_ct_CXX" >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3695 test -n "$ac_ct_CXX" && break
3698 if test "x$ac_ct_CXX" = x; then
3701 case $cross_compiling:$ac_tool_warned in
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3713 # Provide some information about the compiler.
3714 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3717 for ac_option in --version -v -V -qversion; do
3718 { { ac_try="$ac_compiler $ac_option >&5"
3720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3721 *) ac_try_echo
=$ac_try;;
3723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3724 $as_echo "$ac_try_echo"; } >&5
3725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3727 if test -s conftest.err
; then
3729 ... rest of stderr output deleted ...
3730 10q' conftest.err
>conftest.er1
3731 cat conftest.er1
>&5
3733 rm -f conftest.er1 conftest.err
3734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3735 test $ac_status = 0; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3739 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3740 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3741 $as_echo_n "(cached) " >&6
3743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3757 if ac_fn_cxx_try_compile
"$LINENO"; then :
3762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3763 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3767 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3768 if test $ac_compiler_gnu = yes; then
3773 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3774 ac_save_CXXFLAGS
=$CXXFLAGS
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3776 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3777 if ${ac_cv_prog_cxx_g+:} false
; then :
3778 $as_echo_n "(cached) " >&6
3780 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3781 ac_cxx_werror_flag
=yes
3784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3795 if ac_fn_cxx_try_compile
"$LINENO"; then :
3796 ac_cv_prog_cxx_g
=yes
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 if ac_fn_cxx_try_compile
"$LINENO"; then :
3813 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_cxx_try_compile
"$LINENO"; then :
3827 ac_cv_prog_cxx_g
=yes
3829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3834 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3837 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3838 if test "$ac_test_CXXFLAGS" = set; then
3839 CXXFLAGS
=$ac_save_CXXFLAGS
3840 elif test $ac_cv_prog_cxx_g = yes; then
3841 if test "$GXX" = yes; then
3847 if test "$GXX" = yes; then
3854 ac_cpp
='$CPP $CPPFLAGS'
3855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3859 depcc
="$CXX" am_compiler_list
=
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3862 $as_echo_n "checking dependency style of $depcc... " >&6; }
3863 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
3864 $as_echo_n "(cached) " >&6
3866 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3867 # We make a subdir and do the tests there. Otherwise we can end up
3868 # making bogus files that we don't know about and never remove. For
3869 # instance it was reported that on HP-UX the gcc test will end up
3870 # making a dummy file named 'D' -- because '-MD' means "put the output
3874 # Copy depcomp to subdir because otherwise we won't find it if we're
3875 # using a relative directory.
3876 cp "$am_depcomp" conftest.dir
3878 # We will build objects and dependencies in a subdirectory because
3879 # it helps to detect inapplicable dependency modes. For instance
3880 # both Tru64's cc and ICC support -MD to output dependencies as a
3881 # side effect of compilation, but ICC will put the dependencies in
3882 # the current directory while Tru64 will put them in the object
3886 am_cv_CXX_dependencies_compiler_type
=none
3887 if test "$am_compiler_list" = ""; then
3888 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3891 case " $depcc " in #(
3892 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3895 for depmode
in $am_compiler_list; do
3896 # Setup a source with many dependencies, because some compilers
3897 # like to wrap large dependency lists on column 80 (with \), and
3898 # we should not choose a depcomp mode which is confused by this.
3900 # We need to recreate these files for each test, as the compiler may
3901 # overwrite some of them when testing with obscure command lines.
3902 # This happens at least with the AIX C compiler.
3904 for i
in 1 2 3 4 5 6; do
3905 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3906 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3907 # Solaris 10 /bin/sh.
3908 echo '/* dummy */' > sub
/conftst
$i.h
3910 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3912 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3913 # mode. It turns out that the SunPro C++ compiler does not properly
3914 # handle '-M -o', and we need to detect this. Also, some Intel
3915 # versions had trouble with output in subdirs.
3916 am__obj
=sub
/conftest.
${OBJEXT-o}
3917 am__minus_obj
="-o $am__obj"
3920 # This depmode causes a compiler race in universal mode.
3921 test "$am__universal" = false ||
continue
3924 # After this tag, mechanisms are not by side-effect, so they'll
3925 # only be used when explicitly requested.
3926 if test "x$enable_dependency_tracking" = xyes
; then
3932 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3933 # This compiler won't grok '-c -o', but also, the minuso test has
3934 # not run yet. These depmodes are late enough in the game, and
3935 # so weak that their functioning should not be impacted.
3936 am__obj
=conftest.
${OBJEXT-o}
3941 if depmode
=$depmode \
3942 source=sub
/conftest.c object
=$am__obj \
3943 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3944 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3945 >/dev
/null
2>conftest.err
&&
3946 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3947 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3948 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3949 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3950 # icc doesn't choke on unknown options, it will just issue warnings
3951 # or remarks (even with -Werror). So we grep stderr for any message
3952 # that says an option was ignored or not supported.
3953 # When given -MP, icc 7.0 and 7.1 complain thusly:
3954 # icc: Command line warning: ignoring option '-M'; no argument required
3955 # The diagnosis changed in icc 8.0:
3956 # icc: Command line remark: option '-MP' not supported
3957 if (grep 'ignoring option' conftest.err ||
3958 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3959 am_cv_CXX_dependencies_compiler_type
=$depmode
3968 am_cv_CXX_dependencies_compiler_type
=none
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3973 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3974 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3977 test "x$enable_dependency_tracking" != xno \
3978 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3979 am__fastdepCXX_TRUE
=
3980 am__fastdepCXX_FALSE
='#'
3982 am__fastdepCXX_TRUE
='#'
3983 am__fastdepCXX_FALSE
=
3990 if test -z "$AWK"; then
3991 as_fn_error $?
"AWK not installed" "$LINENO" 5
3994 # Extract the first word of "expect", so it can be a program name with args.
3995 set dummy expect
; ac_word
=$2
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3997 $as_echo_n "checking for $ac_word... " >&6; }
3998 if ${ac_cv_path_EXPECT+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4003 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
4006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir
=.
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 EXPECT
=$ac_cv_path_EXPECT
4025 if test -n "$EXPECT"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
4027 $as_echo "$EXPECT" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4034 if test -z $ac_cv_path_EXPECT ; then
4035 as_fn_error $?
"unable to locate expect" "$LINENO" 5
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl version 8.5 or greater" >&5
4039 $as_echo_n "checking Tcl version 8.5 or greater... " >&6; }
4040 if ${ac_cv_dg_tcl_modern+:} false
; then :
4041 $as_echo_n "(cached) " >&6
4044 ac_cv_dg_tcl_modern
=`$EXPECT << EOF
4045 if [ expr \\${tcl_version} >= 8.5 ] then { puts yes } else { puts no }
4050 if test x
${ac_cv_dg_tcl_modern} = xyes
; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_dg_tcl_modern}" >&5
4052 $as_echo "${ac_cv_dg_tcl_modern}" >&6; }
4054 as_fn_error $?
"Tcl 8.5 or greater is required" "$LINENO" 5
4057 if test x
"$DEJAGNU" = x
4063 ac_config_files
="$ac_config_files Makefile"
4065 cat >confcache
<<\_ACEOF
4066 # This file is a shell script that caches the results of configure
4067 # tests run on this system so they can be shared between configure
4068 # scripts and configure runs, see configure's option --config-cache.
4069 # It is not useful on other systems. If it contains results you don't
4070 # want to keep, you may remove or edit it.
4072 # config.status only pays attention to the cache file if you give it
4073 # the --recheck option to rerun configure.
4075 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4076 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4081 # The following way of writing the cache mishandles newlines in values,
4082 # but we know of no workaround that is simple, portable, and efficient.
4083 # So, we kill variables containing newlines.
4084 # Ultrix sh set writes to stderr and can't be redirected directly,
4085 # and sets the high bit in the cache file unless we assign to the vars.
4087 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4088 eval ac_val
=\$
$ac_var
4092 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4096 _ | IFS | as_nl
) ;; #(
4097 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4098 *) { eval $ac_var=; unset $ac_var;} ;;
4104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4105 *${as_nl}ac_space
=\
*)
4106 # `set' does not quote correctly, so add quotes: double-quote
4107 # substitution turns \\\\ into \\, and sed turns \\ into \.
4110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4113 # `set' quotes correctly as required by POSIX, so do not add quotes.
4114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4123 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4127 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4128 if test -w "$cache_file"; then
4129 if test "x$cache_file" != "x/dev/null"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4131 $as_echo "$as_me: updating cache $cache_file" >&6;}
4132 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4133 cat confcache
>"$cache_file"
4135 case $cache_file in #(
4137 mv -f confcache
"$cache_file"$$
&&
4138 mv -f "$cache_file"$$
"$cache_file" ;; #(
4140 mv -f confcache
"$cache_file" ;;
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4146 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4151 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4152 # Let make expand exec_prefix.
4153 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4155 # Transform confdefs.h into DEFS.
4156 # Protect against shell expansion while executing Makefile rules.
4157 # Protect against Makefile macro expansion.
4159 # If the first sed substitution is executed (which looks for macros that
4160 # take arguments), then branch to the quote section. Otherwise,
4161 # look for a macro that doesn't take arguments.
4171 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4173 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4177 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4190 DEFS
=`sed -n "$ac_script" confdefs.h`
4196 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4197 # 1. Remove the extension, and $U if already installed.
4198 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4199 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4200 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4201 # will be set to the directory where LIBOBJS objects are built.
4202 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4203 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4207 LTLIBOBJS
=$ac_ltlibobjs
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4211 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4212 if test -n "$am_sleep_pid"; then
4213 # Hide warnings about reused PIDs.
4214 wait $am_sleep_pid 2>/dev
/null
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4217 $as_echo "done" >&6; }
4218 if test -n "$EXEEXT"; then
4220 am__EXEEXT_FALSE
='#'
4226 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4227 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4230 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4231 as_fn_error $?
"conditional \"AMDEP\" was never defined.
4232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4234 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4235 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
4236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4238 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4239 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
4240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4243 : "${CONFIG_STATUS=./config.status}"
4245 ac_clean_files_save
=$ac_clean_files
4246 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4248 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4250 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4252 # Generated by $as_me.
4253 # Run this file to recreate the current configuration.
4254 # Compiler output produced by configure, useful for debugging
4255 # configure, is in config.log if it exists.
4261 SHELL=\${CONFIG_SHELL-$SHELL}
4264 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4265 ## -------------------- ##
4266 ## M4sh Initialization. ##
4267 ## -------------------- ##
4269 # Be more Bourne compatible
4270 DUALCASE
=1; export DUALCASE
# for MKS sh
4271 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4274 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4275 # is contrary to our usage. Disable this feature.
4276 alias -g '${1+"$@"}'='"$@"'
4277 setopt NO_GLOB_SUBST
4279 case `(set -o) 2>/dev/null` in #(
4291 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4292 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4293 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4294 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4295 # Prefer a ksh shell builtin over an external printf program on Solaris,
4296 # but without wasting forks for bash or zsh.
4297 if test -z "$BASH_VERSION$ZSH_VERSION" \
4298 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4299 as_echo='print
-r --'
4300 as_echo_n='print
-rn --'
4301 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4302 as_echo='printf %s
\n'
4303 as_echo_n='printf %s
'
4305 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4306 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4307 as_echo_n='/usr
/ucb
/echo -n'
4309 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4310 as_echo_n_body='eval
4314 expr "X$arg" : "X\\(.*\\)$as_nl";
4315 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4317 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4319 export as_echo_n_body
4320 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4323 as_echo='sh
-c $as_echo_body as_echo
'
4326 # The user is always right.
4327 if test "${PATH_SEPARATOR+set}" != set; then
4329 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4330 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4337 # We need space, tab and new line, in precisely that order. Quoting is
4338 # there to prevent editors from complaining about space-tab.
4339 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4340 # splitting by setting IFS to empty value.)
4343 # Find who we are. Look in the path if we contain no directory separator.
4346 *[\\/]* ) as_myself=$0 ;;
4347 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir=.
4352 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4358 # We did not find ourselves, most probably we were run as `sh COMMAND'
4359 # in which case we are not to be found in the path.
4360 if test "x$as_myself" = x
; then
4363 if test ! -f "$as_myself"; then
4364 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4368 # Unset variables that we do not need and which cause bugs (e.g. in
4369 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4370 # suppresses any "Segmentation fault" message there. '((' could
4371 # trigger a bug in pdksh 5.2.14.
4372 for as_var
in BASH_ENV ENV MAIL MAILPATH
4373 do eval test x\
${$as_var+set} = xset \
4374 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4387 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4390 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4391 # ----------------------------------------
4392 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4393 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4394 # script with STATUS, using 1 if that was 0.
4397 as_status
=$1; test $as_status -eq 0 && as_status
=1
4399 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4400 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4402 $as_echo "$as_me: error: $2" >&2
4403 as_fn_exit
$as_status
4407 # as_fn_set_status STATUS
4408 # -----------------------
4409 # Set $? to STATUS, without forking.
4413 } # as_fn_set_status
4417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4427 # Portably unset VAR.
4430 { eval $1=; unset $1;}
4432 as_unset
=as_fn_unset
4433 # as_fn_append VAR VALUE
4434 # ----------------------
4435 # Append the text in VALUE to the end of the definition contained in VAR. Take
4436 # advantage of any shell optimizations that allow amortized linear growth over
4437 # repeated appends, instead of the typical quadratic growth present in naive
4439 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4440 eval 'as_fn_append ()
4451 # as_fn_arith ARG...
4452 # ------------------
4453 # Perform arithmetic evaluation on the ARGs, and store the result in the
4454 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4455 # must be portable across $(()) and expr.
4456 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4457 eval 'as_fn_arith ()
4464 as_val
=`expr "$@" || test $? -eq 1`
4469 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4470 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4476 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4477 as_basename
=basename
4482 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4488 as_me
=`$as_basename -- "$0" ||
4489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4490 X"$0" : 'X\(//\)$' \| \
4491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4493 sed '/^.*\/\([^/][^/]*\)\/*$/{
4507 # Avoid depending upon Character Ranges.
4508 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4509 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4510 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4511 as_cr_digits
='0123456789'
4512 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4514 ECHO_C
= ECHO_N
= ECHO_T
=
4515 case `echo -n x` in #(((((
4517 case `echo 'xy\c'` in
4518 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4520 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4527 rm -f conf$$ conf$$.exe conf$$.
file
4528 if test -d conf$$.dir
; then
4529 rm -f conf$$.dir
/conf$$.
file
4532 mkdir conf$$.dir
2>/dev
/null
4534 if (echo >conf$$.
file) 2>/dev
/null
; then
4535 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4537 # ... but there are two gotchas:
4538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4540 # In both cases, we have to default to `cp -pR'.
4541 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4543 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4551 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4552 rmdir conf$$.dir
2>/dev
/null
4557 # Create "$as_dir" as a directory, including parents if necessary.
4562 -*) as_dir
=.
/$as_dir;;
4564 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4568 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4569 *) as_qdir
=$as_dir;;
4571 as_dirs
="'$as_qdir' $as_dirs"
4572 as_dir
=`$as_dirname -- "$as_dir" ||
4573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4574 X"$as_dir" : 'X\(//\)[^/]' \| \
4575 X"$as_dir" : 'X\(//\)$' \| \
4576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4577 $as_echo X"$as_dir" |
4578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4595 test -d "$as_dir" && break
4597 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4598 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4602 if mkdir
-p .
2>/dev
/null
; then
4603 as_mkdir_p
='mkdir -p "$as_dir"'
4605 test -d .
/-p && rmdir .
/-p
4610 # as_fn_executable_p FILE
4611 # -----------------------
4612 # Test if FILE is an executable regular file.
4613 as_fn_executable_p
()
4615 test -f "$1" && test -x "$1"
4616 } # as_fn_executable_p
4618 as_executable_p
=as_fn_executable_p
4620 # Sed expression to map a string onto a valid CPP name.
4621 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4623 # Sed expression to map a string onto a valid variable name.
4624 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4628 ## ----------------------------------- ##
4629 ## Main body of $CONFIG_STATUS script. ##
4630 ## ----------------------------------- ##
4632 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4635 # Save the log message, to keep $0 and so on meaningful, and to
4636 # report actual input values of CONFIG_FILES etc. instead of their
4637 # values after options handling.
4639 This file was extended by GNU DejaGnu $as_me 1.6.3-git, which was
4640 generated by GNU Autoconf 2.69. Invocation command line was
4642 CONFIG_FILES = $CONFIG_FILES
4643 CONFIG_HEADERS = $CONFIG_HEADERS
4644 CONFIG_LINKS = $CONFIG_LINKS
4645 CONFIG_COMMANDS = $CONFIG_COMMANDS
4648 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4653 case $ac_config_files in *"
4654 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4660 # Files that config.status was made for.
4661 config_files="$ac_config_files"
4662 config_commands="$ac_config_commands"
4666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4668 \`$as_me' instantiates files and other configuration actions
4669 from templates according to the current configuration. Unless the files
4670 and actions are specified as TAGs, all are instantiated by default.
4672 Usage: $0 [OPTION]... [TAG]...
4674 -h, --help print this help, then exit
4675 -V, --version print version number and configuration settings, then exit
4676 --config print configuration, then exit
4677 -q, --quiet, --silent
4678 do not print progress messages
4679 -d, --debug don't remove temporary files
4680 --recheck update $as_me by reconfiguring in the same conditions
4681 --file=FILE[:TEMPLATE]
4682 instantiate the configuration file FILE
4684 Configuration files:
4687 Configuration commands:
4690 Report bugs to <bug-dejagnu@gnu.org>.
4691 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
4692 General help using GNU software: <http://www.gnu.org/gethelp/>."
4695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4696 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4698 GNU DejaGnu config.status 1.6.3-git
4699 configured by $0, generated by GNU Autoconf 2.69,
4700 with options \\"\$ac_cs_config\\"
4702 Copyright (C) 2012 Free Software Foundation, Inc.
4703 This config.status script is free software; the Free Software Foundation
4704 gives unlimited permission to copy, distribute and modify it."
4711 test -n "\$AWK" || AWK=awk
4714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4715 # The default lists apply if the user does not specify any file.
4721 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4722 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4726 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4738 # Handling of the options.
4739 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4741 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4742 $as_echo "$ac_cs_version"; exit ;;
4743 --config |
--confi |
--conf |
--con |
--co |
--c )
4744 $as_echo "$ac_cs_config"; exit ;;
4745 --debug |
--debu |
--deb |
--de |
--d |
-d )
4747 --file |
--fil |
--fi |
--f )
4750 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4751 '') as_fn_error $?
"missing file argument" ;;
4753 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4754 ac_need_defaults
=false
;;
4755 --he |
--h |
--help |
--hel |
-h )
4756 $as_echo "$ac_cs_usage"; exit ;;
4757 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4758 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4762 -*) as_fn_error $?
"unrecognized option: \`$1'
4763 Try \`$0 --help' for more information." ;;
4765 *) as_fn_append ac_config_targets
" $1"
4766 ac_need_defaults
=false
;;
4772 ac_configure_extra_args
=
4774 if $ac_cs_silent; then
4776 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4781 if \$ac_cs_recheck; then
4782 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4784 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4785 CONFIG_SHELL='$SHELL'
4791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4795 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4796 ## Running $as_me. ##
4802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4806 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4812 # Handling of arguments.
4813 for ac_config_target
in $ac_config_targets
4815 case $ac_config_target in
4816 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4817 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4819 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4824 # If the user did not use the arguments to specify the items to instantiate,
4825 # then the envvar interface is used. Set only those that are not.
4826 # We use the long form for the default assignment because of an extremely
4827 # bizarre bug on SunOS 4.1.3.
4828 if $ac_need_defaults; then
4829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4830 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4833 # Have a temporary directory for convenience. Make it in the build tree
4834 # simply because there is no reason against having it here, and in addition,
4835 # creating and moving files from /tmp can sometimes cause problems.
4836 # Hook for its removal unless debugging.
4837 # Note that there is a small window in which the directory will not be cleaned:
4838 # after its creation but before its name has been assigned to `$tmp'.
4842 trap 'exit_status=$?
4844 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4846 trap 'as_fn_exit 1' 1 2 13 15
4848 # Create a (secure) tmp directory for tmp files.
4851 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4855 tmp
=.
/conf$$
-$RANDOM
4856 (umask 077 && mkdir
"$tmp")
4857 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4860 # Set up the scripts for CONFIG_FILES section.
4861 # No need to generate them if there are no CONFIG_FILES.
4862 # This happens for instance with `./config.status config.h'.
4863 if test -n "$CONFIG_FILES"; then
4866 ac_cr
=`echo X | tr X '\015'`
4867 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4868 # But we know of no other shell where ac_cr would be empty at this
4869 # point, so we can use a bashism as a fallback.
4870 if test "x$ac_cr" = x
; then
4871 eval ac_cr
=\$
\'\\r
\'
4873 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4874 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4880 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4885 echo "cat >conf$$subs.awk <<_ACEOF" &&
4886 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4889 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4890 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4892 for ac_last_try in false false false false false :; do
4893 . ./conf$$subs.sh ||
4894 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4896 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4897 if test $ac_delim_n = $ac_delim_num; then
4899 elif $ac_last_try; then
4900 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4902 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4908 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4912 s/^/S["/; s
/!.
*/"]=/
4922 s/\(.\{148\}\)..*/\1/
4924 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4929 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4936 s/\(.\{148\}\)..*/\1/
4938 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4942 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4947 ' <conf$$subs.awk | sed '
4952 ' >>$CONFIG_STATUS || ac_write_fail=1
4953 rm -f conf$$subs.awk
4954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4956 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4957 for (key in S) S_is_set[key] = 1
4963 nfields = split(line, field, "@
")
4965 len = length(field[1])
4966 for (i = 2; i < nfields; i++) {
4968 keylen = length(key)
4969 if (S_is_set[key]) {
4971 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4972 len += length(value) + length(field[++i])
4983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4984 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4985 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4988 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4989 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4992 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4993 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4994 # trailing colons and then remove the whole line if VPATH becomes empty
4995 # (actually we leave an empty line to preserve line numbers).
4996 if test "x
$srcdir" = x.; then
4997 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5016 fi # test -n "$CONFIG_FILES"
5019 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5024 :[FHLC]) ac_mode=$ac_tag; continue;;
5026 case $ac_mode$ac_tag in
5028 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5029 :[FH]-) ac_tag=-:-;;
5030 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5047 -) ac_f="$ac_tmp/stdin";;
5048 *) # Look for the file first in the build tree, then in the source tree
5049 # (if the path is not absolute). The absolute path cannot be DOS-style,
5050 # because $ac_f cannot contain `:'.
5054 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5056 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5058 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5059 as_fn_append ac_file_inputs " '$ac_f'"
5062 # Let's still pretend it is `configure' which instantiates (i.e., don't
5063 # use $as_me), people would be surprised to read:
5064 # /* config.h. Generated by config.status. */
5065 configure_input='Generated from '`
5066 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5068 if test x"$ac_file" != x-; then
5069 configure_input="$ac_file.
$configure_input"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5071 $as_echo "$as_me: creating
$ac_file" >&6;}
5073 # Neutralize special characters interpreted by sed in replacement strings.
5074 case $configure_input in #(
5075 *\&* | *\|* | *\\* )
5076 ac_sed_conf_input=`$as_echo "$configure_input" |
5077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5078 *) ac_sed_conf_input=$configure_input;;
5082 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5083 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5088 ac_dir=`$as_dirname -- "$ac_file" ||
5089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5090 X"$ac_file" : 'X\(//\)[^/]' \| \
5091 X"$ac_file" : 'X\(//\)$' \| \
5092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5093 $as_echo X"$ac_file" |
5094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5111 as_dir="$ac_dir"; as_fn_mkdir_p
5115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5118 # A "..
" for each directory in $ac_dir_suffix.
5119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5120 case $ac_top_builddir_sub in
5121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5125 ac_abs_top_builddir=$ac_pwd
5126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5127 # for backward compatibility:
5128 ac_top_builddir=$ac_top_build_prefix
5131 .) # We are building in place.
5133 ac_top_srcdir=$ac_top_builddir_sub
5134 ac_abs_top_srcdir=$ac_pwd ;;
5135 [\\/]* | ?:[\\/]* ) # Absolute name.
5136 ac_srcdir=$srcdir$ac_dir_suffix;
5137 ac_top_srcdir=$srcdir
5138 ac_abs_top_srcdir=$srcdir ;;
5140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5141 ac_top_srcdir=$ac_top_build_prefix$srcdir
5142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5155 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5159 [\\/$]* | ?:[\\/]* ) ;;
5160 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5165 # If the template does not know about datarootdir, expand it.
5166 # FIXME: This hack should be removed a few years after 2.60.
5167 ac_datarootdir_hack=; ac_datarootdir_seen=
5178 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5179 *datarootdir*) ac_datarootdir_seen=yes;;
5180 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5182 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5185 ac_datarootdir_hack='
5186 s&@datadir@&$datadir&g
5187 s&@docdir@&$docdir&g
5188 s&@infodir@&$infodir&g
5189 s&@localedir@&$localedir&g
5190 s&@mandir@&$mandir&g
5191 s&\\\${datarootdir}&$datarootdir&g' ;;
5195 # Neutralize VPATH when `$srcdir' = `.'.
5196 # Shell code in configure.ac might set extrasub.
5197 # FIXME: do we really want to maintain this feature?
5198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5199 ac_sed_extra="$ac_vpsub
5202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5204 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5205 s|@configure_input@|
$ac_sed_conf_input|
;t t
5206 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5207 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5208 s
&@srcdir@
&$ac_srcdir&;t t
5209 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5210 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5211 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5212 s
&@builddir@
&$ac_builddir&;t t
5213 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5214 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5215 s
&@INSTALL@
&$ac_INSTALL&;t t
5216 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5217 $ac_datarootdir_hack
5219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5220 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5223 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5225 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5227 which seems to be undefined. Please make sure it is defined" >&5
5228 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5229 which seems to be undefined. Please make sure it is defined" >&2;}
5231 rm -f "$ac_tmp/stdin"
5233 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5234 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5240 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5241 $as_echo "$as_me: executing $ac_file commands" >&6;}
5246 case $ac_file$ac_mode in
5247 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5248 # Older Autoconf quotes --file arguments for eval, but not when files
5249 # are listed without --file. Let's play safe and only
enable the
eval
5250 # if we detect the quoting.
5251 case $CONFIG_FILES in
5252 *\'*) eval set x
"$CONFIG_FILES" ;;
5253 *) set x
$CONFIG_FILES ;;
5258 # Strip MF so we end up with the name of the file.
5259 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5260 # Check whether this is an Automake generated Makefile or not.
5261 # We used to match only the files named 'Makefile.in', but
5262 # some people rename them; so instead we look at the file content.
5263 # Grep'ing the first line is not enough: some people post-process
5264 # each Makefile.in and add a new line on top of each file to say so.
5265 # Grep'ing the whole file is not good either: AIX grep has a line
5266 # limit of 2048, but all sed's we know have understand at least 4000.
5267 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
5268 dirpart
=`$as_dirname -- "$mf" ||
5269 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5270 X"$mf" : 'X\(//\)[^/]' \| \
5271 X"$mf" : 'X\(//\)$' \| \
5272 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5294 # Extract the definition of DEPDIR, am__include, and am__quote
5295 # from the Makefile without running 'make'.
5296 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5297 test -z "$DEPDIR" && continue
5298 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5299 test -z "$am__include" && continue
5300 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5301 # Find all dependency output files, they are included files with
5302 # $(DEPDIR) in their names. We invoke sed twice because it is the
5303 # simplest approach to changing $(DEPDIR) to its actual value in the
5305 for file in `sed -n "
5306 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5307 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5308 # Make sure the directory exists.
5309 test -f "$dirpart/$file" && continue
5310 fdir
=`$as_dirname -- "$file" ||
5311 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5312 X"$file" : 'X\(//\)[^/]' \| \
5313 X"$file" : 'X\(//\)$' \| \
5314 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5333 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
5334 # echo "creating $dirpart/$file"
5335 echo '# dummy' > "$dirpart/$file"
5347 ac_clean_files
=$ac_clean_files_save
5349 test $ac_write_fail = 0 ||
5350 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5353 # configure is writing to config.log, and then calls config.status.
5354 # config.status does its own redirection, appending to config.log.
5355 # Unfortunately, on DOS this fails, as config.log is still kept open
5356 # by configure, so config.status won't be able to write to it; its
5357 # output is simply discarded. So we exec the FD to /dev/null,
5358 # effectively closing config.log, so it can be properly (re)opened and
5359 # appended to by config.status. When coming back to configure, we
5360 # need to make the FD available again.
5361 if test "$no_create" != yes; then
5363 ac_config_status_args
=
5364 test "$silent" = yes &&
5365 ac_config_status_args
="$ac_config_status_args --quiet"
5367 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5369 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5370 # would make configure fail if this is the last instruction.
5371 $ac_cs_success || as_fn_exit
1
5373 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5375 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}