Establish a default C compiler by evaluating [find_gcc] if no other compiler is...
[dejagnu.git] / configure
blob5dc31dfe0f34c19ea89123b31977d7aac2d1cd6b
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 DEJAGNU
592 EXPECT
593 am__fastdepCXX_FALSE
594 am__fastdepCXX_TRUE
595 CXXDEPMODE
596 ac_ct_CXX
597 CXXFLAGS
599 am__fastdepCC_FALSE
600 am__fastdepCC_TRUE
601 CCDEPMODE
602 am__nodep
603 AMDEPBACKSLASH
604 AMDEP_FALSE
605 AMDEP_TRUE
606 am__quote
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 runstatedir
666 localstatedir
667 sharedstatedir
668 sysconfdir
669 datadir
670 datarootdir
671 libexecdir
672 sbindir
673 bindir
674 program_transform_name
675 prefix
676 exec_prefix
677 PACKAGE_URL
678 PACKAGE_BUGREPORT
679 PACKAGE_STRING
680 PACKAGE_VERSION
681 PACKAGE_TARNAME
682 PACKAGE_NAME
683 PATH_SEPARATOR
684 SHELL'
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 runstatedir='${localstatedir}/run'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
745 infodir='${datarootdir}/info'
746 htmldir='${docdir}'
747 dvidir='${docdir}'
748 pdfdir='${docdir}'
749 psdir='${docdir}'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
754 ac_prev=
755 ac_dashdash=
756 for ac_option
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
761 ac_prev=
762 continue
765 case $ac_option in
766 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 *=) ac_optarg= ;;
768 *) ac_optarg=yes ;;
769 esac
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
775 ac_dashdash=yes ;;
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 ac_prev=bindir ;;
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 bindir=$ac_optarg ;;
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
794 --config-cache | -C)
795 cache_file=config.cache ;;
797 -datadir | --datadir | --datadi | --datad)
798 ac_prev=datadir ;;
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
809 -disable-* | --disable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error $? "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
818 "enable_$ac_useropt"
819 "*) ;;
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
822 esac
823 eval enable_$ac_useropt=no ;;
825 -docdir | --docdir | --docdi | --doc | --do)
826 ac_prev=docdir ;;
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 docdir=$ac_optarg ;;
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 ac_prev=dvidir ;;
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 dvidir=$ac_optarg ;;
835 -enable-* | --enable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=\$ac_optarg ;;
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
862 with_gas=yes ;;
864 -help | --help | --hel | --he | -h)
865 ac_init_help=long ;;
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 ac_prev=htmldir ;;
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 | --ht=*)
880 htmldir=$ac_optarg ;;
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 ac_prev=infodir ;;
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
894 -libdir | --libdir | --libdi | --libd)
895 ac_prev=libdir ;;
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 libdir=$ac_optarg ;;
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
906 -localedir | --localedir | --localedi | --localed | --locale)
907 ac_prev=localedir ;;
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 ac_prev=mandir ;;
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 mandir=$ac_optarg ;;
923 -nfp | --nfp | --nf)
924 # Obsolete; use --without-fp.
925 with_fp=no ;;
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
929 no_create=yes ;;
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 no_recursion=yes ;;
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 ac_prev=prefix ;;
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 prefix=$ac_optarg ;;
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 ac_prev=pdfdir ;;
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 pdfdir=$ac_optarg ;;
985 -psdir | --psdir | --psdi | --psd | --ps)
986 ac_prev=psdir ;;
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 psdir=$ac_optarg ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 silent=yes ;;
994 -runstatedir | --runstatedir | --runstatedi | --runstated \
995 | --runstate | --runstat | --runsta | --runst | --runs \
996 | --run | --ru | --r)
997 ac_prev=runstatedir ;;
998 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
999 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1000 | --run=* | --ru=* | --r=*)
1001 runstatedir=$ac_optarg ;;
1003 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 ac_prev=sbindir ;;
1005 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 | --sbi=* | --sb=*)
1007 sbindir=$ac_optarg ;;
1009 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1010 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1011 | --sharedst | --shareds | --shared | --share | --shar \
1012 | --sha | --sh)
1013 ac_prev=sharedstatedir ;;
1014 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1015 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1016 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 | --sha=* | --sh=*)
1018 sharedstatedir=$ac_optarg ;;
1020 -site | --site | --sit)
1021 ac_prev=site ;;
1022 -site=* | --site=* | --sit=*)
1023 site=$ac_optarg ;;
1025 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 ac_prev=srcdir ;;
1027 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1028 srcdir=$ac_optarg ;;
1030 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1031 | --syscon | --sysco | --sysc | --sys | --sy)
1032 ac_prev=sysconfdir ;;
1033 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1034 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1035 sysconfdir=$ac_optarg ;;
1037 -target | --target | --targe | --targ | --tar | --ta | --t)
1038 ac_prev=target_alias ;;
1039 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1040 target_alias=$ac_optarg ;;
1042 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1043 verbose=yes ;;
1045 -version | --version | --versio | --versi | --vers | -V)
1046 ac_init_version=: ;;
1048 -with-* | --with-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid package name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "with_$ac_useropt"
1058 "*) ;;
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1061 esac
1062 eval with_$ac_useropt=\$ac_optarg ;;
1064 -without-* | --without-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "with_$ac_useropt"
1074 "*) ;;
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1077 esac
1078 eval with_$ac_useropt=no ;;
1080 --x)
1081 # Obsolete; use --with-x.
1082 with_x=yes ;;
1084 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1085 | --x-incl | --x-inc | --x-in | --x-i)
1086 ac_prev=x_includes ;;
1087 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1088 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1089 x_includes=$ac_optarg ;;
1091 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1092 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1093 ac_prev=x_libraries ;;
1094 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1095 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1096 x_libraries=$ac_optarg ;;
1098 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1099 Try \`$0 --help' for more information"
1102 *=*)
1103 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1104 # Reject names that are not valid shell variable names.
1105 case $ac_envvar in #(
1106 '' | [0-9]* | *[!_$as_cr_alnum]* )
1107 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1108 esac
1109 eval $ac_envvar=\$ac_optarg
1110 export $ac_envvar ;;
1113 # FIXME: should be removed in autoconf 3.0.
1114 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1117 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1120 esac
1121 done
1123 if test -n "$ac_prev"; then
1124 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1125 as_fn_error $? "missing argument to $ac_option"
1128 if test -n "$ac_unrecognized_opts"; then
1129 case $enable_option_checking in
1130 no) ;;
1131 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1132 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1133 esac
1136 # Check all directory arguments for consistency.
1137 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1138 datadir sysconfdir sharedstatedir localstatedir includedir \
1139 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1140 libdir localedir mandir runstatedir
1142 eval ac_val=\$$ac_var
1143 # Remove trailing slashes.
1144 case $ac_val in
1145 */ )
1146 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1147 eval $ac_var=\$ac_val;;
1148 esac
1149 # Be sure to have absolute directory names.
1150 case $ac_val in
1151 [\\/$]* | ?:[\\/]* ) continue;;
1152 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1153 esac
1154 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1155 done
1157 # There might be people who depend on the old broken behavior: `$host'
1158 # used to hold the argument of --host etc.
1159 # FIXME: To remove some day.
1160 build=$build_alias
1161 host=$host_alias
1162 target=$target_alias
1164 # FIXME: To remove some day.
1165 if test "x$host_alias" != x; then
1166 if test "x$build_alias" = x; then
1167 cross_compiling=maybe
1168 elif test "x$build_alias" != "x$host_alias"; then
1169 cross_compiling=yes
1173 ac_tool_prefix=
1174 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1176 test "$silent" = yes && exec 6>/dev/null
1179 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1180 ac_ls_di=`ls -di .` &&
1181 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1182 as_fn_error $? "working directory cannot be determined"
1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1184 as_fn_error $? "pwd does not report name of working directory"
1187 # Find the source files, if location was not specified.
1188 if test -z "$srcdir"; then
1189 ac_srcdir_defaulted=yes
1190 # Try the directory containing this script, then the parent directory.
1191 ac_confdir=`$as_dirname -- "$as_myself" ||
1192 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$as_myself" : 'X\(//\)[^/]' \| \
1194 X"$as_myself" : 'X\(//\)$' \| \
1195 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1196 $as_echo X"$as_myself" |
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198 s//\1/
1201 /^X\(\/\/\)[^/].*/{
1202 s//\1/
1205 /^X\(\/\/\)$/{
1206 s//\1/
1209 /^X\(\/\).*/{
1210 s//\1/
1213 s/.*/./; q'`
1214 srcdir=$ac_confdir
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1216 srcdir=..
1218 else
1219 ac_srcdir_defaulted=no
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1223 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1225 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1226 ac_abs_confdir=`(
1227 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1228 pwd)`
1229 # When building in place, set srcdir=.
1230 if test "$ac_abs_confdir" = "$ac_pwd"; then
1231 srcdir=.
1233 # Remove unnecessary trailing slashes from srcdir.
1234 # Double slashes in file names in object file debugging info
1235 # mess up M-x gdb in Emacs.
1236 case $srcdir in
1237 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1238 esac
1239 for ac_var in $ac_precious_vars; do
1240 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1241 eval ac_env_${ac_var}_value=\$${ac_var}
1242 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1243 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1244 done
1247 # Report the --help message.
1249 if test "$ac_init_help" = "long"; then
1250 # Omit some internal or obsolete options to make the list less imposing.
1251 # This message is too long to be a string in the A/UX 3.1 sh.
1252 cat <<_ACEOF
1253 \`configure' configures GNU DejaGnu 1.6.3-git to adapt to many kinds of systems.
1255 Usage: $0 [OPTION]... [VAR=VALUE]...
1257 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1258 VAR=VALUE. See below for descriptions of some of the useful variables.
1260 Defaults for the options are specified in brackets.
1262 Configuration:
1263 -h, --help display this help and exit
1264 --help=short display options specific to this package
1265 --help=recursive display the short help of all the included packages
1266 -V, --version display version information and exit
1267 -q, --quiet, --silent do not print \`checking ...' messages
1268 --cache-file=FILE cache test results in FILE [disabled]
1269 -C, --config-cache alias for \`--cache-file=config.cache'
1270 -n, --no-create do not create output files
1271 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1273 Installation directories:
1274 --prefix=PREFIX install architecture-independent files in PREFIX
1275 [$ac_default_prefix]
1276 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1277 [PREFIX]
1279 By default, \`make install' will install all the files in
1280 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1281 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1282 for instance \`--prefix=\$HOME'.
1284 For better control, use the options below.
1286 Fine tuning of the installation directories:
1287 --bindir=DIR user executables [EPREFIX/bin]
1288 --sbindir=DIR system admin executables [EPREFIX/sbin]
1289 --libexecdir=DIR program executables [EPREFIX/libexec]
1290 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1291 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1292 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1293 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1294 --libdir=DIR object code libraries [EPREFIX/lib]
1295 --includedir=DIR C header files [PREFIX/include]
1296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1299 --infodir=DIR info documentation [DATAROOTDIR/info]
1300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1301 --mandir=DIR man documentation [DATAROOTDIR/man]
1302 --docdir=DIR documentation root [DATAROOTDIR/doc/dejagnu]
1303 --htmldir=DIR html documentation [DOCDIR]
1304 --dvidir=DIR dvi documentation [DOCDIR]
1305 --pdfdir=DIR pdf documentation [DOCDIR]
1306 --psdir=DIR ps documentation [DOCDIR]
1307 _ACEOF
1309 cat <<\_ACEOF
1311 Program names:
1312 --program-prefix=PREFIX prepend PREFIX to installed program names
1313 --program-suffix=SUFFIX append SUFFIX to installed program names
1314 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1315 _ACEOF
1318 if test -n "$ac_init_help"; then
1319 case $ac_init_help in
1320 short | recursive ) echo "Configuration of GNU DejaGnu 1.6.3-git:";;
1321 esac
1322 cat <<\_ACEOF
1324 Optional Features:
1325 --disable-option-checking ignore unrecognized --enable/--with options
1326 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1327 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1328 --enable-silent-rules less verbose build output (undo: "make V=1")
1329 --disable-silent-rules verbose build output (undo: "make V=0")
1330 --enable-maintainer-mode
1331 enable make rules and dependencies not useful (and
1332 sometimes confusing) to the casual installer
1333 --enable-dependency-tracking
1334 do not reject slow dependency extractors
1335 --disable-dependency-tracking
1336 speeds up one-time build
1338 Some influential environment variables:
1339 CC C compiler command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 nonstandard directory <lib dir>
1343 LIBS libraries to pass to the linker, e.g. -l<library>
1344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345 you have headers in a nonstandard directory <include dir>
1346 CXX C++ compiler command
1347 CXXFLAGS C++ compiler flags
1349 Use these variables to override the choices made by `configure' or to help
1350 it to find libraries and programs with nonstandard names/locations.
1352 Report bugs to <bug-dejagnu@gnu.org>.
1353 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
1354 General help using GNU software: <http://www.gnu.org/gethelp/>.
1355 _ACEOF
1356 ac_status=$?
1359 if test "$ac_init_help" = "recursive"; then
1360 # If there are subdirs, report their specific --help.
1361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1362 test -d "$ac_dir" ||
1363 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1364 continue
1365 ac_builddir=.
1367 case "$ac_dir" in
1368 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1371 # A ".." for each directory in $ac_dir_suffix.
1372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1373 case $ac_top_builddir_sub in
1374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1376 esac ;;
1377 esac
1378 ac_abs_top_builddir=$ac_pwd
1379 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1380 # for backward compatibility:
1381 ac_top_builddir=$ac_top_build_prefix
1383 case $srcdir in
1384 .) # We are building in place.
1385 ac_srcdir=.
1386 ac_top_srcdir=$ac_top_builddir_sub
1387 ac_abs_top_srcdir=$ac_pwd ;;
1388 [\\/]* | ?:[\\/]* ) # Absolute name.
1389 ac_srcdir=$srcdir$ac_dir_suffix;
1390 ac_top_srcdir=$srcdir
1391 ac_abs_top_srcdir=$srcdir ;;
1392 *) # Relative name.
1393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1394 ac_top_srcdir=$ac_top_build_prefix$srcdir
1395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1396 esac
1397 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1399 cd "$ac_dir" || { ac_status=$?; continue; }
1400 # Check for guested configure.
1401 if test -f "$ac_srcdir/configure.gnu"; then
1402 echo &&
1403 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1404 elif test -f "$ac_srcdir/configure"; then
1405 echo &&
1406 $SHELL "$ac_srcdir/configure" --help=recursive
1407 else
1408 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1409 fi || ac_status=$?
1410 cd "$ac_pwd" || { ac_status=$?; break; }
1411 done
1414 test -n "$ac_init_help" && exit $ac_status
1415 if $ac_init_version; then
1416 cat <<\_ACEOF
1417 GNU DejaGnu configure 1.6.3-git
1418 generated by GNU Autoconf 2.69
1420 Copyright (C) 2012 Free Software Foundation, Inc.
1421 This configure script is free software; the Free Software Foundation
1422 gives unlimited permission to copy, distribute and modify it.
1423 _ACEOF
1424 exit
1427 ## ------------------------ ##
1428 ## Autoconf initialization. ##
1429 ## ------------------------ ##
1431 # ac_fn_c_try_compile LINENO
1432 # --------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_c_try_compile ()
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 rm -f conftest.$ac_objext
1438 if { { ac_try="$ac_compile"
1439 case "(($ac_try" in
1440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1442 esac
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1446 ac_status=$?
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_c_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.$ac_objext; then :
1457 ac_retval=0
1458 else
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1462 ac_retval=1
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status $ac_retval
1467 } # ac_fn_c_try_compile
1469 # ac_fn_cxx_try_compile LINENO
1470 # ----------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_cxx_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1477 case "(($ac_try" in
1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1480 esac
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1484 ac_status=$?
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_cxx_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1495 ac_retval=0
1496 else
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1500 ac_retval=1
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_cxx_try_compile
1506 cat >config.log <<_ACEOF
1507 This file contains any messages produced by compilers while
1508 running configure, to aid debugging if configure makes a mistake.
1510 It was created by GNU DejaGnu $as_me 1.6.3-git, which was
1511 generated by GNU Autoconf 2.69. Invocation command line was
1513 $ $0 $@
1515 _ACEOF
1516 exec 5>>config.log
1518 cat <<_ASUNAME
1519 ## --------- ##
1520 ## Platform. ##
1521 ## --------- ##
1523 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1524 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1525 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1526 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1527 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1529 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1530 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1532 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1533 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1534 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1535 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1536 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1537 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1538 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1540 _ASUNAME
1542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 for as_dir in $PATH
1545 IFS=$as_save_IFS
1546 test -z "$as_dir" && as_dir=.
1547 $as_echo "PATH: $as_dir"
1548 done
1549 IFS=$as_save_IFS
1551 } >&5
1553 cat >&5 <<_ACEOF
1556 ## ----------- ##
1557 ## Core tests. ##
1558 ## ----------- ##
1560 _ACEOF
1563 # Keep a trace of the command line.
1564 # Strip out --no-create and --no-recursion so they do not pile up.
1565 # Strip out --silent because we don't want to record it for future runs.
1566 # Also quote any args containing shell meta-characters.
1567 # Make two passes to allow for proper duplicate-argument suppression.
1568 ac_configure_args=
1569 ac_configure_args0=
1570 ac_configure_args1=
1571 ac_must_keep_next=false
1572 for ac_pass in 1 2
1574 for ac_arg
1576 case $ac_arg in
1577 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1579 | -silent | --silent | --silen | --sile | --sil)
1580 continue ;;
1581 *\'*)
1582 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1583 esac
1584 case $ac_pass in
1585 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1587 as_fn_append ac_configure_args1 " '$ac_arg'"
1588 if test $ac_must_keep_next = true; then
1589 ac_must_keep_next=false # Got value, back to normal.
1590 else
1591 case $ac_arg in
1592 *=* | --config-cache | -C | -disable-* | --disable-* \
1593 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1594 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1595 | -with-* | --with-* | -without-* | --without-* | --x)
1596 case "$ac_configure_args0 " in
1597 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1598 esac
1600 -* ) ac_must_keep_next=true ;;
1601 esac
1603 as_fn_append ac_configure_args " '$ac_arg'"
1605 esac
1606 done
1607 done
1608 { ac_configure_args0=; unset ac_configure_args0;}
1609 { ac_configure_args1=; unset ac_configure_args1;}
1611 # When interrupted or exit'd, cleanup temporary files, and complete
1612 # config.log. We remove comments because anyway the quotes in there
1613 # would cause problems or look ugly.
1614 # WARNING: Use '\'' to represent an apostrophe within the trap.
1615 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 trap 'exit_status=$?
1617 # Save into config.log some information that might help in debugging.
1619 echo
1621 $as_echo "## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##"
1624 echo
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1629 case $ac_val in #(
1630 *${as_nl}*)
1631 case $ac_var in #(
1632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1634 esac
1635 case $ac_var in #(
1636 _ | IFS | as_nl) ;; #(
1637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1638 *) { eval $ac_var=; unset $ac_var;} ;;
1639 esac ;;
1640 esac
1641 done
1642 (set) 2>&1 |
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1645 sed -n \
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 ;; #(
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652 esac |
1653 sort
1655 echo
1657 $as_echo "## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##"
1660 echo
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1664 case $ac_val in
1665 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 esac
1667 $as_echo "$ac_var='\''$ac_val'\''"
1668 done | sort
1669 echo
1671 if test -n "$ac_subst_files"; then
1672 $as_echo "## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##"
1675 echo
1676 for ac_var in $ac_subst_files
1678 eval ac_val=\$$ac_var
1679 case $ac_val in
1680 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 esac
1682 $as_echo "$ac_var='\''$ac_val'\''"
1683 done | sort
1684 echo
1687 if test -s confdefs.h; then
1688 $as_echo "## ----------- ##
1689 ## confdefs.h. ##
1690 ## ----------- ##"
1691 echo
1692 cat confdefs.h
1693 echo
1695 test "$ac_signal" != 0 &&
1696 $as_echo "$as_me: caught signal $ac_signal"
1697 $as_echo "$as_me: exit $exit_status"
1698 } >&5
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1701 exit $exit_status
1703 for ac_signal in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1705 done
1706 ac_signal=0
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest* confdefs.h
1711 $as_echo "/* confdefs.h */" > confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1717 _ACEOF
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1725 _ACEOF
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_STRING "$PACKAGE_STRING"
1729 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1733 _ACEOF
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_URL "$PACKAGE_URL"
1737 _ACEOF
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1742 ac_site_file1=NONE
1743 ac_site_file2=NONE
1744 if test -n "$CONFIG_SITE"; then
1745 # We do not want a PATH search for config.site.
1746 case $CONFIG_SITE in #((
1747 -*) ac_site_file1=./$CONFIG_SITE;;
1748 */*) ac_site_file1=$CONFIG_SITE;;
1749 *) ac_site_file1=./$CONFIG_SITE;;
1750 esac
1751 elif test "x$prefix" != xNONE; then
1752 ac_site_file1=$prefix/share/config.site
1753 ac_site_file2=$prefix/etc/config.site
1754 else
1755 ac_site_file1=$ac_default_prefix/share/config.site
1756 ac_site_file2=$ac_default_prefix/etc/config.site
1758 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1760 test "x$ac_site_file" = xNONE && continue
1761 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1765 . "$ac_site_file" \
1766 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1768 as_fn_error $? "failed to load site script $ac_site_file
1769 See \`config.log' for more details" "$LINENO" 5; }
1771 done
1773 if test -r "$cache_file"; then
1774 # Some versions of bash will fail to source /dev/null (special files
1775 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1776 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1778 $as_echo "$as_me: loading cache $cache_file" >&6;}
1779 case $cache_file in
1780 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1781 *) . "./$cache_file";;
1782 esac
1784 else
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1786 $as_echo "$as_me: creating cache $cache_file" >&6;}
1787 >$cache_file
1790 # Check that the precious variables saved in the cache have kept the same
1791 # value.
1792 ac_cache_corrupted=false
1793 for ac_var in $ac_precious_vars; do
1794 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1795 eval ac_new_set=\$ac_env_${ac_var}_set
1796 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1797 eval ac_new_val=\$ac_env_${ac_var}_value
1798 case $ac_old_set,$ac_new_set in
1799 set,)
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1801 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802 ac_cache_corrupted=: ;;
1803 ,set)
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1807 ,);;
1809 if test "x$ac_old_val" != "x$ac_new_val"; then
1810 # differences in whitespace do not lead to failure.
1811 ac_old_val_w=`echo x $ac_old_val`
1812 ac_new_val_w=`echo x $ac_new_val`
1813 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1815 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1816 ac_cache_corrupted=:
1817 else
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1819 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1820 eval $ac_var=\$ac_old_val
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1823 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1825 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1826 fi;;
1827 esac
1828 # Pass precious variables to config.status.
1829 if test "$ac_new_set" = set; then
1830 case $ac_new_val in
1831 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832 *) ac_arg=$ac_var=$ac_new_val ;;
1833 esac
1834 case " $ac_configure_args " in
1835 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1836 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1837 esac
1839 done
1840 if $ac_cache_corrupted; then
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1844 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1845 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1847 ## -------------------- ##
1848 ## Main body of script. ##
1849 ## -------------------- ##
1851 ac_ext=c
1852 ac_cpp='$CPP $CPPFLAGS'
1853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1858 am__api_version='1.15'
1860 ac_aux_dir=
1861 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1862 if test -f "$ac_dir/install-sh"; then
1863 ac_aux_dir=$ac_dir
1864 ac_install_sh="$ac_aux_dir/install-sh -c"
1865 break
1866 elif test -f "$ac_dir/install.sh"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/install.sh -c"
1869 break
1870 elif test -f "$ac_dir/shtool"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/shtool install -c"
1873 break
1875 done
1876 if test -z "$ac_aux_dir"; then
1877 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1880 # These three variables are undocumented and unsupported,
1881 # and are intended to be withdrawn in a future Autoconf release.
1882 # They can cause serious problems if a builder's source tree is in a directory
1883 # whose full name contains unusual characters.
1884 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1885 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1886 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 # Find a good install program. We prefer a C program (faster),
1890 # so one script is as good as another. But avoid the broken or
1891 # incompatible versions:
1892 # SysV /etc/install, /usr/sbin/install
1893 # SunOS /usr/etc/install
1894 # IRIX /sbin/install
1895 # AIX /bin/install
1896 # AmigaOS /C/install, which installs bootblocks on floppy discs
1897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1900 # OS/2's system install, which has a completely different semantic
1901 # ./install, which can be erroneously created by make from ./install.sh.
1902 # Reject install programs that cannot install multiple files.
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1904 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1905 if test -z "$INSTALL"; then
1906 if ${ac_cv_path_install+:} false; then :
1907 $as_echo_n "(cached) " >&6
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 # Account for people who put trailing slashes in PATH elements.
1915 case $as_dir/ in #((
1916 ./ | .// | /[cC]/* | \
1917 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1918 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1919 /usr/ucb/* ) ;;
1921 # OSF1 and SCO ODT 3.0 have their own names for install.
1922 # Don't use installbsd from OSF since it installs stuff as root
1923 # by default.
1924 for ac_prog in ginstall scoinst install; do
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1927 if test $ac_prog = install &&
1928 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1929 # AIX install. It has an incompatible calling convention.
1931 elif test $ac_prog = install &&
1932 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1933 # program-specific install script used by HP pwplus--don't use.
1935 else
1936 rm -rf conftest.one conftest.two conftest.dir
1937 echo one > conftest.one
1938 echo two > conftest.two
1939 mkdir conftest.dir
1940 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1941 test -s conftest.one && test -s conftest.two &&
1942 test -s conftest.dir/conftest.one &&
1943 test -s conftest.dir/conftest.two
1944 then
1945 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1946 break 3
1950 done
1951 done
1953 esac
1955 done
1956 IFS=$as_save_IFS
1958 rm -rf conftest.one conftest.two conftest.dir
1961 if test "${ac_cv_path_install+set}" = set; then
1962 INSTALL=$ac_cv_path_install
1963 else
1964 # As a last resort, use the slow shell script. Don't cache a
1965 # value for INSTALL within a source directory, because that will
1966 # break other packages using the cache if that directory is
1967 # removed, or if the value is a relative name.
1968 INSTALL=$ac_install_sh
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1972 $as_echo "$INSTALL" >&6; }
1974 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1975 # It thinks the first close brace ends the variable substitution.
1976 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1978 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1980 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1983 $as_echo_n "checking whether build environment is sane... " >&6; }
1984 # Reject unsafe characters in $srcdir or the absolute working directory
1985 # name. Accept space and tab only in the latter.
1986 am_lf='
1988 case `pwd` in
1989 *[\\\"\#\$\&\'\`$am_lf]*)
1990 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1991 esac
1992 case $srcdir in
1993 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1994 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1995 esac
1997 # Do 'set' in a subshell so we don't clobber the current shell's
1998 # arguments. Must try -L first in case configure is actually a
1999 # symlink; some systems play weird games with the mod time of symlinks
2000 # (eg FreeBSD returns the mod time of the symlink's containing
2001 # directory).
2002 if (
2003 am_has_slept=no
2004 for am_try in 1 2; do
2005 echo "timestamp, slept: $am_has_slept" > conftest.file
2006 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2007 if test "$*" = "X"; then
2008 # -L didn't work.
2009 set X `ls -t "$srcdir/configure" conftest.file`
2011 if test "$*" != "X $srcdir/configure conftest.file" \
2012 && test "$*" != "X conftest.file $srcdir/configure"; then
2014 # If neither matched, then we have a broken ls. This can happen
2015 # if, for instance, CONFIG_SHELL is bash and it inherits a
2016 # broken ls alias from the environment. This has actually
2017 # happened. Such a system could not be considered "sane".
2018 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2019 alias in your environment" "$LINENO" 5
2021 if test "$2" = conftest.file || test $am_try -eq 2; then
2022 break
2024 # Just in case.
2025 sleep 1
2026 am_has_slept=yes
2027 done
2028 test "$2" = conftest.file
2030 then
2031 # Ok.
2033 else
2034 as_fn_error $? "newly created file is older than distributed files!
2035 Check your system clock" "$LINENO" 5
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2038 $as_echo "yes" >&6; }
2039 # If we didn't sleep, we still need to ensure time stamps of config.status and
2040 # generated files are strictly newer.
2041 am_sleep_pid=
2042 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2043 ( sleep 1 ) &
2044 am_sleep_pid=$!
2047 rm -f conftest.file
2049 test "$program_prefix" != NONE &&
2050 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2051 # Use a double $ so make ignores it.
2052 test "$program_suffix" != NONE &&
2053 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2054 # Double any \ or $.
2055 # By default was `s,x,x', remove it if useless.
2056 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2057 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2059 # Expand $ac_aux_dir to an absolute path.
2060 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2062 if test x"${MISSING+set}" != xset; then
2063 case $am_aux_dir in
2064 *\ * | *\ *)
2065 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2067 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2068 esac
2070 # Use eval to expand $SHELL
2071 if eval "$MISSING --is-lightweight"; then
2072 am_missing_run="$MISSING "
2073 else
2074 am_missing_run=
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2076 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2079 if test x"${install_sh+set}" != xset; then
2080 case $am_aux_dir in
2081 *\ * | *\ *)
2082 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2084 install_sh="\${SHELL} $am_aux_dir/install-sh"
2085 esac
2088 # Installed binaries are usually stripped using 'strip' when the user
2089 # run "make install-strip". However 'strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the 'STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no; then
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}strip; ac_word=$2
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2097 $as_echo_n "checking for $ac_word... " >&6; }
2098 if ${ac_cv_prog_STRIP+:} false; then :
2099 $as_echo_n "(cached) " >&6
2100 else
2101 if test -n "$STRIP"; then
2102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2103 else
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2107 IFS=$as_save_IFS
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 break 2
2115 done
2116 done
2117 IFS=$as_save_IFS
2121 STRIP=$ac_cv_prog_STRIP
2122 if test -n "$STRIP"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2124 $as_echo "$STRIP" >&6; }
2125 else
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2127 $as_echo "no" >&6; }
2132 if test -z "$ac_cv_prog_STRIP"; then
2133 ac_ct_STRIP=$STRIP
2134 # Extract the first word of "strip", so it can be a program name with args.
2135 set dummy strip; ac_word=$2
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2137 $as_echo_n "checking for $ac_word... " >&6; }
2138 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2139 $as_echo_n "(cached) " >&6
2140 else
2141 if test -n "$ac_ct_STRIP"; then
2142 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_ac_ct_STRIP="strip"
2152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 break 2
2155 done
2156 done
2157 IFS=$as_save_IFS
2161 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2162 if test -n "$ac_ct_STRIP"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2164 $as_echo "$ac_ct_STRIP" >&6; }
2165 else
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2167 $as_echo "no" >&6; }
2170 if test "x$ac_ct_STRIP" = x; then
2171 STRIP=":"
2172 else
2173 case $cross_compiling:$ac_tool_warned in
2174 yes:)
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2177 ac_tool_warned=yes ;;
2178 esac
2179 STRIP=$ac_ct_STRIP
2181 else
2182 STRIP="$ac_cv_prog_STRIP"
2186 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2189 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2190 if test -z "$MKDIR_P"; then
2191 if ${ac_cv_path_mkdir+:} false; then :
2192 $as_echo_n "(cached) " >&6
2193 else
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_prog in mkdir gmkdir; do
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2202 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2203 'mkdir (GNU coreutils) '* | \
2204 'mkdir (coreutils) '* | \
2205 'mkdir (fileutils) '4.1*)
2206 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2207 break 3;;
2208 esac
2209 done
2210 done
2211 done
2212 IFS=$as_save_IFS
2216 test -d ./--version && rmdir ./--version
2217 if test "${ac_cv_path_mkdir+set}" = set; then
2218 MKDIR_P="$ac_cv_path_mkdir -p"
2219 else
2220 # As a last resort, use the slow shell script. Don't cache a
2221 # value for MKDIR_P within a source directory, because that will
2222 # break other packages using the cache if that directory is
2223 # removed, or if the value is a relative name.
2224 MKDIR_P="$ac_install_sh -d"
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2228 $as_echo "$MKDIR_P" >&6; }
2230 for ac_prog in gawk mawk nawk awk
2232 # Extract the first word of "$ac_prog", so it can be a program name with args.
2233 set dummy $ac_prog; ac_word=$2
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2235 $as_echo_n "checking for $ac_word... " >&6; }
2236 if ${ac_cv_prog_AWK+:} false; then :
2237 $as_echo_n "(cached) " >&6
2238 else
2239 if test -n "$AWK"; then
2240 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2241 else
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 for as_dir in $PATH
2245 IFS=$as_save_IFS
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2249 ac_cv_prog_AWK="$ac_prog"
2250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 break 2
2253 done
2254 done
2255 IFS=$as_save_IFS
2259 AWK=$ac_cv_prog_AWK
2260 if test -n "$AWK"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2262 $as_echo "$AWK" >&6; }
2263 else
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2265 $as_echo "no" >&6; }
2269 test -n "$AWK" && break
2270 done
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2273 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2274 set x ${MAKE-make}
2275 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2276 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2277 $as_echo_n "(cached) " >&6
2278 else
2279 cat >conftest.make <<\_ACEOF
2280 SHELL = /bin/sh
2281 all:
2282 @echo '@@@%%%=$(MAKE)=@@@%%%'
2283 _ACEOF
2284 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2285 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2286 *@@@%%%=?*=@@@%%%*)
2287 eval ac_cv_prog_make_${ac_make}_set=yes;;
2289 eval ac_cv_prog_make_${ac_make}_set=no;;
2290 esac
2291 rm -f conftest.make
2293 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295 $as_echo "yes" >&6; }
2296 SET_MAKE=
2297 else
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299 $as_echo "no" >&6; }
2300 SET_MAKE="MAKE=${MAKE-make}"
2303 rm -rf .tst 2>/dev/null
2304 mkdir .tst 2>/dev/null
2305 if test -d .tst; then
2306 am__leading_dot=.
2307 else
2308 am__leading_dot=_
2310 rmdir .tst 2>/dev/null
2312 # Check whether --enable-silent-rules was given.
2313 if test "${enable_silent_rules+set}" = set; then :
2314 enableval=$enable_silent_rules;
2317 case $enable_silent_rules in # (((
2318 yes) AM_DEFAULT_VERBOSITY=0;;
2319 no) AM_DEFAULT_VERBOSITY=1;;
2320 *) AM_DEFAULT_VERBOSITY=1;;
2321 esac
2322 am_make=${MAKE-make}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2324 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2325 if ${am_cv_make_support_nested_variables+:} false; then :
2326 $as_echo_n "(cached) " >&6
2327 else
2328 if $as_echo 'TRUE=$(BAR$(V))
2329 BAR0=false
2330 BAR1=true
2332 am__doit:
2333 @$(TRUE)
2334 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2335 am_cv_make_support_nested_variables=yes
2336 else
2337 am_cv_make_support_nested_variables=no
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2341 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2342 if test $am_cv_make_support_nested_variables = yes; then
2343 AM_V='$(V)'
2344 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2345 else
2346 AM_V=$AM_DEFAULT_VERBOSITY
2347 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2349 AM_BACKSLASH='\'
2351 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2352 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2353 # is not polluted with repeated "-I."
2354 am__isrc=' -I$(srcdir)'
2355 # test to see if srcdir already configured
2356 if test -f $srcdir/config.status; then
2357 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2361 # test whether we have cygpath
2362 if test -z "$CYGPATH_W"; then
2363 if (cygpath --version) >/dev/null 2>/dev/null; then
2364 CYGPATH_W='cygpath -w'
2365 else
2366 CYGPATH_W=echo
2371 # Define the identity of the package.
2372 PACKAGE='dejagnu'
2373 VERSION='1.6.3-git'
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE "$PACKAGE"
2378 _ACEOF
2381 cat >>confdefs.h <<_ACEOF
2382 #define VERSION "$VERSION"
2383 _ACEOF
2385 # Some tools Automake needs.
2387 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2390 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2393 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2396 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2399 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2401 # For better backward compatibility. To be removed once Automake 1.9.x
2402 # dies out for good. For more background, see:
2403 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2404 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2405 mkdir_p='$(MKDIR_P)'
2407 # We need awk for the "check" target (and possibly the TAP driver). The
2408 # system "awk" is bad on some platforms.
2409 # Always define AMTAR for backward compatibility. Yes, it's still used
2410 # in the wild :-( We should find a proper way to deprecate it ...
2411 AMTAR='$${TAR-tar}'
2414 # We'll loop over all known methods to create a tar archive until one works.
2415 _am_tools='gnutar pax cpio none'
2417 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2424 # POSIX will say in a future version that running "rm -f" with no argument
2425 # is OK; and we want to be able to make that assumption in our Makefile
2426 # recipes. So use an aggressive probe to check that the usage we want is
2427 # actually supported "in the wild" to an acceptable degree.
2428 # See automake bug#10828.
2429 # To make any issue more visible, cause the running configure to be aborted
2430 # by default if the 'rm' program in use doesn't match our expectations; the
2431 # user can still override this though.
2432 if rm -f && rm -fr && rm -rf; then : OK; else
2433 cat >&2 <<'END'
2434 Oops!
2436 Your 'rm' program seems unable to run without file operands specified
2437 on the command line, even when the '-f' option is present. This is contrary
2438 to the behaviour of most rm programs out there, and not conforming with
2439 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2441 Please tell bug-automake@gnu.org about your system, including the value
2442 of your $PATH and any error possibly output before this message. This
2443 can help us improve future automake versions.
2446 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2447 echo 'Configuration will proceed anyway, since you have set the' >&2
2448 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2449 echo >&2
2450 else
2451 cat >&2 <<'END'
2452 Aborting the configuration process, to ensure you take notice of the issue.
2454 You can download and install GNU coreutils to get an 'rm' implementation
2455 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2457 If you want to complete the configuration process using your problematic
2458 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2459 to "yes", and re-run configure.
2462 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2468 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2469 # Check whether --enable-maintainer-mode was given.
2470 if test "${enable_maintainer_mode+set}" = set; then :
2471 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2472 else
2473 USE_MAINTAINER_MODE=no
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2477 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2478 if test $USE_MAINTAINER_MODE = yes; then
2479 MAINTAINER_MODE_TRUE=
2480 MAINTAINER_MODE_FALSE='#'
2481 else
2482 MAINTAINER_MODE_TRUE='#'
2483 MAINTAINER_MODE_FALSE=
2486 MAINT=$MAINTAINER_MODE_TRUE
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2490 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2491 set x ${MAKE-make}
2492 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2493 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2494 $as_echo_n "(cached) " >&6
2495 else
2496 cat >conftest.make <<\_ACEOF
2497 SHELL = /bin/sh
2498 all:
2499 @echo '@@@%%%=$(MAKE)=@@@%%%'
2500 _ACEOF
2501 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2502 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2503 *@@@%%%=?*=@@@%%%*)
2504 eval ac_cv_prog_make_${ac_make}_set=yes;;
2506 eval ac_cv_prog_make_${ac_make}_set=no;;
2507 esac
2508 rm -f conftest.make
2510 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512 $as_echo "yes" >&6; }
2513 SET_MAKE=
2514 else
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2517 SET_MAKE="MAKE=${MAKE-make}"
2521 for ac_prog in gawk mawk nawk awk
2523 # Extract the first word of "$ac_prog", so it can be a program name with args.
2524 set dummy $ac_prog; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_AWK+:} false; then :
2528 $as_echo_n "(cached) " >&6
2529 else
2530 if test -n "$AWK"; then
2531 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2532 else
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 for as_dir in $PATH
2536 IFS=$as_save_IFS
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_AWK="$ac_prog"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 break 2
2544 done
2545 done
2546 IFS=$as_save_IFS
2550 AWK=$ac_cv_prog_AWK
2551 if test -n "$AWK"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2553 $as_echo "$AWK" >&6; }
2554 else
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2560 test -n "$AWK" && break
2561 done
2563 ac_ext=c
2564 ac_cpp='$CPP $CPPFLAGS'
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568 if test -n "$ac_tool_prefix"; then
2569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_CC+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC="$CC" # Let the user override the test.
2578 else
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 for as_dir in $PATH
2582 IFS=$as_save_IFS
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 break 2
2590 done
2591 done
2592 IFS=$as_save_IFS
2596 CC=$ac_cv_prog_CC
2597 if test -n "$CC"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2599 $as_echo "$CC" >&6; }
2600 else
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2607 if test -z "$ac_cv_prog_CC"; then
2608 ac_ct_CC=$CC
2609 # Extract the first word of "gcc", so it can be a program name with args.
2610 set dummy gcc; ac_word=$2
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2612 $as_echo_n "checking for $ac_word... " >&6; }
2613 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2614 $as_echo_n "(cached) " >&6
2615 else
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2618 else
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 for as_dir in $PATH
2622 IFS=$as_save_IFS
2623 test -z "$as_dir" && as_dir=.
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_ac_ct_CC="gcc"
2627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 break 2
2630 done
2631 done
2632 IFS=$as_save_IFS
2636 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2637 if test -n "$ac_ct_CC"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2639 $as_echo "$ac_ct_CC" >&6; }
2640 else
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2645 if test "x$ac_ct_CC" = x; then
2646 CC=""
2647 else
2648 case $cross_compiling:$ac_tool_warned in
2649 yes:)
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2652 ac_tool_warned=yes ;;
2653 esac
2654 CC=$ac_ct_CC
2656 else
2657 CC="$ac_cv_prog_CC"
2660 if test -z "$CC"; then
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}cc; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_prog_CC+:} false; then :
2667 $as_echo_n "(cached) " >&6
2668 else
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2671 else
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 for as_dir in $PATH
2675 IFS=$as_save_IFS
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2679 ac_cv_prog_CC="${ac_tool_prefix}cc"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 break 2
2683 done
2684 done
2685 IFS=$as_save_IFS
2689 CC=$ac_cv_prog_CC
2690 if test -n "$CC"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2692 $as_echo "$CC" >&6; }
2693 else
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2701 if test -z "$CC"; then
2702 # Extract the first word of "cc", so it can be a program name with args.
2703 set dummy cc; ac_word=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if ${ac_cv_prog_CC+:} false; then :
2707 $as_echo_n "(cached) " >&6
2708 else
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC="$CC" # Let the user override the test.
2711 else
2712 ac_prog_rejected=no
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH
2716 IFS=$as_save_IFS
2717 test -z "$as_dir" && as_dir=.
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2721 ac_prog_rejected=yes
2722 continue
2724 ac_cv_prog_CC="cc"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 break 2
2728 done
2729 done
2730 IFS=$as_save_IFS
2732 if test $ac_prog_rejected = yes; then
2733 # We found a bogon in the path, so make sure we never use it.
2734 set dummy $ac_cv_prog_CC
2735 shift
2736 if test $# != 0; then
2737 # We chose a different compiler from the bogus one.
2738 # However, it has the same basename, so the bogon will be chosen
2739 # first if we set CC to just the basename; use the full file name.
2740 shift
2741 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2746 CC=$ac_cv_prog_CC
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2750 else
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$CC"; then
2758 if test -n "$ac_tool_prefix"; then
2759 for ac_prog in cl.exe
2761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_CC+:} false; then :
2766 $as_echo_n "(cached) " >&6
2767 else
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC="$CC" # Let the user override the test.
2770 else
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH
2774 IFS=$as_save_IFS
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 break 2
2782 done
2783 done
2784 IFS=$as_save_IFS
2788 CC=$ac_cv_prog_CC
2789 if test -n "$CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2791 $as_echo "$CC" >&6; }
2792 else
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2798 test -n "$CC" && break
2799 done
2801 if test -z "$CC"; then
2802 ac_ct_CC=$CC
2803 for ac_prog in cl.exe
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy $ac_prog; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 if test -n "$ac_ct_CC"; then
2813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2814 else
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_ac_ct_CC="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 break 2
2826 done
2827 done
2828 IFS=$as_save_IFS
2832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2833 if test -n "$ac_ct_CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2835 $as_echo "$ac_ct_CC" >&6; }
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$ac_ct_CC" && break
2843 done
2845 if test "x$ac_ct_CC" = x; then
2846 CC=""
2847 else
2848 case $cross_compiling:$ac_tool_warned in
2849 yes:)
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2852 ac_tool_warned=yes ;;
2853 esac
2854 CC=$ac_ct_CC
2861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2863 as_fn_error $? "no acceptable C compiler found in \$PATH
2864 See \`config.log' for more details" "$LINENO" 5; }
2866 # Provide some information about the compiler.
2867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2868 set X $ac_compile
2869 ac_compiler=$2
2870 for ac_option in --version -v -V -qversion; do
2871 { { ac_try="$ac_compiler $ac_option >&5"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2879 ac_status=$?
2880 if test -s conftest.err; then
2881 sed '10a\
2882 ... rest of stderr output deleted ...
2883 10q' conftest.err >conftest.er1
2884 cat conftest.er1 >&5
2886 rm -f conftest.er1 conftest.err
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }
2889 done
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2895 main ()
2899 return 0;
2901 _ACEOF
2902 ac_clean_files_save=$ac_clean_files
2903 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2904 # Try to create an executable without -o first, disregard a.out.
2905 # It will help us diagnose broken compilers, and finding out an intuition
2906 # of exeext.
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2908 $as_echo_n "checking whether the C compiler works... " >&6; }
2909 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2911 # The possible output files:
2912 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2914 ac_rmfiles=
2915 for ac_file in $ac_files
2917 case $ac_file in
2918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2919 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2920 esac
2921 done
2922 rm -f $ac_rmfiles
2924 if { { ac_try="$ac_link_default"
2925 case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_link_default") 2>&5
2932 ac_status=$?
2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2934 test $ac_status = 0; }; then :
2935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2938 # so that the user can short-circuit this test for compilers unknown to
2939 # Autoconf.
2940 for ac_file in $ac_files ''
2942 test -f "$ac_file" || continue
2943 case $ac_file in
2944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2946 [ab].out )
2947 # We found the default executable, but exeext='' is most
2948 # certainly right.
2949 break;;
2950 *.* )
2951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2952 then :; else
2953 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2955 # We set ac_cv_exeext here because the later test for it is not
2956 # safe: cross compilers may not add the suffix if given an `-o'
2957 # argument, so we may need to know it at that point already.
2958 # Even if this section looks crufty: it has the advantage of
2959 # actually working.
2960 break;;
2962 break;;
2963 esac
2964 done
2965 test "$ac_cv_exeext" = no && ac_cv_exeext=
2967 else
2968 ac_file=''
2970 if test -z "$ac_file"; then :
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2978 as_fn_error 77 "C compiler cannot create executables
2979 See \`config.log' for more details" "$LINENO" 5; }
2980 else
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2982 $as_echo "yes" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2985 $as_echo_n "checking for C compiler default output file name... " >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2987 $as_echo "$ac_file" >&6; }
2988 ac_exeext=$ac_cv_exeext
2990 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2991 ac_clean_files=$ac_clean_files_save
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2993 $as_echo_n "checking for suffix of executables... " >&6; }
2994 if { { ac_try="$ac_link"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>&5
3002 ac_status=$?
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }; then :
3005 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3006 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3007 # work properly (i.e., refer to `conftest.exe'), while it won't with
3008 # `rm'.
3009 for ac_file in conftest.exe conftest conftest.*; do
3010 test -f "$ac_file" || continue
3011 case $ac_file in
3012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3013 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3014 break;;
3015 * ) break;;
3016 esac
3017 done
3018 else
3019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3021 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3022 See \`config.log' for more details" "$LINENO" 5; }
3024 rm -f conftest conftest$ac_cv_exeext
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3026 $as_echo "$ac_cv_exeext" >&6; }
3028 rm -f conftest.$ac_ext
3029 EXEEXT=$ac_cv_exeext
3030 ac_exeext=$EXEEXT
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3033 #include <stdio.h>
3035 main ()
3037 FILE *f = fopen ("conftest.out", "w");
3038 return ferror (f) || fclose (f) != 0;
3041 return 0;
3043 _ACEOF
3044 ac_clean_files="$ac_clean_files conftest.out"
3045 # Check that the compiler produces executables we can run. If not, either
3046 # the compiler is broken, or we cross compile.
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3048 $as_echo_n "checking whether we are cross compiling... " >&6; }
3049 if test "$cross_compiling" != yes; then
3050 { { ac_try="$ac_link"
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_link") 2>&5
3058 ac_status=$?
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }
3061 if { ac_try='./conftest$ac_cv_exeext'
3062 { { case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_try") 2>&5
3069 ac_status=$?
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }; }; then
3072 cross_compiling=no
3073 else
3074 if test "$cross_compiling" = maybe; then
3075 cross_compiling=yes
3076 else
3077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 as_fn_error $? "cannot run C compiled programs.
3080 If you meant to cross compile, use \`--host'.
3081 See \`config.log' for more details" "$LINENO" 5; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3086 $as_echo "$cross_compiling" >&6; }
3088 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3089 ac_clean_files=$ac_clean_files_save
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3091 $as_echo_n "checking for suffix of object files... " >&6; }
3092 if ${ac_cv_objext+:} false; then :
3093 $as_echo_n "(cached) " >&6
3094 else
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3099 main ()
3103 return 0;
3105 _ACEOF
3106 rm -f conftest.o conftest.obj
3107 if { { ac_try="$ac_compile"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_compile") 2>&5
3115 ac_status=$?
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 for ac_file in conftest.o conftest.obj conftest.*; do
3119 test -f "$ac_file" || continue;
3120 case $ac_file in
3121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3122 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3123 break;;
3124 esac
3125 done
3126 else
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 as_fn_error $? "cannot compute suffix of object files: cannot compile
3133 See \`config.log' for more details" "$LINENO" 5; }
3135 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3138 $as_echo "$ac_cv_objext" >&6; }
3139 OBJEXT=$ac_cv_objext
3140 ac_objext=$OBJEXT
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3142 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3143 if ${ac_cv_c_compiler_gnu+:} false; then :
3144 $as_echo_n "(cached) " >&6
3145 else
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3150 main ()
3152 #ifndef __GNUC__
3153 choke me
3154 #endif
3157 return 0;
3159 _ACEOF
3160 if ac_fn_c_try_compile "$LINENO"; then :
3161 ac_compiler_gnu=yes
3162 else
3163 ac_compiler_gnu=no
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3170 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3171 if test $ac_compiler_gnu = yes; then
3172 GCC=yes
3173 else
3174 GCC=
3176 ac_test_CFLAGS=${CFLAGS+set}
3177 ac_save_CFLAGS=$CFLAGS
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3179 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3180 if ${ac_cv_prog_cc_g+:} false; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 ac_save_c_werror_flag=$ac_c_werror_flag
3184 ac_c_werror_flag=yes
3185 ac_cv_prog_cc_g=no
3186 CFLAGS="-g"
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3191 main ()
3195 return 0;
3197 _ACEOF
3198 if ac_fn_c_try_compile "$LINENO"; then :
3199 ac_cv_prog_cc_g=yes
3200 else
3201 CFLAGS=""
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3206 main ()
3210 return 0;
3212 _ACEOF
3213 if ac_fn_c_try_compile "$LINENO"; then :
3215 else
3216 ac_c_werror_flag=$ac_save_c_werror_flag
3217 CFLAGS="-g"
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 if ac_fn_c_try_compile "$LINENO"; then :
3230 ac_cv_prog_cc_g=yes
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_c_werror_flag=$ac_save_c_werror_flag
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3240 $as_echo "$ac_cv_prog_cc_g" >&6; }
3241 if test "$ac_test_CFLAGS" = set; then
3242 CFLAGS=$ac_save_CFLAGS
3243 elif test $ac_cv_prog_cc_g = yes; then
3244 if test "$GCC" = yes; then
3245 CFLAGS="-g -O2"
3246 else
3247 CFLAGS="-g"
3249 else
3250 if test "$GCC" = yes; then
3251 CFLAGS="-O2"
3252 else
3253 CFLAGS=
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3257 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3258 if ${ac_cv_prog_cc_c89+:} false; then :
3259 $as_echo_n "(cached) " >&6
3260 else
3261 ac_cv_prog_cc_c89=no
3262 ac_save_CC=$CC
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3265 #include <stdarg.h>
3266 #include <stdio.h>
3267 struct stat;
3268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3269 struct buf { int x; };
3270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3271 static char *e (p, i)
3272 char **p;
3273 int i;
3275 return p[i];
3277 static char *f (char * (*g) (char **, int), char **p, ...)
3279 char *s;
3280 va_list v;
3281 va_start (v,p);
3282 s = g (p, va_arg (v,int));
3283 va_end (v);
3284 return s;
3287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3288 function prototypes and stuff, but not '\xHH' hex character constants.
3289 These don't provoke an error unfortunately, instead are silently treated
3290 as 'x'. The following induces an error, until -std is added to get
3291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3292 array size at least. It's necessary to write '\x00'==0 to get something
3293 that's true only with -std. */
3294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3297 inside strings and character constants. */
3298 #define FOO(x) 'x'
3299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3301 int test (int i, double x);
3302 struct s1 {int (*f) (int a);};
3303 struct s2 {int (*f) (double a);};
3304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3305 int argc;
3306 char **argv;
3308 main ()
3310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3312 return 0;
3314 _ACEOF
3315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3318 CC="$ac_save_CC $ac_arg"
3319 if ac_fn_c_try_compile "$LINENO"; then :
3320 ac_cv_prog_cc_c89=$ac_arg
3322 rm -f core conftest.err conftest.$ac_objext
3323 test "x$ac_cv_prog_cc_c89" != "xno" && break
3324 done
3325 rm -f conftest.$ac_ext
3326 CC=$ac_save_CC
3329 # AC_CACHE_VAL
3330 case "x$ac_cv_prog_cc_c89" in
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3333 $as_echo "none needed" >&6; } ;;
3334 xno)
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3336 $as_echo "unsupported" >&6; } ;;
3338 CC="$CC $ac_cv_prog_cc_c89"
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3341 esac
3342 if test "x$ac_cv_prog_cc_c89" != xno; then :
3346 ac_ext=c
3347 ac_cpp='$CPP $CPPFLAGS'
3348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352 ac_ext=c
3353 ac_cpp='$CPP $CPPFLAGS'
3354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3358 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3359 if ${am_cv_prog_cc_c_o+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3366 main ()
3370 return 0;
3372 _ACEOF
3373 # Make sure it works both with $CC and with simple cc.
3374 # Following AC_PROG_CC_C_O, we do the test twice because some
3375 # compilers refuse to overwrite an existing .o file with -o,
3376 # though they will create one.
3377 am_cv_prog_cc_c_o=yes
3378 for am_i in 1 2; do
3379 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3380 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3381 ac_status=$?
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } \
3384 && test -f conftest2.$ac_objext; then
3385 : OK
3386 else
3387 am_cv_prog_cc_c_o=no
3388 break
3390 done
3391 rm -f core conftest*
3392 unset am_i
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3395 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3396 if test "$am_cv_prog_cc_c_o" != yes; then
3397 # Losing compiler, so override with the script.
3398 # FIXME: It is wrong to rewrite CC.
3399 # But if we don't then we get into trouble of one sort or another.
3400 # A longer-term fix would be to have automake use am__CC in this case,
3401 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3402 CC="$am_aux_dir/compile $CC"
3404 ac_ext=c
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 DEPDIR="${am__leading_dot}deps"
3412 ac_config_commands="$ac_config_commands depfiles"
3415 am_make=${MAKE-make}
3416 cat > confinc << 'END'
3417 am__doit:
3418 @echo this is the am__doit target
3419 .PHONY: am__doit
3421 # If we don't find an include directive, just comment out the code.
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3423 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3424 am__include="#"
3425 am__quote=
3426 _am_result=none
3427 # First try GNU make style include.
3428 echo "include confinc" > confmf
3429 # Ignore all kinds of additional output from 'make'.
3430 case `$am_make -s -f confmf 2> /dev/null` in #(
3431 *the\ am__doit\ target*)
3432 am__include=include
3433 am__quote=
3434 _am_result=GNU
3436 esac
3437 # Now try BSD make style include.
3438 if test "$am__include" = "#"; then
3439 echo '.include "confinc"' > confmf
3440 case `$am_make -s -f confmf 2> /dev/null` in #(
3441 *the\ am__doit\ target*)
3442 am__include=.include
3443 am__quote="\""
3444 _am_result=BSD
3446 esac
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3451 $as_echo "$_am_result" >&6; }
3452 rm -f confinc confmf
3454 # Check whether --enable-dependency-tracking was given.
3455 if test "${enable_dependency_tracking+set}" = set; then :
3456 enableval=$enable_dependency_tracking;
3459 if test "x$enable_dependency_tracking" != xno; then
3460 am_depcomp="$ac_aux_dir/depcomp"
3461 AMDEPBACKSLASH='\'
3462 am__nodep='_no'
3464 if test "x$enable_dependency_tracking" != xno; then
3465 AMDEP_TRUE=
3466 AMDEP_FALSE='#'
3467 else
3468 AMDEP_TRUE='#'
3469 AMDEP_FALSE=
3474 depcc="$CC" am_compiler_list=
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3477 $as_echo_n "checking dependency style of $depcc... " >&6; }
3478 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480 else
3481 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3482 # We make a subdir and do the tests there. Otherwise we can end up
3483 # making bogus files that we don't know about and never remove. For
3484 # instance it was reported that on HP-UX the gcc test will end up
3485 # making a dummy file named 'D' -- because '-MD' means "put the output
3486 # in D".
3487 rm -rf conftest.dir
3488 mkdir conftest.dir
3489 # Copy depcomp to subdir because otherwise we won't find it if we're
3490 # using a relative directory.
3491 cp "$am_depcomp" conftest.dir
3492 cd conftest.dir
3493 # We will build objects and dependencies in a subdirectory because
3494 # it helps to detect inapplicable dependency modes. For instance
3495 # both Tru64's cc and ICC support -MD to output dependencies as a
3496 # side effect of compilation, but ICC will put the dependencies in
3497 # the current directory while Tru64 will put them in the object
3498 # directory.
3499 mkdir sub
3501 am_cv_CC_dependencies_compiler_type=none
3502 if test "$am_compiler_list" = ""; then
3503 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3505 am__universal=false
3506 case " $depcc " in #(
3507 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3508 esac
3510 for depmode in $am_compiler_list; do
3511 # Setup a source with many dependencies, because some compilers
3512 # like to wrap large dependency lists on column 80 (with \), and
3513 # we should not choose a depcomp mode which is confused by this.
3515 # We need to recreate these files for each test, as the compiler may
3516 # overwrite some of them when testing with obscure command lines.
3517 # This happens at least with the AIX C compiler.
3518 : > sub/conftest.c
3519 for i in 1 2 3 4 5 6; do
3520 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3521 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3522 # Solaris 10 /bin/sh.
3523 echo '/* dummy */' > sub/conftst$i.h
3524 done
3525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3527 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3528 # mode. It turns out that the SunPro C++ compiler does not properly
3529 # handle '-M -o', and we need to detect this. Also, some Intel
3530 # versions had trouble with output in subdirs.
3531 am__obj=sub/conftest.${OBJEXT-o}
3532 am__minus_obj="-o $am__obj"
3533 case $depmode in
3534 gcc)
3535 # This depmode causes a compiler race in universal mode.
3536 test "$am__universal" = false || continue
3538 nosideeffect)
3539 # After this tag, mechanisms are not by side-effect, so they'll
3540 # only be used when explicitly requested.
3541 if test "x$enable_dependency_tracking" = xyes; then
3542 continue
3543 else
3544 break
3547 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3548 # This compiler won't grok '-c -o', but also, the minuso test has
3549 # not run yet. These depmodes are late enough in the game, and
3550 # so weak that their functioning should not be impacted.
3551 am__obj=conftest.${OBJEXT-o}
3552 am__minus_obj=
3554 none) break ;;
3555 esac
3556 if depmode=$depmode \
3557 source=sub/conftest.c object=$am__obj \
3558 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3559 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3560 >/dev/null 2>conftest.err &&
3561 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3562 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3563 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3564 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3565 # icc doesn't choke on unknown options, it will just issue warnings
3566 # or remarks (even with -Werror). So we grep stderr for any message
3567 # that says an option was ignored or not supported.
3568 # When given -MP, icc 7.0 and 7.1 complain thusly:
3569 # icc: Command line warning: ignoring option '-M'; no argument required
3570 # The diagnosis changed in icc 8.0:
3571 # icc: Command line remark: option '-MP' not supported
3572 if (grep 'ignoring option' conftest.err ||
3573 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3574 am_cv_CC_dependencies_compiler_type=$depmode
3575 break
3578 done
3580 cd ..
3581 rm -rf conftest.dir
3582 else
3583 am_cv_CC_dependencies_compiler_type=none
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3589 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3592 test "x$enable_dependency_tracking" != xno \
3593 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3594 am__fastdepCC_TRUE=
3595 am__fastdepCC_FALSE='#'
3596 else
3597 am__fastdepCC_TRUE='#'
3598 am__fastdepCC_FALSE=
3602 ac_ext=cpp
3603 ac_cpp='$CXXCPP $CPPFLAGS'
3604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3607 if test -z "$CXX"; then
3608 if test -n "$CCC"; then
3609 CXX=$CCC
3610 else
3611 if test -n "$ac_tool_prefix"; then
3612 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_CXX+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620 else
3621 if test -n "$CXX"; then
3622 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3623 else
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 for as_dir in $PATH
3627 IFS=$as_save_IFS
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 break 2
3635 done
3636 done
3637 IFS=$as_save_IFS
3641 CXX=$ac_cv_prog_CXX
3642 if test -n "$CXX"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3644 $as_echo "$CXX" >&6; }
3645 else
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3651 test -n "$CXX" && break
3652 done
3654 if test -z "$CXX"; then
3655 ac_ct_CXX=$CXX
3656 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3658 # Extract the first word of "$ac_prog", so it can be a program name with args.
3659 set dummy $ac_prog; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3663 $as_echo_n "(cached) " >&6
3664 else
3665 if test -n "$ac_ct_CXX"; then
3666 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3667 else
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_ac_ct_CXX="$ac_prog"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 break 2
3679 done
3680 done
3681 IFS=$as_save_IFS
3685 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3686 if test -n "$ac_ct_CXX"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3688 $as_echo "$ac_ct_CXX" >&6; }
3689 else
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3695 test -n "$ac_ct_CXX" && break
3696 done
3698 if test "x$ac_ct_CXX" = x; then
3699 CXX="g++"
3700 else
3701 case $cross_compiling:$ac_tool_warned in
3702 yes:)
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3706 esac
3707 CXX=$ac_ct_CXX
3713 # Provide some information about the compiler.
3714 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3715 set X $ac_compile
3716 ac_compiler=$2
3717 for ac_option in --version -v -V -qversion; do
3718 { { ac_try="$ac_compiler $ac_option >&5"
3719 case "(($ac_try" in
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;;
3722 esac
3723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3724 $as_echo "$ac_try_echo"; } >&5
3725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3726 ac_status=$?
3727 if test -s conftest.err; then
3728 sed '10a\
3729 ... rest of stderr output deleted ...
3730 10q' conftest.err >conftest.er1
3731 cat conftest.er1 >&5
3733 rm -f conftest.er1 conftest.err
3734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3735 test $ac_status = 0; }
3736 done
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3739 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3740 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3747 main ()
3749 #ifndef __GNUC__
3750 choke me
3751 #endif
3754 return 0;
3756 _ACEOF
3757 if ac_fn_cxx_try_compile "$LINENO"; then :
3758 ac_compiler_gnu=yes
3759 else
3760 ac_compiler_gnu=no
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3767 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3768 if test $ac_compiler_gnu = yes; then
3769 GXX=yes
3770 else
3771 GXX=
3773 ac_test_CXXFLAGS=${CXXFLAGS+set}
3774 ac_save_CXXFLAGS=$CXXFLAGS
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3776 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3777 if ${ac_cv_prog_cxx_g+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3781 ac_cxx_werror_flag=yes
3782 ac_cv_prog_cxx_g=no
3783 CXXFLAGS="-g"
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3788 main ()
3792 return 0;
3794 _ACEOF
3795 if ac_fn_cxx_try_compile "$LINENO"; then :
3796 ac_cv_prog_cxx_g=yes
3797 else
3798 CXXFLAGS=""
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3803 main ()
3807 return 0;
3809 _ACEOF
3810 if ac_fn_cxx_try_compile "$LINENO"; then :
3812 else
3813 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3814 CXXFLAGS="-g"
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3819 main ()
3823 return 0;
3825 _ACEOF
3826 if ac_fn_cxx_try_compile "$LINENO"; then :
3827 ac_cv_prog_cxx_g=yes
3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3837 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3838 if test "$ac_test_CXXFLAGS" = set; then
3839 CXXFLAGS=$ac_save_CXXFLAGS
3840 elif test $ac_cv_prog_cxx_g = yes; then
3841 if test "$GXX" = yes; then
3842 CXXFLAGS="-g -O2"
3843 else
3844 CXXFLAGS="-g"
3846 else
3847 if test "$GXX" = yes; then
3848 CXXFLAGS="-O2"
3849 else
3850 CXXFLAGS=
3853 ac_ext=c
3854 ac_cpp='$CPP $CPPFLAGS'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3859 depcc="$CXX" am_compiler_list=
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3862 $as_echo_n "checking dependency style of $depcc... " >&6; }
3863 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3867 # We make a subdir and do the tests there. Otherwise we can end up
3868 # making bogus files that we don't know about and never remove. For
3869 # instance it was reported that on HP-UX the gcc test will end up
3870 # making a dummy file named 'D' -- because '-MD' means "put the output
3871 # in D".
3872 rm -rf conftest.dir
3873 mkdir conftest.dir
3874 # Copy depcomp to subdir because otherwise we won't find it if we're
3875 # using a relative directory.
3876 cp "$am_depcomp" conftest.dir
3877 cd conftest.dir
3878 # We will build objects and dependencies in a subdirectory because
3879 # it helps to detect inapplicable dependency modes. For instance
3880 # both Tru64's cc and ICC support -MD to output dependencies as a
3881 # side effect of compilation, but ICC will put the dependencies in
3882 # the current directory while Tru64 will put them in the object
3883 # directory.
3884 mkdir sub
3886 am_cv_CXX_dependencies_compiler_type=none
3887 if test "$am_compiler_list" = ""; then
3888 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3890 am__universal=false
3891 case " $depcc " in #(
3892 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3893 esac
3895 for depmode in $am_compiler_list; do
3896 # Setup a source with many dependencies, because some compilers
3897 # like to wrap large dependency lists on column 80 (with \), and
3898 # we should not choose a depcomp mode which is confused by this.
3900 # We need to recreate these files for each test, as the compiler may
3901 # overwrite some of them when testing with obscure command lines.
3902 # This happens at least with the AIX C compiler.
3903 : > sub/conftest.c
3904 for i in 1 2 3 4 5 6; do
3905 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3906 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3907 # Solaris 10 /bin/sh.
3908 echo '/* dummy */' > sub/conftst$i.h
3909 done
3910 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3912 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3913 # mode. It turns out that the SunPro C++ compiler does not properly
3914 # handle '-M -o', and we need to detect this. Also, some Intel
3915 # versions had trouble with output in subdirs.
3916 am__obj=sub/conftest.${OBJEXT-o}
3917 am__minus_obj="-o $am__obj"
3918 case $depmode in
3919 gcc)
3920 # This depmode causes a compiler race in universal mode.
3921 test "$am__universal" = false || continue
3923 nosideeffect)
3924 # After this tag, mechanisms are not by side-effect, so they'll
3925 # only be used when explicitly requested.
3926 if test "x$enable_dependency_tracking" = xyes; then
3927 continue
3928 else
3929 break
3932 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3933 # This compiler won't grok '-c -o', but also, the minuso test has
3934 # not run yet. These depmodes are late enough in the game, and
3935 # so weak that their functioning should not be impacted.
3936 am__obj=conftest.${OBJEXT-o}
3937 am__minus_obj=
3939 none) break ;;
3940 esac
3941 if depmode=$depmode \
3942 source=sub/conftest.c object=$am__obj \
3943 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3944 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3945 >/dev/null 2>conftest.err &&
3946 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3947 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3948 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3949 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3950 # icc doesn't choke on unknown options, it will just issue warnings
3951 # or remarks (even with -Werror). So we grep stderr for any message
3952 # that says an option was ignored or not supported.
3953 # When given -MP, icc 7.0 and 7.1 complain thusly:
3954 # icc: Command line warning: ignoring option '-M'; no argument required
3955 # The diagnosis changed in icc 8.0:
3956 # icc: Command line remark: option '-MP' not supported
3957 if (grep 'ignoring option' conftest.err ||
3958 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3959 am_cv_CXX_dependencies_compiler_type=$depmode
3960 break
3963 done
3965 cd ..
3966 rm -rf conftest.dir
3967 else
3968 am_cv_CXX_dependencies_compiler_type=none
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3973 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3974 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3977 test "x$enable_dependency_tracking" != xno \
3978 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3979 am__fastdepCXX_TRUE=
3980 am__fastdepCXX_FALSE='#'
3981 else
3982 am__fastdepCXX_TRUE='#'
3983 am__fastdepCXX_FALSE=
3990 if test -z "$AWK"; then
3991 as_fn_error $? "AWK not installed" "$LINENO" 5
3994 # Extract the first word of "expect", so it can be a program name with args.
3995 set dummy expect; ac_word=$2
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3997 $as_echo_n "checking for $ac_word... " >&6; }
3998 if ${ac_cv_path_EXPECT+:} false; then :
3999 $as_echo_n "(cached) " >&6
4000 else
4001 case $EXPECT in
4002 [\\/]* | ?:[\\/]*)
4003 ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4007 for as_dir in $PATH
4009 IFS=$as_save_IFS
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 break 2
4017 done
4018 done
4019 IFS=$as_save_IFS
4022 esac
4024 EXPECT=$ac_cv_path_EXPECT
4025 if test -n "$EXPECT"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
4027 $as_echo "$EXPECT" >&6; }
4028 else
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4034 if test -z $ac_cv_path_EXPECT ; then
4035 as_fn_error $? "unable to locate expect" "$LINENO" 5
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl version 8.5 or greater" >&5
4039 $as_echo_n "checking Tcl version 8.5 or greater... " >&6; }
4040 if ${ac_cv_dg_tcl_modern+:} false; then :
4041 $as_echo_n "(cached) " >&6
4042 else
4044 ac_cv_dg_tcl_modern=`$EXPECT << EOF
4045 if [ expr \\${tcl_version} >= 8.5 ] then { puts yes } else { puts no }
4046 EOF`
4050 if test x${ac_cv_dg_tcl_modern} = xyes ; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_dg_tcl_modern}" >&5
4052 $as_echo "${ac_cv_dg_tcl_modern}" >&6; }
4053 else
4054 as_fn_error $? "Tcl 8.5 or greater is required" "$LINENO" 5
4057 if test x"$DEJAGNU" = x
4058 then
4059 DEJAGNU="/dev/null"
4063 ac_config_files="$ac_config_files Makefile"
4065 cat >confcache <<\_ACEOF
4066 # This file is a shell script that caches the results of configure
4067 # tests run on this system so they can be shared between configure
4068 # scripts and configure runs, see configure's option --config-cache.
4069 # It is not useful on other systems. If it contains results you don't
4070 # want to keep, you may remove or edit it.
4072 # config.status only pays attention to the cache file if you give it
4073 # the --recheck option to rerun configure.
4075 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4076 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4077 # following values.
4079 _ACEOF
4081 # The following way of writing the cache mishandles newlines in values,
4082 # but we know of no workaround that is simple, portable, and efficient.
4083 # So, we kill variables containing newlines.
4084 # Ultrix sh set writes to stderr and can't be redirected directly,
4085 # and sets the high bit in the cache file unless we assign to the vars.
4087 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4088 eval ac_val=\$$ac_var
4089 case $ac_val in #(
4090 *${as_nl}*)
4091 case $ac_var in #(
4092 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4094 esac
4095 case $ac_var in #(
4096 _ | IFS | as_nl) ;; #(
4097 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4098 *) { eval $ac_var=; unset $ac_var;} ;;
4099 esac ;;
4100 esac
4101 done
4103 (set) 2>&1 |
4104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4105 *${as_nl}ac_space=\ *)
4106 # `set' does not quote correctly, so add quotes: double-quote
4107 # substitution turns \\\\ into \\, and sed turns \\ into \.
4108 sed -n \
4109 "s/'/'\\\\''/g;
4110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4111 ;; #(
4113 # `set' quotes correctly as required by POSIX, so do not add quotes.
4114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4116 esac |
4117 sort
4119 sed '
4120 /^ac_cv_env_/b end
4121 t clear
4122 :clear
4123 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4124 t end
4125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4126 :end' >>confcache
4127 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4128 if test -w "$cache_file"; then
4129 if test "x$cache_file" != "x/dev/null"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4131 $as_echo "$as_me: updating cache $cache_file" >&6;}
4132 if test ! -f "$cache_file" || test -h "$cache_file"; then
4133 cat confcache >"$cache_file"
4134 else
4135 case $cache_file in #(
4136 */* | ?:*)
4137 mv -f confcache "$cache_file"$$ &&
4138 mv -f "$cache_file"$$ "$cache_file" ;; #(
4140 mv -f confcache "$cache_file" ;;
4141 esac
4144 else
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4146 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4149 rm -f confcache
4151 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4152 # Let make expand exec_prefix.
4153 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4155 # Transform confdefs.h into DEFS.
4156 # Protect against shell expansion while executing Makefile rules.
4157 # Protect against Makefile macro expansion.
4159 # If the first sed substitution is executed (which looks for macros that
4160 # take arguments), then branch to the quote section. Otherwise,
4161 # look for a macro that doesn't take arguments.
4162 ac_script='
4163 :mline
4164 /\\$/{
4166 s,\\\n,,
4167 b mline
4169 t clear
4170 :clear
4171 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4172 t quote
4173 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4174 t quote
4175 b any
4176 :quote
4177 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4178 s/\[/\\&/g
4179 s/\]/\\&/g
4180 s/\$/$$/g
4182 :any
4185 s/^\n//
4186 s/\n/ /g
4190 DEFS=`sed -n "$ac_script" confdefs.h`
4193 ac_libobjs=
4194 ac_ltlibobjs=
4196 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4197 # 1. Remove the extension, and $U if already installed.
4198 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4199 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4200 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4201 # will be set to the directory where LIBOBJS objects are built.
4202 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4203 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4204 done
4205 LIBOBJS=$ac_libobjs
4207 LTLIBOBJS=$ac_ltlibobjs
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4211 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4212 if test -n "$am_sleep_pid"; then
4213 # Hide warnings about reused PIDs.
4214 wait $am_sleep_pid 2>/dev/null
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4217 $as_echo "done" >&6; }
4218 if test -n "$EXEEXT"; then
4219 am__EXEEXT_TRUE=
4220 am__EXEEXT_FALSE='#'
4221 else
4222 am__EXEEXT_TRUE='#'
4223 am__EXEEXT_FALSE=
4226 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4227 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4230 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4231 as_fn_error $? "conditional \"AMDEP\" was never defined.
4232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4234 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4235 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4238 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4239 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4243 : "${CONFIG_STATUS=./config.status}"
4244 ac_write_fail=0
4245 ac_clean_files_save=$ac_clean_files
4246 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4248 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4249 as_write_fail=0
4250 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4251 #! $SHELL
4252 # Generated by $as_me.
4253 # Run this file to recreate the current configuration.
4254 # Compiler output produced by configure, useful for debugging
4255 # configure, is in config.log if it exists.
4257 debug=false
4258 ac_cs_recheck=false
4259 ac_cs_silent=false
4261 SHELL=\${CONFIG_SHELL-$SHELL}
4262 export SHELL
4263 _ASEOF
4264 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4265 ## -------------------- ##
4266 ## M4sh Initialization. ##
4267 ## -------------------- ##
4269 # Be more Bourne compatible
4270 DUALCASE=1; export DUALCASE # for MKS sh
4271 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4272 emulate sh
4273 NULLCMD=:
4274 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4275 # is contrary to our usage. Disable this feature.
4276 alias -g '${1+"$@"}'='"$@"'
4277 setopt NO_GLOB_SUBST
4278 else
4279 case `(set -o) 2>/dev/null` in #(
4280 *posix*) :
4281 set -o posix ;; #(
4282 *) :
4284 esac
4288 as_nl='
4290 export as_nl
4291 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4292 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4293 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4294 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4295 # Prefer a ksh shell builtin over an external printf program on Solaris,
4296 # but without wasting forks for bash or zsh.
4297 if test -z "$BASH_VERSION$ZSH_VERSION" \
4298 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4299 as_echo='print -r --'
4300 as_echo_n='print -rn --'
4301 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4302 as_echo='printf %s\n'
4303 as_echo_n='printf %s'
4304 else
4305 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4306 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4307 as_echo_n='/usr/ucb/echo -n'
4308 else
4309 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4310 as_echo_n_body='eval
4311 arg=$1;
4312 case $arg in #(
4313 *"$as_nl"*)
4314 expr "X$arg" : "X\\(.*\\)$as_nl";
4315 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4316 esac;
4317 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4319 export as_echo_n_body
4320 as_echo_n='sh -c $as_echo_n_body as_echo'
4322 export as_echo_body
4323 as_echo='sh -c $as_echo_body as_echo'
4326 # The user is always right.
4327 if test "${PATH_SEPARATOR+set}" != set; then
4328 PATH_SEPARATOR=:
4329 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4330 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4331 PATH_SEPARATOR=';'
4336 # IFS
4337 # We need space, tab and new line, in precisely that order. Quoting is
4338 # there to prevent editors from complaining about space-tab.
4339 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4340 # splitting by setting IFS to empty value.)
4341 IFS=" "" $as_nl"
4343 # Find who we are. Look in the path if we contain no directory separator.
4344 as_myself=
4345 case $0 in #((
4346 *[\\/]* ) as_myself=$0 ;;
4347 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4353 done
4354 IFS=$as_save_IFS
4357 esac
4358 # We did not find ourselves, most probably we were run as `sh COMMAND'
4359 # in which case we are not to be found in the path.
4360 if test "x$as_myself" = x; then
4361 as_myself=$0
4363 if test ! -f "$as_myself"; then
4364 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4365 exit 1
4368 # Unset variables that we do not need and which cause bugs (e.g. in
4369 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4370 # suppresses any "Segmentation fault" message there. '((' could
4371 # trigger a bug in pdksh 5.2.14.
4372 for as_var in BASH_ENV ENV MAIL MAILPATH
4373 do eval test x\${$as_var+set} = xset \
4374 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4375 done
4376 PS1='$ '
4377 PS2='> '
4378 PS4='+ '
4380 # NLS nuisances.
4381 LC_ALL=C
4382 export LC_ALL
4383 LANGUAGE=C
4384 export LANGUAGE
4386 # CDPATH.
4387 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4390 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4391 # ----------------------------------------
4392 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4393 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4394 # script with STATUS, using 1 if that was 0.
4395 as_fn_error ()
4397 as_status=$1; test $as_status -eq 0 && as_status=1
4398 if test "$4"; then
4399 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4400 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4402 $as_echo "$as_me: error: $2" >&2
4403 as_fn_exit $as_status
4404 } # as_fn_error
4407 # as_fn_set_status STATUS
4408 # -----------------------
4409 # Set $? to STATUS, without forking.
4410 as_fn_set_status ()
4412 return $1
4413 } # as_fn_set_status
4415 # as_fn_exit STATUS
4416 # -----------------
4417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4418 as_fn_exit ()
4420 set +e
4421 as_fn_set_status $1
4422 exit $1
4423 } # as_fn_exit
4425 # as_fn_unset VAR
4426 # ---------------
4427 # Portably unset VAR.
4428 as_fn_unset ()
4430 { eval $1=; unset $1;}
4432 as_unset=as_fn_unset
4433 # as_fn_append VAR VALUE
4434 # ----------------------
4435 # Append the text in VALUE to the end of the definition contained in VAR. Take
4436 # advantage of any shell optimizations that allow amortized linear growth over
4437 # repeated appends, instead of the typical quadratic growth present in naive
4438 # implementations.
4439 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4440 eval 'as_fn_append ()
4442 eval $1+=\$2
4444 else
4445 as_fn_append ()
4447 eval $1=\$$1\$2
4449 fi # as_fn_append
4451 # as_fn_arith ARG...
4452 # ------------------
4453 # Perform arithmetic evaluation on the ARGs, and store the result in the
4454 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4455 # must be portable across $(()) and expr.
4456 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4457 eval 'as_fn_arith ()
4459 as_val=$(( $* ))
4461 else
4462 as_fn_arith ()
4464 as_val=`expr "$@" || test $? -eq 1`
4466 fi # as_fn_arith
4469 if expr a : '\(a\)' >/dev/null 2>&1 &&
4470 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4471 as_expr=expr
4472 else
4473 as_expr=false
4476 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4477 as_basename=basename
4478 else
4479 as_basename=false
4482 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4483 as_dirname=dirname
4484 else
4485 as_dirname=false
4488 as_me=`$as_basename -- "$0" ||
4489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4490 X"$0" : 'X\(//\)$' \| \
4491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4492 $as_echo X/"$0" |
4493 sed '/^.*\/\([^/][^/]*\)\/*$/{
4494 s//\1/
4497 /^X\/\(\/\/\)$/{
4498 s//\1/
4501 /^X\/\(\/\).*/{
4502 s//\1/
4505 s/.*/./; q'`
4507 # Avoid depending upon Character Ranges.
4508 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4509 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4510 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4511 as_cr_digits='0123456789'
4512 as_cr_alnum=$as_cr_Letters$as_cr_digits
4514 ECHO_C= ECHO_N= ECHO_T=
4515 case `echo -n x` in #(((((
4516 -n*)
4517 case `echo 'xy\c'` in
4518 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4519 xy) ECHO_C='\c';;
4520 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4521 ECHO_T=' ';;
4522 esac;;
4524 ECHO_N='-n';;
4525 esac
4527 rm -f conf$$ conf$$.exe conf$$.file
4528 if test -d conf$$.dir; then
4529 rm -f conf$$.dir/conf$$.file
4530 else
4531 rm -f conf$$.dir
4532 mkdir conf$$.dir 2>/dev/null
4534 if (echo >conf$$.file) 2>/dev/null; then
4535 if ln -s conf$$.file conf$$ 2>/dev/null; then
4536 as_ln_s='ln -s'
4537 # ... but there are two gotchas:
4538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4540 # In both cases, we have to default to `cp -pR'.
4541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4542 as_ln_s='cp -pR'
4543 elif ln conf$$.file conf$$ 2>/dev/null; then
4544 as_ln_s=ln
4545 else
4546 as_ln_s='cp -pR'
4548 else
4549 as_ln_s='cp -pR'
4551 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4552 rmdir conf$$.dir 2>/dev/null
4555 # as_fn_mkdir_p
4556 # -------------
4557 # Create "$as_dir" as a directory, including parents if necessary.
4558 as_fn_mkdir_p ()
4561 case $as_dir in #(
4562 -*) as_dir=./$as_dir;;
4563 esac
4564 test -d "$as_dir" || eval $as_mkdir_p || {
4565 as_dirs=
4566 while :; do
4567 case $as_dir in #(
4568 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4569 *) as_qdir=$as_dir;;
4570 esac
4571 as_dirs="'$as_qdir' $as_dirs"
4572 as_dir=`$as_dirname -- "$as_dir" ||
4573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4574 X"$as_dir" : 'X\(//\)[^/]' \| \
4575 X"$as_dir" : 'X\(//\)$' \| \
4576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4577 $as_echo X"$as_dir" |
4578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4579 s//\1/
4582 /^X\(\/\/\)[^/].*/{
4583 s//\1/
4586 /^X\(\/\/\)$/{
4587 s//\1/
4590 /^X\(\/\).*/{
4591 s//\1/
4594 s/.*/./; q'`
4595 test -d "$as_dir" && break
4596 done
4597 test -z "$as_dirs" || eval "mkdir $as_dirs"
4598 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4601 } # as_fn_mkdir_p
4602 if mkdir -p . 2>/dev/null; then
4603 as_mkdir_p='mkdir -p "$as_dir"'
4604 else
4605 test -d ./-p && rmdir ./-p
4606 as_mkdir_p=false
4610 # as_fn_executable_p FILE
4611 # -----------------------
4612 # Test if FILE is an executable regular file.
4613 as_fn_executable_p ()
4615 test -f "$1" && test -x "$1"
4616 } # as_fn_executable_p
4617 as_test_x='test -x'
4618 as_executable_p=as_fn_executable_p
4620 # Sed expression to map a string onto a valid CPP name.
4621 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4623 # Sed expression to map a string onto a valid variable name.
4624 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4627 exec 6>&1
4628 ## ----------------------------------- ##
4629 ## Main body of $CONFIG_STATUS script. ##
4630 ## ----------------------------------- ##
4631 _ASEOF
4632 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4635 # Save the log message, to keep $0 and so on meaningful, and to
4636 # report actual input values of CONFIG_FILES etc. instead of their
4637 # values after options handling.
4638 ac_log="
4639 This file was extended by GNU DejaGnu $as_me 1.6.3-git, which was
4640 generated by GNU Autoconf 2.69. Invocation command line was
4642 CONFIG_FILES = $CONFIG_FILES
4643 CONFIG_HEADERS = $CONFIG_HEADERS
4644 CONFIG_LINKS = $CONFIG_LINKS
4645 CONFIG_COMMANDS = $CONFIG_COMMANDS
4646 $ $0 $@
4648 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4651 _ACEOF
4653 case $ac_config_files in *"
4654 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4655 esac
4659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4660 # Files that config.status was made for.
4661 config_files="$ac_config_files"
4662 config_commands="$ac_config_commands"
4664 _ACEOF
4666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4667 ac_cs_usage="\
4668 \`$as_me' instantiates files and other configuration actions
4669 from templates according to the current configuration. Unless the files
4670 and actions are specified as TAGs, all are instantiated by default.
4672 Usage: $0 [OPTION]... [TAG]...
4674 -h, --help print this help, then exit
4675 -V, --version print version number and configuration settings, then exit
4676 --config print configuration, then exit
4677 -q, --quiet, --silent
4678 do not print progress messages
4679 -d, --debug don't remove temporary files
4680 --recheck update $as_me by reconfiguring in the same conditions
4681 --file=FILE[:TEMPLATE]
4682 instantiate the configuration file FILE
4684 Configuration files:
4685 $config_files
4687 Configuration commands:
4688 $config_commands
4690 Report bugs to <bug-dejagnu@gnu.org>.
4691 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
4692 General help using GNU software: <http://www.gnu.org/gethelp/>."
4694 _ACEOF
4695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4696 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4697 ac_cs_version="\\
4698 GNU DejaGnu config.status 1.6.3-git
4699 configured by $0, generated by GNU Autoconf 2.69,
4700 with options \\"\$ac_cs_config\\"
4702 Copyright (C) 2012 Free Software Foundation, Inc.
4703 This config.status script is free software; the Free Software Foundation
4704 gives unlimited permission to copy, distribute and modify it."
4706 ac_pwd='$ac_pwd'
4707 srcdir='$srcdir'
4708 INSTALL='$INSTALL'
4709 MKDIR_P='$MKDIR_P'
4710 AWK='$AWK'
4711 test -n "\$AWK" || AWK=awk
4712 _ACEOF
4714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4715 # The default lists apply if the user does not specify any file.
4716 ac_need_defaults=:
4717 while test $# != 0
4719 case $1 in
4720 --*=?*)
4721 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4722 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4723 ac_shift=:
4725 --*=)
4726 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4727 ac_optarg=
4728 ac_shift=:
4731 ac_option=$1
4732 ac_optarg=$2
4733 ac_shift=shift
4735 esac
4737 case $ac_option in
4738 # Handling of the options.
4739 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4740 ac_cs_recheck=: ;;
4741 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4742 $as_echo "$ac_cs_version"; exit ;;
4743 --config | --confi | --conf | --con | --co | --c )
4744 $as_echo "$ac_cs_config"; exit ;;
4745 --debug | --debu | --deb | --de | --d | -d )
4746 debug=: ;;
4747 --file | --fil | --fi | --f )
4748 $ac_shift
4749 case $ac_optarg in
4750 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4751 '') as_fn_error $? "missing file argument" ;;
4752 esac
4753 as_fn_append CONFIG_FILES " '$ac_optarg'"
4754 ac_need_defaults=false;;
4755 --he | --h | --help | --hel | -h )
4756 $as_echo "$ac_cs_usage"; exit ;;
4757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4758 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4759 ac_cs_silent=: ;;
4761 # This is an error.
4762 -*) as_fn_error $? "unrecognized option: \`$1'
4763 Try \`$0 --help' for more information." ;;
4765 *) as_fn_append ac_config_targets " $1"
4766 ac_need_defaults=false ;;
4768 esac
4769 shift
4770 done
4772 ac_configure_extra_args=
4774 if $ac_cs_silent; then
4775 exec 6>/dev/null
4776 ac_configure_extra_args="$ac_configure_extra_args --silent"
4779 _ACEOF
4780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4781 if \$ac_cs_recheck; then
4782 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4783 shift
4784 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4785 CONFIG_SHELL='$SHELL'
4786 export CONFIG_SHELL
4787 exec "\$@"
4790 _ACEOF
4791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4792 exec 5>>config.log
4794 echo
4795 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4796 ## Running $as_me. ##
4797 _ASBOX
4798 $as_echo "$ac_log"
4799 } >&5
4801 _ACEOF
4802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4804 # INIT-COMMANDS
4806 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4808 _ACEOF
4810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4812 # Handling of arguments.
4813 for ac_config_target in $ac_config_targets
4815 case $ac_config_target in
4816 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4817 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4819 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4820 esac
4821 done
4824 # If the user did not use the arguments to specify the items to instantiate,
4825 # then the envvar interface is used. Set only those that are not.
4826 # We use the long form for the default assignment because of an extremely
4827 # bizarre bug on SunOS 4.1.3.
4828 if $ac_need_defaults; then
4829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4830 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4833 # Have a temporary directory for convenience. Make it in the build tree
4834 # simply because there is no reason against having it here, and in addition,
4835 # creating and moving files from /tmp can sometimes cause problems.
4836 # Hook for its removal unless debugging.
4837 # Note that there is a small window in which the directory will not be cleaned:
4838 # after its creation but before its name has been assigned to `$tmp'.
4839 $debug ||
4841 tmp= ac_tmp=
4842 trap 'exit_status=$?
4843 : "${ac_tmp:=$tmp}"
4844 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4846 trap 'as_fn_exit 1' 1 2 13 15
4848 # Create a (secure) tmp directory for tmp files.
4851 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4852 test -d "$tmp"
4853 } ||
4855 tmp=./conf$$-$RANDOM
4856 (umask 077 && mkdir "$tmp")
4857 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4858 ac_tmp=$tmp
4860 # Set up the scripts for CONFIG_FILES section.
4861 # No need to generate them if there are no CONFIG_FILES.
4862 # This happens for instance with `./config.status config.h'.
4863 if test -n "$CONFIG_FILES"; then
4866 ac_cr=`echo X | tr X '\015'`
4867 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4868 # But we know of no other shell where ac_cr would be empty at this
4869 # point, so we can use a bashism as a fallback.
4870 if test "x$ac_cr" = x; then
4871 eval ac_cr=\$\'\\r\'
4873 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4874 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4875 ac_cs_awk_cr='\\r'
4876 else
4877 ac_cs_awk_cr=$ac_cr
4880 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4881 _ACEOF
4885 echo "cat >conf$$subs.awk <<_ACEOF" &&
4886 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4887 echo "_ACEOF"
4888 } >conf$$subs.sh ||
4889 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4890 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4891 ac_delim='%!_!# '
4892 for ac_last_try in false false false false false :; do
4893 . ./conf$$subs.sh ||
4894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4896 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4897 if test $ac_delim_n = $ac_delim_num; then
4898 break
4899 elif $ac_last_try; then
4900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4901 else
4902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4904 done
4905 rm -f conf$$subs.sh
4907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4908 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4909 _ACEOF
4910 sed -n '
4912 s/^/S["/; s/!.*/"]=/
4915 s/^[^!]*!//
4916 :repl
4917 t repl
4918 s/'"$ac_delim"'$//
4919 t delim
4922 s/\(.\{148\}\)..*/\1/
4923 t more1
4924 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4927 b repl
4928 :more1
4929 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4932 s/.\{148\}//
4933 t nl
4934 :delim
4936 s/\(.\{148\}\)..*/\1/
4937 t more2
4938 s/["\\]/\\&/g; s/^/"/; s/$/"/
4941 :more2
4942 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4945 s/.\{148\}//
4946 t delim
4947 ' <conf$$subs.awk | sed '
4948 /^[^""]/{
4950 s/\n//
4952 ' >>$CONFIG_STATUS || ac_write_fail=1
4953 rm -f conf$$subs.awk
4954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4955 _ACAWK
4956 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4957 for (key in S) S_is_set[key] = 1
4958 FS = "\a"
4962 line = $ 0
4963 nfields = split(line, field, "@")
4964 substed = 0
4965 len = length(field[1])
4966 for (i = 2; i < nfields; i++) {
4967 key = field[i]
4968 keylen = length(key)
4969 if (S_is_set[key]) {
4970 value = S[key]
4971 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4972 len += length(value) + length(field[++i])
4973 substed = 1
4974 } else
4975 len += 1 + keylen
4978 print line
4981 _ACAWK
4982 _ACEOF
4983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4984 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4985 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4986 else
4988 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4989 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4990 _ACEOF
4992 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4993 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4994 # trailing colons and then remove the whole line if VPATH becomes empty
4995 # (actually we leave an empty line to preserve line numbers).
4996 if test "x$srcdir" = x.; then
4997 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4999 s///
5000 s/^/:/
5001 s/[ ]*$/:/
5002 s/:\$(srcdir):/:/g
5003 s/:\${srcdir}:/:/g
5004 s/:@srcdir@:/:/g
5005 s/^:*//
5006 s/:*$//
5008 s/\(=[ ]*\).*/\1/
5010 s/\n//
5011 s/^[^=]*=[ ]*$//
5015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5016 fi # test -n "$CONFIG_FILES"
5019 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5020 shift
5021 for ac_tag
5023 case $ac_tag in
5024 :[FHLC]) ac_mode=$ac_tag; continue;;
5025 esac
5026 case $ac_mode$ac_tag in
5027 :[FHL]*:*);;
5028 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5029 :[FH]-) ac_tag=-:-;;
5030 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5031 esac
5032 ac_save_IFS=$IFS
5033 IFS=:
5034 set x $ac_tag
5035 IFS=$ac_save_IFS
5036 shift
5037 ac_file=$1
5038 shift
5040 case $ac_mode in
5041 :L) ac_source=$1;;
5042 :[FH])
5043 ac_file_inputs=
5044 for ac_f
5046 case $ac_f in
5047 -) ac_f="$ac_tmp/stdin";;
5048 *) # Look for the file first in the build tree, then in the source tree
5049 # (if the path is not absolute). The absolute path cannot be DOS-style,
5050 # because $ac_f cannot contain `:'.
5051 test -f "$ac_f" ||
5052 case $ac_f in
5053 [\\/$]*) false;;
5054 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5055 esac ||
5056 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5057 esac
5058 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5059 as_fn_append ac_file_inputs " '$ac_f'"
5060 done
5062 # Let's still pretend it is `configure' which instantiates (i.e., don't
5063 # use $as_me), people would be surprised to read:
5064 # /* config.h. Generated by config.status. */
5065 configure_input='Generated from '`
5066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5067 `' by configure.'
5068 if test x"$ac_file" != x-; then
5069 configure_input="$ac_file. $configure_input"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5071 $as_echo "$as_me: creating $ac_file" >&6;}
5073 # Neutralize special characters interpreted by sed in replacement strings.
5074 case $configure_input in #(
5075 *\&* | *\|* | *\\* )
5076 ac_sed_conf_input=`$as_echo "$configure_input" |
5077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5078 *) ac_sed_conf_input=$configure_input;;
5079 esac
5081 case $ac_tag in
5082 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5083 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5084 esac
5086 esac
5088 ac_dir=`$as_dirname -- "$ac_file" ||
5089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5090 X"$ac_file" : 'X\(//\)[^/]' \| \
5091 X"$ac_file" : 'X\(//\)$' \| \
5092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5093 $as_echo X"$ac_file" |
5094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5095 s//\1/
5098 /^X\(\/\/\)[^/].*/{
5099 s//\1/
5102 /^X\(\/\/\)$/{
5103 s//\1/
5106 /^X\(\/\).*/{
5107 s//\1/
5110 s/.*/./; q'`
5111 as_dir="$ac_dir"; as_fn_mkdir_p
5112 ac_builddir=.
5114 case "$ac_dir" in
5115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5118 # A ".." for each directory in $ac_dir_suffix.
5119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5120 case $ac_top_builddir_sub in
5121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5123 esac ;;
5124 esac
5125 ac_abs_top_builddir=$ac_pwd
5126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5127 # for backward compatibility:
5128 ac_top_builddir=$ac_top_build_prefix
5130 case $srcdir in
5131 .) # We are building in place.
5132 ac_srcdir=.
5133 ac_top_srcdir=$ac_top_builddir_sub
5134 ac_abs_top_srcdir=$ac_pwd ;;
5135 [\\/]* | ?:[\\/]* ) # Absolute name.
5136 ac_srcdir=$srcdir$ac_dir_suffix;
5137 ac_top_srcdir=$srcdir
5138 ac_abs_top_srcdir=$srcdir ;;
5139 *) # Relative name.
5140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5141 ac_top_srcdir=$ac_top_build_prefix$srcdir
5142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5143 esac
5144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5147 case $ac_mode in
5150 # CONFIG_FILE
5153 case $INSTALL in
5154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5155 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5156 esac
5157 ac_MKDIR_P=$MKDIR_P
5158 case $MKDIR_P in
5159 [\\/$]* | ?:[\\/]* ) ;;
5160 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5161 esac
5162 _ACEOF
5164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5165 # If the template does not know about datarootdir, expand it.
5166 # FIXME: This hack should be removed a few years after 2.60.
5167 ac_datarootdir_hack=; ac_datarootdir_seen=
5168 ac_sed_dataroot='
5169 /datarootdir/ {
5173 /@datadir@/p
5174 /@docdir@/p
5175 /@infodir@/p
5176 /@localedir@/p
5177 /@mandir@/p'
5178 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5179 *datarootdir*) ac_datarootdir_seen=yes;;
5180 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5182 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5183 _ACEOF
5184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5185 ac_datarootdir_hack='
5186 s&@datadir@&$datadir&g
5187 s&@docdir@&$docdir&g
5188 s&@infodir@&$infodir&g
5189 s&@localedir@&$localedir&g
5190 s&@mandir@&$mandir&g
5191 s&\\\${datarootdir}&$datarootdir&g' ;;
5192 esac
5193 _ACEOF
5195 # Neutralize VPATH when `$srcdir' = `.'.
5196 # Shell code in configure.ac might set extrasub.
5197 # FIXME: do we really want to maintain this feature?
5198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5199 ac_sed_extra="$ac_vpsub
5200 $extrasub
5201 _ACEOF
5202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5205 s|@configure_input@|$ac_sed_conf_input|;t t
5206 s&@top_builddir@&$ac_top_builddir_sub&;t t
5207 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5208 s&@srcdir@&$ac_srcdir&;t t
5209 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5210 s&@top_srcdir@&$ac_top_srcdir&;t t
5211 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5212 s&@builddir@&$ac_builddir&;t t
5213 s&@abs_builddir@&$ac_abs_builddir&;t t
5214 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5215 s&@INSTALL@&$ac_INSTALL&;t t
5216 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5217 $ac_datarootdir_hack
5219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5220 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5223 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5225 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5227 which seems to be undefined. Please make sure it is defined" >&5
5228 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5229 which seems to be undefined. Please make sure it is defined" >&2;}
5231 rm -f "$ac_tmp/stdin"
5232 case $ac_file in
5233 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5234 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5235 esac \
5236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5240 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5241 $as_echo "$as_me: executing $ac_file commands" >&6;}
5243 esac
5246 case $ac_file$ac_mode in
5247 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5248 # Older Autoconf quotes --file arguments for eval, but not when files
5249 # are listed without --file. Let's play safe and only enable the eval
5250 # if we detect the quoting.
5251 case $CONFIG_FILES in
5252 *\'*) eval set x "$CONFIG_FILES" ;;
5253 *) set x $CONFIG_FILES ;;
5254 esac
5255 shift
5256 for mf
5258 # Strip MF so we end up with the name of the file.
5259 mf=`echo "$mf" | sed -e 's/:.*$//'`
5260 # Check whether this is an Automake generated Makefile or not.
5261 # We used to match only the files named 'Makefile.in', but
5262 # some people rename them; so instead we look at the file content.
5263 # Grep'ing the first line is not enough: some people post-process
5264 # each Makefile.in and add a new line on top of each file to say so.
5265 # Grep'ing the whole file is not good either: AIX grep has a line
5266 # limit of 2048, but all sed's we know have understand at least 4000.
5267 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5268 dirpart=`$as_dirname -- "$mf" ||
5269 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5270 X"$mf" : 'X\(//\)[^/]' \| \
5271 X"$mf" : 'X\(//\)$' \| \
5272 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5273 $as_echo X"$mf" |
5274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5275 s//\1/
5278 /^X\(\/\/\)[^/].*/{
5279 s//\1/
5282 /^X\(\/\/\)$/{
5283 s//\1/
5286 /^X\(\/\).*/{
5287 s//\1/
5290 s/.*/./; q'`
5291 else
5292 continue
5294 # Extract the definition of DEPDIR, am__include, and am__quote
5295 # from the Makefile without running 'make'.
5296 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5297 test -z "$DEPDIR" && continue
5298 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5299 test -z "$am__include" && continue
5300 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5301 # Find all dependency output files, they are included files with
5302 # $(DEPDIR) in their names. We invoke sed twice because it is the
5303 # simplest approach to changing $(DEPDIR) to its actual value in the
5304 # expansion.
5305 for file in `sed -n "
5306 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5307 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5308 # Make sure the directory exists.
5309 test -f "$dirpart/$file" && continue
5310 fdir=`$as_dirname -- "$file" ||
5311 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5312 X"$file" : 'X\(//\)[^/]' \| \
5313 X"$file" : 'X\(//\)$' \| \
5314 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5315 $as_echo X"$file" |
5316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5317 s//\1/
5320 /^X\(\/\/\)[^/].*/{
5321 s//\1/
5324 /^X\(\/\/\)$/{
5325 s//\1/
5328 /^X\(\/\).*/{
5329 s//\1/
5332 s/.*/./; q'`
5333 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5334 # echo "creating $dirpart/$file"
5335 echo '# dummy' > "$dirpart/$file"
5336 done
5337 done
5341 esac
5342 done # for ac_tag
5345 as_fn_exit 0
5346 _ACEOF
5347 ac_clean_files=$ac_clean_files_save
5349 test $ac_write_fail = 0 ||
5350 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5353 # configure is writing to config.log, and then calls config.status.
5354 # config.status does its own redirection, appending to config.log.
5355 # Unfortunately, on DOS this fails, as config.log is still kept open
5356 # by configure, so config.status won't be able to write to it; its
5357 # output is simply discarded. So we exec the FD to /dev/null,
5358 # effectively closing config.log, so it can be properly (re)opened and
5359 # appended to by config.status. When coming back to configure, we
5360 # need to make the FD available again.
5361 if test "$no_create" != yes; then
5362 ac_cs_success=:
5363 ac_config_status_args=
5364 test "$silent" = yes &&
5365 ac_config_status_args="$ac_config_status_args --quiet"
5366 exec 5>/dev/null
5367 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5368 exec 5>>config.log
5369 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5370 # would make configure fail if this is the last instruction.
5371 $ac_cs_success || as_fn_exit 1
5373 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5375 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}