Update version numbers for 1.6.3 release branch
[dejagnu.git] / configure
blobc2a509ae80404835e40d03caa7862e06c5aa5f1d
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 am__fastdepCXX_FALSE
593 am__fastdepCXX_TRUE
594 CXXDEPMODE
595 ac_ct_CXX
596 CXXFLAGS
598 am__fastdepCC_FALSE
599 am__fastdepCC_TRUE
600 CCDEPMODE
601 am__nodep
602 AMDEPBACKSLASH
603 AMDEP_FALSE
604 AMDEP_TRUE
605 am__quote
606 am__include
607 DEPDIR
608 OBJEXT
609 EXEEXT
610 ac_ct_CC
611 CPPFLAGS
612 LDFLAGS
613 CFLAGS
615 MAINT
616 MAINTAINER_MODE_FALSE
617 MAINTAINER_MODE_TRUE
618 AM_BACKSLASH
619 AM_DEFAULT_VERBOSITY
620 AM_DEFAULT_V
621 AM_V
622 am__untar
623 am__tar
624 AMTAR
625 am__leading_dot
626 SET_MAKE
628 mkdir_p
629 MKDIR_P
630 INSTALL_STRIP_PROGRAM
631 STRIP
632 install_sh
633 MAKEINFO
634 AUTOHEADER
635 AUTOMAKE
636 AUTOCONF
637 ACLOCAL
638 VERSION
639 PACKAGE
640 CYGPATH_W
641 am__isrc
642 INSTALL_DATA
643 INSTALL_SCRIPT
644 INSTALL_PROGRAM
645 target_alias
646 host_alias
647 build_alias
648 LIBS
649 ECHO_T
650 ECHO_N
651 ECHO_C
652 DEFS
653 mandir
654 localedir
655 libdir
656 psdir
657 pdfdir
658 dvidir
659 htmldir
660 infodir
661 docdir
662 oldincludedir
663 includedir
664 localstatedir
665 sharedstatedir
666 sysconfdir
667 datadir
668 datarootdir
669 libexecdir
670 sbindir
671 bindir
672 program_transform_name
673 prefix
674 exec_prefix
675 PACKAGE_URL
676 PACKAGE_BUGREPORT
677 PACKAGE_STRING
678 PACKAGE_VERSION
679 PACKAGE_TARNAME
680 PACKAGE_NAME
681 PATH_SEPARATOR
682 SHELL'
683 ac_subst_files=''
684 ac_user_opts='
685 enable_option_checking
686 enable_silent_rules
687 enable_maintainer_mode
688 enable_dependency_tracking
690 ac_precious_vars='build_alias
691 host_alias
692 target_alias
694 CFLAGS
695 LDFLAGS
696 LIBS
697 CPPFLAGS
699 CXXFLAGS
700 CCC'
703 # Initialize some variables set by options.
704 ac_init_help=
705 ac_init_version=false
706 ac_unrecognized_opts=
707 ac_unrecognized_sep=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
710 cache_file=/dev/null
711 exec_prefix=NONE
712 no_create=
713 no_recursion=
714 prefix=NONE
715 program_prefix=NONE
716 program_suffix=NONE
717 program_transform_name=s,x,x,
718 silent=
719 site=
720 srcdir=
721 verbose=
722 x_includes=NONE
723 x_libraries=NONE
725 # Installation directory options.
726 # These are left unexpanded so users can "make install exec_prefix=/foo"
727 # and all the variables that are supposed to be based on exec_prefix
728 # by default will actually change.
729 # Use braces instead of parens because sh, perl, etc. also accept them.
730 # (The list follows the same order as the GNU Coding Standards.)
731 bindir='${exec_prefix}/bin'
732 sbindir='${exec_prefix}/sbin'
733 libexecdir='${exec_prefix}/libexec'
734 datarootdir='${prefix}/share'
735 datadir='${datarootdir}'
736 sysconfdir='${prefix}/etc'
737 sharedstatedir='${prefix}/com'
738 localstatedir='${prefix}/var'
739 includedir='${prefix}/include'
740 oldincludedir='/usr/include'
741 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742 infodir='${datarootdir}/info'
743 htmldir='${docdir}'
744 dvidir='${docdir}'
745 pdfdir='${docdir}'
746 psdir='${docdir}'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
751 ac_prev=
752 ac_dashdash=
753 for ac_option
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
758 ac_prev=
759 continue
762 case $ac_option in
763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 *=) ac_optarg= ;;
765 *) ac_optarg=yes ;;
766 esac
768 # Accept the important Cygnus configure options, so we can diagnose typos.
770 case $ac_dashdash$ac_option in
772 ac_dashdash=yes ;;
774 -bindir | --bindir | --bindi | --bind | --bin | --bi)
775 ac_prev=bindir ;;
776 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
777 bindir=$ac_optarg ;;
779 -build | --build | --buil | --bui | --bu)
780 ac_prev=build_alias ;;
781 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
782 build_alias=$ac_optarg ;;
784 -cache-file | --cache-file | --cache-fil | --cache-fi \
785 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
786 ac_prev=cache_file ;;
787 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
788 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
789 cache_file=$ac_optarg ;;
791 --config-cache | -C)
792 cache_file=config.cache ;;
794 -datadir | --datadir | --datadi | --datad)
795 ac_prev=datadir ;;
796 -datadir=* | --datadir=* | --datadi=* | --datad=*)
797 datadir=$ac_optarg ;;
799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
800 | --dataroo | --dataro | --datar)
801 ac_prev=datarootdir ;;
802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
804 datarootdir=$ac_optarg ;;
806 -disable-* | --disable-*)
807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
810 as_fn_error $? "invalid feature name: $ac_useropt"
811 ac_useropt_orig=$ac_useropt
812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
815 "enable_$ac_useropt"
816 "*) ;;
817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
818 ac_unrecognized_sep=', ';;
819 esac
820 eval enable_$ac_useropt=no ;;
822 -docdir | --docdir | --docdi | --doc | --do)
823 ac_prev=docdir ;;
824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 docdir=$ac_optarg ;;
827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
828 ac_prev=dvidir ;;
829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 dvidir=$ac_optarg ;;
832 -enable-* | --enable-*)
833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
836 as_fn_error $? "invalid feature name: $ac_useropt"
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
841 "enable_$ac_useropt"
842 "*) ;;
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
845 esac
846 eval enable_$ac_useropt=\$ac_optarg ;;
848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850 | --exec | --exe | --ex)
851 ac_prev=exec_prefix ;;
852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854 | --exec=* | --exe=* | --ex=*)
855 exec_prefix=$ac_optarg ;;
857 -gas | --gas | --ga | --g)
858 # Obsolete; use --with-gas.
859 with_gas=yes ;;
861 -help | --help | --hel | --he | -h)
862 ac_init_help=long ;;
863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864 ac_init_help=recursive ;;
865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866 ac_init_help=short ;;
868 -host | --host | --hos | --ho)
869 ac_prev=host_alias ;;
870 -host=* | --host=* | --hos=* | --ho=*)
871 host_alias=$ac_optarg ;;
873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874 ac_prev=htmldir ;;
875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876 | --ht=*)
877 htmldir=$ac_optarg ;;
879 -includedir | --includedir | --includedi | --included | --include \
880 | --includ | --inclu | --incl | --inc)
881 ac_prev=includedir ;;
882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883 | --includ=* | --inclu=* | --incl=* | --inc=*)
884 includedir=$ac_optarg ;;
886 -infodir | --infodir | --infodi | --infod | --info | --inf)
887 ac_prev=infodir ;;
888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889 infodir=$ac_optarg ;;
891 -libdir | --libdir | --libdi | --libd)
892 ac_prev=libdir ;;
893 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 libdir=$ac_optarg ;;
896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897 | --libexe | --libex | --libe)
898 ac_prev=libexecdir ;;
899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900 | --libexe=* | --libex=* | --libe=*)
901 libexecdir=$ac_optarg ;;
903 -localedir | --localedir | --localedi | --localed | --locale)
904 ac_prev=localedir ;;
905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906 localedir=$ac_optarg ;;
908 -localstatedir | --localstatedir | --localstatedi | --localstated \
909 | --localstate | --localstat | --localsta | --localst | --locals)
910 ac_prev=localstatedir ;;
911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913 localstatedir=$ac_optarg ;;
915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916 ac_prev=mandir ;;
917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918 mandir=$ac_optarg ;;
920 -nfp | --nfp | --nf)
921 # Obsolete; use --without-fp.
922 with_fp=no ;;
924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925 | --no-cr | --no-c | -n)
926 no_create=yes ;;
928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 no_recursion=yes ;;
932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934 | --oldin | --oldi | --old | --ol | --o)
935 ac_prev=oldincludedir ;;
936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939 oldincludedir=$ac_optarg ;;
941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942 ac_prev=prefix ;;
943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 prefix=$ac_optarg ;;
946 -program-prefix | --program-prefix | --program-prefi | --program-pref \
947 | --program-pre | --program-pr | --program-p)
948 ac_prev=program_prefix ;;
949 -program-prefix=* | --program-prefix=* | --program-prefi=* \
950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951 program_prefix=$ac_optarg ;;
953 -program-suffix | --program-suffix | --program-suffi | --program-suff \
954 | --program-suf | --program-su | --program-s)
955 ac_prev=program_suffix ;;
956 -program-suffix=* | --program-suffix=* | --program-suffi=* \
957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958 program_suffix=$ac_optarg ;;
960 -program-transform-name | --program-transform-name \
961 | --program-transform-nam | --program-transform-na \
962 | --program-transform-n | --program-transform- \
963 | --program-transform | --program-transfor \
964 | --program-transfo | --program-transf \
965 | --program-trans | --program-tran \
966 | --progr-tra | --program-tr | --program-t)
967 ac_prev=program_transform_name ;;
968 -program-transform-name=* | --program-transform-name=* \
969 | --program-transform-nam=* | --program-transform-na=* \
970 | --program-transform-n=* | --program-transform-=* \
971 | --program-transform=* | --program-transfor=* \
972 | --program-transfo=* | --program-transf=* \
973 | --program-trans=* | --program-tran=* \
974 | --progr-tra=* | --program-tr=* | --program-t=*)
975 program_transform_name=$ac_optarg ;;
977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978 ac_prev=pdfdir ;;
979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 pdfdir=$ac_optarg ;;
982 -psdir | --psdir | --psdi | --psd | --ps)
983 ac_prev=psdir ;;
984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 psdir=$ac_optarg ;;
987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988 | -silent | --silent | --silen | --sile | --sil)
989 silent=yes ;;
991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992 ac_prev=sbindir ;;
993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994 | --sbi=* | --sb=*)
995 sbindir=$ac_optarg ;;
997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999 | --sharedst | --shareds | --shared | --share | --shar \
1000 | --sha | --sh)
1001 ac_prev=sharedstatedir ;;
1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005 | --sha=* | --sh=*)
1006 sharedstatedir=$ac_optarg ;;
1008 -site | --site | --sit)
1009 ac_prev=site ;;
1010 -site=* | --site=* | --sit=*)
1011 site=$ac_optarg ;;
1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014 ac_prev=srcdir ;;
1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016 srcdir=$ac_optarg ;;
1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019 | --syscon | --sysco | --sysc | --sys | --sy)
1020 ac_prev=sysconfdir ;;
1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023 sysconfdir=$ac_optarg ;;
1025 -target | --target | --targe | --targ | --tar | --ta | --t)
1026 ac_prev=target_alias ;;
1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028 target_alias=$ac_optarg ;;
1030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031 verbose=yes ;;
1033 -version | --version | --versio | --versi | --vers | -V)
1034 ac_init_version=: ;;
1036 -with-* | --with-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid package name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "with_$ac_useropt"
1046 "*) ;;
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1049 esac
1050 eval with_$ac_useropt=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "with_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=no ;;
1068 --x)
1069 # Obsolete; use --with-x.
1070 with_x=yes ;;
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1087 Try \`$0 --help' for more information"
1090 *=*)
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 case $ac_envvar in #(
1094 '' | [0-9]* | *[!_$as_cr_alnum]* )
1095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1096 esac
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1108 esac
1109 done
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 as_fn_error $? "missing argument to $ac_option"
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1118 no) ;;
1119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1121 esac
1124 # Check all directory arguments for consistency.
1125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val=\$$ac_var
1131 # Remove trailing slashes.
1132 case $ac_val in
1133 */ )
1134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1135 eval $ac_var=\$ac_val;;
1136 esac
1137 # Be sure to have absolute directory names.
1138 case $ac_val in
1139 [\\/$]* | ?:[\\/]* ) continue;;
1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141 esac
1142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1143 done
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1148 build=$build_alias
1149 host=$host_alias
1150 target=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x; then
1154 if test "x$build_alias" = x; then
1155 cross_compiling=maybe
1156 elif test "x$build_alias" != "x$host_alias"; then
1157 cross_compiling=yes
1161 ac_tool_prefix=
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164 test "$silent" = yes && exec 6>/dev/null
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170 as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 as_fn_error $? "pwd does not report name of working directory"
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 s//\1/
1189 /^X\(\/\/\)[^/].*/{
1190 s//\1/
1193 /^X\(\/\/\)$/{
1194 s//\1/
1197 /^X\(\/\).*/{
1198 s//\1/
1201 s/.*/./; q'`
1202 srcdir=$ac_confdir
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 srcdir=..
1206 else
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216 pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 srcdir=.
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF
1241 \`configure' configures GNU DejaGnu 1.6.3-git to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1250 Configuration:
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking ...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX]
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/dejagnu]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1294 _ACEOF
1296 cat <<\_ACEOF
1298 Program names:
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1302 _ACEOF
1305 if test -n "$ac_init_help"; then
1306 case $ac_init_help in
1307 short | recursive ) echo "Configuration of GNU DejaGnu 1.6.3-git:";;
1308 esac
1309 cat <<\_ACEOF
1311 Optional Features:
1312 --disable-option-checking ignore unrecognized --enable/--with options
1313 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1314 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1315 --enable-silent-rules less verbose build output (undo: "make V=1")
1316 --disable-silent-rules verbose build output (undo: "make V=0")
1317 --enable-maintainer-mode
1318 enable make rules and dependencies not useful (and
1319 sometimes confusing) to the casual installer
1320 --enable-dependency-tracking
1321 do not reject slow dependency extractors
1322 --disable-dependency-tracking
1323 speeds up one-time build
1325 Some influential environment variables:
1326 CC C compiler command
1327 CFLAGS C compiler flags
1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1329 nonstandard directory <lib dir>
1330 LIBS libraries to pass to the linker, e.g. -l<library>
1331 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1332 you have headers in a nonstandard directory <include dir>
1333 CXX C++ compiler command
1334 CXXFLAGS C++ compiler flags
1336 Use these variables to override the choices made by `configure' or to help
1337 it to find libraries and programs with nonstandard names/locations.
1339 Report bugs to <bug-dejagnu@gnu.org>.
1340 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
1341 General help using GNU software: <http://www.gnu.org/gethelp/>.
1342 _ACEOF
1343 ac_status=$?
1346 if test "$ac_init_help" = "recursive"; then
1347 # If there are subdirs, report their specific --help.
1348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349 test -d "$ac_dir" ||
1350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1351 continue
1352 ac_builddir=.
1354 case "$ac_dir" in
1355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1358 # A ".." for each directory in $ac_dir_suffix.
1359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1360 case $ac_top_builddir_sub in
1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 esac ;;
1364 esac
1365 ac_abs_top_builddir=$ac_pwd
1366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1367 # for backward compatibility:
1368 ac_top_builddir=$ac_top_build_prefix
1370 case $srcdir in
1371 .) # We are building in place.
1372 ac_srcdir=.
1373 ac_top_srcdir=$ac_top_builddir_sub
1374 ac_abs_top_srcdir=$ac_pwd ;;
1375 [\\/]* | ?:[\\/]* ) # Absolute name.
1376 ac_srcdir=$srcdir$ac_dir_suffix;
1377 ac_top_srcdir=$srcdir
1378 ac_abs_top_srcdir=$srcdir ;;
1379 *) # Relative name.
1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1381 ac_top_srcdir=$ac_top_build_prefix$srcdir
1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1383 esac
1384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1386 cd "$ac_dir" || { ac_status=$?; continue; }
1387 # Check for guested configure.
1388 if test -f "$ac_srcdir/configure.gnu"; then
1389 echo &&
1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1391 elif test -f "$ac_srcdir/configure"; then
1392 echo &&
1393 $SHELL "$ac_srcdir/configure" --help=recursive
1394 else
1395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1396 fi || ac_status=$?
1397 cd "$ac_pwd" || { ac_status=$?; break; }
1398 done
1401 test -n "$ac_init_help" && exit $ac_status
1402 if $ac_init_version; then
1403 cat <<\_ACEOF
1404 GNU DejaGnu configure 1.6.3-git
1405 generated by GNU Autoconf 2.69
1407 Copyright (C) 2012 Free Software Foundation, Inc.
1408 This configure script is free software; the Free Software Foundation
1409 gives unlimited permission to copy, distribute and modify it.
1410 _ACEOF
1411 exit
1414 ## ------------------------ ##
1415 ## Autoconf initialization. ##
1416 ## ------------------------ ##
1418 # ac_fn_c_try_compile LINENO
1419 # --------------------------
1420 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1421 ac_fn_c_try_compile ()
1423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1424 rm -f conftest.$ac_objext
1425 if { { ac_try="$ac_compile"
1426 case "(($ac_try" in
1427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1428 *) ac_try_echo=$ac_try;;
1429 esac
1430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1431 $as_echo "$ac_try_echo"; } >&5
1432 (eval "$ac_compile") 2>conftest.err
1433 ac_status=$?
1434 if test -s conftest.err; then
1435 grep -v '^ *+' conftest.err >conftest.er1
1436 cat conftest.er1 >&5
1437 mv -f conftest.er1 conftest.err
1439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1440 test $ac_status = 0; } && {
1441 test -z "$ac_c_werror_flag" ||
1442 test ! -s conftest.err
1443 } && test -s conftest.$ac_objext; then :
1444 ac_retval=0
1445 else
1446 $as_echo "$as_me: failed program was:" >&5
1447 sed 's/^/| /' conftest.$ac_ext >&5
1449 ac_retval=1
1451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1452 as_fn_set_status $ac_retval
1454 } # ac_fn_c_try_compile
1456 # ac_fn_cxx_try_compile LINENO
1457 # ----------------------------
1458 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1459 ac_fn_cxx_try_compile ()
1461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462 rm -f conftest.$ac_objext
1463 if { { ac_try="$ac_compile"
1464 case "(($ac_try" in
1465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1466 *) ac_try_echo=$ac_try;;
1467 esac
1468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1469 $as_echo "$ac_try_echo"; } >&5
1470 (eval "$ac_compile") 2>conftest.err
1471 ac_status=$?
1472 if test -s conftest.err; then
1473 grep -v '^ *+' conftest.err >conftest.er1
1474 cat conftest.er1 >&5
1475 mv -f conftest.er1 conftest.err
1477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1478 test $ac_status = 0; } && {
1479 test -z "$ac_cxx_werror_flag" ||
1480 test ! -s conftest.err
1481 } && test -s conftest.$ac_objext; then :
1482 ac_retval=0
1483 else
1484 $as_echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.$ac_ext >&5
1487 ac_retval=1
1489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1490 as_fn_set_status $ac_retval
1492 } # ac_fn_cxx_try_compile
1493 cat >config.log <<_ACEOF
1494 This file contains any messages produced by compilers while
1495 running configure, to aid debugging if configure makes a mistake.
1497 It was created by GNU DejaGnu $as_me 1.6.3-git, which was
1498 generated by GNU Autoconf 2.69. Invocation command line was
1500 $ $0 $@
1502 _ACEOF
1503 exec 5>>config.log
1505 cat <<_ASUNAME
1506 ## --------- ##
1507 ## Platform. ##
1508 ## --------- ##
1510 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1511 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1512 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1513 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1514 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1516 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1517 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1519 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1520 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1521 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1522 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1523 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1524 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1525 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1527 _ASUNAME
1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 for as_dir in $PATH
1532 IFS=$as_save_IFS
1533 test -z "$as_dir" && as_dir=.
1534 $as_echo "PATH: $as_dir"
1535 done
1536 IFS=$as_save_IFS
1538 } >&5
1540 cat >&5 <<_ACEOF
1543 ## ----------- ##
1544 ## Core tests. ##
1545 ## ----------- ##
1547 _ACEOF
1550 # Keep a trace of the command line.
1551 # Strip out --no-create and --no-recursion so they do not pile up.
1552 # Strip out --silent because we don't want to record it for future runs.
1553 # Also quote any args containing shell meta-characters.
1554 # Make two passes to allow for proper duplicate-argument suppression.
1555 ac_configure_args=
1556 ac_configure_args0=
1557 ac_configure_args1=
1558 ac_must_keep_next=false
1559 for ac_pass in 1 2
1561 for ac_arg
1563 case $ac_arg in
1564 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1566 | -silent | --silent | --silen | --sile | --sil)
1567 continue ;;
1568 *\'*)
1569 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1570 esac
1571 case $ac_pass in
1572 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1574 as_fn_append ac_configure_args1 " '$ac_arg'"
1575 if test $ac_must_keep_next = true; then
1576 ac_must_keep_next=false # Got value, back to normal.
1577 else
1578 case $ac_arg in
1579 *=* | --config-cache | -C | -disable-* | --disable-* \
1580 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1581 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1582 | -with-* | --with-* | -without-* | --without-* | --x)
1583 case "$ac_configure_args0 " in
1584 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1585 esac
1587 -* ) ac_must_keep_next=true ;;
1588 esac
1590 as_fn_append ac_configure_args " '$ac_arg'"
1592 esac
1593 done
1594 done
1595 { ac_configure_args0=; unset ac_configure_args0;}
1596 { ac_configure_args1=; unset ac_configure_args1;}
1598 # When interrupted or exit'd, cleanup temporary files, and complete
1599 # config.log. We remove comments because anyway the quotes in there
1600 # would cause problems or look ugly.
1601 # WARNING: Use '\'' to represent an apostrophe within the trap.
1602 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1603 trap 'exit_status=$?
1604 # Save into config.log some information that might help in debugging.
1606 echo
1608 $as_echo "## ---------------- ##
1609 ## Cache variables. ##
1610 ## ---------------- ##"
1611 echo
1612 # The following way of writing the cache mishandles newlines in values,
1614 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1615 eval ac_val=\$$ac_var
1616 case $ac_val in #(
1617 *${as_nl}*)
1618 case $ac_var in #(
1619 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1621 esac
1622 case $ac_var in #(
1623 _ | IFS | as_nl) ;; #(
1624 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1625 *) { eval $ac_var=; unset $ac_var;} ;;
1626 esac ;;
1627 esac
1628 done
1629 (set) 2>&1 |
1630 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1631 *${as_nl}ac_space=\ *)
1632 sed -n \
1633 "s/'\''/'\''\\\\'\'''\''/g;
1634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1635 ;; #(
1637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1639 esac |
1640 sort
1642 echo
1644 $as_echo "## ----------------- ##
1645 ## Output variables. ##
1646 ## ----------------- ##"
1647 echo
1648 for ac_var in $ac_subst_vars
1650 eval ac_val=\$$ac_var
1651 case $ac_val in
1652 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1653 esac
1654 $as_echo "$ac_var='\''$ac_val'\''"
1655 done | sort
1656 echo
1658 if test -n "$ac_subst_files"; then
1659 $as_echo "## ------------------- ##
1660 ## File substitutions. ##
1661 ## ------------------- ##"
1662 echo
1663 for ac_var in $ac_subst_files
1665 eval ac_val=\$$ac_var
1666 case $ac_val in
1667 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 esac
1669 $as_echo "$ac_var='\''$ac_val'\''"
1670 done | sort
1671 echo
1674 if test -s confdefs.h; then
1675 $as_echo "## ----------- ##
1676 ## confdefs.h. ##
1677 ## ----------- ##"
1678 echo
1679 cat confdefs.h
1680 echo
1682 test "$ac_signal" != 0 &&
1683 $as_echo "$as_me: caught signal $ac_signal"
1684 $as_echo "$as_me: exit $exit_status"
1685 } >&5
1686 rm -f core *.core core.conftest.* &&
1687 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1688 exit $exit_status
1690 for ac_signal in 1 2 13 15; do
1691 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1692 done
1693 ac_signal=0
1695 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1696 rm -f -r conftest* confdefs.h
1698 $as_echo "/* confdefs.h */" > confdefs.h
1700 # Predefined preprocessor variables.
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_NAME "$PACKAGE_NAME"
1704 _ACEOF
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1708 _ACEOF
1710 cat >>confdefs.h <<_ACEOF
1711 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1712 _ACEOF
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_STRING "$PACKAGE_STRING"
1716 _ACEOF
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1720 _ACEOF
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_URL "$PACKAGE_URL"
1724 _ACEOF
1727 # Let the site file select an alternate cache file if it wants to.
1728 # Prefer an explicitly selected file to automatically selected ones.
1729 ac_site_file1=NONE
1730 ac_site_file2=NONE
1731 if test -n "$CONFIG_SITE"; then
1732 # We do not want a PATH search for config.site.
1733 case $CONFIG_SITE in #((
1734 -*) ac_site_file1=./$CONFIG_SITE;;
1735 */*) ac_site_file1=$CONFIG_SITE;;
1736 *) ac_site_file1=./$CONFIG_SITE;;
1737 esac
1738 elif test "x$prefix" != xNONE; then
1739 ac_site_file1=$prefix/share/config.site
1740 ac_site_file2=$prefix/etc/config.site
1741 else
1742 ac_site_file1=$ac_default_prefix/share/config.site
1743 ac_site_file2=$ac_default_prefix/etc/config.site
1745 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1747 test "x$ac_site_file" = xNONE && continue
1748 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1750 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1751 sed 's/^/| /' "$ac_site_file" >&5
1752 . "$ac_site_file" \
1753 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1755 as_fn_error $? "failed to load site script $ac_site_file
1756 See \`config.log' for more details" "$LINENO" 5; }
1758 done
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special files
1762 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1763 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1765 $as_echo "$as_me: loading cache $cache_file" >&6;}
1766 case $cache_file in
1767 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1768 *) . "./$cache_file";;
1769 esac
1771 else
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1773 $as_echo "$as_me: creating cache $cache_file" >&6;}
1774 >$cache_file
1777 # Check that the precious variables saved in the cache have kept the same
1778 # value.
1779 ac_cache_corrupted=false
1780 for ac_var in $ac_precious_vars; do
1781 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1782 eval ac_new_set=\$ac_env_${ac_var}_set
1783 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1784 eval ac_new_val=\$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1786 set,)
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1788 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1790 ,set)
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1792 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1794 ,);;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 # differences in whitespace do not lead to failure.
1798 ac_old_val_w=`echo x $ac_old_val`
1799 ac_new_val_w=`echo x $ac_new_val`
1800 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1802 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 ac_cache_corrupted=:
1804 else
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1806 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1807 eval $ac_var=\$ac_old_val
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1810 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1812 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1813 fi;;
1814 esac
1815 # Pass precious variables to config.status.
1816 if test "$ac_new_set" = set; then
1817 case $ac_new_val in
1818 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 *) ac_arg=$ac_var=$ac_new_val ;;
1820 esac
1821 case " $ac_configure_args " in
1822 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1823 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1824 esac
1826 done
1827 if $ac_cache_corrupted; then
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1831 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1832 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1834 ## -------------------- ##
1835 ## Main body of script. ##
1836 ## -------------------- ##
1838 ac_ext=c
1839 ac_cpp='$CPP $CPPFLAGS'
1840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1845 am__api_version='1.14'
1847 ac_aux_dir=
1848 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1849 if test -f "$ac_dir/install-sh"; then
1850 ac_aux_dir=$ac_dir
1851 ac_install_sh="$ac_aux_dir/install-sh -c"
1852 break
1853 elif test -f "$ac_dir/install.sh"; then
1854 ac_aux_dir=$ac_dir
1855 ac_install_sh="$ac_aux_dir/install.sh -c"
1856 break
1857 elif test -f "$ac_dir/shtool"; then
1858 ac_aux_dir=$ac_dir
1859 ac_install_sh="$ac_aux_dir/shtool install -c"
1860 break
1862 done
1863 if test -z "$ac_aux_dir"; then
1864 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1867 # These three variables are undocumented and unsupported,
1868 # and are intended to be withdrawn in a future Autoconf release.
1869 # They can cause serious problems if a builder's source tree is in a directory
1870 # whose full name contains unusual characters.
1871 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1872 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1873 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1876 # Find a good install program. We prefer a C program (faster),
1877 # so one script is as good as another. But avoid the broken or
1878 # incompatible versions:
1879 # SysV /etc/install, /usr/sbin/install
1880 # SunOS /usr/etc/install
1881 # IRIX /sbin/install
1882 # AIX /bin/install
1883 # AmigaOS /C/install, which installs bootblocks on floppy discs
1884 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1885 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1886 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1887 # OS/2's system install, which has a completely different semantic
1888 # ./install, which can be erroneously created by make from ./install.sh.
1889 # Reject install programs that cannot install multiple files.
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1891 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1892 if test -z "$INSTALL"; then
1893 if ${ac_cv_path_install+:} false; then :
1894 $as_echo_n "(cached) " >&6
1895 else
1896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 for as_dir in $PATH
1899 IFS=$as_save_IFS
1900 test -z "$as_dir" && as_dir=.
1901 # Account for people who put trailing slashes in PATH elements.
1902 case $as_dir/ in #((
1903 ./ | .// | /[cC]/* | \
1904 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1905 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1906 /usr/ucb/* ) ;;
1908 # OSF1 and SCO ODT 3.0 have their own names for install.
1909 # Don't use installbsd from OSF since it installs stuff as root
1910 # by default.
1911 for ac_prog in ginstall scoinst install; do
1912 for ac_exec_ext in '' $ac_executable_extensions; do
1913 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1914 if test $ac_prog = install &&
1915 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1916 # AIX install. It has an incompatible calling convention.
1918 elif test $ac_prog = install &&
1919 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1920 # program-specific install script used by HP pwplus--don't use.
1922 else
1923 rm -rf conftest.one conftest.two conftest.dir
1924 echo one > conftest.one
1925 echo two > conftest.two
1926 mkdir conftest.dir
1927 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1928 test -s conftest.one && test -s conftest.two &&
1929 test -s conftest.dir/conftest.one &&
1930 test -s conftest.dir/conftest.two
1931 then
1932 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1933 break 3
1937 done
1938 done
1940 esac
1942 done
1943 IFS=$as_save_IFS
1945 rm -rf conftest.one conftest.two conftest.dir
1948 if test "${ac_cv_path_install+set}" = set; then
1949 INSTALL=$ac_cv_path_install
1950 else
1951 # As a last resort, use the slow shell script. Don't cache a
1952 # value for INSTALL within a source directory, because that will
1953 # break other packages using the cache if that directory is
1954 # removed, or if the value is a relative name.
1955 INSTALL=$ac_install_sh
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1959 $as_echo "$INSTALL" >&6; }
1961 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1962 # It thinks the first close brace ends the variable substitution.
1963 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1965 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1967 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1970 $as_echo_n "checking whether build environment is sane... " >&6; }
1971 # Reject unsafe characters in $srcdir or the absolute working directory
1972 # name. Accept space and tab only in the latter.
1973 am_lf='
1975 case `pwd` in
1976 *[\\\"\#\$\&\'\`$am_lf]*)
1977 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1978 esac
1979 case $srcdir in
1980 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1981 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1982 esac
1984 # Do 'set' in a subshell so we don't clobber the current shell's
1985 # arguments. Must try -L first in case configure is actually a
1986 # symlink; some systems play weird games with the mod time of symlinks
1987 # (eg FreeBSD returns the mod time of the symlink's containing
1988 # directory).
1989 if (
1990 am_has_slept=no
1991 for am_try in 1 2; do
1992 echo "timestamp, slept: $am_has_slept" > conftest.file
1993 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1994 if test "$*" = "X"; then
1995 # -L didn't work.
1996 set X `ls -t "$srcdir/configure" conftest.file`
1998 if test "$*" != "X $srcdir/configure conftest.file" \
1999 && test "$*" != "X conftest.file $srcdir/configure"; then
2001 # If neither matched, then we have a broken ls. This can happen
2002 # if, for instance, CONFIG_SHELL is bash and it inherits a
2003 # broken ls alias from the environment. This has actually
2004 # happened. Such a system could not be considered "sane".
2005 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2006 alias in your environment" "$LINENO" 5
2008 if test "$2" = conftest.file || test $am_try -eq 2; then
2009 break
2011 # Just in case.
2012 sleep 1
2013 am_has_slept=yes
2014 done
2015 test "$2" = conftest.file
2017 then
2018 # Ok.
2020 else
2021 as_fn_error $? "newly created file is older than distributed files!
2022 Check your system clock" "$LINENO" 5
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2025 $as_echo "yes" >&6; }
2026 # If we didn't sleep, we still need to ensure time stamps of config.status and
2027 # generated files are strictly newer.
2028 am_sleep_pid=
2029 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2030 ( sleep 1 ) &
2031 am_sleep_pid=$!
2034 rm -f conftest.file
2036 test "$program_prefix" != NONE &&
2037 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2038 # Use a double $ so make ignores it.
2039 test "$program_suffix" != NONE &&
2040 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2041 # Double any \ or $.
2042 # By default was `s,x,x', remove it if useless.
2043 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2044 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2046 # expand $ac_aux_dir to an absolute path
2047 am_aux_dir=`cd $ac_aux_dir && pwd`
2049 if test x"${MISSING+set}" != xset; then
2050 case $am_aux_dir in
2051 *\ * | *\ *)
2052 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2054 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2055 esac
2057 # Use eval to expand $SHELL
2058 if eval "$MISSING --is-lightweight"; then
2059 am_missing_run="$MISSING "
2060 else
2061 am_missing_run=
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2063 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2066 if test x"${install_sh}" != xset; then
2067 case $am_aux_dir in
2068 *\ * | *\ *)
2069 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2071 install_sh="\${SHELL} $am_aux_dir/install-sh"
2072 esac
2075 # Installed binaries are usually stripped using 'strip' when the user
2076 # run "make install-strip". However 'strip' might not be the right
2077 # tool to use in cross-compilation environments, therefore Automake
2078 # will honor the 'STRIP' environment variable to overrule this program.
2079 if test "$cross_compiling" != no; then
2080 if test -n "$ac_tool_prefix"; then
2081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2082 set dummy ${ac_tool_prefix}strip; ac_word=$2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if ${ac_cv_prog_STRIP+:} false; then :
2086 $as_echo_n "(cached) " >&6
2087 else
2088 if test -n "$STRIP"; then
2089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2090 else
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 for as_dir in $PATH
2094 IFS=$as_save_IFS
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 break 2
2102 done
2103 done
2104 IFS=$as_save_IFS
2108 STRIP=$ac_cv_prog_STRIP
2109 if test -n "$STRIP"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2111 $as_echo "$STRIP" >&6; }
2112 else
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114 $as_echo "no" >&6; }
2119 if test -z "$ac_cv_prog_STRIP"; then
2120 ac_ct_STRIP=$STRIP
2121 # Extract the first word of "strip", so it can be a program name with args.
2122 set dummy strip; ac_word=$2
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 $as_echo_n "checking for $ac_word... " >&6; }
2125 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2126 $as_echo_n "(cached) " >&6
2127 else
2128 if test -n "$ac_ct_STRIP"; then
2129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2130 else
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 for as_dir in $PATH
2134 IFS=$as_save_IFS
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2138 ac_cv_prog_ac_ct_STRIP="strip"
2139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 break 2
2142 done
2143 done
2144 IFS=$as_save_IFS
2148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2149 if test -n "$ac_ct_STRIP"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2151 $as_echo "$ac_ct_STRIP" >&6; }
2152 else
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 $as_echo "no" >&6; }
2157 if test "x$ac_ct_STRIP" = x; then
2158 STRIP=":"
2159 else
2160 case $cross_compiling:$ac_tool_warned in
2161 yes:)
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2164 ac_tool_warned=yes ;;
2165 esac
2166 STRIP=$ac_ct_STRIP
2168 else
2169 STRIP="$ac_cv_prog_STRIP"
2173 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2176 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2177 if test -z "$MKDIR_P"; then
2178 if ${ac_cv_path_mkdir+:} false; then :
2179 $as_echo_n "(cached) " >&6
2180 else
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2184 IFS=$as_save_IFS
2185 test -z "$as_dir" && as_dir=.
2186 for ac_prog in mkdir gmkdir; do
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2189 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2190 'mkdir (GNU coreutils) '* | \
2191 'mkdir (coreutils) '* | \
2192 'mkdir (fileutils) '4.1*)
2193 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2194 break 3;;
2195 esac
2196 done
2197 done
2198 done
2199 IFS=$as_save_IFS
2203 test -d ./--version && rmdir ./--version
2204 if test "${ac_cv_path_mkdir+set}" = set; then
2205 MKDIR_P="$ac_cv_path_mkdir -p"
2206 else
2207 # As a last resort, use the slow shell script. Don't cache a
2208 # value for MKDIR_P within a source directory, because that will
2209 # break other packages using the cache if that directory is
2210 # removed, or if the value is a relative name.
2211 MKDIR_P="$ac_install_sh -d"
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2215 $as_echo "$MKDIR_P" >&6; }
2217 for ac_prog in gawk mawk nawk awk
2219 # Extract the first word of "$ac_prog", so it can be a program name with args.
2220 set dummy $ac_prog; ac_word=$2
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2222 $as_echo_n "checking for $ac_word... " >&6; }
2223 if ${ac_cv_prog_AWK+:} false; then :
2224 $as_echo_n "(cached) " >&6
2225 else
2226 if test -n "$AWK"; then
2227 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2228 else
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 for as_dir in $PATH
2232 IFS=$as_save_IFS
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_AWK="$ac_prog"
2237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 break 2
2240 done
2241 done
2242 IFS=$as_save_IFS
2246 AWK=$ac_cv_prog_AWK
2247 if test -n "$AWK"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2249 $as_echo "$AWK" >&6; }
2250 else
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2256 test -n "$AWK" && break
2257 done
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2260 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2261 set x ${MAKE-make}
2262 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2263 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2264 $as_echo_n "(cached) " >&6
2265 else
2266 cat >conftest.make <<\_ACEOF
2267 SHELL = /bin/sh
2268 all:
2269 @echo '@@@%%%=$(MAKE)=@@@%%%'
2270 _ACEOF
2271 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2272 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2273 *@@@%%%=?*=@@@%%%*)
2274 eval ac_cv_prog_make_${ac_make}_set=yes;;
2276 eval ac_cv_prog_make_${ac_make}_set=no;;
2277 esac
2278 rm -f conftest.make
2280 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2282 $as_echo "yes" >&6; }
2283 SET_MAKE=
2284 else
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2286 $as_echo "no" >&6; }
2287 SET_MAKE="MAKE=${MAKE-make}"
2290 rm -rf .tst 2>/dev/null
2291 mkdir .tst 2>/dev/null
2292 if test -d .tst; then
2293 am__leading_dot=.
2294 else
2295 am__leading_dot=_
2297 rmdir .tst 2>/dev/null
2299 # Check whether --enable-silent-rules was given.
2300 if test "${enable_silent_rules+set}" = set; then :
2301 enableval=$enable_silent_rules;
2304 case $enable_silent_rules in # (((
2305 yes) AM_DEFAULT_VERBOSITY=0;;
2306 no) AM_DEFAULT_VERBOSITY=1;;
2307 *) AM_DEFAULT_VERBOSITY=1;;
2308 esac
2309 am_make=${MAKE-make}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2311 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2312 if ${am_cv_make_support_nested_variables+:} false; then :
2313 $as_echo_n "(cached) " >&6
2314 else
2315 if $as_echo 'TRUE=$(BAR$(V))
2316 BAR0=false
2317 BAR1=true
2319 am__doit:
2320 @$(TRUE)
2321 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2322 am_cv_make_support_nested_variables=yes
2323 else
2324 am_cv_make_support_nested_variables=no
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2328 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2329 if test $am_cv_make_support_nested_variables = yes; then
2330 AM_V='$(V)'
2331 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2332 else
2333 AM_V=$AM_DEFAULT_VERBOSITY
2334 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2336 AM_BACKSLASH='\'
2338 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2339 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2340 # is not polluted with repeated "-I."
2341 am__isrc=' -I$(srcdir)'
2342 # test to see if srcdir already configured
2343 if test -f $srcdir/config.status; then
2344 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2348 # test whether we have cygpath
2349 if test -z "$CYGPATH_W"; then
2350 if (cygpath --version) >/dev/null 2>/dev/null; then
2351 CYGPATH_W='cygpath -w'
2352 else
2353 CYGPATH_W=echo
2358 # Define the identity of the package.
2359 PACKAGE='dejagnu'
2360 VERSION='1.6.3-git'
2363 cat >>confdefs.h <<_ACEOF
2364 #define PACKAGE "$PACKAGE"
2365 _ACEOF
2368 cat >>confdefs.h <<_ACEOF
2369 #define VERSION "$VERSION"
2370 _ACEOF
2372 # Some tools Automake needs.
2374 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2377 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2380 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2383 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2386 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2388 # For better backward compatibility. To be removed once Automake 1.9.x
2389 # dies out for good. For more background, see:
2390 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2391 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2392 mkdir_p='$(MKDIR_P)'
2394 # We need awk for the "check" target. The system "awk" is bad on
2395 # some platforms.
2396 # Always define AMTAR for backward compatibility. Yes, it's still used
2397 # in the wild :-( We should find a proper way to deprecate it ...
2398 AMTAR='$${TAR-tar}'
2401 # We'll loop over all known methods to create a tar archive until one works.
2402 _am_tools='gnutar pax cpio none'
2404 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2411 # POSIX will say in a future version that running "rm -f" with no argument
2412 # is OK; and we want to be able to make that assumption in our Makefile
2413 # recipes. So use an aggressive probe to check that the usage we want is
2414 # actually supported "in the wild" to an acceptable degree.
2415 # See automake bug#10828.
2416 # To make any issue more visible, cause the running configure to be aborted
2417 # by default if the 'rm' program in use doesn't match our expectations; the
2418 # user can still override this though.
2419 if rm -f && rm -fr && rm -rf; then : OK; else
2420 cat >&2 <<'END'
2421 Oops!
2423 Your 'rm' program seems unable to run without file operands specified
2424 on the command line, even when the '-f' option is present. This is contrary
2425 to the behaviour of most rm programs out there, and not conforming with
2426 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2428 Please tell bug-automake@gnu.org about your system, including the value
2429 of your $PATH and any error possibly output before this message. This
2430 can help us improve future automake versions.
2433 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2434 echo 'Configuration will proceed anyway, since you have set the' >&2
2435 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2436 echo >&2
2437 else
2438 cat >&2 <<'END'
2439 Aborting the configuration process, to ensure you take notice of the issue.
2441 You can download and install GNU coreutils to get an 'rm' implementation
2442 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2444 If you want to complete the configuration process using your problematic
2445 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2446 to "yes", and re-run configure.
2449 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2454 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2455 # Check whether --enable-maintainer-mode was given.
2456 if test "${enable_maintainer_mode+set}" = set; then :
2457 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2458 else
2459 USE_MAINTAINER_MODE=no
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2463 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2464 if test $USE_MAINTAINER_MODE = yes; then
2465 MAINTAINER_MODE_TRUE=
2466 MAINTAINER_MODE_FALSE='#'
2467 else
2468 MAINTAINER_MODE_TRUE='#'
2469 MAINTAINER_MODE_FALSE=
2472 MAINT=$MAINTAINER_MODE_TRUE
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2476 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2477 set x ${MAKE-make}
2478 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2479 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2480 $as_echo_n "(cached) " >&6
2481 else
2482 cat >conftest.make <<\_ACEOF
2483 SHELL = /bin/sh
2484 all:
2485 @echo '@@@%%%=$(MAKE)=@@@%%%'
2486 _ACEOF
2487 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2489 *@@@%%%=?*=@@@%%%*)
2490 eval ac_cv_prog_make_${ac_make}_set=yes;;
2492 eval ac_cv_prog_make_${ac_make}_set=no;;
2493 esac
2494 rm -f conftest.make
2496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2498 $as_echo "yes" >&6; }
2499 SET_MAKE=
2500 else
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502 $as_echo "no" >&6; }
2503 SET_MAKE="MAKE=${MAKE-make}"
2507 for ac_prog in gawk mawk nawk awk
2509 # Extract the first word of "$ac_prog", so it can be a program name with args.
2510 set dummy $ac_prog; ac_word=$2
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512 $as_echo_n "checking for $ac_word... " >&6; }
2513 if ${ac_cv_prog_AWK+:} false; then :
2514 $as_echo_n "(cached) " >&6
2515 else
2516 if test -n "$AWK"; then
2517 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2518 else
2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 for as_dir in $PATH
2522 IFS=$as_save_IFS
2523 test -z "$as_dir" && as_dir=.
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2526 ac_cv_prog_AWK="$ac_prog"
2527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 break 2
2530 done
2531 done
2532 IFS=$as_save_IFS
2536 AWK=$ac_cv_prog_AWK
2537 if test -n "$AWK"; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2539 $as_echo "$AWK" >&6; }
2540 else
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 $as_echo "no" >&6; }
2546 test -n "$AWK" && break
2547 done
2549 ac_ext=c
2550 ac_cpp='$CPP $CPPFLAGS'
2551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2554 if test -n "$ac_tool_prefix"; then
2555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if ${ac_cv_prog_CC+:} false; then :
2560 $as_echo_n "(cached) " >&6
2561 else
2562 if test -n "$CC"; then
2563 ac_cv_prog_CC="$CC" # Let the user override the test.
2564 else
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 for as_dir in $PATH
2568 IFS=$as_save_IFS
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2572 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 break 2
2576 done
2577 done
2578 IFS=$as_save_IFS
2582 CC=$ac_cv_prog_CC
2583 if test -n "$CC"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2585 $as_echo "$CC" >&6; }
2586 else
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2593 if test -z "$ac_cv_prog_CC"; then
2594 ac_ct_CC=$CC
2595 # Extract the first word of "gcc", so it can be a program name with args.
2596 set dummy gcc; ac_word=$2
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2598 $as_echo_n "checking for $ac_word... " >&6; }
2599 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2600 $as_echo_n "(cached) " >&6
2601 else
2602 if test -n "$ac_ct_CC"; then
2603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2604 else
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2612 ac_cv_prog_ac_ct_CC="gcc"
2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 break 2
2616 done
2617 done
2618 IFS=$as_save_IFS
2622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2625 $as_echo "$ac_ct_CC" >&6; }
2626 else
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2628 $as_echo "no" >&6; }
2631 if test "x$ac_ct_CC" = x; then
2632 CC=""
2633 else
2634 case $cross_compiling:$ac_tool_warned in
2635 yes:)
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2638 ac_tool_warned=yes ;;
2639 esac
2640 CC=$ac_ct_CC
2642 else
2643 CC="$ac_cv_prog_CC"
2646 if test -z "$CC"; then
2647 if test -n "$ac_tool_prefix"; then
2648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2649 set dummy ${ac_tool_prefix}cc; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_CC+:} false; then :
2653 $as_echo_n "(cached) " >&6
2654 else
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 else
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2661 IFS=$as_save_IFS
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665 ac_cv_prog_CC="${ac_tool_prefix}cc"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 break 2
2669 done
2670 done
2671 IFS=$as_save_IFS
2675 CC=$ac_cv_prog_CC
2676 if test -n "$CC"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2678 $as_echo "$CC" >&6; }
2679 else
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2687 if test -z "$CC"; then
2688 # Extract the first word of "cc", so it can be a program name with args.
2689 set dummy cc; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_CC+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2697 else
2698 ac_prog_rejected=no
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 for as_dir in $PATH
2702 IFS=$as_save_IFS
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2707 ac_prog_rejected=yes
2708 continue
2710 ac_cv_prog_CC="cc"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 break 2
2714 done
2715 done
2716 IFS=$as_save_IFS
2718 if test $ac_prog_rejected = yes; then
2719 # We found a bogon in the path, so make sure we never use it.
2720 set dummy $ac_cv_prog_CC
2721 shift
2722 if test $# != 0; then
2723 # We chose a different compiler from the bogus one.
2724 # However, it has the same basename, so the bogon will be chosen
2725 # first if we set CC to just the basename; use the full file name.
2726 shift
2727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2732 CC=$ac_cv_prog_CC
2733 if test -n "$CC"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2735 $as_echo "$CC" >&6; }
2736 else
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2743 if test -z "$CC"; then
2744 if test -n "$ac_tool_prefix"; then
2745 for ac_prog in cl.exe
2747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if ${ac_cv_prog_CC+:} false; then :
2752 $as_echo_n "(cached) " >&6
2753 else
2754 if test -n "$CC"; then
2755 ac_cv_prog_CC="$CC" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2768 done
2769 done
2770 IFS=$as_save_IFS
2774 CC=$ac_cv_prog_CC
2775 if test -n "$CC"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2777 $as_echo "$CC" >&6; }
2778 else
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2784 test -n "$CC" && break
2785 done
2787 if test -z "$CC"; then
2788 ac_ct_CC=$CC
2789 for ac_prog in cl.exe
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2796 $as_echo_n "(cached) " >&6
2797 else
2798 if test -n "$ac_ct_CC"; then
2799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2804 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_ac_ct_CC="$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 break 2
2812 done
2813 done
2814 IFS=$as_save_IFS
2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2819 if test -n "$ac_ct_CC"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2821 $as_echo "$ac_ct_CC" >&6; }
2822 else
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$ac_ct_CC" && break
2829 done
2831 if test "x$ac_ct_CC" = x; then
2832 CC=""
2833 else
2834 case $cross_compiling:$ac_tool_warned in
2835 yes:)
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2838 ac_tool_warned=yes ;;
2839 esac
2840 CC=$ac_ct_CC
2847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2849 as_fn_error $? "no acceptable C compiler found in \$PATH
2850 See \`config.log' for more details" "$LINENO" 5; }
2852 # Provide some information about the compiler.
2853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2854 set X $ac_compile
2855 ac_compiler=$2
2856 for ac_option in --version -v -V -qversion; do
2857 { { ac_try="$ac_compiler $ac_option >&5"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 $as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 sed '10a\
2868 ... rest of stderr output deleted ...
2869 10q' conftest.err >conftest.er1
2870 cat conftest.er1 >&5
2872 rm -f conftest.er1 conftest.err
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; }
2875 done
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 ac_clean_files_save=$ac_clean_files
2889 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2890 # Try to create an executable without -o first, disregard a.out.
2891 # It will help us diagnose broken compilers, and finding out an intuition
2892 # of exeext.
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2894 $as_echo_n "checking whether the C compiler works... " >&6; }
2895 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2897 # The possible output files:
2898 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2900 ac_rmfiles=
2901 for ac_file in $ac_files
2903 case $ac_file in
2904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2905 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2906 esac
2907 done
2908 rm -f $ac_rmfiles
2910 if { { ac_try="$ac_link_default"
2911 case "(($ac_try" in
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2914 esac
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_link_default") 2>&5
2918 ac_status=$?
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; }; then :
2921 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2922 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2923 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2924 # so that the user can short-circuit this test for compilers unknown to
2925 # Autoconf.
2926 for ac_file in $ac_files ''
2928 test -f "$ac_file" || continue
2929 case $ac_file in
2930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2932 [ab].out )
2933 # We found the default executable, but exeext='' is most
2934 # certainly right.
2935 break;;
2936 *.* )
2937 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2938 then :; else
2939 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2941 # We set ac_cv_exeext here because the later test for it is not
2942 # safe: cross compilers may not add the suffix if given an `-o'
2943 # argument, so we may need to know it at that point already.
2944 # Even if this section looks crufty: it has the advantage of
2945 # actually working.
2946 break;;
2948 break;;
2949 esac
2950 done
2951 test "$ac_cv_exeext" = no && ac_cv_exeext=
2953 else
2954 ac_file=''
2956 if test -z "$ac_file"; then :
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2959 $as_echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2964 as_fn_error 77 "C compiler cannot create executables
2965 See \`config.log' for more details" "$LINENO" 5; }
2966 else
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968 $as_echo "yes" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2971 $as_echo_n "checking for C compiler default output file name... " >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2973 $as_echo "$ac_file" >&6; }
2974 ac_exeext=$ac_cv_exeext
2976 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2977 ac_clean_files=$ac_clean_files_save
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2979 $as_echo_n "checking for suffix of executables... " >&6; }
2980 if { { ac_try="$ac_link"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_link") 2>&5
2988 ac_status=$?
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; }; then :
2991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2993 # work properly (i.e., refer to `conftest.exe'), while it won't with
2994 # `rm'.
2995 for ac_file in conftest.exe conftest conftest.*; do
2996 test -f "$ac_file" || continue
2997 case $ac_file in
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3000 break;;
3001 * ) break;;
3002 esac
3003 done
3004 else
3005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3008 See \`config.log' for more details" "$LINENO" 5; }
3010 rm -f conftest conftest$ac_cv_exeext
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3012 $as_echo "$ac_cv_exeext" >&6; }
3014 rm -f conftest.$ac_ext
3015 EXEEXT=$ac_cv_exeext
3016 ac_exeext=$EXEEXT
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3019 #include <stdio.h>
3021 main ()
3023 FILE *f = fopen ("conftest.out", "w");
3024 return ferror (f) || fclose (f) != 0;
3027 return 0;
3029 _ACEOF
3030 ac_clean_files="$ac_clean_files conftest.out"
3031 # Check that the compiler produces executables we can run. If not, either
3032 # the compiler is broken, or we cross compile.
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3034 $as_echo_n "checking whether we are cross compiling... " >&6; }
3035 if test "$cross_compiling" != yes; then
3036 { { ac_try="$ac_link"
3037 case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3040 esac
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_link") 2>&5
3044 ac_status=$?
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; }
3047 if { ac_try='./conftest$ac_cv_exeext'
3048 { { case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_try") 2>&5
3055 ac_status=$?
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; }; then
3058 cross_compiling=no
3059 else
3060 if test "$cross_compiling" = maybe; then
3061 cross_compiling=yes
3062 else
3063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 as_fn_error $? "cannot run C compiled programs.
3066 If you meant to cross compile, use \`--host'.
3067 See \`config.log' for more details" "$LINENO" 5; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3072 $as_echo "$cross_compiling" >&6; }
3074 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3075 ac_clean_files=$ac_clean_files_save
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3077 $as_echo_n "checking for suffix of object files... " >&6; }
3078 if ${ac_cv_objext+:} false; then :
3079 $as_echo_n "(cached) " >&6
3080 else
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3085 main ()
3089 return 0;
3091 _ACEOF
3092 rm -f conftest.o conftest.obj
3093 if { { ac_try="$ac_compile"
3094 case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3097 esac
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_compile") 2>&5
3101 ac_status=$?
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; then :
3104 for ac_file in conftest.o conftest.obj conftest.*; do
3105 test -f "$ac_file" || continue;
3106 case $ac_file in
3107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3108 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3109 break;;
3110 esac
3111 done
3112 else
3113 $as_echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "cannot compute suffix of object files: cannot compile
3119 See \`config.log' for more details" "$LINENO" 5; }
3121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3124 $as_echo "$ac_cv_objext" >&6; }
3125 OBJEXT=$ac_cv_objext
3126 ac_objext=$OBJEXT
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3129 if ${ac_cv_c_compiler_gnu+:} false; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3136 main ()
3138 #ifndef __GNUC__
3139 choke me
3140 #endif
3143 return 0;
3145 _ACEOF
3146 if ac_fn_c_try_compile "$LINENO"; then :
3147 ac_compiler_gnu=yes
3148 else
3149 ac_compiler_gnu=no
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3157 if test $ac_compiler_gnu = yes; then
3158 GCC=yes
3159 else
3160 GCC=
3162 ac_test_CFLAGS=${CFLAGS+set}
3163 ac_save_CFLAGS=$CFLAGS
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3166 if ${ac_cv_prog_cc_g+:} false; then :
3167 $as_echo_n "(cached) " >&6
3168 else
3169 ac_save_c_werror_flag=$ac_c_werror_flag
3170 ac_c_werror_flag=yes
3171 ac_cv_prog_cc_g=no
3172 CFLAGS="-g"
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3177 main ()
3181 return 0;
3183 _ACEOF
3184 if ac_fn_c_try_compile "$LINENO"; then :
3185 ac_cv_prog_cc_g=yes
3186 else
3187 CFLAGS=""
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3192 main ()
3196 return 0;
3198 _ACEOF
3199 if ac_fn_c_try_compile "$LINENO"; then :
3201 else
3202 ac_c_werror_flag=$ac_save_c_werror_flag
3203 CFLAGS="-g"
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3208 main ()
3212 return 0;
3214 _ACEOF
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216 ac_cv_prog_cc_g=yes
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 ac_c_werror_flag=$ac_save_c_werror_flag
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3226 $as_echo "$ac_cv_prog_cc_g" >&6; }
3227 if test "$ac_test_CFLAGS" = set; then
3228 CFLAGS=$ac_save_CFLAGS
3229 elif test $ac_cv_prog_cc_g = yes; then
3230 if test "$GCC" = yes; then
3231 CFLAGS="-g -O2"
3232 else
3233 CFLAGS="-g"
3235 else
3236 if test "$GCC" = yes; then
3237 CFLAGS="-O2"
3238 else
3239 CFLAGS=
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3244 if ${ac_cv_prog_cc_c89+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 ac_cv_prog_cc_c89=no
3248 ac_save_CC=$CC
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3251 #include <stdarg.h>
3252 #include <stdio.h>
3253 struct stat;
3254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3255 struct buf { int x; };
3256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3257 static char *e (p, i)
3258 char **p;
3259 int i;
3261 return p[i];
3263 static char *f (char * (*g) (char **, int), char **p, ...)
3265 char *s;
3266 va_list v;
3267 va_start (v,p);
3268 s = g (p, va_arg (v,int));
3269 va_end (v);
3270 return s;
3273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3274 function prototypes and stuff, but not '\xHH' hex character constants.
3275 These don't provoke an error unfortunately, instead are silently treated
3276 as 'x'. The following induces an error, until -std is added to get
3277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3278 array size at least. It's necessary to write '\x00'==0 to get something
3279 that's true only with -std. */
3280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3283 inside strings and character constants. */
3284 #define FOO(x) 'x'
3285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3287 int test (int i, double x);
3288 struct s1 {int (*f) (int a);};
3289 struct s2 {int (*f) (double a);};
3290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3291 int argc;
3292 char **argv;
3294 main ()
3296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3298 return 0;
3300 _ACEOF
3301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3304 CC="$ac_save_CC $ac_arg"
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306 ac_cv_prog_cc_c89=$ac_arg
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x$ac_cv_prog_cc_c89" != "xno" && break
3310 done
3311 rm -f conftest.$ac_ext
3312 CC=$ac_save_CC
3315 # AC_CACHE_VAL
3316 case "x$ac_cv_prog_cc_c89" in
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3319 $as_echo "none needed" >&6; } ;;
3320 xno)
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3322 $as_echo "unsupported" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3327 esac
3328 if test "x$ac_cv_prog_cc_c89" != xno; then :
3332 ac_ext=c
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3338 ac_ext=c
3339 ac_cpp='$CPP $CPPFLAGS'
3340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3344 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3345 if ${am_cv_prog_cc_c_o+:} false; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main ()
3356 return 0;
3358 _ACEOF
3359 # Make sure it works both with $CC and with simple cc.
3360 # Following AC_PROG_CC_C_O, we do the test twice because some
3361 # compilers refuse to overwrite an existing .o file with -o,
3362 # though they will create one.
3363 am_cv_prog_cc_c_o=yes
3364 for am_i in 1 2; do
3365 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3366 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3367 ac_status=$?
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } \
3370 && test -f conftest2.$ac_objext; then
3371 : OK
3372 else
3373 am_cv_prog_cc_c_o=no
3374 break
3376 done
3377 rm -f core conftest*
3378 unset am_i
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3381 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3382 if test "$am_cv_prog_cc_c_o" != yes; then
3383 # Losing compiler, so override with the script.
3384 # FIXME: It is wrong to rewrite CC.
3385 # But if we don't then we get into trouble of one sort or another.
3386 # A longer-term fix would be to have automake use am__CC in this case,
3387 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3388 CC="$am_aux_dir/compile $CC"
3390 ac_ext=c
3391 ac_cpp='$CPP $CPPFLAGS'
3392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3396 DEPDIR="${am__leading_dot}deps"
3398 ac_config_commands="$ac_config_commands depfiles"
3401 am_make=${MAKE-make}
3402 cat > confinc << 'END'
3403 am__doit:
3404 @echo this is the am__doit target
3405 .PHONY: am__doit
3407 # If we don't find an include directive, just comment out the code.
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3409 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3410 am__include="#"
3411 am__quote=
3412 _am_result=none
3413 # First try GNU make style include.
3414 echo "include confinc" > confmf
3415 # Ignore all kinds of additional output from 'make'.
3416 case `$am_make -s -f confmf 2> /dev/null` in #(
3417 *the\ am__doit\ target*)
3418 am__include=include
3419 am__quote=
3420 _am_result=GNU
3422 esac
3423 # Now try BSD make style include.
3424 if test "$am__include" = "#"; then
3425 echo '.include "confinc"' > confmf
3426 case `$am_make -s -f confmf 2> /dev/null` in #(
3427 *the\ am__doit\ target*)
3428 am__include=.include
3429 am__quote="\""
3430 _am_result=BSD
3432 esac
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3437 $as_echo "$_am_result" >&6; }
3438 rm -f confinc confmf
3440 # Check whether --enable-dependency-tracking was given.
3441 if test "${enable_dependency_tracking+set}" = set; then :
3442 enableval=$enable_dependency_tracking;
3445 if test "x$enable_dependency_tracking" != xno; then
3446 am_depcomp="$ac_aux_dir/depcomp"
3447 AMDEPBACKSLASH='\'
3448 am__nodep='_no'
3450 if test "x$enable_dependency_tracking" != xno; then
3451 AMDEP_TRUE=
3452 AMDEP_FALSE='#'
3453 else
3454 AMDEP_TRUE='#'
3455 AMDEP_FALSE=
3460 depcc="$CC" am_compiler_list=
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3463 $as_echo_n "checking dependency style of $depcc... " >&6; }
3464 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3468 # We make a subdir and do the tests there. Otherwise we can end up
3469 # making bogus files that we don't know about and never remove. For
3470 # instance it was reported that on HP-UX the gcc test will end up
3471 # making a dummy file named 'D' -- because '-MD' means "put the output
3472 # in D".
3473 rm -rf conftest.dir
3474 mkdir conftest.dir
3475 # Copy depcomp to subdir because otherwise we won't find it if we're
3476 # using a relative directory.
3477 cp "$am_depcomp" conftest.dir
3478 cd conftest.dir
3479 # We will build objects and dependencies in a subdirectory because
3480 # it helps to detect inapplicable dependency modes. For instance
3481 # both Tru64's cc and ICC support -MD to output dependencies as a
3482 # side effect of compilation, but ICC will put the dependencies in
3483 # the current directory while Tru64 will put them in the object
3484 # directory.
3485 mkdir sub
3487 am_cv_CC_dependencies_compiler_type=none
3488 if test "$am_compiler_list" = ""; then
3489 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3491 am__universal=false
3492 case " $depcc " in #(
3493 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3494 esac
3496 for depmode in $am_compiler_list; do
3497 # Setup a source with many dependencies, because some compilers
3498 # like to wrap large dependency lists on column 80 (with \), and
3499 # we should not choose a depcomp mode which is confused by this.
3501 # We need to recreate these files for each test, as the compiler may
3502 # overwrite some of them when testing with obscure command lines.
3503 # This happens at least with the AIX C compiler.
3504 : > sub/conftest.c
3505 for i in 1 2 3 4 5 6; do
3506 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3507 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3508 # Solaris 10 /bin/sh.
3509 echo '/* dummy */' > sub/conftst$i.h
3510 done
3511 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3513 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3514 # mode. It turns out that the SunPro C++ compiler does not properly
3515 # handle '-M -o', and we need to detect this. Also, some Intel
3516 # versions had trouble with output in subdirs.
3517 am__obj=sub/conftest.${OBJEXT-o}
3518 am__minus_obj="-o $am__obj"
3519 case $depmode in
3520 gcc)
3521 # This depmode causes a compiler race in universal mode.
3522 test "$am__universal" = false || continue
3524 nosideeffect)
3525 # After this tag, mechanisms are not by side-effect, so they'll
3526 # only be used when explicitly requested.
3527 if test "x$enable_dependency_tracking" = xyes; then
3528 continue
3529 else
3530 break
3533 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3534 # This compiler won't grok '-c -o', but also, the minuso test has
3535 # not run yet. These depmodes are late enough in the game, and
3536 # so weak that their functioning should not be impacted.
3537 am__obj=conftest.${OBJEXT-o}
3538 am__minus_obj=
3540 none) break ;;
3541 esac
3542 if depmode=$depmode \
3543 source=sub/conftest.c object=$am__obj \
3544 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3545 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3546 >/dev/null 2>conftest.err &&
3547 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3548 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3549 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3550 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3551 # icc doesn't choke on unknown options, it will just issue warnings
3552 # or remarks (even with -Werror). So we grep stderr for any message
3553 # that says an option was ignored or not supported.
3554 # When given -MP, icc 7.0 and 7.1 complain thusly:
3555 # icc: Command line warning: ignoring option '-M'; no argument required
3556 # The diagnosis changed in icc 8.0:
3557 # icc: Command line remark: option '-MP' not supported
3558 if (grep 'ignoring option' conftest.err ||
3559 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3560 am_cv_CC_dependencies_compiler_type=$depmode
3561 break
3564 done
3566 cd ..
3567 rm -rf conftest.dir
3568 else
3569 am_cv_CC_dependencies_compiler_type=none
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3574 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3575 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3578 test "x$enable_dependency_tracking" != xno \
3579 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3580 am__fastdepCC_TRUE=
3581 am__fastdepCC_FALSE='#'
3582 else
3583 am__fastdepCC_TRUE='#'
3584 am__fastdepCC_FALSE=
3588 ac_ext=cpp
3589 ac_cpp='$CXXCPP $CPPFLAGS'
3590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3593 if test -z "$CXX"; then
3594 if test -n "$CCC"; then
3595 CXX=$CCC
3596 else
3597 if test -n "$ac_tool_prefix"; then
3598 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3600 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if ${ac_cv_prog_CXX+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$CXX"; then
3608 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3617 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3621 done
3622 done
3623 IFS=$as_save_IFS
3627 CXX=$ac_cv_prog_CXX
3628 if test -n "$CXX"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3630 $as_echo "$CXX" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3637 test -n "$CXX" && break
3638 done
3640 if test -z "$CXX"; then
3641 ac_ct_CXX=$CXX
3642 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3644 # Extract the first word of "$ac_prog", so it can be a program name with args.
3645 set dummy $ac_prog; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$ac_ct_CXX"; then
3652 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_ac_ct_CXX="$ac_prog"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3672 if test -n "$ac_ct_CXX"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3674 $as_echo "$ac_ct_CXX" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3681 test -n "$ac_ct_CXX" && break
3682 done
3684 if test "x$ac_ct_CXX" = x; then
3685 CXX="g++"
3686 else
3687 case $cross_compiling:$ac_tool_warned in
3688 yes:)
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3691 ac_tool_warned=yes ;;
3692 esac
3693 CXX=$ac_ct_CXX
3699 # Provide some information about the compiler.
3700 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3701 set X $ac_compile
3702 ac_compiler=$2
3703 for ac_option in --version -v -V -qversion; do
3704 { { ac_try="$ac_compiler $ac_option >&5"
3705 case "(($ac_try" in
3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3708 esac
3709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3710 $as_echo "$ac_try_echo"; } >&5
3711 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3712 ac_status=$?
3713 if test -s conftest.err; then
3714 sed '10a\
3715 ... rest of stderr output deleted ...
3716 10q' conftest.err >conftest.er1
3717 cat conftest.er1 >&5
3719 rm -f conftest.er1 conftest.err
3720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 test $ac_status = 0; }
3722 done
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3725 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3726 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3727 $as_echo_n "(cached) " >&6
3728 else
3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3733 main ()
3735 #ifndef __GNUC__
3736 choke me
3737 #endif
3740 return 0;
3742 _ACEOF
3743 if ac_fn_cxx_try_compile "$LINENO"; then :
3744 ac_compiler_gnu=yes
3745 else
3746 ac_compiler_gnu=no
3748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3753 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3754 if test $ac_compiler_gnu = yes; then
3755 GXX=yes
3756 else
3757 GXX=
3759 ac_test_CXXFLAGS=${CXXFLAGS+set}
3760 ac_save_CXXFLAGS=$CXXFLAGS
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3762 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3763 if ${ac_cv_prog_cxx_g+:} false; then :
3764 $as_echo_n "(cached) " >&6
3765 else
3766 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3767 ac_cxx_werror_flag=yes
3768 ac_cv_prog_cxx_g=no
3769 CXXFLAGS="-g"
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3774 main ()
3778 return 0;
3780 _ACEOF
3781 if ac_fn_cxx_try_compile "$LINENO"; then :
3782 ac_cv_prog_cxx_g=yes
3783 else
3784 CXXFLAGS=""
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3789 main ()
3793 return 0;
3795 _ACEOF
3796 if ac_fn_cxx_try_compile "$LINENO"; then :
3798 else
3799 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3800 CXXFLAGS="-g"
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3805 main ()
3809 return 0;
3811 _ACEOF
3812 if ac_fn_cxx_try_compile "$LINENO"; then :
3813 ac_cv_prog_cxx_g=yes
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3823 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3824 if test "$ac_test_CXXFLAGS" = set; then
3825 CXXFLAGS=$ac_save_CXXFLAGS
3826 elif test $ac_cv_prog_cxx_g = yes; then
3827 if test "$GXX" = yes; then
3828 CXXFLAGS="-g -O2"
3829 else
3830 CXXFLAGS="-g"
3832 else
3833 if test "$GXX" = yes; then
3834 CXXFLAGS="-O2"
3835 else
3836 CXXFLAGS=
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 depcc="$CXX" am_compiler_list=
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3848 $as_echo_n "checking dependency style of $depcc... " >&6; }
3849 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3853 # We make a subdir and do the tests there. Otherwise we can end up
3854 # making bogus files that we don't know about and never remove. For
3855 # instance it was reported that on HP-UX the gcc test will end up
3856 # making a dummy file named 'D' -- because '-MD' means "put the output
3857 # in D".
3858 rm -rf conftest.dir
3859 mkdir conftest.dir
3860 # Copy depcomp to subdir because otherwise we won't find it if we're
3861 # using a relative directory.
3862 cp "$am_depcomp" conftest.dir
3863 cd conftest.dir
3864 # We will build objects and dependencies in a subdirectory because
3865 # it helps to detect inapplicable dependency modes. For instance
3866 # both Tru64's cc and ICC support -MD to output dependencies as a
3867 # side effect of compilation, but ICC will put the dependencies in
3868 # the current directory while Tru64 will put them in the object
3869 # directory.
3870 mkdir sub
3872 am_cv_CXX_dependencies_compiler_type=none
3873 if test "$am_compiler_list" = ""; then
3874 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3876 am__universal=false
3877 case " $depcc " in #(
3878 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3879 esac
3881 for depmode in $am_compiler_list; do
3882 # Setup a source with many dependencies, because some compilers
3883 # like to wrap large dependency lists on column 80 (with \), and
3884 # we should not choose a depcomp mode which is confused by this.
3886 # We need to recreate these files for each test, as the compiler may
3887 # overwrite some of them when testing with obscure command lines.
3888 # This happens at least with the AIX C compiler.
3889 : > sub/conftest.c
3890 for i in 1 2 3 4 5 6; do
3891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3892 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3893 # Solaris 10 /bin/sh.
3894 echo '/* dummy */' > sub/conftst$i.h
3895 done
3896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3898 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3899 # mode. It turns out that the SunPro C++ compiler does not properly
3900 # handle '-M -o', and we need to detect this. Also, some Intel
3901 # versions had trouble with output in subdirs.
3902 am__obj=sub/conftest.${OBJEXT-o}
3903 am__minus_obj="-o $am__obj"
3904 case $depmode in
3905 gcc)
3906 # This depmode causes a compiler race in universal mode.
3907 test "$am__universal" = false || continue
3909 nosideeffect)
3910 # After this tag, mechanisms are not by side-effect, so they'll
3911 # only be used when explicitly requested.
3912 if test "x$enable_dependency_tracking" = xyes; then
3913 continue
3914 else
3915 break
3918 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3919 # This compiler won't grok '-c -o', but also, the minuso test has
3920 # not run yet. These depmodes are late enough in the game, and
3921 # so weak that their functioning should not be impacted.
3922 am__obj=conftest.${OBJEXT-o}
3923 am__minus_obj=
3925 none) break ;;
3926 esac
3927 if depmode=$depmode \
3928 source=sub/conftest.c object=$am__obj \
3929 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3930 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3931 >/dev/null 2>conftest.err &&
3932 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3933 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3934 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3935 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3936 # icc doesn't choke on unknown options, it will just issue warnings
3937 # or remarks (even with -Werror). So we grep stderr for any message
3938 # that says an option was ignored or not supported.
3939 # When given -MP, icc 7.0 and 7.1 complain thusly:
3940 # icc: Command line warning: ignoring option '-M'; no argument required
3941 # The diagnosis changed in icc 8.0:
3942 # icc: Command line remark: option '-MP' not supported
3943 if (grep 'ignoring option' conftest.err ||
3944 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3945 am_cv_CXX_dependencies_compiler_type=$depmode
3946 break
3949 done
3951 cd ..
3952 rm -rf conftest.dir
3953 else
3954 am_cv_CXX_dependencies_compiler_type=none
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3959 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3960 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3963 test "x$enable_dependency_tracking" != xno \
3964 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3965 am__fastdepCXX_TRUE=
3966 am__fastdepCXX_FALSE='#'
3967 else
3968 am__fastdepCXX_TRUE='#'
3969 am__fastdepCXX_FALSE=
3976 if test -z "$AWK"; then
3977 as_fn_error $? "AWK not installed" "$LINENO" 5
3980 if test x"$DEJAGNU" = x
3981 then
3982 DEJAGNU="/dev/null"
3986 ac_config_files="$ac_config_files Makefile"
3988 cat >confcache <<\_ACEOF
3989 # This file is a shell script that caches the results of configure
3990 # tests run on this system so they can be shared between configure
3991 # scripts and configure runs, see configure's option --config-cache.
3992 # It is not useful on other systems. If it contains results you don't
3993 # want to keep, you may remove or edit it.
3995 # config.status only pays attention to the cache file if you give it
3996 # the --recheck option to rerun configure.
3998 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3999 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4000 # following values.
4002 _ACEOF
4004 # The following way of writing the cache mishandles newlines in values,
4005 # but we know of no workaround that is simple, portable, and efficient.
4006 # So, we kill variables containing newlines.
4007 # Ultrix sh set writes to stderr and can't be redirected directly,
4008 # and sets the high bit in the cache file unless we assign to the vars.
4010 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4011 eval ac_val=\$$ac_var
4012 case $ac_val in #(
4013 *${as_nl}*)
4014 case $ac_var in #(
4015 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4017 esac
4018 case $ac_var in #(
4019 _ | IFS | as_nl) ;; #(
4020 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4021 *) { eval $ac_var=; unset $ac_var;} ;;
4022 esac ;;
4023 esac
4024 done
4026 (set) 2>&1 |
4027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4028 *${as_nl}ac_space=\ *)
4029 # `set' does not quote correctly, so add quotes: double-quote
4030 # substitution turns \\\\ into \\, and sed turns \\ into \.
4031 sed -n \
4032 "s/'/'\\\\''/g;
4033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4034 ;; #(
4036 # `set' quotes correctly as required by POSIX, so do not add quotes.
4037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4039 esac |
4040 sort
4042 sed '
4043 /^ac_cv_env_/b end
4044 t clear
4045 :clear
4046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4047 t end
4048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4049 :end' >>confcache
4050 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4051 if test -w "$cache_file"; then
4052 if test "x$cache_file" != "x/dev/null"; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4054 $as_echo "$as_me: updating cache $cache_file" >&6;}
4055 if test ! -f "$cache_file" || test -h "$cache_file"; then
4056 cat confcache >"$cache_file"
4057 else
4058 case $cache_file in #(
4059 */* | ?:*)
4060 mv -f confcache "$cache_file"$$ &&
4061 mv -f "$cache_file"$$ "$cache_file" ;; #(
4063 mv -f confcache "$cache_file" ;;
4064 esac
4067 else
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4069 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4072 rm -f confcache
4074 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4075 # Let make expand exec_prefix.
4076 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4078 # Transform confdefs.h into DEFS.
4079 # Protect against shell expansion while executing Makefile rules.
4080 # Protect against Makefile macro expansion.
4082 # If the first sed substitution is executed (which looks for macros that
4083 # take arguments), then branch to the quote section. Otherwise,
4084 # look for a macro that doesn't take arguments.
4085 ac_script='
4086 :mline
4087 /\\$/{
4089 s,\\\n,,
4090 b mline
4092 t clear
4093 :clear
4094 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4095 t quote
4096 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4097 t quote
4098 b any
4099 :quote
4100 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4101 s/\[/\\&/g
4102 s/\]/\\&/g
4103 s/\$/$$/g
4105 :any
4108 s/^\n//
4109 s/\n/ /g
4113 DEFS=`sed -n "$ac_script" confdefs.h`
4116 ac_libobjs=
4117 ac_ltlibobjs=
4119 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4120 # 1. Remove the extension, and $U if already installed.
4121 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4122 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4123 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4124 # will be set to the directory where LIBOBJS objects are built.
4125 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4126 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4127 done
4128 LIBOBJS=$ac_libobjs
4130 LTLIBOBJS=$ac_ltlibobjs
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4134 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4135 if test -n "$am_sleep_pid"; then
4136 # Hide warnings about reused PIDs.
4137 wait $am_sleep_pid 2>/dev/null
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4140 $as_echo "done" >&6; }
4141 if test -n "$EXEEXT"; then
4142 am__EXEEXT_TRUE=
4143 am__EXEEXT_FALSE='#'
4144 else
4145 am__EXEEXT_TRUE='#'
4146 am__EXEEXT_FALSE=
4149 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4150 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4153 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4154 as_fn_error $? "conditional \"AMDEP\" was never defined.
4155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4157 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4158 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4161 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4162 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4166 : "${CONFIG_STATUS=./config.status}"
4167 ac_write_fail=0
4168 ac_clean_files_save=$ac_clean_files
4169 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4171 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4172 as_write_fail=0
4173 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4174 #! $SHELL
4175 # Generated by $as_me.
4176 # Run this file to recreate the current configuration.
4177 # Compiler output produced by configure, useful for debugging
4178 # configure, is in config.log if it exists.
4180 debug=false
4181 ac_cs_recheck=false
4182 ac_cs_silent=false
4184 SHELL=\${CONFIG_SHELL-$SHELL}
4185 export SHELL
4186 _ASEOF
4187 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4188 ## -------------------- ##
4189 ## M4sh Initialization. ##
4190 ## -------------------- ##
4192 # Be more Bourne compatible
4193 DUALCASE=1; export DUALCASE # for MKS sh
4194 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4195 emulate sh
4196 NULLCMD=:
4197 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4198 # is contrary to our usage. Disable this feature.
4199 alias -g '${1+"$@"}'='"$@"'
4200 setopt NO_GLOB_SUBST
4201 else
4202 case `(set -o) 2>/dev/null` in #(
4203 *posix*) :
4204 set -o posix ;; #(
4205 *) :
4207 esac
4211 as_nl='
4213 export as_nl
4214 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4215 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4216 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4218 # Prefer a ksh shell builtin over an external printf program on Solaris,
4219 # but without wasting forks for bash or zsh.
4220 if test -z "$BASH_VERSION$ZSH_VERSION" \
4221 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4222 as_echo='print -r --'
4223 as_echo_n='print -rn --'
4224 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4225 as_echo='printf %s\n'
4226 as_echo_n='printf %s'
4227 else
4228 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4229 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4230 as_echo_n='/usr/ucb/echo -n'
4231 else
4232 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4233 as_echo_n_body='eval
4234 arg=$1;
4235 case $arg in #(
4236 *"$as_nl"*)
4237 expr "X$arg" : "X\\(.*\\)$as_nl";
4238 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4239 esac;
4240 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4242 export as_echo_n_body
4243 as_echo_n='sh -c $as_echo_n_body as_echo'
4245 export as_echo_body
4246 as_echo='sh -c $as_echo_body as_echo'
4249 # The user is always right.
4250 if test "${PATH_SEPARATOR+set}" != set; then
4251 PATH_SEPARATOR=:
4252 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4253 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4254 PATH_SEPARATOR=';'
4259 # IFS
4260 # We need space, tab and new line, in precisely that order. Quoting is
4261 # there to prevent editors from complaining about space-tab.
4262 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4263 # splitting by setting IFS to empty value.)
4264 IFS=" "" $as_nl"
4266 # Find who we are. Look in the path if we contain no directory separator.
4267 as_myself=
4268 case $0 in #((
4269 *[\\/]* ) as_myself=$0 ;;
4270 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 for as_dir in $PATH
4273 IFS=$as_save_IFS
4274 test -z "$as_dir" && as_dir=.
4275 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4276 done
4277 IFS=$as_save_IFS
4280 esac
4281 # We did not find ourselves, most probably we were run as `sh COMMAND'
4282 # in which case we are not to be found in the path.
4283 if test "x$as_myself" = x; then
4284 as_myself=$0
4286 if test ! -f "$as_myself"; then
4287 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4288 exit 1
4291 # Unset variables that we do not need and which cause bugs (e.g. in
4292 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4293 # suppresses any "Segmentation fault" message there. '((' could
4294 # trigger a bug in pdksh 5.2.14.
4295 for as_var in BASH_ENV ENV MAIL MAILPATH
4296 do eval test x\${$as_var+set} = xset \
4297 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4298 done
4299 PS1='$ '
4300 PS2='> '
4301 PS4='+ '
4303 # NLS nuisances.
4304 LC_ALL=C
4305 export LC_ALL
4306 LANGUAGE=C
4307 export LANGUAGE
4309 # CDPATH.
4310 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4313 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4314 # ----------------------------------------
4315 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4316 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4317 # script with STATUS, using 1 if that was 0.
4318 as_fn_error ()
4320 as_status=$1; test $as_status -eq 0 && as_status=1
4321 if test "$4"; then
4322 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4323 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4325 $as_echo "$as_me: error: $2" >&2
4326 as_fn_exit $as_status
4327 } # as_fn_error
4330 # as_fn_set_status STATUS
4331 # -----------------------
4332 # Set $? to STATUS, without forking.
4333 as_fn_set_status ()
4335 return $1
4336 } # as_fn_set_status
4338 # as_fn_exit STATUS
4339 # -----------------
4340 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4341 as_fn_exit ()
4343 set +e
4344 as_fn_set_status $1
4345 exit $1
4346 } # as_fn_exit
4348 # as_fn_unset VAR
4349 # ---------------
4350 # Portably unset VAR.
4351 as_fn_unset ()
4353 { eval $1=; unset $1;}
4355 as_unset=as_fn_unset
4356 # as_fn_append VAR VALUE
4357 # ----------------------
4358 # Append the text in VALUE to the end of the definition contained in VAR. Take
4359 # advantage of any shell optimizations that allow amortized linear growth over
4360 # repeated appends, instead of the typical quadratic growth present in naive
4361 # implementations.
4362 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4363 eval 'as_fn_append ()
4365 eval $1+=\$2
4367 else
4368 as_fn_append ()
4370 eval $1=\$$1\$2
4372 fi # as_fn_append
4374 # as_fn_arith ARG...
4375 # ------------------
4376 # Perform arithmetic evaluation on the ARGs, and store the result in the
4377 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4378 # must be portable across $(()) and expr.
4379 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4380 eval 'as_fn_arith ()
4382 as_val=$(( $* ))
4384 else
4385 as_fn_arith ()
4387 as_val=`expr "$@" || test $? -eq 1`
4389 fi # as_fn_arith
4392 if expr a : '\(a\)' >/dev/null 2>&1 &&
4393 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4394 as_expr=expr
4395 else
4396 as_expr=false
4399 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4400 as_basename=basename
4401 else
4402 as_basename=false
4405 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4406 as_dirname=dirname
4407 else
4408 as_dirname=false
4411 as_me=`$as_basename -- "$0" ||
4412 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4413 X"$0" : 'X\(//\)$' \| \
4414 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4415 $as_echo X/"$0" |
4416 sed '/^.*\/\([^/][^/]*\)\/*$/{
4417 s//\1/
4420 /^X\/\(\/\/\)$/{
4421 s//\1/
4424 /^X\/\(\/\).*/{
4425 s//\1/
4428 s/.*/./; q'`
4430 # Avoid depending upon Character Ranges.
4431 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4432 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4433 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4434 as_cr_digits='0123456789'
4435 as_cr_alnum=$as_cr_Letters$as_cr_digits
4437 ECHO_C= ECHO_N= ECHO_T=
4438 case `echo -n x` in #(((((
4439 -n*)
4440 case `echo 'xy\c'` in
4441 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4442 xy) ECHO_C='\c';;
4443 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4444 ECHO_T=' ';;
4445 esac;;
4447 ECHO_N='-n';;
4448 esac
4450 rm -f conf$$ conf$$.exe conf$$.file
4451 if test -d conf$$.dir; then
4452 rm -f conf$$.dir/conf$$.file
4453 else
4454 rm -f conf$$.dir
4455 mkdir conf$$.dir 2>/dev/null
4457 if (echo >conf$$.file) 2>/dev/null; then
4458 if ln -s conf$$.file conf$$ 2>/dev/null; then
4459 as_ln_s='ln -s'
4460 # ... but there are two gotchas:
4461 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4462 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4463 # In both cases, we have to default to `cp -pR'.
4464 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4465 as_ln_s='cp -pR'
4466 elif ln conf$$.file conf$$ 2>/dev/null; then
4467 as_ln_s=ln
4468 else
4469 as_ln_s='cp -pR'
4471 else
4472 as_ln_s='cp -pR'
4474 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4475 rmdir conf$$.dir 2>/dev/null
4478 # as_fn_mkdir_p
4479 # -------------
4480 # Create "$as_dir" as a directory, including parents if necessary.
4481 as_fn_mkdir_p ()
4484 case $as_dir in #(
4485 -*) as_dir=./$as_dir;;
4486 esac
4487 test -d "$as_dir" || eval $as_mkdir_p || {
4488 as_dirs=
4489 while :; do
4490 case $as_dir in #(
4491 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4492 *) as_qdir=$as_dir;;
4493 esac
4494 as_dirs="'$as_qdir' $as_dirs"
4495 as_dir=`$as_dirname -- "$as_dir" ||
4496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4497 X"$as_dir" : 'X\(//\)[^/]' \| \
4498 X"$as_dir" : 'X\(//\)$' \| \
4499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4500 $as_echo X"$as_dir" |
4501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4502 s//\1/
4505 /^X\(\/\/\)[^/].*/{
4506 s//\1/
4509 /^X\(\/\/\)$/{
4510 s//\1/
4513 /^X\(\/\).*/{
4514 s//\1/
4517 s/.*/./; q'`
4518 test -d "$as_dir" && break
4519 done
4520 test -z "$as_dirs" || eval "mkdir $as_dirs"
4521 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4524 } # as_fn_mkdir_p
4525 if mkdir -p . 2>/dev/null; then
4526 as_mkdir_p='mkdir -p "$as_dir"'
4527 else
4528 test -d ./-p && rmdir ./-p
4529 as_mkdir_p=false
4533 # as_fn_executable_p FILE
4534 # -----------------------
4535 # Test if FILE is an executable regular file.
4536 as_fn_executable_p ()
4538 test -f "$1" && test -x "$1"
4539 } # as_fn_executable_p
4540 as_test_x='test -x'
4541 as_executable_p=as_fn_executable_p
4543 # Sed expression to map a string onto a valid CPP name.
4544 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4546 # Sed expression to map a string onto a valid variable name.
4547 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4550 exec 6>&1
4551 ## ----------------------------------- ##
4552 ## Main body of $CONFIG_STATUS script. ##
4553 ## ----------------------------------- ##
4554 _ASEOF
4555 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4558 # Save the log message, to keep $0 and so on meaningful, and to
4559 # report actual input values of CONFIG_FILES etc. instead of their
4560 # values after options handling.
4561 ac_log="
4562 This file was extended by GNU DejaGnu $as_me 1.6.3-git, which was
4563 generated by GNU Autoconf 2.69. Invocation command line was
4565 CONFIG_FILES = $CONFIG_FILES
4566 CONFIG_HEADERS = $CONFIG_HEADERS
4567 CONFIG_LINKS = $CONFIG_LINKS
4568 CONFIG_COMMANDS = $CONFIG_COMMANDS
4569 $ $0 $@
4571 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4574 _ACEOF
4576 case $ac_config_files in *"
4577 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4578 esac
4582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4583 # Files that config.status was made for.
4584 config_files="$ac_config_files"
4585 config_commands="$ac_config_commands"
4587 _ACEOF
4589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4590 ac_cs_usage="\
4591 \`$as_me' instantiates files and other configuration actions
4592 from templates according to the current configuration. Unless the files
4593 and actions are specified as TAGs, all are instantiated by default.
4595 Usage: $0 [OPTION]... [TAG]...
4597 -h, --help print this help, then exit
4598 -V, --version print version number and configuration settings, then exit
4599 --config print configuration, then exit
4600 -q, --quiet, --silent
4601 do not print progress messages
4602 -d, --debug don't remove temporary files
4603 --recheck update $as_me by reconfiguring in the same conditions
4604 --file=FILE[:TEMPLATE]
4605 instantiate the configuration file FILE
4607 Configuration files:
4608 $config_files
4610 Configuration commands:
4611 $config_commands
4613 Report bugs to <bug-dejagnu@gnu.org>.
4614 GNU DejaGnu home page: <http://www.gnu.org/software/dejagnu/>.
4615 General help using GNU software: <http://www.gnu.org/gethelp/>."
4617 _ACEOF
4618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4619 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4620 ac_cs_version="\\
4621 GNU DejaGnu config.status 1.6.3-git
4622 configured by $0, generated by GNU Autoconf 2.69,
4623 with options \\"\$ac_cs_config\\"
4625 Copyright (C) 2012 Free Software Foundation, Inc.
4626 This config.status script is free software; the Free Software Foundation
4627 gives unlimited permission to copy, distribute and modify it."
4629 ac_pwd='$ac_pwd'
4630 srcdir='$srcdir'
4631 INSTALL='$INSTALL'
4632 MKDIR_P='$MKDIR_P'
4633 AWK='$AWK'
4634 test -n "\$AWK" || AWK=awk
4635 _ACEOF
4637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4638 # The default lists apply if the user does not specify any file.
4639 ac_need_defaults=:
4640 while test $# != 0
4642 case $1 in
4643 --*=?*)
4644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4645 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4646 ac_shift=:
4648 --*=)
4649 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4650 ac_optarg=
4651 ac_shift=:
4654 ac_option=$1
4655 ac_optarg=$2
4656 ac_shift=shift
4658 esac
4660 case $ac_option in
4661 # Handling of the options.
4662 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4663 ac_cs_recheck=: ;;
4664 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4665 $as_echo "$ac_cs_version"; exit ;;
4666 --config | --confi | --conf | --con | --co | --c )
4667 $as_echo "$ac_cs_config"; exit ;;
4668 --debug | --debu | --deb | --de | --d | -d )
4669 debug=: ;;
4670 --file | --fil | --fi | --f )
4671 $ac_shift
4672 case $ac_optarg in
4673 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4674 '') as_fn_error $? "missing file argument" ;;
4675 esac
4676 as_fn_append CONFIG_FILES " '$ac_optarg'"
4677 ac_need_defaults=false;;
4678 --he | --h | --help | --hel | -h )
4679 $as_echo "$ac_cs_usage"; exit ;;
4680 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4681 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4682 ac_cs_silent=: ;;
4684 # This is an error.
4685 -*) as_fn_error $? "unrecognized option: \`$1'
4686 Try \`$0 --help' for more information." ;;
4688 *) as_fn_append ac_config_targets " $1"
4689 ac_need_defaults=false ;;
4691 esac
4692 shift
4693 done
4695 ac_configure_extra_args=
4697 if $ac_cs_silent; then
4698 exec 6>/dev/null
4699 ac_configure_extra_args="$ac_configure_extra_args --silent"
4702 _ACEOF
4703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4704 if \$ac_cs_recheck; then
4705 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4706 shift
4707 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4708 CONFIG_SHELL='$SHELL'
4709 export CONFIG_SHELL
4710 exec "\$@"
4713 _ACEOF
4714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4715 exec 5>>config.log
4717 echo
4718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4719 ## Running $as_me. ##
4720 _ASBOX
4721 $as_echo "$ac_log"
4722 } >&5
4724 _ACEOF
4725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4727 # INIT-COMMANDS
4729 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4731 _ACEOF
4733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4735 # Handling of arguments.
4736 for ac_config_target in $ac_config_targets
4738 case $ac_config_target in
4739 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4740 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4742 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4743 esac
4744 done
4747 # If the user did not use the arguments to specify the items to instantiate,
4748 # then the envvar interface is used. Set only those that are not.
4749 # We use the long form for the default assignment because of an extremely
4750 # bizarre bug on SunOS 4.1.3.
4751 if $ac_need_defaults; then
4752 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4753 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4756 # Have a temporary directory for convenience. Make it in the build tree
4757 # simply because there is no reason against having it here, and in addition,
4758 # creating and moving files from /tmp can sometimes cause problems.
4759 # Hook for its removal unless debugging.
4760 # Note that there is a small window in which the directory will not be cleaned:
4761 # after its creation but before its name has been assigned to `$tmp'.
4762 $debug ||
4764 tmp= ac_tmp=
4765 trap 'exit_status=$?
4766 : "${ac_tmp:=$tmp}"
4767 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4769 trap 'as_fn_exit 1' 1 2 13 15
4771 # Create a (secure) tmp directory for tmp files.
4774 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4775 test -d "$tmp"
4776 } ||
4778 tmp=./conf$$-$RANDOM
4779 (umask 077 && mkdir "$tmp")
4780 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4781 ac_tmp=$tmp
4783 # Set up the scripts for CONFIG_FILES section.
4784 # No need to generate them if there are no CONFIG_FILES.
4785 # This happens for instance with `./config.status config.h'.
4786 if test -n "$CONFIG_FILES"; then
4789 ac_cr=`echo X | tr X '\015'`
4790 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4791 # But we know of no other shell where ac_cr would be empty at this
4792 # point, so we can use a bashism as a fallback.
4793 if test "x$ac_cr" = x; then
4794 eval ac_cr=\$\'\\r\'
4796 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4797 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4798 ac_cs_awk_cr='\\r'
4799 else
4800 ac_cs_awk_cr=$ac_cr
4803 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4804 _ACEOF
4808 echo "cat >conf$$subs.awk <<_ACEOF" &&
4809 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4810 echo "_ACEOF"
4811 } >conf$$subs.sh ||
4812 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4813 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4814 ac_delim='%!_!# '
4815 for ac_last_try in false false false false false :; do
4816 . ./conf$$subs.sh ||
4817 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4819 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4820 if test $ac_delim_n = $ac_delim_num; then
4821 break
4822 elif $ac_last_try; then
4823 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4824 else
4825 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4827 done
4828 rm -f conf$$subs.sh
4830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4831 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4832 _ACEOF
4833 sed -n '
4835 s/^/S["/; s/!.*/"]=/
4838 s/^[^!]*!//
4839 :repl
4840 t repl
4841 s/'"$ac_delim"'$//
4842 t delim
4845 s/\(.\{148\}\)..*/\1/
4846 t more1
4847 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4850 b repl
4851 :more1
4852 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4855 s/.\{148\}//
4856 t nl
4857 :delim
4859 s/\(.\{148\}\)..*/\1/
4860 t more2
4861 s/["\\]/\\&/g; s/^/"/; s/$/"/
4864 :more2
4865 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4868 s/.\{148\}//
4869 t delim
4870 ' <conf$$subs.awk | sed '
4871 /^[^""]/{
4873 s/\n//
4875 ' >>$CONFIG_STATUS || ac_write_fail=1
4876 rm -f conf$$subs.awk
4877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4878 _ACAWK
4879 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4880 for (key in S) S_is_set[key] = 1
4881 FS = "\a"
4885 line = $ 0
4886 nfields = split(line, field, "@")
4887 substed = 0
4888 len = length(field[1])
4889 for (i = 2; i < nfields; i++) {
4890 key = field[i]
4891 keylen = length(key)
4892 if (S_is_set[key]) {
4893 value = S[key]
4894 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4895 len += length(value) + length(field[++i])
4896 substed = 1
4897 } else
4898 len += 1 + keylen
4901 print line
4904 _ACAWK
4905 _ACEOF
4906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4907 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4908 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4909 else
4911 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4912 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4913 _ACEOF
4915 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4916 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4917 # trailing colons and then remove the whole line if VPATH becomes empty
4918 # (actually we leave an empty line to preserve line numbers).
4919 if test "x$srcdir" = x.; then
4920 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4922 s///
4923 s/^/:/
4924 s/[ ]*$/:/
4925 s/:\$(srcdir):/:/g
4926 s/:\${srcdir}:/:/g
4927 s/:@srcdir@:/:/g
4928 s/^:*//
4929 s/:*$//
4931 s/\(=[ ]*\).*/\1/
4933 s/\n//
4934 s/^[^=]*=[ ]*$//
4938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4939 fi # test -n "$CONFIG_FILES"
4942 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4943 shift
4944 for ac_tag
4946 case $ac_tag in
4947 :[FHLC]) ac_mode=$ac_tag; continue;;
4948 esac
4949 case $ac_mode$ac_tag in
4950 :[FHL]*:*);;
4951 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4952 :[FH]-) ac_tag=-:-;;
4953 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4954 esac
4955 ac_save_IFS=$IFS
4956 IFS=:
4957 set x $ac_tag
4958 IFS=$ac_save_IFS
4959 shift
4960 ac_file=$1
4961 shift
4963 case $ac_mode in
4964 :L) ac_source=$1;;
4965 :[FH])
4966 ac_file_inputs=
4967 for ac_f
4969 case $ac_f in
4970 -) ac_f="$ac_tmp/stdin";;
4971 *) # Look for the file first in the build tree, then in the source tree
4972 # (if the path is not absolute). The absolute path cannot be DOS-style,
4973 # because $ac_f cannot contain `:'.
4974 test -f "$ac_f" ||
4975 case $ac_f in
4976 [\\/$]*) false;;
4977 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4978 esac ||
4979 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4980 esac
4981 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4982 as_fn_append ac_file_inputs " '$ac_f'"
4983 done
4985 # Let's still pretend it is `configure' which instantiates (i.e., don't
4986 # use $as_me), people would be surprised to read:
4987 # /* config.h. Generated by config.status. */
4988 configure_input='Generated from '`
4989 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4990 `' by configure.'
4991 if test x"$ac_file" != x-; then
4992 configure_input="$ac_file. $configure_input"
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4994 $as_echo "$as_me: creating $ac_file" >&6;}
4996 # Neutralize special characters interpreted by sed in replacement strings.
4997 case $configure_input in #(
4998 *\&* | *\|* | *\\* )
4999 ac_sed_conf_input=`$as_echo "$configure_input" |
5000 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5001 *) ac_sed_conf_input=$configure_input;;
5002 esac
5004 case $ac_tag in
5005 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5006 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5007 esac
5009 esac
5011 ac_dir=`$as_dirname -- "$ac_file" ||
5012 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5013 X"$ac_file" : 'X\(//\)[^/]' \| \
5014 X"$ac_file" : 'X\(//\)$' \| \
5015 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5016 $as_echo X"$ac_file" |
5017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5018 s//\1/
5021 /^X\(\/\/\)[^/].*/{
5022 s//\1/
5025 /^X\(\/\/\)$/{
5026 s//\1/
5029 /^X\(\/\).*/{
5030 s//\1/
5033 s/.*/./; q'`
5034 as_dir="$ac_dir"; as_fn_mkdir_p
5035 ac_builddir=.
5037 case "$ac_dir" in
5038 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5040 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5041 # A ".." for each directory in $ac_dir_suffix.
5042 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5043 case $ac_top_builddir_sub in
5044 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5045 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5046 esac ;;
5047 esac
5048 ac_abs_top_builddir=$ac_pwd
5049 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5050 # for backward compatibility:
5051 ac_top_builddir=$ac_top_build_prefix
5053 case $srcdir in
5054 .) # We are building in place.
5055 ac_srcdir=.
5056 ac_top_srcdir=$ac_top_builddir_sub
5057 ac_abs_top_srcdir=$ac_pwd ;;
5058 [\\/]* | ?:[\\/]* ) # Absolute name.
5059 ac_srcdir=$srcdir$ac_dir_suffix;
5060 ac_top_srcdir=$srcdir
5061 ac_abs_top_srcdir=$srcdir ;;
5062 *) # Relative name.
5063 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5064 ac_top_srcdir=$ac_top_build_prefix$srcdir
5065 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5066 esac
5067 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5070 case $ac_mode in
5073 # CONFIG_FILE
5076 case $INSTALL in
5077 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5078 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5079 esac
5080 ac_MKDIR_P=$MKDIR_P
5081 case $MKDIR_P in
5082 [\\/$]* | ?:[\\/]* ) ;;
5083 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5084 esac
5085 _ACEOF
5087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5088 # If the template does not know about datarootdir, expand it.
5089 # FIXME: This hack should be removed a few years after 2.60.
5090 ac_datarootdir_hack=; ac_datarootdir_seen=
5091 ac_sed_dataroot='
5092 /datarootdir/ {
5096 /@datadir@/p
5097 /@docdir@/p
5098 /@infodir@/p
5099 /@localedir@/p
5100 /@mandir@/p'
5101 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5102 *datarootdir*) ac_datarootdir_seen=yes;;
5103 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5105 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5106 _ACEOF
5107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5108 ac_datarootdir_hack='
5109 s&@datadir@&$datadir&g
5110 s&@docdir@&$docdir&g
5111 s&@infodir@&$infodir&g
5112 s&@localedir@&$localedir&g
5113 s&@mandir@&$mandir&g
5114 s&\\\${datarootdir}&$datarootdir&g' ;;
5115 esac
5116 _ACEOF
5118 # Neutralize VPATH when `$srcdir' = `.'.
5119 # Shell code in configure.ac might set extrasub.
5120 # FIXME: do we really want to maintain this feature?
5121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5122 ac_sed_extra="$ac_vpsub
5123 $extrasub
5124 _ACEOF
5125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5128 s|@configure_input@|$ac_sed_conf_input|;t t
5129 s&@top_builddir@&$ac_top_builddir_sub&;t t
5130 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5131 s&@srcdir@&$ac_srcdir&;t t
5132 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5133 s&@top_srcdir@&$ac_top_srcdir&;t t
5134 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5135 s&@builddir@&$ac_builddir&;t t
5136 s&@abs_builddir@&$ac_abs_builddir&;t t
5137 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5138 s&@INSTALL@&$ac_INSTALL&;t t
5139 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5140 $ac_datarootdir_hack
5142 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5143 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5145 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5146 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5147 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5148 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5150 which seems to be undefined. Please make sure it is defined" >&5
5151 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5152 which seems to be undefined. Please make sure it is defined" >&2;}
5154 rm -f "$ac_tmp/stdin"
5155 case $ac_file in
5156 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5157 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5158 esac \
5159 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5163 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5164 $as_echo "$as_me: executing $ac_file commands" >&6;}
5166 esac
5169 case $ac_file$ac_mode in
5170 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5171 # Older Autoconf quotes --file arguments for eval, but not when files
5172 # are listed without --file. Let's play safe and only enable the eval
5173 # if we detect the quoting.
5174 case $CONFIG_FILES in
5175 *\'*) eval set x "$CONFIG_FILES" ;;
5176 *) set x $CONFIG_FILES ;;
5177 esac
5178 shift
5179 for mf
5181 # Strip MF so we end up with the name of the file.
5182 mf=`echo "$mf" | sed -e 's/:.*$//'`
5183 # Check whether this is an Automake generated Makefile or not.
5184 # We used to match only the files named 'Makefile.in', but
5185 # some people rename them; so instead we look at the file content.
5186 # Grep'ing the first line is not enough: some people post-process
5187 # each Makefile.in and add a new line on top of each file to say so.
5188 # Grep'ing the whole file is not good either: AIX grep has a line
5189 # limit of 2048, but all sed's we know have understand at least 4000.
5190 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5191 dirpart=`$as_dirname -- "$mf" ||
5192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5193 X"$mf" : 'X\(//\)[^/]' \| \
5194 X"$mf" : 'X\(//\)$' \| \
5195 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5196 $as_echo X"$mf" |
5197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5198 s//\1/
5201 /^X\(\/\/\)[^/].*/{
5202 s//\1/
5205 /^X\(\/\/\)$/{
5206 s//\1/
5209 /^X\(\/\).*/{
5210 s//\1/
5213 s/.*/./; q'`
5214 else
5215 continue
5217 # Extract the definition of DEPDIR, am__include, and am__quote
5218 # from the Makefile without running 'make'.
5219 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5220 test -z "$DEPDIR" && continue
5221 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5222 test -z "$am__include" && continue
5223 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5224 # Find all dependency output files, they are included files with
5225 # $(DEPDIR) in their names. We invoke sed twice because it is the
5226 # simplest approach to changing $(DEPDIR) to its actual value in the
5227 # expansion.
5228 for file in `sed -n "
5229 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5230 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5231 # Make sure the directory exists.
5232 test -f "$dirpart/$file" && continue
5233 fdir=`$as_dirname -- "$file" ||
5234 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5235 X"$file" : 'X\(//\)[^/]' \| \
5236 X"$file" : 'X\(//\)$' \| \
5237 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5238 $as_echo X"$file" |
5239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5240 s//\1/
5243 /^X\(\/\/\)[^/].*/{
5244 s//\1/
5247 /^X\(\/\/\)$/{
5248 s//\1/
5251 /^X\(\/\).*/{
5252 s//\1/
5255 s/.*/./; q'`
5256 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5257 # echo "creating $dirpart/$file"
5258 echo '# dummy' > "$dirpart/$file"
5259 done
5260 done
5264 esac
5265 done # for ac_tag
5268 as_fn_exit 0
5269 _ACEOF
5270 ac_clean_files=$ac_clean_files_save
5272 test $ac_write_fail = 0 ||
5273 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5276 # configure is writing to config.log, and then calls config.status.
5277 # config.status does its own redirection, appending to config.log.
5278 # Unfortunately, on DOS this fails, as config.log is still kept open
5279 # by configure, so config.status won't be able to write to it; its
5280 # output is simply discarded. So we exec the FD to /dev/null,
5281 # effectively closing config.log, so it can be properly (re)opened and
5282 # appended to by config.status. When coming back to configure, we
5283 # need to make the FD available again.
5284 if test "$no_create" != yes; then
5285 ac_cs_success=:
5286 ac_config_status_args=
5287 test "$silent" = yes &&
5288 ac_config_status_args="$ac_config_status_args --quiet"
5289 exec 5>/dev/null
5290 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5291 exec 5>>config.log
5292 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5293 # would make configure fail if this is the last instruction.
5294 $ac_cs_success || as_fn_exit 1
5296 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5298 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}