Add riscv-sim.exp
[dejagnu.git] / configure
blob86406cf5d267e71e5973d6a3b6d6a7ed632b3050
1 #! /bin/sh
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 :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
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
158 as_fn_exit 255
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 :
164 emulate sh
165 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
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; }
185 exitcode=0
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 :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || 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 :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
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 :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
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
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
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.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
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
258 exit 255
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."
267 else
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."
274 exit 1
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
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 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 } # as_fn_mkdir_p
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
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
387 # as_fn_arith ARG...
388 # ------------------
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 :
393 eval 'as_fn_arith ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
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.
410 as_fn_error ()
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
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
419 } # as_fn_error
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
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. :-)
472 sed -n '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
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).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
512 ECHO_N='-n';;
513 esac
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
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
524 as_ln_s='ln -s'
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 ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
536 else
537 as_ln_s='cp -pR'
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"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 as_test_x='test -x'
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
560 exec 6>&1
562 # Name of the host.
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`
568 # Initializations.
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
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
588 am__EXEEXT_TRUE
589 LTLIBOBJS
590 LIBOBJS
591 BRANCH
592 DEJAGNU
593 EXPECT
594 am__fastdepCXX_FALSE
595 am__fastdepCXX_TRUE
596 CXXDEPMODE
597 ac_ct_CXX
598 CXXFLAGS
600 am__fastdepCC_FALSE
601 am__fastdepCC_TRUE
602 CCDEPMODE
603 am__nodep
604 AMDEPBACKSLASH
605 AMDEP_FALSE
606 AMDEP_TRUE
607 am__include
608 DEPDIR
609 OBJEXT
610 EXEEXT
611 ac_ct_CC
612 CPPFLAGS
613 LDFLAGS
614 CFLAGS
616 MAINT
617 MAINTAINER_MODE_FALSE
618 MAINTAINER_MODE_TRUE
619 AM_BACKSLASH
620 AM_DEFAULT_VERBOSITY
621 AM_DEFAULT_V
622 AM_V
623 am__untar
624 am__tar
625 AMTAR
626 am__leading_dot
627 SET_MAKE
629 mkdir_p
630 MKDIR_P
631 INSTALL_STRIP_PROGRAM
632 STRIP
633 install_sh
634 MAKEINFO
635 AUTOHEADER
636 AUTOMAKE
637 AUTOCONF
638 ACLOCAL
639 VERSION
640 PACKAGE
641 CYGPATH_W
642 am__isrc
643 INSTALL_DATA
644 INSTALL_SCRIPT
645 INSTALL_PROGRAM
646 target_alias
647 host_alias
648 build_alias
649 LIBS
650 ECHO_T
651 ECHO_N
652 ECHO_C
653 DEFS
654 mandir
655 localedir
656 libdir
657 psdir
658 pdfdir
659 dvidir
660 htmldir
661 infodir
662 docdir
663 oldincludedir
664 includedir
665 localstatedir
666 sharedstatedir
667 sysconfdir
668 datadir
669 datarootdir
670 libexecdir
671 sbindir
672 bindir
673 program_transform_name
674 prefix
675 exec_prefix
676 PACKAGE_URL
677 PACKAGE_BUGREPORT
678 PACKAGE_STRING
679 PACKAGE_VERSION
680 PACKAGE_TARNAME
681 PACKAGE_NAME
682 PATH_SEPARATOR
683 SHELL
684 am__quote'
685 ac_subst_files=''
686 ac_user_opts='
687 enable_option_checking
688 enable_silent_rules
689 enable_maintainer_mode
690 enable_dependency_tracking
692 ac_precious_vars='build_alias
693 host_alias
694 target_alias
696 CFLAGS
697 LDFLAGS
698 LIBS
699 CPPFLAGS
701 CXXFLAGS
702 CCC'
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
753 ac_prev=
754 ac_dashdash=
755 for ac_option
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
760 ac_prev=
761 continue
764 case $ac_option in
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 *=) ac_optarg= ;;
767 *) ac_optarg=yes ;;
768 esac
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
774 ac_dashdash=yes ;;
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 ac_prev=bindir ;;
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 bindir=$ac_optarg ;;
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
793 --config-cache | -C)
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
797 ac_prev=datadir ;;
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
817 "enable_$ac_useropt"
818 "*) ;;
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
821 esac
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
825 ac_prev=docdir ;;
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 docdir=$ac_optarg ;;
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 ac_prev=dvidir ;;
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 dvidir=$ac_optarg ;;
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
843 "enable_$ac_useropt"
844 "*) ;;
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
847 esac
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
861 with_gas=yes ;;
863 -help | --help | --hel | --he | -h)
864 ac_init_help=long ;;
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
876 ac_prev=htmldir ;;
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
878 | --ht=*)
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
889 ac_prev=infodir ;;
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
894 ac_prev=libdir ;;
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 libdir=$ac_optarg ;;
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
906 ac_prev=localedir ;;
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
918 ac_prev=mandir ;;
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920 mandir=$ac_optarg ;;
922 -nfp | --nfp | --nf)
923 # Obsolete; use --without-fp.
924 with_fp=no ;;
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
928 no_create=yes ;;
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 no_recursion=yes ;;
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
944 ac_prev=prefix ;;
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 prefix=$ac_optarg ;;
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
980 ac_prev=pdfdir ;;
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 pdfdir=$ac_optarg ;;
984 -psdir | --psdir | --psdi | --psd | --ps)
985 ac_prev=psdir ;;
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 psdir=$ac_optarg ;;
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
991 silent=yes ;;
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
994 ac_prev=sbindir ;;
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
996 | --sbi=* | --sb=*)
997 sbindir=$ac_optarg ;;
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001 | --sharedst | --shareds | --shared | --share | --shar \
1002 | --sha | --sh)
1003 ac_prev=sharedstatedir ;;
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1007 | --sha=* | --sh=*)
1008 sharedstatedir=$ac_optarg ;;
1010 -site | --site | --sit)
1011 ac_prev=site ;;
1012 -site=* | --site=* | --sit=*)
1013 site=$ac_optarg ;;
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1016 ac_prev=srcdir ;;
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018 srcdir=$ac_optarg ;;
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021 | --syscon | --sysco | --sysc | --sys | --sy)
1022 ac_prev=sysconfdir ;;
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025 sysconfdir=$ac_optarg ;;
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
1028 ac_prev=target_alias ;;
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030 target_alias=$ac_optarg ;;
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033 verbose=yes ;;
1035 -version | --version | --versio | --versi | --vers | -V)
1036 ac_init_version=: ;;
1038 -with-* | --with-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "with_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval with_$ac_useropt=\$ac_optarg ;;
1054 -without-* | --without-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=no ;;
1070 --x)
1071 # Obsolete; use --with-x.
1072 with_x=yes ;;
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1088 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1092 *=*)
1093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' | [0-9]* | *[!_$as_cr_alnum]* )
1097 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1098 esac
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110 esac
1111 done
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $? "missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1120 no) ;;
1121 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 esac
1126 # Check all directory arguments for consistency.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val=\$$ac_var
1133 # Remove trailing slashes.
1134 case $ac_val in
1135 */ )
1136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\$ac_val;;
1138 esac
1139 # Be sure to have absolute directory names.
1140 case $ac_val in
1141 [\\/$]* | ?:[\\/]* ) continue;;
1142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143 esac
1144 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 done
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1150 build=$build_alias
1151 host=$host_alias
1152 target=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156 if test "x$build_alias" = x; then
1157 cross_compiling=maybe
1158 elif test "x$build_alias" != "x$host_alias"; then
1159 cross_compiling=yes
1163 ac_tool_prefix=
1164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166 test "$silent" = yes && exec 6>/dev/null
1169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di=`ls -di .` &&
1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172 as_fn_error $? "working directory cannot be determined"
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 as_fn_error $? "pwd does not report name of working directory"
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir=`$as_dirname -- "$as_myself" ||
1182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$as_myself" : 'X\(//\)[^/]' \| \
1184 X"$as_myself" : 'X\(//\)$' \| \
1185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186 $as_echo X"$as_myself" |
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 s//\1/
1191 /^X\(\/\/\)[^/].*/{
1192 s//\1/
1195 /^X\(\/\/\)$/{
1196 s//\1/
1199 /^X\(\/\).*/{
1200 s//\1/
1203 s/.*/./; q'`
1204 srcdir=$ac_confdir
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 srcdir=..
1208 else
1209 ac_srcdir_defaulted=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1213 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 ac_abs_confdir=`(
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1218 pwd)`
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 srcdir=.
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1226 case $srcdir in
1227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 esac
1229 for ac_var in $ac_precious_vars; do
1230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_${ac_var}_value=\$${ac_var}
1232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234 done
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1242 cat <<_ACEOF
1243 \`configure' configures GNU DejaGnu 1.6.3-git to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1252 Configuration:
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking ...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 [PREFIX]
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/dejagnu]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1296 _ACEOF
1298 cat <<\_ACEOF
1300 Program names:
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1304 _ACEOF
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive ) echo "Configuration of GNU DejaGnu 1.6.3-git:";;
1310 esac
1311 cat <<\_ACEOF
1313 Optional Features:
1314 --disable-option-checking ignore unrecognized --enable/--with options
1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1317 --enable-silent-rules less verbose build output (undo: "make V=1")
1318 --disable-silent-rules verbose build output (undo: "make V=0")
1319 --enable-maintainer-mode
1320 enable make rules and dependencies not useful (and
1321 sometimes confusing) to the casual installer
1322 --enable-dependency-tracking
1323 do not reject slow dependency extractors
1324 --disable-dependency-tracking
1325 speeds up one-time build
1327 Some influential environment variables:
1328 CC C compiler command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1331 nonstandard directory <lib dir>
1332 LIBS libraries to pass to the linker, e.g. -l<library>
1333 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1334 you have headers in a nonstandard directory <include dir>
1335 CXX C++ compiler command
1336 CXXFLAGS C++ compiler flags
1338 Use these variables to override the choices made by `configure' or to help
1339 it to find libraries and programs with nonstandard names/locations.
1341 Report bugs to <bug-dejagnu@gnu.org>.
1342 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
1343 General help using GNU software: <http://www.gnu.org/gethelp/>.
1344 _ACEOF
1345 ac_status=$?
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" ||
1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353 continue
1354 ac_builddir=.
1356 case "$ac_dir" in
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365 esac ;;
1366 esac
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1372 case $srcdir in
1373 .) # We are building in place.
1374 ac_srcdir=.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1381 *) # Relative name.
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385 esac
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1391 echo &&
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1394 echo &&
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1396 else
1397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398 fi || ac_status=$?
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1400 done
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1405 cat <<\_ACEOF
1406 GNU DejaGnu configure 1.6.3-git
1407 generated by GNU Autoconf 2.69
1409 Copyright (C) 2012 Free Software Foundation, Inc.
1410 This configure script is free software; the Free Software Foundation
1411 gives unlimited permission to copy, distribute and modify it.
1412 _ACEOF
1413 exit
1416 ## ------------------------ ##
1417 ## Autoconf initialization. ##
1418 ## ------------------------ ##
1420 # ac_fn_c_try_compile LINENO
1421 # --------------------------
1422 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1423 ac_fn_c_try_compile ()
1425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426 rm -f conftest.$ac_objext
1427 if { { ac_try="$ac_compile"
1428 case "(($ac_try" in
1429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1430 *) ac_try_echo=$ac_try;;
1431 esac
1432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433 $as_echo "$ac_try_echo"; } >&5
1434 (eval "$ac_compile") 2>conftest.err
1435 ac_status=$?
1436 if test -s conftest.err; then
1437 grep -v '^ *+' conftest.err >conftest.er1
1438 cat conftest.er1 >&5
1439 mv -f conftest.er1 conftest.err
1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442 test $ac_status = 0; } && {
1443 test -z "$ac_c_werror_flag" ||
1444 test ! -s conftest.err
1445 } && test -s conftest.$ac_objext; then :
1446 ac_retval=0
1447 else
1448 $as_echo "$as_me: failed program was:" >&5
1449 sed 's/^/| /' conftest.$ac_ext >&5
1451 ac_retval=1
1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1454 as_fn_set_status $ac_retval
1456 } # ac_fn_c_try_compile
1458 # ac_fn_cxx_try_compile LINENO
1459 # ----------------------------
1460 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1461 ac_fn_cxx_try_compile ()
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 rm -f conftest.$ac_objext
1465 if { { ac_try="$ac_compile"
1466 case "(($ac_try" in
1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1469 esac
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_compile") 2>conftest.err
1473 ac_status=$?
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } && {
1481 test -z "$ac_cxx_werror_flag" ||
1482 test ! -s conftest.err
1483 } && test -s conftest.$ac_objext; then :
1484 ac_retval=0
1485 else
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1489 ac_retval=1
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1494 } # ac_fn_cxx_try_compile
1495 cat >config.log <<_ACEOF
1496 This file contains any messages produced by compilers while
1497 running configure, to aid debugging if configure makes a mistake.
1499 It was created by GNU DejaGnu $as_me 1.6.3-git, which was
1500 generated by GNU Autoconf 2.69. Invocation command line was
1502 $ $0 $@
1504 _ACEOF
1505 exec 5>>config.log
1507 cat <<_ASUNAME
1508 ## --------- ##
1509 ## Platform. ##
1510 ## --------- ##
1512 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1513 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1514 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1515 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1516 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1518 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1519 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1521 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1522 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1523 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1524 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1525 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1526 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1527 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1529 _ASUNAME
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 for as_dir in $PATH
1534 IFS=$as_save_IFS
1535 test -z "$as_dir" && as_dir=.
1536 $as_echo "PATH: $as_dir"
1537 done
1538 IFS=$as_save_IFS
1540 } >&5
1542 cat >&5 <<_ACEOF
1545 ## ----------- ##
1546 ## Core tests. ##
1547 ## ----------- ##
1549 _ACEOF
1552 # Keep a trace of the command line.
1553 # Strip out --no-create and --no-recursion so they do not pile up.
1554 # Strip out --silent because we don't want to record it for future runs.
1555 # Also quote any args containing shell meta-characters.
1556 # Make two passes to allow for proper duplicate-argument suppression.
1557 ac_configure_args=
1558 ac_configure_args0=
1559 ac_configure_args1=
1560 ac_must_keep_next=false
1561 for ac_pass in 1 2
1563 for ac_arg
1565 case $ac_arg in
1566 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1568 | -silent | --silent | --silen | --sile | --sil)
1569 continue ;;
1570 *\'*)
1571 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1572 esac
1573 case $ac_pass in
1574 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1576 as_fn_append ac_configure_args1 " '$ac_arg'"
1577 if test $ac_must_keep_next = true; then
1578 ac_must_keep_next=false # Got value, back to normal.
1579 else
1580 case $ac_arg in
1581 *=* | --config-cache | -C | -disable-* | --disable-* \
1582 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1583 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1584 | -with-* | --with-* | -without-* | --without-* | --x)
1585 case "$ac_configure_args0 " in
1586 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1587 esac
1589 -* ) ac_must_keep_next=true ;;
1590 esac
1592 as_fn_append ac_configure_args " '$ac_arg'"
1594 esac
1595 done
1596 done
1597 { ac_configure_args0=; unset ac_configure_args0;}
1598 { ac_configure_args1=; unset ac_configure_args1;}
1600 # When interrupted or exit'd, cleanup temporary files, and complete
1601 # config.log. We remove comments because anyway the quotes in there
1602 # would cause problems or look ugly.
1603 # WARNING: Use '\'' to represent an apostrophe within the trap.
1604 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1605 trap 'exit_status=$?
1606 # Save into config.log some information that might help in debugging.
1608 echo
1610 $as_echo "## ---------------- ##
1611 ## Cache variables. ##
1612 ## ---------------- ##"
1613 echo
1614 # The following way of writing the cache mishandles newlines in values,
1616 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1617 eval ac_val=\$$ac_var
1618 case $ac_val in #(
1619 *${as_nl}*)
1620 case $ac_var in #(
1621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1623 esac
1624 case $ac_var in #(
1625 _ | IFS | as_nl) ;; #(
1626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1627 *) { eval $ac_var=; unset $ac_var;} ;;
1628 esac ;;
1629 esac
1630 done
1631 (set) 2>&1 |
1632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1633 *${as_nl}ac_space=\ *)
1634 sed -n \
1635 "s/'\''/'\''\\\\'\'''\''/g;
1636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1637 ;; #(
1639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1641 esac |
1642 sort
1644 echo
1646 $as_echo "## ----------------- ##
1647 ## Output variables. ##
1648 ## ----------------- ##"
1649 echo
1650 for ac_var in $ac_subst_vars
1652 eval ac_val=\$$ac_var
1653 case $ac_val in
1654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1655 esac
1656 $as_echo "$ac_var='\''$ac_val'\''"
1657 done | sort
1658 echo
1660 if test -n "$ac_subst_files"; then
1661 $as_echo "## ------------------- ##
1662 ## File substitutions. ##
1663 ## ------------------- ##"
1664 echo
1665 for ac_var in $ac_subst_files
1667 eval ac_val=\$$ac_var
1668 case $ac_val in
1669 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1670 esac
1671 $as_echo "$ac_var='\''$ac_val'\''"
1672 done | sort
1673 echo
1676 if test -s confdefs.h; then
1677 $as_echo "## ----------- ##
1678 ## confdefs.h. ##
1679 ## ----------- ##"
1680 echo
1681 cat confdefs.h
1682 echo
1684 test "$ac_signal" != 0 &&
1685 $as_echo "$as_me: caught signal $ac_signal"
1686 $as_echo "$as_me: exit $exit_status"
1687 } >&5
1688 rm -f core *.core core.conftest.* &&
1689 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1690 exit $exit_status
1692 for ac_signal in 1 2 13 15; do
1693 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1694 done
1695 ac_signal=0
1697 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1698 rm -f -r conftest* confdefs.h
1700 $as_echo "/* confdefs.h */" > confdefs.h
1702 # Predefined preprocessor variables.
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_NAME "$PACKAGE_NAME"
1706 _ACEOF
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1710 _ACEOF
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1714 _ACEOF
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_STRING "$PACKAGE_STRING"
1718 _ACEOF
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1722 _ACEOF
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_URL "$PACKAGE_URL"
1726 _ACEOF
1729 # Let the site file select an alternate cache file if it wants to.
1730 # Prefer an explicitly selected file to automatically selected ones.
1731 ac_site_file1=NONE
1732 ac_site_file2=NONE
1733 if test -n "$CONFIG_SITE"; then
1734 # We do not want a PATH search for config.site.
1735 case $CONFIG_SITE in #((
1736 -*) ac_site_file1=./$CONFIG_SITE;;
1737 */*) ac_site_file1=$CONFIG_SITE;;
1738 *) ac_site_file1=./$CONFIG_SITE;;
1739 esac
1740 elif test "x$prefix" != xNONE; then
1741 ac_site_file1=$prefix/share/config.site
1742 ac_site_file2=$prefix/etc/config.site
1743 else
1744 ac_site_file1=$ac_default_prefix/share/config.site
1745 ac_site_file2=$ac_default_prefix/etc/config.site
1747 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1749 test "x$ac_site_file" = xNONE && continue
1750 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1752 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1753 sed 's/^/| /' "$ac_site_file" >&5
1754 . "$ac_site_file" \
1755 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1757 as_fn_error $? "failed to load site script $ac_site_file
1758 See \`config.log' for more details" "$LINENO" 5; }
1760 done
1762 if test -r "$cache_file"; then
1763 # Some versions of bash will fail to source /dev/null (special files
1764 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1765 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1767 $as_echo "$as_me: loading cache $cache_file" >&6;}
1768 case $cache_file in
1769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770 *) . "./$cache_file";;
1771 esac
1773 else
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1775 $as_echo "$as_me: creating cache $cache_file" >&6;}
1776 >$cache_file
1779 # Check that the precious variables saved in the cache have kept the same
1780 # value.
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784 eval ac_new_set=\$ac_env_${ac_var}_set
1785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786 eval ac_new_val=\$ac_env_${ac_var}_value
1787 case $ac_old_set,$ac_new_set in
1788 set,)
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1790 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1792 ,set)
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1794 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1796 ,);;
1798 if test "x$ac_old_val" != "x$ac_new_val"; then
1799 # differences in whitespace do not lead to failure.
1800 ac_old_val_w=`echo x $ac_old_val`
1801 ac_new_val_w=`echo x $ac_new_val`
1802 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1804 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1805 ac_cache_corrupted=:
1806 else
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1808 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1809 eval $ac_var=\$ac_old_val
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1812 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1814 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1815 fi;;
1816 esac
1817 # Pass precious variables to config.status.
1818 if test "$ac_new_set" = set; then
1819 case $ac_new_val in
1820 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1821 *) ac_arg=$ac_var=$ac_new_val ;;
1822 esac
1823 case " $ac_configure_args " in
1824 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1825 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1826 esac
1828 done
1829 if $ac_cache_corrupted; then
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1833 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1834 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1836 ## -------------------- ##
1837 ## Main body of script. ##
1838 ## -------------------- ##
1840 ac_ext=c
1841 ac_cpp='$CPP $CPPFLAGS'
1842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1847 am__api_version='1.16'
1849 ac_aux_dir=
1850 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1851 if test -f "$ac_dir/install-sh"; then
1852 ac_aux_dir=$ac_dir
1853 ac_install_sh="$ac_aux_dir/install-sh -c"
1854 break
1855 elif test -f "$ac_dir/install.sh"; then
1856 ac_aux_dir=$ac_dir
1857 ac_install_sh="$ac_aux_dir/install.sh -c"
1858 break
1859 elif test -f "$ac_dir/shtool"; then
1860 ac_aux_dir=$ac_dir
1861 ac_install_sh="$ac_aux_dir/shtool install -c"
1862 break
1864 done
1865 if test -z "$ac_aux_dir"; then
1866 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1869 # These three variables are undocumented and unsupported,
1870 # and are intended to be withdrawn in a future Autoconf release.
1871 # They can cause serious problems if a builder's source tree is in a directory
1872 # whose full name contains unusual characters.
1873 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1874 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1875 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1878 # Find a good install program. We prefer a C program (faster),
1879 # so one script is as good as another. But avoid the broken or
1880 # incompatible versions:
1881 # SysV /etc/install, /usr/sbin/install
1882 # SunOS /usr/etc/install
1883 # IRIX /sbin/install
1884 # AIX /bin/install
1885 # AmigaOS /C/install, which installs bootblocks on floppy discs
1886 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1887 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1889 # OS/2's system install, which has a completely different semantic
1890 # ./install, which can be erroneously created by make from ./install.sh.
1891 # Reject install programs that cannot install multiple files.
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1893 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1894 if test -z "$INSTALL"; then
1895 if ${ac_cv_path_install+:} false; then :
1896 $as_echo_n "(cached) " >&6
1897 else
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 for as_dir in $PATH
1901 IFS=$as_save_IFS
1902 test -z "$as_dir" && as_dir=.
1903 # Account for people who put trailing slashes in PATH elements.
1904 case $as_dir/ in #((
1905 ./ | .// | /[cC]/* | \
1906 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1907 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1908 /usr/ucb/* ) ;;
1910 # OSF1 and SCO ODT 3.0 have their own names for install.
1911 # Don't use installbsd from OSF since it installs stuff as root
1912 # by default.
1913 for ac_prog in ginstall scoinst install; do
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1916 if test $ac_prog = install &&
1917 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1918 # AIX install. It has an incompatible calling convention.
1920 elif test $ac_prog = install &&
1921 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1922 # program-specific install script used by HP pwplus--don't use.
1924 else
1925 rm -rf conftest.one conftest.two conftest.dir
1926 echo one > conftest.one
1927 echo two > conftest.two
1928 mkdir conftest.dir
1929 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1930 test -s conftest.one && test -s conftest.two &&
1931 test -s conftest.dir/conftest.one &&
1932 test -s conftest.dir/conftest.two
1933 then
1934 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1935 break 3
1939 done
1940 done
1942 esac
1944 done
1945 IFS=$as_save_IFS
1947 rm -rf conftest.one conftest.two conftest.dir
1950 if test "${ac_cv_path_install+set}" = set; then
1951 INSTALL=$ac_cv_path_install
1952 else
1953 # As a last resort, use the slow shell script. Don't cache a
1954 # value for INSTALL within a source directory, because that will
1955 # break other packages using the cache if that directory is
1956 # removed, or if the value is a relative name.
1957 INSTALL=$ac_install_sh
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1961 $as_echo "$INSTALL" >&6; }
1963 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1964 # It thinks the first close brace ends the variable substitution.
1965 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1967 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1969 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1972 $as_echo_n "checking whether build environment is sane... " >&6; }
1973 # Reject unsafe characters in $srcdir or the absolute working directory
1974 # name. Accept space and tab only in the latter.
1975 am_lf='
1977 case `pwd` in
1978 *[\\\"\#\$\&\'\`$am_lf]*)
1979 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1980 esac
1981 case $srcdir in
1982 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1983 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1984 esac
1986 # Do 'set' in a subshell so we don't clobber the current shell's
1987 # arguments. Must try -L first in case configure is actually a
1988 # symlink; some systems play weird games with the mod time of symlinks
1989 # (eg FreeBSD returns the mod time of the symlink's containing
1990 # directory).
1991 if (
1992 am_has_slept=no
1993 for am_try in 1 2; do
1994 echo "timestamp, slept: $am_has_slept" > conftest.file
1995 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1996 if test "$*" = "X"; then
1997 # -L didn't work.
1998 set X `ls -t "$srcdir/configure" conftest.file`
2000 if test "$*" != "X $srcdir/configure conftest.file" \
2001 && test "$*" != "X conftest.file $srcdir/configure"; then
2003 # If neither matched, then we have a broken ls. This can happen
2004 # if, for instance, CONFIG_SHELL is bash and it inherits a
2005 # broken ls alias from the environment. This has actually
2006 # happened. Such a system could not be considered "sane".
2007 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2008 alias in your environment" "$LINENO" 5
2010 if test "$2" = conftest.file || test $am_try -eq 2; then
2011 break
2013 # Just in case.
2014 sleep 1
2015 am_has_slept=yes
2016 done
2017 test "$2" = conftest.file
2019 then
2020 # Ok.
2022 else
2023 as_fn_error $? "newly created file is older than distributed files!
2024 Check your system clock" "$LINENO" 5
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2027 $as_echo "yes" >&6; }
2028 # If we didn't sleep, we still need to ensure time stamps of config.status and
2029 # generated files are strictly newer.
2030 am_sleep_pid=
2031 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2032 ( sleep 1 ) &
2033 am_sleep_pid=$!
2036 rm -f conftest.file
2038 test "$program_prefix" != NONE &&
2039 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2040 # Use a double $ so make ignores it.
2041 test "$program_suffix" != NONE &&
2042 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2043 # Double any \ or $.
2044 # By default was `s,x,x', remove it if useless.
2045 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2046 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2048 # Expand $ac_aux_dir to an absolute path.
2049 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2051 if test x"${MISSING+set}" != xset; then
2052 case $am_aux_dir in
2053 *\ * | *\ *)
2054 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2056 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2057 esac
2059 # Use eval to expand $SHELL
2060 if eval "$MISSING --is-lightweight"; then
2061 am_missing_run="$MISSING "
2062 else
2063 am_missing_run=
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2065 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2068 if test x"${install_sh+set}" != xset; then
2069 case $am_aux_dir in
2070 *\ * | *\ *)
2071 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2073 install_sh="\${SHELL} $am_aux_dir/install-sh"
2074 esac
2077 # Installed binaries are usually stripped using 'strip' when the user
2078 # run "make install-strip". However 'strip' might not be the right
2079 # tool to use in cross-compilation environments, therefore Automake
2080 # will honor the 'STRIP' environment variable to overrule this program.
2081 if test "$cross_compiling" != no; then
2082 if test -n "$ac_tool_prefix"; then
2083 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2084 set dummy ${ac_tool_prefix}strip; ac_word=$2
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if ${ac_cv_prog_STRIP+:} false; then :
2088 $as_echo_n "(cached) " >&6
2089 else
2090 if test -n "$STRIP"; then
2091 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2092 else
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 for as_dir in $PATH
2096 IFS=$as_save_IFS
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2102 break 2
2104 done
2105 done
2106 IFS=$as_save_IFS
2110 STRIP=$ac_cv_prog_STRIP
2111 if test -n "$STRIP"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2113 $as_echo "$STRIP" >&6; }
2114 else
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2116 $as_echo "no" >&6; }
2121 if test -z "$ac_cv_prog_STRIP"; then
2122 ac_ct_STRIP=$STRIP
2123 # Extract the first word of "strip", so it can be a program name with args.
2124 set dummy strip; ac_word=$2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2126 $as_echo_n "checking for $ac_word... " >&6; }
2127 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2128 $as_echo_n "(cached) " >&6
2129 else
2130 if test -n "$ac_ct_STRIP"; then
2131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2132 else
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH
2136 IFS=$as_save_IFS
2137 test -z "$as_dir" && as_dir=.
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140 ac_cv_prog_ac_ct_STRIP="strip"
2141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 break 2
2144 done
2145 done
2146 IFS=$as_save_IFS
2150 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2151 if test -n "$ac_ct_STRIP"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2153 $as_echo "$ac_ct_STRIP" >&6; }
2154 else
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156 $as_echo "no" >&6; }
2159 if test "x$ac_ct_STRIP" = x; then
2160 STRIP=":"
2161 else
2162 case $cross_compiling:$ac_tool_warned in
2163 yes:)
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2166 ac_tool_warned=yes ;;
2167 esac
2168 STRIP=$ac_ct_STRIP
2170 else
2171 STRIP="$ac_cv_prog_STRIP"
2175 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2178 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2179 if test -z "$MKDIR_P"; then
2180 if ${ac_cv_path_mkdir+:} false; then :
2181 $as_echo_n "(cached) " >&6
2182 else
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2186 IFS=$as_save_IFS
2187 test -z "$as_dir" && as_dir=.
2188 for ac_prog in mkdir gmkdir; do
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2191 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2192 'mkdir (GNU coreutils) '* | \
2193 'mkdir (coreutils) '* | \
2194 'mkdir (fileutils) '4.1*)
2195 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2196 break 3;;
2197 esac
2198 done
2199 done
2200 done
2201 IFS=$as_save_IFS
2205 test -d ./--version && rmdir ./--version
2206 if test "${ac_cv_path_mkdir+set}" = set; then
2207 MKDIR_P="$ac_cv_path_mkdir -p"
2208 else
2209 # As a last resort, use the slow shell script. Don't cache a
2210 # value for MKDIR_P within a source directory, because that will
2211 # break other packages using the cache if that directory is
2212 # removed, or if the value is a relative name.
2213 MKDIR_P="$ac_install_sh -d"
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2217 $as_echo "$MKDIR_P" >&6; }
2219 for ac_prog in gawk mawk nawk awk
2221 # Extract the first word of "$ac_prog", so it can be a program name with args.
2222 set dummy $ac_prog; ac_word=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if ${ac_cv_prog_AWK+:} false; then :
2226 $as_echo_n "(cached) " >&6
2227 else
2228 if test -n "$AWK"; then
2229 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2234 IFS=$as_save_IFS
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_AWK="$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 break 2
2242 done
2243 done
2244 IFS=$as_save_IFS
2248 AWK=$ac_cv_prog_AWK
2249 if test -n "$AWK"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2251 $as_echo "$AWK" >&6; }
2252 else
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$AWK" && break
2259 done
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2262 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2263 set x ${MAKE-make}
2264 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2265 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2266 $as_echo_n "(cached) " >&6
2267 else
2268 cat >conftest.make <<\_ACEOF
2269 SHELL = /bin/sh
2270 all:
2271 @echo '@@@%%%=$(MAKE)=@@@%%%'
2272 _ACEOF
2273 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2275 *@@@%%%=?*=@@@%%%*)
2276 eval ac_cv_prog_make_${ac_make}_set=yes;;
2278 eval ac_cv_prog_make_${ac_make}_set=no;;
2279 esac
2280 rm -f conftest.make
2282 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2284 $as_echo "yes" >&6; }
2285 SET_MAKE=
2286 else
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288 $as_echo "no" >&6; }
2289 SET_MAKE="MAKE=${MAKE-make}"
2292 rm -rf .tst 2>/dev/null
2293 mkdir .tst 2>/dev/null
2294 if test -d .tst; then
2295 am__leading_dot=.
2296 else
2297 am__leading_dot=_
2299 rmdir .tst 2>/dev/null
2301 # Check whether --enable-silent-rules was given.
2302 if test "${enable_silent_rules+set}" = set; then :
2303 enableval=$enable_silent_rules;
2306 case $enable_silent_rules in # (((
2307 yes) AM_DEFAULT_VERBOSITY=0;;
2308 no) AM_DEFAULT_VERBOSITY=1;;
2309 *) AM_DEFAULT_VERBOSITY=1;;
2310 esac
2311 am_make=${MAKE-make}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2313 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2314 if ${am_cv_make_support_nested_variables+:} false; then :
2315 $as_echo_n "(cached) " >&6
2316 else
2317 if $as_echo 'TRUE=$(BAR$(V))
2318 BAR0=false
2319 BAR1=true
2321 am__doit:
2322 @$(TRUE)
2323 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2324 am_cv_make_support_nested_variables=yes
2325 else
2326 am_cv_make_support_nested_variables=no
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2330 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2331 if test $am_cv_make_support_nested_variables = yes; then
2332 AM_V='$(V)'
2333 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2334 else
2335 AM_V=$AM_DEFAULT_VERBOSITY
2336 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2338 AM_BACKSLASH='\'
2340 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2341 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2342 # is not polluted with repeated "-I."
2343 am__isrc=' -I$(srcdir)'
2344 # test to see if srcdir already configured
2345 if test -f $srcdir/config.status; then
2346 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2350 # test whether we have cygpath
2351 if test -z "$CYGPATH_W"; then
2352 if (cygpath --version) >/dev/null 2>/dev/null; then
2353 CYGPATH_W='cygpath -w'
2354 else
2355 CYGPATH_W=echo
2360 # Define the identity of the package.
2361 PACKAGE='dejagnu'
2362 VERSION='1.6.3-git'
2365 cat >>confdefs.h <<_ACEOF
2366 #define PACKAGE "$PACKAGE"
2367 _ACEOF
2370 cat >>confdefs.h <<_ACEOF
2371 #define VERSION "$VERSION"
2372 _ACEOF
2374 # Some tools Automake needs.
2376 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2379 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2382 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2385 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2388 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2390 # For better backward compatibility. To be removed once Automake 1.9.x
2391 # dies out for good. For more background, see:
2392 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2393 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2394 mkdir_p='$(MKDIR_P)'
2396 # We need awk for the "check" target (and possibly the TAP driver). The
2397 # system "awk" is bad on some platforms.
2398 # Always define AMTAR for backward compatibility. Yes, it's still used
2399 # in the wild :-( We should find a proper way to deprecate it ...
2400 AMTAR='$${TAR-tar}'
2403 # We'll loop over all known methods to create a tar archive until one works.
2404 _am_tools='gnutar pax cpio none'
2406 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2413 # POSIX will say in a future version that running "rm -f" with no argument
2414 # is OK; and we want to be able to make that assumption in our Makefile
2415 # recipes. So use an aggressive probe to check that the usage we want is
2416 # actually supported "in the wild" to an acceptable degree.
2417 # See automake bug#10828.
2418 # To make any issue more visible, cause the running configure to be aborted
2419 # by default if the 'rm' program in use doesn't match our expectations; the
2420 # user can still override this though.
2421 if rm -f && rm -fr && rm -rf; then : OK; else
2422 cat >&2 <<'END'
2423 Oops!
2425 Your 'rm' program seems unable to run without file operands specified
2426 on the command line, even when the '-f' option is present. This is contrary
2427 to the behaviour of most rm programs out there, and not conforming with
2428 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2430 Please tell bug-automake@gnu.org about your system, including the value
2431 of your $PATH and any error possibly output before this message. This
2432 can help us improve future automake versions.
2435 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2436 echo 'Configuration will proceed anyway, since you have set the' >&2
2437 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2438 echo >&2
2439 else
2440 cat >&2 <<'END'
2441 Aborting the configuration process, to ensure you take notice of the issue.
2443 You can download and install GNU coreutils to get an 'rm' implementation
2444 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2446 If you want to complete the configuration process using your problematic
2447 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2448 to "yes", and re-run configure.
2451 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2457 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2458 # Check whether --enable-maintainer-mode was given.
2459 if test "${enable_maintainer_mode+set}" = set; then :
2460 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2461 else
2462 USE_MAINTAINER_MODE=no
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2466 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2467 if test $USE_MAINTAINER_MODE = yes; then
2468 MAINTAINER_MODE_TRUE=
2469 MAINTAINER_MODE_FALSE='#'
2470 else
2471 MAINTAINER_MODE_TRUE='#'
2472 MAINTAINER_MODE_FALSE=
2475 MAINT=$MAINTAINER_MODE_TRUE
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2479 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2480 set x ${MAKE-make}
2481 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2482 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2483 $as_echo_n "(cached) " >&6
2484 else
2485 cat >conftest.make <<\_ACEOF
2486 SHELL = /bin/sh
2487 all:
2488 @echo '@@@%%%=$(MAKE)=@@@%%%'
2489 _ACEOF
2490 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2491 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2492 *@@@%%%=?*=@@@%%%*)
2493 eval ac_cv_prog_make_${ac_make}_set=yes;;
2495 eval ac_cv_prog_make_${ac_make}_set=no;;
2496 esac
2497 rm -f conftest.make
2499 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2502 SET_MAKE=
2503 else
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2505 $as_echo "no" >&6; }
2506 SET_MAKE="MAKE=${MAKE-make}"
2510 for ac_prog in gawk mawk nawk awk
2512 # Extract the first word of "$ac_prog", so it can be a program name with args.
2513 set dummy $ac_prog; ac_word=$2
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2515 $as_echo_n "checking for $ac_word... " >&6; }
2516 if ${ac_cv_prog_AWK+:} false; then :
2517 $as_echo_n "(cached) " >&6
2518 else
2519 if test -n "$AWK"; then
2520 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2521 else
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH
2525 IFS=$as_save_IFS
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2529 ac_cv_prog_AWK="$ac_prog"
2530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 break 2
2533 done
2534 done
2535 IFS=$as_save_IFS
2539 AWK=$ac_cv_prog_AWK
2540 if test -n "$AWK"; then
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2542 $as_echo "$AWK" >&6; }
2543 else
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2545 $as_echo "no" >&6; }
2549 test -n "$AWK" && break
2550 done
2552 ac_ext=c
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_CC+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564 else
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC="$CC" # Let the user override the test.
2567 else
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH
2571 IFS=$as_save_IFS
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 break 2
2579 done
2580 done
2581 IFS=$as_save_IFS
2585 CC=$ac_cv_prog_CC
2586 if test -n "$CC"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2588 $as_echo "$CC" >&6; }
2589 else
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2596 if test -z "$ac_cv_prog_CC"; then
2597 ac_ct_CC=$CC
2598 # Extract the first word of "gcc", so it can be a program name with args.
2599 set dummy gcc; ac_word=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2603 $as_echo_n "(cached) " >&6
2604 else
2605 if test -n "$ac_ct_CC"; then
2606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2607 else
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 for as_dir in $PATH
2611 IFS=$as_save_IFS
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615 ac_cv_prog_ac_ct_CC="gcc"
2616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 break 2
2619 done
2620 done
2621 IFS=$as_save_IFS
2625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2626 if test -n "$ac_ct_CC"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2628 $as_echo "$ac_ct_CC" >&6; }
2629 else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2634 if test "x$ac_ct_CC" = x; then
2635 CC=""
2636 else
2637 case $cross_compiling:$ac_tool_warned in
2638 yes:)
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2641 ac_tool_warned=yes ;;
2642 esac
2643 CC=$ac_ct_CC
2645 else
2646 CC="$ac_cv_prog_CC"
2649 if test -z "$CC"; then
2650 if test -n "$ac_tool_prefix"; then
2651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2652 set dummy ${ac_tool_prefix}cc; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC="$CC" # Let the user override the test.
2660 else
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2664 IFS=$as_save_IFS
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_CC="${ac_tool_prefix}cc"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 break 2
2672 done
2673 done
2674 IFS=$as_save_IFS
2678 CC=$ac_cv_prog_CC
2679 if test -n "$CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2681 $as_echo "$CC" >&6; }
2682 else
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2690 if test -z "$CC"; then
2691 # Extract the first word of "cc", so it can be a program name with args.
2692 set dummy cc; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_CC+:} false; then :
2696 $as_echo_n "(cached) " >&6
2697 else
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC="$CC" # Let the user override the test.
2700 else
2701 ac_prog_rejected=no
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 for as_dir in $PATH
2705 IFS=$as_save_IFS
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2710 ac_prog_rejected=yes
2711 continue
2713 ac_cv_prog_CC="cc"
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 break 2
2717 done
2718 done
2719 IFS=$as_save_IFS
2721 if test $ac_prog_rejected = yes; then
2722 # We found a bogon in the path, so make sure we never use it.
2723 set dummy $ac_cv_prog_CC
2724 shift
2725 if test $# != 0; then
2726 # We chose a different compiler from the bogus one.
2727 # However, it has the same basename, so the bogon will be chosen
2728 # first if we set CC to just the basename; use the full file name.
2729 shift
2730 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2735 CC=$ac_cv_prog_CC
2736 if test -n "$CC"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2738 $as_echo "$CC" >&6; }
2739 else
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741 $as_echo "no" >&6; }
2746 if test -z "$CC"; then
2747 if test -n "$ac_tool_prefix"; then
2748 for ac_prog in cl.exe
2750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_CC+:} false; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 if test -n "$CC"; then
2758 ac_cv_prog_CC="$CC" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2763 IFS=$as_save_IFS
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 break 2
2771 done
2772 done
2773 IFS=$as_save_IFS
2777 CC=$ac_cv_prog_CC
2778 if test -n "$CC"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2780 $as_echo "$CC" >&6; }
2781 else
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2787 test -n "$CC" && break
2788 done
2790 if test -z "$CC"; then
2791 ac_ct_CC=$CC
2792 for ac_prog in cl.exe
2794 # Extract the first word of "$ac_prog", so it can be a program name with args.
2795 set dummy $ac_prog; ac_word=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2799 $as_echo_n "(cached) " >&6
2800 else
2801 if test -n "$ac_ct_CC"; then
2802 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2803 else
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 for as_dir in $PATH
2807 IFS=$as_save_IFS
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_ac_ct_CC="$ac_prog"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 break 2
2815 done
2816 done
2817 IFS=$as_save_IFS
2821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2822 if test -n "$ac_ct_CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2824 $as_echo "$ac_ct_CC" >&6; }
2825 else
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2831 test -n "$ac_ct_CC" && break
2832 done
2834 if test "x$ac_ct_CC" = x; then
2835 CC=""
2836 else
2837 case $cross_compiling:$ac_tool_warned in
2838 yes:)
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned=yes ;;
2842 esac
2843 CC=$ac_ct_CC
2850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2852 as_fn_error $? "no acceptable C compiler found in \$PATH
2853 See \`config.log' for more details" "$LINENO" 5; }
2855 # Provide some information about the compiler.
2856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2857 set X $ac_compile
2858 ac_compiler=$2
2859 for ac_option in --version -v -V -qversion; do
2860 { { ac_try="$ac_compiler $ac_option >&5"
2861 case "(($ac_try" in
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2864 esac
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2868 ac_status=$?
2869 if test -s conftest.err; then
2870 sed '10a\
2871 ... rest of stderr output deleted ...
2872 10q' conftest.err >conftest.er1
2873 cat conftest.er1 >&5
2875 rm -f conftest.er1 conftest.err
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; }
2878 done
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2884 main ()
2888 return 0;
2890 _ACEOF
2891 ac_clean_files_save=$ac_clean_files
2892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2893 # Try to create an executable without -o first, disregard a.out.
2894 # It will help us diagnose broken compilers, and finding out an intuition
2895 # of exeext.
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2897 $as_echo_n "checking whether the C compiler works... " >&6; }
2898 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2900 # The possible output files:
2901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2903 ac_rmfiles=
2904 for ac_file in $ac_files
2906 case $ac_file in
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2909 esac
2910 done
2911 rm -f $ac_rmfiles
2913 if { { ac_try="$ac_link_default"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_link_default") 2>&5
2921 ac_status=$?
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; }; then :
2924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2927 # so that the user can short-circuit this test for compilers unknown to
2928 # Autoconf.
2929 for ac_file in $ac_files ''
2931 test -f "$ac_file" || continue
2932 case $ac_file in
2933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2935 [ab].out )
2936 # We found the default executable, but exeext='' is most
2937 # certainly right.
2938 break;;
2939 *.* )
2940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2941 then :; else
2942 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2944 # We set ac_cv_exeext here because the later test for it is not
2945 # safe: cross compilers may not add the suffix if given an `-o'
2946 # argument, so we may need to know it at that point already.
2947 # Even if this section looks crufty: it has the advantage of
2948 # actually working.
2949 break;;
2951 break;;
2952 esac
2953 done
2954 test "$ac_cv_exeext" = no && ac_cv_exeext=
2956 else
2957 ac_file=''
2959 if test -z "$ac_file"; then :
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2962 $as_echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error 77 "C compiler cannot create executables
2968 See \`config.log' for more details" "$LINENO" 5; }
2969 else
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2974 $as_echo_n "checking for C compiler default output file name... " >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2976 $as_echo "$ac_file" >&6; }
2977 ac_exeext=$ac_cv_exeext
2979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2980 ac_clean_files=$ac_clean_files_save
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2982 $as_echo_n "checking for suffix of executables... " >&6; }
2983 if { { ac_try="$ac_link"
2984 case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 $as_echo "$ac_try_echo"; } >&5
2990 (eval "$ac_link") 2>&5
2991 ac_status=$?
2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; }; then :
2994 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2995 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe'), while it won't with
2997 # `rm'.
2998 for ac_file in conftest.exe conftest conftest.*; do
2999 test -f "$ac_file" || continue
3000 case $ac_file in
3001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3002 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3003 break;;
3004 * ) break;;
3005 esac
3006 done
3007 else
3008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3010 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details" "$LINENO" 5; }
3013 rm -f conftest conftest$ac_cv_exeext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3015 $as_echo "$ac_cv_exeext" >&6; }
3017 rm -f conftest.$ac_ext
3018 EXEEXT=$ac_cv_exeext
3019 ac_exeext=$EXEEXT
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3022 #include <stdio.h>
3024 main ()
3026 FILE *f = fopen ("conftest.out", "w");
3027 return ferror (f) || fclose (f) != 0;
3030 return 0;
3032 _ACEOF
3033 ac_clean_files="$ac_clean_files conftest.out"
3034 # Check that the compiler produces executables we can run. If not, either
3035 # the compiler is broken, or we cross compile.
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3037 $as_echo_n "checking whether we are cross compiling... " >&6; }
3038 if test "$cross_compiling" != yes; then
3039 { { ac_try="$ac_link"
3040 case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_link") 2>&5
3047 ac_status=$?
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; }
3050 if { ac_try='./conftest$ac_cv_exeext'
3051 { { case "(($ac_try" in
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3054 esac
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_try") 2>&5
3058 ac_status=$?
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; }; then
3061 cross_compiling=no
3062 else
3063 if test "$cross_compiling" = maybe; then
3064 cross_compiling=yes
3065 else
3066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $? "cannot run C compiled programs.
3069 If you meant to cross compile, use \`--host'.
3070 See \`config.log' for more details" "$LINENO" 5; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3075 $as_echo "$cross_compiling" >&6; }
3077 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3078 ac_clean_files=$ac_clean_files_save
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3080 $as_echo_n "checking for suffix of object files... " >&6; }
3081 if ${ac_cv_objext+:} false; then :
3082 $as_echo_n "(cached) " >&6
3083 else
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3088 main ()
3092 return 0;
3094 _ACEOF
3095 rm -f conftest.o conftest.obj
3096 if { { ac_try="$ac_compile"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_compile") 2>&5
3104 ac_status=$?
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }; then :
3107 for ac_file in conftest.o conftest.obj conftest.*; do
3108 test -f "$ac_file" || continue;
3109 case $ac_file in
3110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3112 break;;
3113 esac
3114 done
3115 else
3116 $as_echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $? "cannot compute suffix of object files: cannot compile
3122 See \`config.log' for more details" "$LINENO" 5; }
3124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3127 $as_echo "$ac_cv_objext" >&6; }
3128 OBJEXT=$ac_cv_objext
3129 ac_objext=$OBJEXT
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3132 if ${ac_cv_c_compiler_gnu+:} false; then :
3133 $as_echo_n "(cached) " >&6
3134 else
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3139 main ()
3141 #ifndef __GNUC__
3142 choke me
3143 #endif
3146 return 0;
3148 _ACEOF
3149 if ac_fn_c_try_compile "$LINENO"; then :
3150 ac_compiler_gnu=yes
3151 else
3152 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3159 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3160 if test $ac_compiler_gnu = yes; then
3161 GCC=yes
3162 else
3163 GCC=
3165 ac_test_CFLAGS=${CFLAGS+set}
3166 ac_save_CFLAGS=$CFLAGS
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3168 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3169 if ${ac_cv_prog_cc_g+:} false; then :
3170 $as_echo_n "(cached) " >&6
3171 else
3172 ac_save_c_werror_flag=$ac_c_werror_flag
3173 ac_c_werror_flag=yes
3174 ac_cv_prog_cc_g=no
3175 CFLAGS="-g"
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 ac_cv_prog_cc_g=yes
3189 else
3190 CFLAGS=""
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3195 main ()
3199 return 0;
3201 _ACEOF
3202 if ac_fn_c_try_compile "$LINENO"; then :
3204 else
3205 ac_c_werror_flag=$ac_save_c_werror_flag
3206 CFLAGS="-g"
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3211 main ()
3215 return 0;
3217 _ACEOF
3218 if ac_fn_c_try_compile "$LINENO"; then :
3219 ac_cv_prog_cc_g=yes
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 ac_c_werror_flag=$ac_save_c_werror_flag
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3229 $as_echo "$ac_cv_prog_cc_g" >&6; }
3230 if test "$ac_test_CFLAGS" = set; then
3231 CFLAGS=$ac_save_CFLAGS
3232 elif test $ac_cv_prog_cc_g = yes; then
3233 if test "$GCC" = yes; then
3234 CFLAGS="-g -O2"
3235 else
3236 CFLAGS="-g"
3238 else
3239 if test "$GCC" = yes; then
3240 CFLAGS="-O2"
3241 else
3242 CFLAGS=
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3246 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3247 if ${ac_cv_prog_cc_c89+:} false; then :
3248 $as_echo_n "(cached) " >&6
3249 else
3250 ac_cv_prog_cc_c89=no
3251 ac_save_CC=$CC
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3254 #include <stdarg.h>
3255 #include <stdio.h>
3256 struct stat;
3257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3258 struct buf { int x; };
3259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3260 static char *e (p, i)
3261 char **p;
3262 int i;
3264 return p[i];
3266 static char *f (char * (*g) (char **, int), char **p, ...)
3268 char *s;
3269 va_list v;
3270 va_start (v,p);
3271 s = g (p, va_arg (v,int));
3272 va_end (v);
3273 return s;
3276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3277 function prototypes and stuff, but not '\xHH' hex character constants.
3278 These don't provoke an error unfortunately, instead are silently treated
3279 as 'x'. The following induces an error, until -std is added to get
3280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3281 array size at least. It's necessary to write '\x00'==0 to get something
3282 that's true only with -std. */
3283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3286 inside strings and character constants. */
3287 #define FOO(x) 'x'
3288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3290 int test (int i, double x);
3291 struct s1 {int (*f) (int a);};
3292 struct s2 {int (*f) (double a);};
3293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3294 int argc;
3295 char **argv;
3297 main ()
3299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3301 return 0;
3303 _ACEOF
3304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3307 CC="$ac_save_CC $ac_arg"
3308 if ac_fn_c_try_compile "$LINENO"; then :
3309 ac_cv_prog_cc_c89=$ac_arg
3311 rm -f core conftest.err conftest.$ac_objext
3312 test "x$ac_cv_prog_cc_c89" != "xno" && break
3313 done
3314 rm -f conftest.$ac_ext
3315 CC=$ac_save_CC
3318 # AC_CACHE_VAL
3319 case "x$ac_cv_prog_cc_c89" in
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3322 $as_echo "none needed" >&6; } ;;
3323 xno)
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3325 $as_echo "unsupported" >&6; } ;;
3327 CC="$CC $ac_cv_prog_cc_c89"
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3330 esac
3331 if test "x$ac_cv_prog_cc_c89" != xno; then :
3335 ac_ext=c
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3341 ac_ext=c
3342 ac_cpp='$CPP $CPPFLAGS'
3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3347 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3348 if ${am_cv_prog_cc_c_o+:} false; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3355 main ()
3359 return 0;
3361 _ACEOF
3362 # Make sure it works both with $CC and with simple cc.
3363 # Following AC_PROG_CC_C_O, we do the test twice because some
3364 # compilers refuse to overwrite an existing .o file with -o,
3365 # though they will create one.
3366 am_cv_prog_cc_c_o=yes
3367 for am_i in 1 2; do
3368 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3369 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3370 ac_status=$?
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } \
3373 && test -f conftest2.$ac_objext; then
3374 : OK
3375 else
3376 am_cv_prog_cc_c_o=no
3377 break
3379 done
3380 rm -f core conftest*
3381 unset am_i
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3384 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3385 if test "$am_cv_prog_cc_c_o" != yes; then
3386 # Losing compiler, so override with the script.
3387 # FIXME: It is wrong to rewrite CC.
3388 # But if we don't then we get into trouble of one sort or another.
3389 # A longer-term fix would be to have automake use am__CC in this case,
3390 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3391 CC="$am_aux_dir/compile $CC"
3393 ac_ext=c
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 DEPDIR="${am__leading_dot}deps"
3401 ac_config_commands="$ac_config_commands depfiles"
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3404 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3405 cat > confinc.mk << 'END'
3406 am__doit:
3407 @echo this is the am__doit target >confinc.out
3408 .PHONY: am__doit
3410 am__include="#"
3411 am__quote=
3412 # BSD make does it like this.
3413 echo '.include "confinc.mk" # ignored' > confmf.BSD
3414 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3415 echo 'include confinc.mk # ignored' > confmf.GNU
3416 _am_result=no
3417 for s in GNU BSD; do
3418 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3419 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3420 ac_status=$?
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }
3423 case $?:`cat confinc.out 2>/dev/null` in #(
3424 '0:this is the am__doit target') :
3425 case $s in #(
3426 BSD) :
3427 am__include='.include' am__quote='"' ;; #(
3428 *) :
3429 am__include='include' am__quote='' ;;
3430 esac ;; #(
3431 *) :
3433 esac
3434 if test "$am__include" != "#"; then
3435 _am_result="yes ($s style)"
3436 break
3438 done
3439 rm -f confinc.* confmf.*
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3441 $as_echo "${_am_result}" >&6; }
3443 # Check whether --enable-dependency-tracking was given.
3444 if test "${enable_dependency_tracking+set}" = set; then :
3445 enableval=$enable_dependency_tracking;
3448 if test "x$enable_dependency_tracking" != xno; then
3449 am_depcomp="$ac_aux_dir/depcomp"
3450 AMDEPBACKSLASH='\'
3451 am__nodep='_no'
3453 if test "x$enable_dependency_tracking" != xno; then
3454 AMDEP_TRUE=
3455 AMDEP_FALSE='#'
3456 else
3457 AMDEP_TRUE='#'
3458 AMDEP_FALSE=
3463 depcc="$CC" am_compiler_list=
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3466 $as_echo_n "checking dependency style of $depcc... " >&6; }
3467 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3471 # We make a subdir and do the tests there. Otherwise we can end up
3472 # making bogus files that we don't know about and never remove. For
3473 # instance it was reported that on HP-UX the gcc test will end up
3474 # making a dummy file named 'D' -- because '-MD' means "put the output
3475 # in D".
3476 rm -rf conftest.dir
3477 mkdir conftest.dir
3478 # Copy depcomp to subdir because otherwise we won't find it if we're
3479 # using a relative directory.
3480 cp "$am_depcomp" conftest.dir
3481 cd conftest.dir
3482 # We will build objects and dependencies in a subdirectory because
3483 # it helps to detect inapplicable dependency modes. For instance
3484 # both Tru64's cc and ICC support -MD to output dependencies as a
3485 # side effect of compilation, but ICC will put the dependencies in
3486 # the current directory while Tru64 will put them in the object
3487 # directory.
3488 mkdir sub
3490 am_cv_CC_dependencies_compiler_type=none
3491 if test "$am_compiler_list" = ""; then
3492 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3494 am__universal=false
3495 case " $depcc " in #(
3496 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3497 esac
3499 for depmode in $am_compiler_list; do
3500 # Setup a source with many dependencies, because some compilers
3501 # like to wrap large dependency lists on column 80 (with \), and
3502 # we should not choose a depcomp mode which is confused by this.
3504 # We need to recreate these files for each test, as the compiler may
3505 # overwrite some of them when testing with obscure command lines.
3506 # This happens at least with the AIX C compiler.
3507 : > sub/conftest.c
3508 for i in 1 2 3 4 5 6; do
3509 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3510 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3511 # Solaris 10 /bin/sh.
3512 echo '/* dummy */' > sub/conftst$i.h
3513 done
3514 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3516 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3517 # mode. It turns out that the SunPro C++ compiler does not properly
3518 # handle '-M -o', and we need to detect this. Also, some Intel
3519 # versions had trouble with output in subdirs.
3520 am__obj=sub/conftest.${OBJEXT-o}
3521 am__minus_obj="-o $am__obj"
3522 case $depmode in
3523 gcc)
3524 # This depmode causes a compiler race in universal mode.
3525 test "$am__universal" = false || continue
3527 nosideeffect)
3528 # After this tag, mechanisms are not by side-effect, so they'll
3529 # only be used when explicitly requested.
3530 if test "x$enable_dependency_tracking" = xyes; then
3531 continue
3532 else
3533 break
3536 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3537 # This compiler won't grok '-c -o', but also, the minuso test has
3538 # not run yet. These depmodes are late enough in the game, and
3539 # so weak that their functioning should not be impacted.
3540 am__obj=conftest.${OBJEXT-o}
3541 am__minus_obj=
3543 none) break ;;
3544 esac
3545 if depmode=$depmode \
3546 source=sub/conftest.c object=$am__obj \
3547 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3548 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3549 >/dev/null 2>conftest.err &&
3550 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3551 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3552 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3553 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3554 # icc doesn't choke on unknown options, it will just issue warnings
3555 # or remarks (even with -Werror). So we grep stderr for any message
3556 # that says an option was ignored or not supported.
3557 # When given -MP, icc 7.0 and 7.1 complain thusly:
3558 # icc: Command line warning: ignoring option '-M'; no argument required
3559 # The diagnosis changed in icc 8.0:
3560 # icc: Command line remark: option '-MP' not supported
3561 if (grep 'ignoring option' conftest.err ||
3562 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3563 am_cv_CC_dependencies_compiler_type=$depmode
3564 break
3567 done
3569 cd ..
3570 rm -rf conftest.dir
3571 else
3572 am_cv_CC_dependencies_compiler_type=none
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3577 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3578 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3581 test "x$enable_dependency_tracking" != xno \
3582 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3583 am__fastdepCC_TRUE=
3584 am__fastdepCC_FALSE='#'
3585 else
3586 am__fastdepCC_TRUE='#'
3587 am__fastdepCC_FALSE=
3591 ac_ext=cpp
3592 ac_cpp='$CXXCPP $CPPFLAGS'
3593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3596 if test -z "$CXX"; then
3597 if test -n "$CCC"; then
3598 CXX=$CCC
3599 else
3600 if test -n "$ac_tool_prefix"; then
3601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CXX+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -n "$CXX"; then
3611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 CXX=$ac_cv_prog_CXX
3631 if test -n "$CXX"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3633 $as_echo "$CXX" >&6; }
3634 else
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3640 test -n "$CXX" && break
3641 done
3643 if test -z "$CXX"; then
3644 ac_ct_CXX=$CXX
3645 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3647 # Extract the first word of "$ac_prog", so it can be a program name with args.
3648 set dummy $ac_prog; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3652 $as_echo_n "(cached) " >&6
3653 else
3654 if test -n "$ac_ct_CXX"; then
3655 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_ac_ct_CXX="$ac_prog"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 break 2
3668 done
3669 done
3670 IFS=$as_save_IFS
3674 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3675 if test -n "$ac_ct_CXX"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3677 $as_echo "$ac_ct_CXX" >&6; }
3678 else
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3684 test -n "$ac_ct_CXX" && break
3685 done
3687 if test "x$ac_ct_CXX" = x; then
3688 CXX="g++"
3689 else
3690 case $cross_compiling:$ac_tool_warned in
3691 yes:)
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3694 ac_tool_warned=yes ;;
3695 esac
3696 CXX=$ac_ct_CXX
3702 # Provide some information about the compiler.
3703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3704 set X $ac_compile
3705 ac_compiler=$2
3706 for ac_option in --version -v -V -qversion; do
3707 { { ac_try="$ac_compiler $ac_option >&5"
3708 case "(($ac_try" in
3709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3711 esac
3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713 $as_echo "$ac_try_echo"; } >&5
3714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3715 ac_status=$?
3716 if test -s conftest.err; then
3717 sed '10a\
3718 ... rest of stderr output deleted ...
3719 10q' conftest.err >conftest.er1
3720 cat conftest.er1 >&5
3722 rm -f conftest.er1 conftest.err
3723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724 test $ac_status = 0; }
3725 done
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3729 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3736 main ()
3738 #ifndef __GNUC__
3739 choke me
3740 #endif
3743 return 0;
3745 _ACEOF
3746 if ac_fn_cxx_try_compile "$LINENO"; then :
3747 ac_compiler_gnu=yes
3748 else
3749 ac_compiler_gnu=no
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3756 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3758 GXX=yes
3759 else
3760 GXX=
3762 ac_test_CXXFLAGS=${CXXFLAGS+set}
3763 ac_save_CXXFLAGS=$CXXFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3765 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3766 if ${ac_cv_prog_cxx_g+:} false; then :
3767 $as_echo_n "(cached) " >&6
3768 else
3769 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3770 ac_cxx_werror_flag=yes
3771 ac_cv_prog_cxx_g=no
3772 CXXFLAGS="-g"
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3777 main ()
3781 return 0;
3783 _ACEOF
3784 if ac_fn_cxx_try_compile "$LINENO"; then :
3785 ac_cv_prog_cxx_g=yes
3786 else
3787 CXXFLAGS=""
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3792 main ()
3796 return 0;
3798 _ACEOF
3799 if ac_fn_cxx_try_compile "$LINENO"; then :
3801 else
3802 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3803 CXXFLAGS="-g"
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3808 main ()
3812 return 0;
3814 _ACEOF
3815 if ac_fn_cxx_try_compile "$LINENO"; then :
3816 ac_cv_prog_cxx_g=yes
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3826 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3827 if test "$ac_test_CXXFLAGS" = set; then
3828 CXXFLAGS=$ac_save_CXXFLAGS
3829 elif test $ac_cv_prog_cxx_g = yes; then
3830 if test "$GXX" = yes; then
3831 CXXFLAGS="-g -O2"
3832 else
3833 CXXFLAGS="-g"
3835 else
3836 if test "$GXX" = yes; then
3837 CXXFLAGS="-O2"
3838 else
3839 CXXFLAGS=
3842 ac_ext=c
3843 ac_cpp='$CPP $CPPFLAGS'
3844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3848 depcc="$CXX" am_compiler_list=
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3851 $as_echo_n "checking dependency style of $depcc... " >&6; }
3852 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3856 # We make a subdir and do the tests there. Otherwise we can end up
3857 # making bogus files that we don't know about and never remove. For
3858 # instance it was reported that on HP-UX the gcc test will end up
3859 # making a dummy file named 'D' -- because '-MD' means "put the output
3860 # in D".
3861 rm -rf conftest.dir
3862 mkdir conftest.dir
3863 # Copy depcomp to subdir because otherwise we won't find it if we're
3864 # using a relative directory.
3865 cp "$am_depcomp" conftest.dir
3866 cd conftest.dir
3867 # We will build objects and dependencies in a subdirectory because
3868 # it helps to detect inapplicable dependency modes. For instance
3869 # both Tru64's cc and ICC support -MD to output dependencies as a
3870 # side effect of compilation, but ICC will put the dependencies in
3871 # the current directory while Tru64 will put them in the object
3872 # directory.
3873 mkdir sub
3875 am_cv_CXX_dependencies_compiler_type=none
3876 if test "$am_compiler_list" = ""; then
3877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3879 am__universal=false
3880 case " $depcc " in #(
3881 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3882 esac
3884 for depmode in $am_compiler_list; do
3885 # Setup a source with many dependencies, because some compilers
3886 # like to wrap large dependency lists on column 80 (with \), and
3887 # we should not choose a depcomp mode which is confused by this.
3889 # We need to recreate these files for each test, as the compiler may
3890 # overwrite some of them when testing with obscure command lines.
3891 # This happens at least with the AIX C compiler.
3892 : > sub/conftest.c
3893 for i in 1 2 3 4 5 6; do
3894 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3895 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3896 # Solaris 10 /bin/sh.
3897 echo '/* dummy */' > sub/conftst$i.h
3898 done
3899 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3901 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3902 # mode. It turns out that the SunPro C++ compiler does not properly
3903 # handle '-M -o', and we need to detect this. Also, some Intel
3904 # versions had trouble with output in subdirs.
3905 am__obj=sub/conftest.${OBJEXT-o}
3906 am__minus_obj="-o $am__obj"
3907 case $depmode in
3908 gcc)
3909 # This depmode causes a compiler race in universal mode.
3910 test "$am__universal" = false || continue
3912 nosideeffect)
3913 # After this tag, mechanisms are not by side-effect, so they'll
3914 # only be used when explicitly requested.
3915 if test "x$enable_dependency_tracking" = xyes; then
3916 continue
3917 else
3918 break
3921 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3922 # This compiler won't grok '-c -o', but also, the minuso test has
3923 # not run yet. These depmodes are late enough in the game, and
3924 # so weak that their functioning should not be impacted.
3925 am__obj=conftest.${OBJEXT-o}
3926 am__minus_obj=
3928 none) break ;;
3929 esac
3930 if depmode=$depmode \
3931 source=sub/conftest.c object=$am__obj \
3932 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3933 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3934 >/dev/null 2>conftest.err &&
3935 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3936 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3937 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3938 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3939 # icc doesn't choke on unknown options, it will just issue warnings
3940 # or remarks (even with -Werror). So we grep stderr for any message
3941 # that says an option was ignored or not supported.
3942 # When given -MP, icc 7.0 and 7.1 complain thusly:
3943 # icc: Command line warning: ignoring option '-M'; no argument required
3944 # The diagnosis changed in icc 8.0:
3945 # icc: Command line remark: option '-MP' not supported
3946 if (grep 'ignoring option' conftest.err ||
3947 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3948 am_cv_CXX_dependencies_compiler_type=$depmode
3949 break
3952 done
3954 cd ..
3955 rm -rf conftest.dir
3956 else
3957 am_cv_CXX_dependencies_compiler_type=none
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3962 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3963 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3966 test "x$enable_dependency_tracking" != xno \
3967 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3968 am__fastdepCXX_TRUE=
3969 am__fastdepCXX_FALSE='#'
3970 else
3971 am__fastdepCXX_TRUE='#'
3972 am__fastdepCXX_FALSE=
3979 if test -z "$AWK"; then
3980 as_fn_error $? "AWK not installed" "$LINENO" 5
3983 # Extract the first word of "expect", so it can be a program name with args.
3984 set dummy expect; ac_word=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_path_EXPECT+:} false; then :
3988 $as_echo_n "(cached) " >&6
3989 else
3990 case $EXPECT in
3991 [\\/]* | ?:[\\/]*)
3992 ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4006 done
4007 done
4008 IFS=$as_save_IFS
4011 esac
4013 EXPECT=$ac_cv_path_EXPECT
4014 if test -n "$EXPECT"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
4016 $as_echo "$EXPECT" >&6; }
4017 else
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4023 if test -z $ac_cv_path_EXPECT ; then
4024 as_fn_error $? "unable to locate expect" "$LINENO" 5
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl version 8.5 or greater" >&5
4028 $as_echo_n "checking Tcl version 8.5 or greater... " >&6; }
4029 if ${ac_cv_dg_tcl_modern+:} false; then :
4030 $as_echo_n "(cached) " >&6
4031 else
4033 ac_cv_dg_tcl_modern=`$EXPECT << EOF
4034 if [ expr \\${tcl_version} >= 8.5 ] then { puts yes } else { puts no }
4035 EOF`
4039 if test x${ac_cv_dg_tcl_modern} = xyes ; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_dg_tcl_modern}" >&5
4041 $as_echo "${ac_cv_dg_tcl_modern}" >&6; }
4042 else
4043 as_fn_error $? "Tcl 8.5 or greater is required" "$LINENO" 5
4046 if test x"$DEJAGNU" = x
4047 then
4048 DEJAGNU="/dev/null"
4052 # See what branch we're in
4053 # FIXME: this will need to deal with a release branch and
4054 # do something different
4055 BRANCH=$(cd ${srcdir} && git branch | grep '^\*' | cut -d ' ' -f 2)
4058 ac_config_files="$ac_config_files Makefile"
4060 cat >confcache <<\_ACEOF
4061 # This file is a shell script that caches the results of configure
4062 # tests run on this system so they can be shared between configure
4063 # scripts and configure runs, see configure's option --config-cache.
4064 # It is not useful on other systems. If it contains results you don't
4065 # want to keep, you may remove or edit it.
4067 # config.status only pays attention to the cache file if you give it
4068 # the --recheck option to rerun configure.
4070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4072 # following values.
4074 _ACEOF
4076 # The following way of writing the cache mishandles newlines in values,
4077 # but we know of no workaround that is simple, portable, and efficient.
4078 # So, we kill variables containing newlines.
4079 # Ultrix sh set writes to stderr and can't be redirected directly,
4080 # and sets the high bit in the cache file unless we assign to the vars.
4082 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4083 eval ac_val=\$$ac_var
4084 case $ac_val in #(
4085 *${as_nl}*)
4086 case $ac_var in #(
4087 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4089 esac
4090 case $ac_var in #(
4091 _ | IFS | as_nl) ;; #(
4092 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4093 *) { eval $ac_var=; unset $ac_var;} ;;
4094 esac ;;
4095 esac
4096 done
4098 (set) 2>&1 |
4099 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4100 *${as_nl}ac_space=\ *)
4101 # `set' does not quote correctly, so add quotes: double-quote
4102 # substitution turns \\\\ into \\, and sed turns \\ into \.
4103 sed -n \
4104 "s/'/'\\\\''/g;
4105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4106 ;; #(
4108 # `set' quotes correctly as required by POSIX, so do not add quotes.
4109 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4111 esac |
4112 sort
4114 sed '
4115 /^ac_cv_env_/b end
4116 t clear
4117 :clear
4118 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4119 t end
4120 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4121 :end' >>confcache
4122 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4123 if test -w "$cache_file"; then
4124 if test "x$cache_file" != "x/dev/null"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4126 $as_echo "$as_me: updating cache $cache_file" >&6;}
4127 if test ! -f "$cache_file" || test -h "$cache_file"; then
4128 cat confcache >"$cache_file"
4129 else
4130 case $cache_file in #(
4131 */* | ?:*)
4132 mv -f confcache "$cache_file"$$ &&
4133 mv -f "$cache_file"$$ "$cache_file" ;; #(
4135 mv -f confcache "$cache_file" ;;
4136 esac
4139 else
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4141 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4144 rm -f confcache
4146 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4147 # Let make expand exec_prefix.
4148 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4150 # Transform confdefs.h into DEFS.
4151 # Protect against shell expansion while executing Makefile rules.
4152 # Protect against Makefile macro expansion.
4154 # If the first sed substitution is executed (which looks for macros that
4155 # take arguments), then branch to the quote section. Otherwise,
4156 # look for a macro that doesn't take arguments.
4157 ac_script='
4158 :mline
4159 /\\$/{
4161 s,\\\n,,
4162 b mline
4164 t clear
4165 :clear
4166 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4167 t quote
4168 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4169 t quote
4170 b any
4171 :quote
4172 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4173 s/\[/\\&/g
4174 s/\]/\\&/g
4175 s/\$/$$/g
4177 :any
4180 s/^\n//
4181 s/\n/ /g
4185 DEFS=`sed -n "$ac_script" confdefs.h`
4188 ac_libobjs=
4189 ac_ltlibobjs=
4191 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4192 # 1. Remove the extension, and $U if already installed.
4193 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4194 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4195 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4196 # will be set to the directory where LIBOBJS objects are built.
4197 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4198 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4199 done
4200 LIBOBJS=$ac_libobjs
4202 LTLIBOBJS=$ac_ltlibobjs
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4206 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4207 if test -n "$am_sleep_pid"; then
4208 # Hide warnings about reused PIDs.
4209 wait $am_sleep_pid 2>/dev/null
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4212 $as_echo "done" >&6; }
4213 if test -n "$EXEEXT"; then
4214 am__EXEEXT_TRUE=
4215 am__EXEEXT_FALSE='#'
4216 else
4217 am__EXEEXT_TRUE='#'
4218 am__EXEEXT_FALSE=
4221 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4222 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4225 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4226 as_fn_error $? "conditional \"AMDEP\" was never defined.
4227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4229 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4230 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4233 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4234 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4238 : "${CONFIG_STATUS=./config.status}"
4239 ac_write_fail=0
4240 ac_clean_files_save=$ac_clean_files
4241 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4243 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4244 as_write_fail=0
4245 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4246 #! $SHELL
4247 # Generated by $as_me.
4248 # Run this file to recreate the current configuration.
4249 # Compiler output produced by configure, useful for debugging
4250 # configure, is in config.log if it exists.
4252 debug=false
4253 ac_cs_recheck=false
4254 ac_cs_silent=false
4256 SHELL=\${CONFIG_SHELL-$SHELL}
4257 export SHELL
4258 _ASEOF
4259 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4260 ## -------------------- ##
4261 ## M4sh Initialization. ##
4262 ## -------------------- ##
4264 # Be more Bourne compatible
4265 DUALCASE=1; export DUALCASE # for MKS sh
4266 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4267 emulate sh
4268 NULLCMD=:
4269 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4270 # is contrary to our usage. Disable this feature.
4271 alias -g '${1+"$@"}'='"$@"'
4272 setopt NO_GLOB_SUBST
4273 else
4274 case `(set -o) 2>/dev/null` in #(
4275 *posix*) :
4276 set -o posix ;; #(
4277 *) :
4279 esac
4283 as_nl='
4285 export as_nl
4286 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4287 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4288 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4289 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4290 # Prefer a ksh shell builtin over an external printf program on Solaris,
4291 # but without wasting forks for bash or zsh.
4292 if test -z "$BASH_VERSION$ZSH_VERSION" \
4293 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4294 as_echo='print -r --'
4295 as_echo_n='print -rn --'
4296 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4297 as_echo='printf %s\n'
4298 as_echo_n='printf %s'
4299 else
4300 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4301 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4302 as_echo_n='/usr/ucb/echo -n'
4303 else
4304 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4305 as_echo_n_body='eval
4306 arg=$1;
4307 case $arg in #(
4308 *"$as_nl"*)
4309 expr "X$arg" : "X\\(.*\\)$as_nl";
4310 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4311 esac;
4312 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4314 export as_echo_n_body
4315 as_echo_n='sh -c $as_echo_n_body as_echo'
4317 export as_echo_body
4318 as_echo='sh -c $as_echo_body as_echo'
4321 # The user is always right.
4322 if test "${PATH_SEPARATOR+set}" != set; then
4323 PATH_SEPARATOR=:
4324 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4325 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4326 PATH_SEPARATOR=';'
4331 # IFS
4332 # We need space, tab and new line, in precisely that order. Quoting is
4333 # there to prevent editors from complaining about space-tab.
4334 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4335 # splitting by setting IFS to empty value.)
4336 IFS=" "" $as_nl"
4338 # Find who we are. Look in the path if we contain no directory separator.
4339 as_myself=
4340 case $0 in #((
4341 *[\\/]* ) as_myself=$0 ;;
4342 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4348 done
4349 IFS=$as_save_IFS
4352 esac
4353 # We did not find ourselves, most probably we were run as `sh COMMAND'
4354 # in which case we are not to be found in the path.
4355 if test "x$as_myself" = x; then
4356 as_myself=$0
4358 if test ! -f "$as_myself"; then
4359 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4360 exit 1
4363 # Unset variables that we do not need and which cause bugs (e.g. in
4364 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4365 # suppresses any "Segmentation fault" message there. '((' could
4366 # trigger a bug in pdksh 5.2.14.
4367 for as_var in BASH_ENV ENV MAIL MAILPATH
4368 do eval test x\${$as_var+set} = xset \
4369 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4370 done
4371 PS1='$ '
4372 PS2='> '
4373 PS4='+ '
4375 # NLS nuisances.
4376 LC_ALL=C
4377 export LC_ALL
4378 LANGUAGE=C
4379 export LANGUAGE
4381 # CDPATH.
4382 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4385 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4386 # ----------------------------------------
4387 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4388 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4389 # script with STATUS, using 1 if that was 0.
4390 as_fn_error ()
4392 as_status=$1; test $as_status -eq 0 && as_status=1
4393 if test "$4"; then
4394 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4395 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4397 $as_echo "$as_me: error: $2" >&2
4398 as_fn_exit $as_status
4399 } # as_fn_error
4402 # as_fn_set_status STATUS
4403 # -----------------------
4404 # Set $? to STATUS, without forking.
4405 as_fn_set_status ()
4407 return $1
4408 } # as_fn_set_status
4410 # as_fn_exit STATUS
4411 # -----------------
4412 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4413 as_fn_exit ()
4415 set +e
4416 as_fn_set_status $1
4417 exit $1
4418 } # as_fn_exit
4420 # as_fn_unset VAR
4421 # ---------------
4422 # Portably unset VAR.
4423 as_fn_unset ()
4425 { eval $1=; unset $1;}
4427 as_unset=as_fn_unset
4428 # as_fn_append VAR VALUE
4429 # ----------------------
4430 # Append the text in VALUE to the end of the definition contained in VAR. Take
4431 # advantage of any shell optimizations that allow amortized linear growth over
4432 # repeated appends, instead of the typical quadratic growth present in naive
4433 # implementations.
4434 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4435 eval 'as_fn_append ()
4437 eval $1+=\$2
4439 else
4440 as_fn_append ()
4442 eval $1=\$$1\$2
4444 fi # as_fn_append
4446 # as_fn_arith ARG...
4447 # ------------------
4448 # Perform arithmetic evaluation on the ARGs, and store the result in the
4449 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4450 # must be portable across $(()) and expr.
4451 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4452 eval 'as_fn_arith ()
4454 as_val=$(( $* ))
4456 else
4457 as_fn_arith ()
4459 as_val=`expr "$@" || test $? -eq 1`
4461 fi # as_fn_arith
4464 if expr a : '\(a\)' >/dev/null 2>&1 &&
4465 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4466 as_expr=expr
4467 else
4468 as_expr=false
4471 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4472 as_basename=basename
4473 else
4474 as_basename=false
4477 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4478 as_dirname=dirname
4479 else
4480 as_dirname=false
4483 as_me=`$as_basename -- "$0" ||
4484 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4485 X"$0" : 'X\(//\)$' \| \
4486 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4487 $as_echo X/"$0" |
4488 sed '/^.*\/\([^/][^/]*\)\/*$/{
4489 s//\1/
4492 /^X\/\(\/\/\)$/{
4493 s//\1/
4496 /^X\/\(\/\).*/{
4497 s//\1/
4500 s/.*/./; q'`
4502 # Avoid depending upon Character Ranges.
4503 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4504 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4505 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4506 as_cr_digits='0123456789'
4507 as_cr_alnum=$as_cr_Letters$as_cr_digits
4509 ECHO_C= ECHO_N= ECHO_T=
4510 case `echo -n x` in #(((((
4511 -n*)
4512 case `echo 'xy\c'` in
4513 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4514 xy) ECHO_C='\c';;
4515 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4516 ECHO_T=' ';;
4517 esac;;
4519 ECHO_N='-n';;
4520 esac
4522 rm -f conf$$ conf$$.exe conf$$.file
4523 if test -d conf$$.dir; then
4524 rm -f conf$$.dir/conf$$.file
4525 else
4526 rm -f conf$$.dir
4527 mkdir conf$$.dir 2>/dev/null
4529 if (echo >conf$$.file) 2>/dev/null; then
4530 if ln -s conf$$.file conf$$ 2>/dev/null; then
4531 as_ln_s='ln -s'
4532 # ... but there are two gotchas:
4533 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4534 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4535 # In both cases, we have to default to `cp -pR'.
4536 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4537 as_ln_s='cp -pR'
4538 elif ln conf$$.file conf$$ 2>/dev/null; then
4539 as_ln_s=ln
4540 else
4541 as_ln_s='cp -pR'
4543 else
4544 as_ln_s='cp -pR'
4546 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4547 rmdir conf$$.dir 2>/dev/null
4550 # as_fn_mkdir_p
4551 # -------------
4552 # Create "$as_dir" as a directory, including parents if necessary.
4553 as_fn_mkdir_p ()
4556 case $as_dir in #(
4557 -*) as_dir=./$as_dir;;
4558 esac
4559 test -d "$as_dir" || eval $as_mkdir_p || {
4560 as_dirs=
4561 while :; do
4562 case $as_dir in #(
4563 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4564 *) as_qdir=$as_dir;;
4565 esac
4566 as_dirs="'$as_qdir' $as_dirs"
4567 as_dir=`$as_dirname -- "$as_dir" ||
4568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4569 X"$as_dir" : 'X\(//\)[^/]' \| \
4570 X"$as_dir" : 'X\(//\)$' \| \
4571 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4572 $as_echo X"$as_dir" |
4573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4574 s//\1/
4577 /^X\(\/\/\)[^/].*/{
4578 s//\1/
4581 /^X\(\/\/\)$/{
4582 s//\1/
4585 /^X\(\/\).*/{
4586 s//\1/
4589 s/.*/./; q'`
4590 test -d "$as_dir" && break
4591 done
4592 test -z "$as_dirs" || eval "mkdir $as_dirs"
4593 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4596 } # as_fn_mkdir_p
4597 if mkdir -p . 2>/dev/null; then
4598 as_mkdir_p='mkdir -p "$as_dir"'
4599 else
4600 test -d ./-p && rmdir ./-p
4601 as_mkdir_p=false
4605 # as_fn_executable_p FILE
4606 # -----------------------
4607 # Test if FILE is an executable regular file.
4608 as_fn_executable_p ()
4610 test -f "$1" && test -x "$1"
4611 } # as_fn_executable_p
4612 as_test_x='test -x'
4613 as_executable_p=as_fn_executable_p
4615 # Sed expression to map a string onto a valid CPP name.
4616 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4618 # Sed expression to map a string onto a valid variable name.
4619 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4622 exec 6>&1
4623 ## ----------------------------------- ##
4624 ## Main body of $CONFIG_STATUS script. ##
4625 ## ----------------------------------- ##
4626 _ASEOF
4627 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4630 # Save the log message, to keep $0 and so on meaningful, and to
4631 # report actual input values of CONFIG_FILES etc. instead of their
4632 # values after options handling.
4633 ac_log="
4634 This file was extended by GNU DejaGnu $as_me 1.6.3-git, which was
4635 generated by GNU Autoconf 2.69. Invocation command line was
4637 CONFIG_FILES = $CONFIG_FILES
4638 CONFIG_HEADERS = $CONFIG_HEADERS
4639 CONFIG_LINKS = $CONFIG_LINKS
4640 CONFIG_COMMANDS = $CONFIG_COMMANDS
4641 $ $0 $@
4643 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4646 _ACEOF
4648 case $ac_config_files in *"
4649 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4650 esac
4654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4655 # Files that config.status was made for.
4656 config_files="$ac_config_files"
4657 config_commands="$ac_config_commands"
4659 _ACEOF
4661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4662 ac_cs_usage="\
4663 \`$as_me' instantiates files and other configuration actions
4664 from templates according to the current configuration. Unless the files
4665 and actions are specified as TAGs, all are instantiated by default.
4667 Usage: $0 [OPTION]... [TAG]...
4669 -h, --help print this help, then exit
4670 -V, --version print version number and configuration settings, then exit
4671 --config print configuration, then exit
4672 -q, --quiet, --silent
4673 do not print progress messages
4674 -d, --debug don't remove temporary files
4675 --recheck update $as_me by reconfiguring in the same conditions
4676 --file=FILE[:TEMPLATE]
4677 instantiate the configuration file FILE
4679 Configuration files:
4680 $config_files
4682 Configuration commands:
4683 $config_commands
4685 Report bugs to <bug-dejagnu@gnu.org>.
4686 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
4687 General help using GNU software: <http://www.gnu.org/gethelp/>."
4689 _ACEOF
4690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4691 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4692 ac_cs_version="\\
4693 GNU DejaGnu config.status 1.6.3-git
4694 configured by $0, generated by GNU Autoconf 2.69,
4695 with options \\"\$ac_cs_config\\"
4697 Copyright (C) 2012 Free Software Foundation, Inc.
4698 This config.status script is free software; the Free Software Foundation
4699 gives unlimited permission to copy, distribute and modify it."
4701 ac_pwd='$ac_pwd'
4702 srcdir='$srcdir'
4703 INSTALL='$INSTALL'
4704 MKDIR_P='$MKDIR_P'
4705 AWK='$AWK'
4706 test -n "\$AWK" || AWK=awk
4707 _ACEOF
4709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4710 # The default lists apply if the user does not specify any file.
4711 ac_need_defaults=:
4712 while test $# != 0
4714 case $1 in
4715 --*=?*)
4716 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4717 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4718 ac_shift=:
4720 --*=)
4721 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4722 ac_optarg=
4723 ac_shift=:
4726 ac_option=$1
4727 ac_optarg=$2
4728 ac_shift=shift
4730 esac
4732 case $ac_option in
4733 # Handling of the options.
4734 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4735 ac_cs_recheck=: ;;
4736 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4737 $as_echo "$ac_cs_version"; exit ;;
4738 --config | --confi | --conf | --con | --co | --c )
4739 $as_echo "$ac_cs_config"; exit ;;
4740 --debug | --debu | --deb | --de | --d | -d )
4741 debug=: ;;
4742 --file | --fil | --fi | --f )
4743 $ac_shift
4744 case $ac_optarg in
4745 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4746 '') as_fn_error $? "missing file argument" ;;
4747 esac
4748 as_fn_append CONFIG_FILES " '$ac_optarg'"
4749 ac_need_defaults=false;;
4750 --he | --h | --help | --hel | -h )
4751 $as_echo "$ac_cs_usage"; exit ;;
4752 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4753 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4754 ac_cs_silent=: ;;
4756 # This is an error.
4757 -*) as_fn_error $? "unrecognized option: \`$1'
4758 Try \`$0 --help' for more information." ;;
4760 *) as_fn_append ac_config_targets " $1"
4761 ac_need_defaults=false ;;
4763 esac
4764 shift
4765 done
4767 ac_configure_extra_args=
4769 if $ac_cs_silent; then
4770 exec 6>/dev/null
4771 ac_configure_extra_args="$ac_configure_extra_args --silent"
4774 _ACEOF
4775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4776 if \$ac_cs_recheck; then
4777 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4778 shift
4779 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4780 CONFIG_SHELL='$SHELL'
4781 export CONFIG_SHELL
4782 exec "\$@"
4785 _ACEOF
4786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4787 exec 5>>config.log
4789 echo
4790 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4791 ## Running $as_me. ##
4792 _ASBOX
4793 $as_echo "$ac_log"
4794 } >&5
4796 _ACEOF
4797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4799 # INIT-COMMANDS
4801 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
4803 _ACEOF
4805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4807 # Handling of arguments.
4808 for ac_config_target in $ac_config_targets
4810 case $ac_config_target in
4811 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4812 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4814 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4815 esac
4816 done
4819 # If the user did not use the arguments to specify the items to instantiate,
4820 # then the envvar interface is used. Set only those that are not.
4821 # We use the long form for the default assignment because of an extremely
4822 # bizarre bug on SunOS 4.1.3.
4823 if $ac_need_defaults; then
4824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4825 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4828 # Have a temporary directory for convenience. Make it in the build tree
4829 # simply because there is no reason against having it here, and in addition,
4830 # creating and moving files from /tmp can sometimes cause problems.
4831 # Hook for its removal unless debugging.
4832 # Note that there is a small window in which the directory will not be cleaned:
4833 # after its creation but before its name has been assigned to `$tmp'.
4834 $debug ||
4836 tmp= ac_tmp=
4837 trap 'exit_status=$?
4838 : "${ac_tmp:=$tmp}"
4839 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4841 trap 'as_fn_exit 1' 1 2 13 15
4843 # Create a (secure) tmp directory for tmp files.
4846 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4847 test -d "$tmp"
4848 } ||
4850 tmp=./conf$$-$RANDOM
4851 (umask 077 && mkdir "$tmp")
4852 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4853 ac_tmp=$tmp
4855 # Set up the scripts for CONFIG_FILES section.
4856 # No need to generate them if there are no CONFIG_FILES.
4857 # This happens for instance with `./config.status config.h'.
4858 if test -n "$CONFIG_FILES"; then
4861 ac_cr=`echo X | tr X '\015'`
4862 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4863 # But we know of no other shell where ac_cr would be empty at this
4864 # point, so we can use a bashism as a fallback.
4865 if test "x$ac_cr" = x; then
4866 eval ac_cr=\$\'\\r\'
4868 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4869 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4870 ac_cs_awk_cr='\\r'
4871 else
4872 ac_cs_awk_cr=$ac_cr
4875 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4876 _ACEOF
4880 echo "cat >conf$$subs.awk <<_ACEOF" &&
4881 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4882 echo "_ACEOF"
4883 } >conf$$subs.sh ||
4884 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4885 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4886 ac_delim='%!_!# '
4887 for ac_last_try in false false false false false :; do
4888 . ./conf$$subs.sh ||
4889 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4891 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4892 if test $ac_delim_n = $ac_delim_num; then
4893 break
4894 elif $ac_last_try; then
4895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4896 else
4897 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4899 done
4900 rm -f conf$$subs.sh
4902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4903 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4904 _ACEOF
4905 sed -n '
4907 s/^/S["/; s/!.*/"]=/
4910 s/^[^!]*!//
4911 :repl
4912 t repl
4913 s/'"$ac_delim"'$//
4914 t delim
4917 s/\(.\{148\}\)..*/\1/
4918 t more1
4919 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4922 b repl
4923 :more1
4924 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4927 s/.\{148\}//
4928 t nl
4929 :delim
4931 s/\(.\{148\}\)..*/\1/
4932 t more2
4933 s/["\\]/\\&/g; s/^/"/; s/$/"/
4936 :more2
4937 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4940 s/.\{148\}//
4941 t delim
4942 ' <conf$$subs.awk | sed '
4943 /^[^""]/{
4945 s/\n//
4947 ' >>$CONFIG_STATUS || ac_write_fail=1
4948 rm -f conf$$subs.awk
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4950 _ACAWK
4951 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4952 for (key in S) S_is_set[key] = 1
4953 FS = "\a"
4957 line = $ 0
4958 nfields = split(line, field, "@")
4959 substed = 0
4960 len = length(field[1])
4961 for (i = 2; i < nfields; i++) {
4962 key = field[i]
4963 keylen = length(key)
4964 if (S_is_set[key]) {
4965 value = S[key]
4966 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4967 len += length(value) + length(field[++i])
4968 substed = 1
4969 } else
4970 len += 1 + keylen
4973 print line
4976 _ACAWK
4977 _ACEOF
4978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4979 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4980 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4981 else
4983 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4984 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4985 _ACEOF
4987 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4988 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4989 # trailing colons and then remove the whole line if VPATH becomes empty
4990 # (actually we leave an empty line to preserve line numbers).
4991 if test "x$srcdir" = x.; then
4992 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4994 s///
4995 s/^/:/
4996 s/[ ]*$/:/
4997 s/:\$(srcdir):/:/g
4998 s/:\${srcdir}:/:/g
4999 s/:@srcdir@:/:/g
5000 s/^:*//
5001 s/:*$//
5003 s/\(=[ ]*\).*/\1/
5005 s/\n//
5006 s/^[^=]*=[ ]*$//
5010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5011 fi # test -n "$CONFIG_FILES"
5014 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5015 shift
5016 for ac_tag
5018 case $ac_tag in
5019 :[FHLC]) ac_mode=$ac_tag; continue;;
5020 esac
5021 case $ac_mode$ac_tag in
5022 :[FHL]*:*);;
5023 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5024 :[FH]-) ac_tag=-:-;;
5025 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5026 esac
5027 ac_save_IFS=$IFS
5028 IFS=:
5029 set x $ac_tag
5030 IFS=$ac_save_IFS
5031 shift
5032 ac_file=$1
5033 shift
5035 case $ac_mode in
5036 :L) ac_source=$1;;
5037 :[FH])
5038 ac_file_inputs=
5039 for ac_f
5041 case $ac_f in
5042 -) ac_f="$ac_tmp/stdin";;
5043 *) # Look for the file first in the build tree, then in the source tree
5044 # (if the path is not absolute). The absolute path cannot be DOS-style,
5045 # because $ac_f cannot contain `:'.
5046 test -f "$ac_f" ||
5047 case $ac_f in
5048 [\\/$]*) false;;
5049 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5050 esac ||
5051 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5052 esac
5053 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5054 as_fn_append ac_file_inputs " '$ac_f'"
5055 done
5057 # Let's still pretend it is `configure' which instantiates (i.e., don't
5058 # use $as_me), people would be surprised to read:
5059 # /* config.h. Generated by config.status. */
5060 configure_input='Generated from '`
5061 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5062 `' by configure.'
5063 if test x"$ac_file" != x-; then
5064 configure_input="$ac_file. $configure_input"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5066 $as_echo "$as_me: creating $ac_file" >&6;}
5068 # Neutralize special characters interpreted by sed in replacement strings.
5069 case $configure_input in #(
5070 *\&* | *\|* | *\\* )
5071 ac_sed_conf_input=`$as_echo "$configure_input" |
5072 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5073 *) ac_sed_conf_input=$configure_input;;
5074 esac
5076 case $ac_tag in
5077 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5079 esac
5081 esac
5083 ac_dir=`$as_dirname -- "$ac_file" ||
5084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5085 X"$ac_file" : 'X\(//\)[^/]' \| \
5086 X"$ac_file" : 'X\(//\)$' \| \
5087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5088 $as_echo X"$ac_file" |
5089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5090 s//\1/
5093 /^X\(\/\/\)[^/].*/{
5094 s//\1/
5097 /^X\(\/\/\)$/{
5098 s//\1/
5101 /^X\(\/\).*/{
5102 s//\1/
5105 s/.*/./; q'`
5106 as_dir="$ac_dir"; as_fn_mkdir_p
5107 ac_builddir=.
5109 case "$ac_dir" in
5110 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5112 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5113 # A ".." for each directory in $ac_dir_suffix.
5114 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5115 case $ac_top_builddir_sub in
5116 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5117 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5118 esac ;;
5119 esac
5120 ac_abs_top_builddir=$ac_pwd
5121 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5122 # for backward compatibility:
5123 ac_top_builddir=$ac_top_build_prefix
5125 case $srcdir in
5126 .) # We are building in place.
5127 ac_srcdir=.
5128 ac_top_srcdir=$ac_top_builddir_sub
5129 ac_abs_top_srcdir=$ac_pwd ;;
5130 [\\/]* | ?:[\\/]* ) # Absolute name.
5131 ac_srcdir=$srcdir$ac_dir_suffix;
5132 ac_top_srcdir=$srcdir
5133 ac_abs_top_srcdir=$srcdir ;;
5134 *) # Relative name.
5135 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5136 ac_top_srcdir=$ac_top_build_prefix$srcdir
5137 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5138 esac
5139 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5142 case $ac_mode in
5145 # CONFIG_FILE
5148 case $INSTALL in
5149 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5150 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5151 esac
5152 ac_MKDIR_P=$MKDIR_P
5153 case $MKDIR_P in
5154 [\\/$]* | ?:[\\/]* ) ;;
5155 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5156 esac
5157 _ACEOF
5159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5160 # If the template does not know about datarootdir, expand it.
5161 # FIXME: This hack should be removed a few years after 2.60.
5162 ac_datarootdir_hack=; ac_datarootdir_seen=
5163 ac_sed_dataroot='
5164 /datarootdir/ {
5168 /@datadir@/p
5169 /@docdir@/p
5170 /@infodir@/p
5171 /@localedir@/p
5172 /@mandir@/p'
5173 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5174 *datarootdir*) ac_datarootdir_seen=yes;;
5175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5177 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5178 _ACEOF
5179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5180 ac_datarootdir_hack='
5181 s&@datadir@&$datadir&g
5182 s&@docdir@&$docdir&g
5183 s&@infodir@&$infodir&g
5184 s&@localedir@&$localedir&g
5185 s&@mandir@&$mandir&g
5186 s&\\\${datarootdir}&$datarootdir&g' ;;
5187 esac
5188 _ACEOF
5190 # Neutralize VPATH when `$srcdir' = `.'.
5191 # Shell code in configure.ac might set extrasub.
5192 # FIXME: do we really want to maintain this feature?
5193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5194 ac_sed_extra="$ac_vpsub
5195 $extrasub
5196 _ACEOF
5197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5200 s|@configure_input@|$ac_sed_conf_input|;t t
5201 s&@top_builddir@&$ac_top_builddir_sub&;t t
5202 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5203 s&@srcdir@&$ac_srcdir&;t t
5204 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5205 s&@top_srcdir@&$ac_top_srcdir&;t t
5206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5207 s&@builddir@&$ac_builddir&;t t
5208 s&@abs_builddir@&$ac_abs_builddir&;t t
5209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5210 s&@INSTALL@&$ac_INSTALL&;t t
5211 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5212 $ac_datarootdir_hack
5214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5215 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5218 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5219 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5220 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5222 which seems to be undefined. Please make sure it is defined" >&5
5223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5224 which seems to be undefined. Please make sure it is defined" >&2;}
5226 rm -f "$ac_tmp/stdin"
5227 case $ac_file in
5228 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5229 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5230 esac \
5231 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5235 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5236 $as_echo "$as_me: executing $ac_file commands" >&6;}
5238 esac
5241 case $ac_file$ac_mode in
5242 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5243 # Older Autoconf quotes --file arguments for eval, but not when files
5244 # are listed without --file. Let's play safe and only enable the eval
5245 # if we detect the quoting.
5246 # TODO: see whether this extra hack can be removed once we start
5247 # requiring Autoconf 2.70 or later.
5248 case $CONFIG_FILES in #(
5249 *\'*) :
5250 eval set x "$CONFIG_FILES" ;; #(
5251 *) :
5252 set x $CONFIG_FILES ;; #(
5253 *) :
5255 esac
5256 shift
5257 # Used to flag and report bootstrapping failures.
5258 am_rc=0
5259 for am_mf
5261 # Strip MF so we end up with the name of the file.
5262 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5263 # Check whether this is an Automake generated Makefile which includes
5264 # dependency-tracking related rules and includes.
5265 # Grep'ing the whole file directly is not great: AIX grep has a line
5266 # limit of 2048, but all sed's we know have understand at least 4000.
5267 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5268 || continue
5269 am_dirpart=`$as_dirname -- "$am_mf" ||
5270 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5271 X"$am_mf" : 'X\(//\)[^/]' \| \
5272 X"$am_mf" : 'X\(//\)$' \| \
5273 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5274 $as_echo X"$am_mf" |
5275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5276 s//\1/
5279 /^X\(\/\/\)[^/].*/{
5280 s//\1/
5283 /^X\(\/\/\)$/{
5284 s//\1/
5287 /^X\(\/\).*/{
5288 s//\1/
5291 s/.*/./; q'`
5292 am_filepart=`$as_basename -- "$am_mf" ||
5293 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5294 X"$am_mf" : 'X\(//\)$' \| \
5295 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5296 $as_echo X/"$am_mf" |
5297 sed '/^.*\/\([^/][^/]*\)\/*$/{
5298 s//\1/
5301 /^X\/\(\/\/\)$/{
5302 s//\1/
5305 /^X\/\(\/\).*/{
5306 s//\1/
5309 s/.*/./; q'`
5310 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5311 && sed -e '/# am--include-marker/d' "$am_filepart" \
5312 | $MAKE -f - am--depfiles" >&5
5313 (cd "$am_dirpart" \
5314 && sed -e '/# am--include-marker/d' "$am_filepart" \
5315 | $MAKE -f - am--depfiles) >&5 2>&5
5316 ac_status=$?
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } || am_rc=$?
5319 done
5320 if test $am_rc -ne 0; then
5321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5323 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5324 for automatic dependency tracking. Try re-running configure with the
5325 '--disable-dependency-tracking' option to at least be able to build
5326 the package (albeit without support for automatic dependency tracking).
5327 See \`config.log' for more details" "$LINENO" 5; }
5329 { am_dirpart=; unset am_dirpart;}
5330 { am_filepart=; unset am_filepart;}
5331 { am_mf=; unset am_mf;}
5332 { am_rc=; unset am_rc;}
5333 rm -f conftest-deps.mk
5337 esac
5338 done # for ac_tag
5341 as_fn_exit 0
5342 _ACEOF
5343 ac_clean_files=$ac_clean_files_save
5345 test $ac_write_fail = 0 ||
5346 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5349 # configure is writing to config.log, and then calls config.status.
5350 # config.status does its own redirection, appending to config.log.
5351 # Unfortunately, on DOS this fails, as config.log is still kept open
5352 # by configure, so config.status won't be able to write to it; its
5353 # output is simply discarded. So we exec the FD to /dev/null,
5354 # effectively closing config.log, so it can be properly (re)opened and
5355 # appended to by config.status. When coming back to configure, we
5356 # need to make the FD available again.
5357 if test "$no_create" != yes; then
5358 ac_cs_success=:
5359 ac_config_status_args=
5360 test "$silent" = yes &&
5361 ac_config_status_args="$ac_config_status_args --quiet"
5362 exec 5>/dev/null
5363 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5364 exec 5>>config.log
5365 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5366 # would make configure fail if this is the last instruction.
5367 $ac_cs_success || as_fn_exit 1
5369 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5371 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}