Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for blkreplay 0.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell [email protected] and [email protected] about
242 $0: your system, including any error possibly output before
243 $0: this message. Then install a modern shell, or manually
244 $0: run the script under such a shell if you do have one."
245 fi
246 exit 1
247 fi
248 fi
249 fi
250 SHELL=${CONFIG_SHELL-/bin/sh}
251 export SHELL
252 # Unset more variables known to interfere with behavior of common tools.
253 CLICOLOR_FORCE= GREP_OPTIONS=
254 unset CLICOLOR_FORCE GREP_OPTIONS
255
256 ## --------------------- ##
257 ## M4sh Shell Functions. ##
258 ## --------------------- ##
259 # as_fn_unset VAR
260 # ---------------
261 # Portably unset VAR.
262 as_fn_unset ()
263 {
264 { eval $1=; unset $1;}
265 }
266 as_unset=as_fn_unset
267
268 # as_fn_set_status STATUS
269 # -----------------------
270 # Set $? to STATUS, without forking.
271 as_fn_set_status ()
272 {
273 return $1
274 } # as_fn_set_status
275
276 # as_fn_exit STATUS
277 # -----------------
278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 as_fn_exit ()
280 {
281 set +e
282 as_fn_set_status $1
283 exit $1
284 } # as_fn_exit
285
286 # as_fn_mkdir_p
287 # -------------
288 # Create "$as_dir" as a directory, including parents if necessary.
289 as_fn_mkdir_p ()
290 {
291
292 case $as_dir in #(
293 -*) as_dir=./$as_dir;;
294 esac
295 test -d "$as_dir" || eval $as_mkdir_p || {
296 as_dirs=
297 while :; do
298 case $as_dir in #(
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 *) as_qdir=$as_dir;;
301 esac
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308 $as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)[^/].*/{
314 s//\1/
315 q
316 }
317 /^X\(\/\/\)$/{
318 s//\1/
319 q
320 }
321 /^X\(\/\).*/{
322 s//\1/
323 q
324 }
325 s/.*/./; q'`
326 test -d "$as_dir" && break
327 done
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
330
331
332 } # as_fn_mkdir_p
333 # as_fn_append VAR VALUE
334 # ----------------------
335 # Append the text in VALUE to the end of the definition contained in VAR. Take
336 # advantage of any shell optimizations that allow amortized linear growth over
337 # repeated appends, instead of the typical quadratic growth present in naive
338 # implementations.
339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
341 {
342 eval $1+=\$2
343 }'
344 else
345 as_fn_append ()
346 {
347 eval $1=\$$1\$2
348 }
349 fi # as_fn_append
350
351 # as_fn_arith ARG...
352 # ------------------
353 # Perform arithmetic evaluation on the ARGs, and store the result in the
354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
355 # must be portable across $(()) and expr.
356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 eval 'as_fn_arith ()
358 {
359 as_val=$(( $* ))
360 }'
361 else
362 as_fn_arith ()
363 {
364 as_val=`expr "$@" || test $? -eq 1`
365 }
366 fi # as_fn_arith
367
368
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373 # script with STATUS, using 1 if that was 0.
374 as_fn_error ()
375 {
376 as_status=$1; test $as_status -eq 0 && as_status=1
377 if test "$4"; then
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
380 fi
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit $as_status
383 } # as_fn_error
384
385 if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
387 as_expr=expr
388 else
389 as_expr=false
390 fi
391
392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393 as_basename=basename
394 else
395 as_basename=false
396 fi
397
398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399 as_dirname=dirname
400 else
401 as_dirname=false
402 fi
403
404 as_me=`$as_basename -- "$0" ||
405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 $as_echo X/"$0" |
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\/\)$/{
414 s//\1/
415 q
416 }
417 /^X\/\(\/\).*/{
418 s//\1/
419 q
420 }
421 s/.*/./; q'`
422
423 # Avoid depending upon Character Ranges.
424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427 as_cr_digits='0123456789'
428 as_cr_alnum=$as_cr_Letters$as_cr_digits
429
430
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 sed -n '
437 p
438 /[$]LINENO/=
439 ' <$as_myself |
440 sed '
441 s/[$]LINENO.*/&-/
442 t lineno
443 b
444 :lineno
445 N
446 :loop
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 t loop
449 s/-\n.*//
450 ' >$as_me.lineno &&
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
460 }
461
462 ECHO_C= ECHO_N= ECHO_T=
463 case `echo -n x` in #(((((
464 -n*)
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
467 xy) ECHO_C='\c';;
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 ECHO_T=' ';;
470 esac;;
471 *)
472 ECHO_N='-n';;
473 esac
474
475 rm -f conf$$ conf$$.exe conf$$.file
476 if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
478 else
479 rm -f conf$$.dir
480 mkdir conf$$.dir 2>/dev/null
481 fi
482 if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
484 as_ln_s='ln -s'
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490 as_ln_s='cp -p'
491 elif ln conf$$.file conf$$ 2>/dev/null; then
492 as_ln_s=ln
493 else
494 as_ln_s='cp -p'
495 fi
496 else
497 as_ln_s='cp -p'
498 fi
499 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500 rmdir conf$$.dir 2>/dev/null
501
502 if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
504 else
505 test -d ./-p && rmdir ./-p
506 as_mkdir_p=false
507 fi
508
509 if test -x / >/dev/null 2>&1; then
510 as_test_x='test -x'
511 else
512 if ls -dL / >/dev/null 2>&1; then
513 as_ls_L_option=L
514 else
515 as_ls_L_option=
516 fi
517 as_test_x='
518 eval sh -c '\''
519 if test -d "$1"; then
520 test -d "$1/.";
521 else
522 case $1 in #(
523 -*)set "./$1";;
524 esac;
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
527 '\'' sh
528 '
529 fi
530 as_executable_p=$as_test_x
531
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539 test -n "$DJDIR" || exec 7<&0 </dev/null
540 exec 6>&1
541
542 # Name of the host.
543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547 #
548 # Initializations.
549 #
550 ac_default_prefix=/usr/local
551 ac_clean_files=
552 ac_config_libobj_dir=.
553 LIBOBJS=
554 cross_compiling=no
555 subdirs=
556 MFLAGS=
557 MAKEFLAGS=
558
559 # Identity of this package.
560 PACKAGE_NAME='blkreplay'
561 PACKAGE_TARNAME='blkreplay'
562 PACKAGE_VERSION='0.1'
563 PACKAGE_STRING='blkreplay 0.1'
564 PACKAGE_BUGREPORT='[email protected]'
565 PACKAGE_URL=''
566
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #ifdef STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # ifdef HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #ifdef HAVE_STRING_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #ifdef HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #ifdef HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
602
603 ac_unique_file="src/random_data.c"
604 ac_subst_vars='am__EXEEXT_FALSE
605 am__EXEEXT_TRUE
606 LTLIBOBJS
607 LIBOBJS
608 LN_S
609 EGREP
610 GREP
611 CPP
612 am__fastdepCC_FALSE
613 am__fastdepCC_TRUE
614 CCDEPMODE
615 AMDEPBACKSLASH
616 AMDEP_FALSE
617 AMDEP_TRUE
618 am__quote
619 am__include
620 DEPDIR
621 OBJEXT
622 EXEEXT
623 ac_ct_CC
624 CPPFLAGS
625 LDFLAGS
626 CFLAGS
627 CC
628 am__untar
629 am__tar
630 AMTAR
631 am__leading_dot
632 SET_MAKE
633 AWK
634 mkdir_p
635 MKDIR_P
636 INSTALL_STRIP_PROGRAM
637 STRIP
638 install_sh
639 MAKEINFO
640 AUTOHEADER
641 AUTOMAKE
642 AUTOCONF
643 ACLOCAL
644 VERSION
645 PACKAGE
646 CYGPATH_W
647 am__isrc
648 INSTALL_DATA
649 INSTALL_SCRIPT
650 INSTALL_PROGRAM
651 target_alias
652 host_alias
653 build_alias
654 LIBS
655 ECHO_T
656 ECHO_N
657 ECHO_C
658 DEFS
659 mandir
660 localedir
661 libdir
662 psdir
663 pdfdir
664 dvidir
665 htmldir
666 infodir
667 docdir
668 oldincludedir
669 includedir
670 localstatedir
671 sharedstatedir
672 sysconfdir
673 datadir
674 datarootdir
675 libexecdir
676 sbindir
677 bindir
678 program_transform_name
679 prefix
680 exec_prefix
681 PACKAGE_URL
682 PACKAGE_BUGREPORT
683 PACKAGE_STRING
684 PACKAGE_VERSION
685 PACKAGE_TARNAME
686 PACKAGE_NAME
687 PATH_SEPARATOR
688 SHELL'
689 ac_subst_files=''
690 ac_user_opts='
691 enable_option_checking
692 enable_dependency_tracking
693 '
694 ac_precious_vars='build_alias
695 host_alias
696 target_alias
697 CC
698 CFLAGS
699 LDFLAGS
700 LIBS
701 CPPFLAGS
702 CPP'
703
704
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
726
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
752
753 ac_prev=
754 ac_dashdash=
755 for ac_option
756 do
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
760 ac_prev=
761 continue
762 fi
763
764 case $ac_option in
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 *=) ac_optarg= ;;
767 *) ac_optarg=yes ;;
768 esac
769
770 # Accept the important Cygnus configure options, so we can diagnose typos.
771
772 case $ac_dashdash$ac_option in
773 --)
774 ac_dashdash=yes ;;
775
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 ac_prev=bindir ;;
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 bindir=$ac_optarg ;;
780
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
785
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
792
793 --config-cache | -C)
794 cache_file=config.cache ;;
795
796 -datadir | --datadir | --datadi | --datad)
797 ac_prev=datadir ;;
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
800
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
807
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
816 *"
817 "enable_$ac_useropt"
818 "*) ;;
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
821 esac
822 eval enable_$ac_useropt=no ;;
823
824 -docdir | --docdir | --docdi | --doc | --do)
825 ac_prev=docdir ;;
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 docdir=$ac_optarg ;;
828
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 ac_prev=dvidir ;;
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 dvidir=$ac_optarg ;;
833
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
842 *"
843 "enable_$ac_useropt"
844 "*) ;;
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
847 esac
848 eval enable_$ac_useropt=\$ac_optarg ;;
849
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
858
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
861 with_gas=yes ;;
862
863 -help | --help | --hel | --he | -h)
864 ac_init_help=long ;;
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
869
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
874
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
876 ac_prev=htmldir ;;
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
878 | --ht=*)
879 htmldir=$ac_optarg ;;
880
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
887
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
889 ac_prev=infodir ;;
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
892
893 -libdir | --libdir | --libdi | --libd)
894 ac_prev=libdir ;;
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 libdir=$ac_optarg ;;
897
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
904
905 -localedir | --localedir | --localedi | --localed | --locale)
906 ac_prev=localedir ;;
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
909
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
916
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
918 ac_prev=mandir ;;
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920 mandir=$ac_optarg ;;
921
922 -nfp | --nfp | --nf)
923 # Obsolete; use --without-fp.
924 with_fp=no ;;
925
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
928 no_create=yes ;;
929
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 no_recursion=yes ;;
933
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
942
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
944 ac_prev=prefix ;;
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 prefix=$ac_optarg ;;
947
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
954
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
961
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
978
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
980 ac_prev=pdfdir ;;
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 pdfdir=$ac_optarg ;;
983
984 -psdir | --psdir | --psdi | --psd | --ps)
985 ac_prev=psdir ;;
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 psdir=$ac_optarg ;;
988
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
991 silent=yes ;;
992
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
994 ac_prev=sbindir ;;
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
996 | --sbi=* | --sb=*)
997 sbindir=$ac_optarg ;;
998
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001 | --sharedst | --shareds | --shared | --share | --shar \
1002 | --sha | --sh)
1003 ac_prev=sharedstatedir ;;
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1007 | --sha=* | --sh=*)
1008 sharedstatedir=$ac_optarg ;;
1009
1010 -site | --site | --sit)
1011 ac_prev=site ;;
1012 -site=* | --site=* | --sit=*)
1013 site=$ac_optarg ;;
1014
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1016 ac_prev=srcdir ;;
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018 srcdir=$ac_optarg ;;
1019
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021 | --syscon | --sysco | --sysc | --sys | --sy)
1022 ac_prev=sysconfdir ;;
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025 sysconfdir=$ac_optarg ;;
1026
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
1028 ac_prev=target_alias ;;
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030 target_alias=$ac_optarg ;;
1031
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033 verbose=yes ;;
1034
1035 -version | --version | --versio | --versi | --vers | -V)
1036 ac_init_version=: ;;
1037
1038 -with-* | --with-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1046 *"
1047 "with_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval with_$ac_useropt=\$ac_optarg ;;
1053
1054 -without-* | --without-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1062 *"
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=no ;;
1069
1070 --x)
1071 # Obsolete; use --with-x.
1072 with_x=yes ;;
1073
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1080
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1087
1088 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1090 ;;
1091
1092 *=*)
1093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' | [0-9]* | *[!_$as_cr_alnum]* )
1097 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1098 esac
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1101
1102 *)
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1108 ;;
1109
1110 esac
1111 done
1112
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $? "missing argument to $ac_option"
1116 fi
1117
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1120 no) ;;
1121 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 esac
1124 fi
1125
1126 # Check all directory arguments for consistency.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1131 do
1132 eval ac_val=\$$ac_var
1133 # Remove trailing slashes.
1134 case $ac_val in
1135 */ )
1136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\$ac_val;;
1138 esac
1139 # Be sure to have absolute directory names.
1140 case $ac_val in
1141 [\\/$]* | ?:[\\/]* ) continue;;
1142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143 esac
1144 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 done
1146
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1150 build=$build_alias
1151 host=$host_alias
1152 target=$target_alias
1153
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156 if test "x$build_alias" = x; then
1157 cross_compiling=maybe
1158 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1159 If a cross compiler is detected then cross compile mode will be used" >&2
1160 elif test "x$build_alias" != "x$host_alias"; then
1161 cross_compiling=yes
1162 fi
1163 fi
1164
1165 ac_tool_prefix=
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167
1168 test "$silent" = yes && exec 6>/dev/null
1169
1170
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $? "pwd does not report name of working directory"
1177
1178
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 s//\1/
1191 q
1192 }
1193 /^X\(\/\/\)[^/].*/{
1194 s//\1/
1195 q
1196 }
1197 /^X\(\/\/\)$/{
1198 s//\1/
1199 q
1200 }
1201 /^X\(\/\).*/{
1202 s//\1/
1203 q
1204 }
1205 s/.*/./; q'`
1206 srcdir=$ac_confdir
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 srcdir=..
1209 fi
1210 else
1211 ac_srcdir_defaulted=no
1212 fi
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 fi
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 ac_abs_confdir=`(
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 pwd)`
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 srcdir=.
1224 fi
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1228 case $srcdir in
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 esac
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236 done
1237
1238 #
1239 # Report the --help message.
1240 #
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1244 cat <<_ACEOF
1245 \`configure' configures blkreplay 0.1 to adapt to many kinds of systems.
1246
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1248
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1251
1252 Defaults for the options are specified in brackets.
1253
1254 Configuration:
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 [PREFIX]
1270
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1275
1276 For better control, use the options below.
1277
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/blkreplay]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1298 _ACEOF
1299
1300 cat <<\_ACEOF
1301
1302 Program names:
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1306 _ACEOF
1307 fi
1308
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short | recursive ) echo "Configuration of blkreplay 0.1:";;
1312 esac
1313 cat <<\_ACEOF
1314
1315 Optional Features:
1316 --disable-option-checking ignore unrecognized --enable/--with options
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --disable-dependency-tracking speeds up one-time build
1320 --enable-dependency-tracking do not reject slow dependency extractors
1321
1322 Some influential environment variables:
1323 CC C compiler command
1324 CFLAGS C compiler flags
1325 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1326 nonstandard directory <lib dir>
1327 LIBS libraries to pass to the linker, e.g. -l<library>
1328 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329 you have headers in a nonstandard directory <include dir>
1330 CPP C preprocessor
1331
1332 Use these variables to override the choices made by `configure' or to help
1333 it to find libraries and programs with nonstandard names/locations.
1334
1335 Report bugs to <[email protected]>.
1336 _ACEOF
1337 ac_status=$?
1338 fi
1339
1340 if test "$ac_init_help" = "recursive"; then
1341 # If there are subdirs, report their specific --help.
1342 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1343 test -d "$ac_dir" ||
1344 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1345 continue
1346 ac_builddir=.
1347
1348 case "$ac_dir" in
1349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *)
1351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1352 # A ".." for each directory in $ac_dir_suffix.
1353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1354 case $ac_top_builddir_sub in
1355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1357 esac ;;
1358 esac
1359 ac_abs_top_builddir=$ac_pwd
1360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1361 # for backward compatibility:
1362 ac_top_builddir=$ac_top_build_prefix
1363
1364 case $srcdir in
1365 .) # We are building in place.
1366 ac_srcdir=.
1367 ac_top_srcdir=$ac_top_builddir_sub
1368 ac_abs_top_srcdir=$ac_pwd ;;
1369 [\\/]* | ?:[\\/]* ) # Absolute name.
1370 ac_srcdir=$srcdir$ac_dir_suffix;
1371 ac_top_srcdir=$srcdir
1372 ac_abs_top_srcdir=$srcdir ;;
1373 *) # Relative name.
1374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1375 ac_top_srcdir=$ac_top_build_prefix$srcdir
1376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1377 esac
1378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1379
1380 cd "$ac_dir" || { ac_status=$?; continue; }
1381 # Check for guested configure.
1382 if test -f "$ac_srcdir/configure.gnu"; then
1383 echo &&
1384 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1385 elif test -f "$ac_srcdir/configure"; then
1386 echo &&
1387 $SHELL "$ac_srcdir/configure" --help=recursive
1388 else
1389 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1390 fi || ac_status=$?
1391 cd "$ac_pwd" || { ac_status=$?; break; }
1392 done
1393 fi
1394
1395 test -n "$ac_init_help" && exit $ac_status
1396 if $ac_init_version; then
1397 cat <<\_ACEOF
1398 blkreplay configure 0.1
1399 generated by GNU Autoconf 2.68
1400
1401 Copyright (C) 2010 Free Software Foundation, Inc.
1402 This configure script is free software; the Free Software Foundation
1403 gives unlimited permission to copy, distribute and modify it.
1404 _ACEOF
1405 exit
1406 fi
1407
1408 ## ------------------------ ##
1409 ## Autoconf initialization. ##
1410 ## ------------------------ ##
1411
1412 # ac_fn_c_try_compile LINENO
1413 # --------------------------
1414 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1415 ac_fn_c_try_compile ()
1416 {
1417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1418 rm -f conftest.$ac_objext
1419 if { { ac_try="$ac_compile"
1420 case "(($ac_try" in
1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1422 *) ac_try_echo=$ac_try;;
1423 esac
1424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1425 $as_echo "$ac_try_echo"; } >&5
1426 (eval "$ac_compile") 2>conftest.err
1427 ac_status=$?
1428 if test -s conftest.err; then
1429 grep -v '^ *+' conftest.err >conftest.er1
1430 cat conftest.er1 >&5
1431 mv -f conftest.er1 conftest.err
1432 fi
1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1434 test $ac_status = 0; } && {
1435 test -z "$ac_c_werror_flag" ||
1436 test ! -s conftest.err
1437 } && test -s conftest.$ac_objext; then :
1438 ac_retval=0
1439 else
1440 $as_echo "$as_me: failed program was:" >&5
1441 sed 's/^/| /' conftest.$ac_ext >&5
1442
1443 ac_retval=1
1444 fi
1445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1446 as_fn_set_status $ac_retval
1447
1448 } # ac_fn_c_try_compile
1449
1450 # ac_fn_c_try_link LINENO
1451 # -----------------------
1452 # Try to link conftest.$ac_ext, and return whether this succeeded.
1453 ac_fn_c_try_link ()
1454 {
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 rm -f conftest.$ac_objext conftest$ac_exeext
1457 if { { ac_try="$ac_link"
1458 case "(($ac_try" in
1459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1460 *) ac_try_echo=$ac_try;;
1461 esac
1462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1463 $as_echo "$ac_try_echo"; } >&5
1464 (eval "$ac_link") 2>conftest.err
1465 ac_status=$?
1466 if test -s conftest.err; then
1467 grep -v '^ *+' conftest.err >conftest.er1
1468 cat conftest.er1 >&5
1469 mv -f conftest.er1 conftest.err
1470 fi
1471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1472 test $ac_status = 0; } && {
1473 test -z "$ac_c_werror_flag" ||
1474 test ! -s conftest.err
1475 } && test -s conftest$ac_exeext && {
1476 test "$cross_compiling" = yes ||
1477 $as_test_x conftest$ac_exeext
1478 }; then :
1479 ac_retval=0
1480 else
1481 $as_echo "$as_me: failed program was:" >&5
1482 sed 's/^/| /' conftest.$ac_ext >&5
1483
1484 ac_retval=1
1485 fi
1486 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1487 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1488 # interfere with the next link command; also delete a directory that is
1489 # left behind by Apple's compiler. We do this before executing the actions.
1490 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1493
1494 } # ac_fn_c_try_link
1495
1496 # ac_fn_c_try_cpp LINENO
1497 # ----------------------
1498 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_cpp ()
1500 {
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 if { { ac_try="$ac_cpp conftest.$ac_ext"
1503 case "(($ac_try" in
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1506 esac
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1510 ac_status=$?
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1515 fi
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } > conftest.i && {
1518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1520 }; then :
1521 ac_retval=0
1522 else
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1525
1526 ac_retval=1
1527 fi
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1530
1531 } # ac_fn_c_try_cpp
1532
1533 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1534 # -------------------------------------------------------
1535 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1536 # the include files in INCLUDES and setting the cache variable VAR
1537 # accordingly.
1538 ac_fn_c_check_header_mongrel ()
1539 {
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 if eval \${$3+:} false; then :
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1543 $as_echo_n "checking for $2... " >&6; }
1544 if eval \${$3+:} false; then :
1545 $as_echo_n "(cached) " >&6
1546 fi
1547 eval ac_res=\$$3
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1549 $as_echo "$ac_res" >&6; }
1550 else
1551 # Is the header compilable?
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1553 $as_echo_n "checking $2 usability... " >&6; }
1554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1555 /* end confdefs.h. */
1556 $4
1557 #include <$2>
1558 _ACEOF
1559 if ac_fn_c_try_compile "$LINENO"; then :
1560 ac_header_compiler=yes
1561 else
1562 ac_header_compiler=no
1563 fi
1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1566 $as_echo "$ac_header_compiler" >&6; }
1567
1568 # Is the header present?
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1570 $as_echo_n "checking $2 presence... " >&6; }
1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1572 /* end confdefs.h. */
1573 #include <$2>
1574 _ACEOF
1575 if ac_fn_c_try_cpp "$LINENO"; then :
1576 ac_header_preproc=yes
1577 else
1578 ac_header_preproc=no
1579 fi
1580 rm -f conftest.err conftest.i conftest.$ac_ext
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1582 $as_echo "$ac_header_preproc" >&6; }
1583
1584 # So? What about this header?
1585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1586 yes:no: )
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1588 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1590 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1591 ;;
1592 no:yes:* )
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1594 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1596 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1598 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1600 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1602 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1603 ( $as_echo "## --------------------------- ##
1604 ## Report this to [email protected] ##
1605 ## --------------------------- ##"
1606 ) | sed "s/^/$as_me: WARNING: /" >&2
1607 ;;
1608 esac
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610 $as_echo_n "checking for $2... " >&6; }
1611 if eval \${$3+:} false; then :
1612 $as_echo_n "(cached) " >&6
1613 else
1614 eval "$3=\$ac_header_compiler"
1615 fi
1616 eval ac_res=\$$3
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1619 fi
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621
1622 } # ac_fn_c_check_header_mongrel
1623
1624 # ac_fn_c_try_run LINENO
1625 # ----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1627 # that executables *can* be run.
1628 ac_fn_c_try_run ()
1629 {
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_link"
1632 case "(($ac_try" in
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1635 esac
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>&5
1639 ac_status=$?
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1642 { { case "(($ac_try" in
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1645 esac
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_try") 2>&5
1649 ac_status=$?
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; }; }; then :
1652 ac_retval=0
1653 else
1654 $as_echo "$as_me: program exited with status $ac_status" >&5
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1657
1658 ac_retval=$ac_status
1659 fi
1660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1663
1664 } # ac_fn_c_try_run
1665
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1671 {
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval \${$3+:} false; then :
1676 $as_echo_n "(cached) " >&6
1677 else
1678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h. */
1680 $4
1681 #include <$2>
1682 _ACEOF
1683 if ac_fn_c_try_compile "$LINENO"; then :
1684 eval "$3=yes"
1685 else
1686 eval "$3=no"
1687 fi
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 fi
1690 eval ac_res=\$$3
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694
1695 } # ac_fn_c_check_header_compile
1696
1697 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1698 # ---------------------------------------------
1699 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1700 # accordingly.
1701 ac_fn_c_check_decl ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 as_decl_name=`echo $2|sed 's/ *(.*//'`
1705 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1707 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1710 else
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 $4
1714 int
1715 main ()
1716 {
1717 #ifndef $as_decl_name
1718 #ifdef __cplusplus
1719 (void) $as_decl_use;
1720 #else
1721 (void) $as_decl_name;
1722 #endif
1723 #endif
1724
1725 ;
1726 return 0;
1727 }
1728 _ACEOF
1729 if ac_fn_c_try_compile "$LINENO"; then :
1730 eval "$3=yes"
1731 else
1732 eval "$3=no"
1733 fi
1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1735 fi
1736 eval ac_res=\$$3
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740
1741 } # ac_fn_c_check_decl
1742
1743 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1744 # -------------------------------------------
1745 # Tests whether TYPE exists after having included INCLUDES, setting cache
1746 # variable VAR accordingly.
1747 ac_fn_c_check_type ()
1748 {
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if eval \${$3+:} false; then :
1753 $as_echo_n "(cached) " >&6
1754 else
1755 eval "$3=no"
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1758 $4
1759 int
1760 main ()
1761 {
1762 if (sizeof ($2))
1763 return 0;
1764 ;
1765 return 0;
1766 }
1767 _ACEOF
1768 if ac_fn_c_try_compile "$LINENO"; then :
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770 /* end confdefs.h. */
1771 $4
1772 int
1773 main ()
1774 {
1775 if (sizeof (($2)))
1776 return 0;
1777 ;
1778 return 0;
1779 }
1780 _ACEOF
1781 if ac_fn_c_try_compile "$LINENO"; then :
1782
1783 else
1784 eval "$3=yes"
1785 fi
1786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1787 fi
1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789 fi
1790 eval ac_res=\$$3
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
1795 } # ac_fn_c_check_type
1796
1797 # ac_fn_c_check_func LINENO FUNC VAR
1798 # ----------------------------------
1799 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1800 ac_fn_c_check_func ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1807 else
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1812 #define $2 innocuous_$2
1813
1814 /* System header to define __stub macros and hopefully few prototypes,
1815 which can conflict with char $2 (); below.
1816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1817 <limits.h> exists even on freestanding compilers. */
1818
1819 #ifdef __STDC__
1820 # include <limits.h>
1821 #else
1822 # include <assert.h>
1823 #endif
1824
1825 #undef $2
1826
1827 /* Override any GCC internal prototype to avoid an error.
1828 Use char because int might match the return type of a GCC
1829 builtin and then its argument prototype would still apply. */
1830 #ifdef __cplusplus
1831 extern "C"
1832 #endif
1833 char $2 ();
1834 /* The GNU C library defines this for functions which it implements
1835 to always fail with ENOSYS. Some functions are actually named
1836 something starting with __ and the normal name is an alias. */
1837 #if defined __stub_$2 || defined __stub___$2
1838 choke me
1839 #endif
1840
1841 int
1842 main ()
1843 {
1844 return $2 ();
1845 ;
1846 return 0;
1847 }
1848 _ACEOF
1849 if ac_fn_c_try_link "$LINENO"; then :
1850 eval "$3=yes"
1851 else
1852 eval "$3=no"
1853 fi
1854 rm -f core conftest.err conftest.$ac_objext \
1855 conftest$ac_exeext conftest.$ac_ext
1856 fi
1857 eval ac_res=\$$3
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861
1862 } # ac_fn_c_check_func
1863 cat >config.log <<_ACEOF
1864 This file contains any messages produced by compilers while
1865 running configure, to aid debugging if configure makes a mistake.
1866
1867 It was created by blkreplay $as_me 0.1, which was
1868 generated by GNU Autoconf 2.68. Invocation command line was
1869
1870 $ $0 $@
1871
1872 _ACEOF
1873 exec 5>>config.log
1874 {
1875 cat <<_ASUNAME
1876 ## --------- ##
1877 ## Platform. ##
1878 ## --------- ##
1879
1880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1885
1886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1888
1889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1892 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1896
1897 _ASUNAME
1898
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1901 do
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 $as_echo "PATH: $as_dir"
1905 done
1906 IFS=$as_save_IFS
1907
1908 } >&5
1909
1910 cat >&5 <<_ACEOF
1911
1912
1913 ## ----------- ##
1914 ## Core tests. ##
1915 ## ----------- ##
1916
1917 _ACEOF
1918
1919
1920 # Keep a trace of the command line.
1921 # Strip out --no-create and --no-recursion so they do not pile up.
1922 # Strip out --silent because we don't want to record it for future runs.
1923 # Also quote any args containing shell meta-characters.
1924 # Make two passes to allow for proper duplicate-argument suppression.
1925 ac_configure_args=
1926 ac_configure_args0=
1927 ac_configure_args1=
1928 ac_must_keep_next=false
1929 for ac_pass in 1 2
1930 do
1931 for ac_arg
1932 do
1933 case $ac_arg in
1934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1936 | -silent | --silent | --silen | --sile | --sil)
1937 continue ;;
1938 *\'*)
1939 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1940 esac
1941 case $ac_pass in
1942 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1943 2)
1944 as_fn_append ac_configure_args1 " '$ac_arg'"
1945 if test $ac_must_keep_next = true; then
1946 ac_must_keep_next=false # Got value, back to normal.
1947 else
1948 case $ac_arg in
1949 *=* | --config-cache | -C | -disable-* | --disable-* \
1950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1952 | -with-* | --with-* | -without-* | --without-* | --x)
1953 case "$ac_configure_args0 " in
1954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1955 esac
1956 ;;
1957 -* ) ac_must_keep_next=true ;;
1958 esac
1959 fi
1960 as_fn_append ac_configure_args " '$ac_arg'"
1961 ;;
1962 esac
1963 done
1964 done
1965 { ac_configure_args0=; unset ac_configure_args0;}
1966 { ac_configure_args1=; unset ac_configure_args1;}
1967
1968 # When interrupted or exit'd, cleanup temporary files, and complete
1969 # config.log. We remove comments because anyway the quotes in there
1970 # would cause problems or look ugly.
1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1973 trap 'exit_status=$?
1974 # Save into config.log some information that might help in debugging.
1975 {
1976 echo
1977
1978 $as_echo "## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##"
1981 echo
1982 # The following way of writing the cache mishandles newlines in values,
1983 (
1984 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1985 eval ac_val=\$$ac_var
1986 case $ac_val in #(
1987 *${as_nl}*)
1988 case $ac_var in #(
1989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1991 esac
1992 case $ac_var in #(
1993 _ | IFS | as_nl) ;; #(
1994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1995 *) { eval $ac_var=; unset $ac_var;} ;;
1996 esac ;;
1997 esac
1998 done
1999 (set) 2>&1 |
2000 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2001 *${as_nl}ac_space=\ *)
2002 sed -n \
2003 "s/'\''/'\''\\\\'\'''\''/g;
2004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2005 ;; #(
2006 *)
2007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2008 ;;
2009 esac |
2010 sort
2011 )
2012 echo
2013
2014 $as_echo "## ----------------- ##
2015 ## Output variables. ##
2016 ## ----------------- ##"
2017 echo
2018 for ac_var in $ac_subst_vars
2019 do
2020 eval ac_val=\$$ac_var
2021 case $ac_val in
2022 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2023 esac
2024 $as_echo "$ac_var='\''$ac_val'\''"
2025 done | sort
2026 echo
2027
2028 if test -n "$ac_subst_files"; then
2029 $as_echo "## ------------------- ##
2030 ## File substitutions. ##
2031 ## ------------------- ##"
2032 echo
2033 for ac_var in $ac_subst_files
2034 do
2035 eval ac_val=\$$ac_var
2036 case $ac_val in
2037 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 esac
2039 $as_echo "$ac_var='\''$ac_val'\''"
2040 done | sort
2041 echo
2042 fi
2043
2044 if test -s confdefs.h; then
2045 $as_echo "## ----------- ##
2046 ## confdefs.h. ##
2047 ## ----------- ##"
2048 echo
2049 cat confdefs.h
2050 echo
2051 fi
2052 test "$ac_signal" != 0 &&
2053 $as_echo "$as_me: caught signal $ac_signal"
2054 $as_echo "$as_me: exit $exit_status"
2055 } >&5
2056 rm -f core *.core core.conftest.* &&
2057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2058 exit $exit_status
2059 ' 0
2060 for ac_signal in 1 2 13 15; do
2061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2062 done
2063 ac_signal=0
2064
2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2066 rm -f -r conftest* confdefs.h
2067
2068 $as_echo "/* confdefs.h */" > confdefs.h
2069
2070 # Predefined preprocessor variables.
2071
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_NAME "$PACKAGE_NAME"
2074 _ACEOF
2075
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2078 _ACEOF
2079
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2082 _ACEOF
2083
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_STRING "$PACKAGE_STRING"
2086 _ACEOF
2087
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2090 _ACEOF
2091
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_URL "$PACKAGE_URL"
2094 _ACEOF
2095
2096
2097 # Let the site file select an alternate cache file if it wants to.
2098 # Prefer an explicitly selected file to automatically selected ones.
2099 ac_site_file1=NONE
2100 ac_site_file2=NONE
2101 if test -n "$CONFIG_SITE"; then
2102 # We do not want a PATH search for config.site.
2103 case $CONFIG_SITE in #((
2104 -*) ac_site_file1=./$CONFIG_SITE;;
2105 */*) ac_site_file1=$CONFIG_SITE;;
2106 *) ac_site_file1=./$CONFIG_SITE;;
2107 esac
2108 elif test "x$prefix" != xNONE; then
2109 ac_site_file1=$prefix/share/config.site
2110 ac_site_file2=$prefix/etc/config.site
2111 else
2112 ac_site_file1=$ac_default_prefix/share/config.site
2113 ac_site_file2=$ac_default_prefix/etc/config.site
2114 fi
2115 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2116 do
2117 test "x$ac_site_file" = xNONE && continue
2118 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2121 sed 's/^/| /' "$ac_site_file" >&5
2122 . "$ac_site_file" \
2123 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125 as_fn_error $? "failed to load site script $ac_site_file
2126 See \`config.log' for more details" "$LINENO" 5; }
2127 fi
2128 done
2129
2130 if test -r "$cache_file"; then
2131 # Some versions of bash will fail to source /dev/null (special files
2132 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2133 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2135 $as_echo "$as_me: loading cache $cache_file" >&6;}
2136 case $cache_file in
2137 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2138 *) . "./$cache_file";;
2139 esac
2140 fi
2141 else
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2143 $as_echo "$as_me: creating cache $cache_file" >&6;}
2144 >$cache_file
2145 fi
2146
2147 # Check that the precious variables saved in the cache have kept the same
2148 # value.
2149 ac_cache_corrupted=false
2150 for ac_var in $ac_precious_vars; do
2151 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2152 eval ac_new_set=\$ac_env_${ac_var}_set
2153 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2154 eval ac_new_val=\$ac_env_${ac_var}_value
2155 case $ac_old_set,$ac_new_set in
2156 set,)
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2158 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2159 ac_cache_corrupted=: ;;
2160 ,set)
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2162 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2163 ac_cache_corrupted=: ;;
2164 ,);;
2165 *)
2166 if test "x$ac_old_val" != "x$ac_new_val"; then
2167 # differences in whitespace do not lead to failure.
2168 ac_old_val_w=`echo x $ac_old_val`
2169 ac_new_val_w=`echo x $ac_new_val`
2170 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2173 ac_cache_corrupted=:
2174 else
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2177 eval $ac_var=\$ac_old_val
2178 fi
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2180 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2182 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2183 fi;;
2184 esac
2185 # Pass precious variables to config.status.
2186 if test "$ac_new_set" = set; then
2187 case $ac_new_val in
2188 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 *) ac_arg=$ac_var=$ac_new_val ;;
2190 esac
2191 case " $ac_configure_args " in
2192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2193 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2194 esac
2195 fi
2196 done
2197 if $ac_cache_corrupted; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2202 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2203 fi
2204 ## -------------------- ##
2205 ## Main body of script. ##
2206 ## -------------------- ##
2207
2208 ac_ext=c
2209 ac_cpp='$CPP $CPPFLAGS'
2210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2213
2214
2215 am__api_version='1.11'
2216
2217 ac_aux_dir=
2218 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2219 if test -f "$ac_dir/install-sh"; then
2220 ac_aux_dir=$ac_dir
2221 ac_install_sh="$ac_aux_dir/install-sh -c"
2222 break
2223 elif test -f "$ac_dir/install.sh"; then
2224 ac_aux_dir=$ac_dir
2225 ac_install_sh="$ac_aux_dir/install.sh -c"
2226 break
2227 elif test -f "$ac_dir/shtool"; then
2228 ac_aux_dir=$ac_dir
2229 ac_install_sh="$ac_aux_dir/shtool install -c"
2230 break
2231 fi
2232 done
2233 if test -z "$ac_aux_dir"; then
2234 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2235 fi
2236
2237 # These three variables are undocumented and unsupported,
2238 # and are intended to be withdrawn in a future Autoconf release.
2239 # They can cause serious problems if a builder's source tree is in a directory
2240 # whose full name contains unusual characters.
2241 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2242 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2243 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2244
2245
2246 # Find a good install program. We prefer a C program (faster),
2247 # so one script is as good as another. But avoid the broken or
2248 # incompatible versions:
2249 # SysV /etc/install, /usr/sbin/install
2250 # SunOS /usr/etc/install
2251 # IRIX /sbin/install
2252 # AIX /bin/install
2253 # AmigaOS /C/install, which installs bootblocks on floppy discs
2254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2257 # OS/2's system install, which has a completely different semantic
2258 # ./install, which can be erroneously created by make from ./install.sh.
2259 # Reject install programs that cannot install multiple files.
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2261 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2262 if test -z "$INSTALL"; then
2263 if ${ac_cv_path_install+:} false; then :
2264 $as_echo_n "(cached) " >&6
2265 else
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2268 do
2269 IFS=$as_save_IFS
2270 test -z "$as_dir" && as_dir=.
2271 # Account for people who put trailing slashes in PATH elements.
2272 case $as_dir/ in #((
2273 ./ | .// | /[cC]/* | \
2274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2275 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2276 /usr/ucb/* ) ;;
2277 *)
2278 # OSF1 and SCO ODT 3.0 have their own names for install.
2279 # Don't use installbsd from OSF since it installs stuff as root
2280 # by default.
2281 for ac_prog in ginstall scoinst install; do
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2284 if test $ac_prog = install &&
2285 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2286 # AIX install. It has an incompatible calling convention.
2287 :
2288 elif test $ac_prog = install &&
2289 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2290 # program-specific install script used by HP pwplus--don't use.
2291 :
2292 else
2293 rm -rf conftest.one conftest.two conftest.dir
2294 echo one > conftest.one
2295 echo two > conftest.two
2296 mkdir conftest.dir
2297 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2298 test -s conftest.one && test -s conftest.two &&
2299 test -s conftest.dir/conftest.one &&
2300 test -s conftest.dir/conftest.two
2301 then
2302 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2303 break 3
2304 fi
2305 fi
2306 fi
2307 done
2308 done
2309 ;;
2310 esac
2311
2312 done
2313 IFS=$as_save_IFS
2314
2315 rm -rf conftest.one conftest.two conftest.dir
2316
2317 fi
2318 if test "${ac_cv_path_install+set}" = set; then
2319 INSTALL=$ac_cv_path_install
2320 else
2321 # As a last resort, use the slow shell script. Don't cache a
2322 # value for INSTALL within a source directory, because that will
2323 # break other packages using the cache if that directory is
2324 # removed, or if the value is a relative name.
2325 INSTALL=$ac_install_sh
2326 fi
2327 fi
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2329 $as_echo "$INSTALL" >&6; }
2330
2331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2332 # It thinks the first close brace ends the variable substitution.
2333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2334
2335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2336
2337 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2338
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2340 $as_echo_n "checking whether build environment is sane... " >&6; }
2341 # Just in case
2342 sleep 1
2343 echo timestamp > conftest.file
2344 # Reject unsafe characters in $srcdir or the absolute working directory
2345 # name. Accept space and tab only in the latter.
2346 am_lf='
2347 '
2348 case `pwd` in
2349 *[\\\"\#\$\&\'\`$am_lf]*)
2350 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2351 esac
2352 case $srcdir in
2353 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2354 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2355 esac
2356
2357 # Do `set' in a subshell so we don't clobber the current shell's
2358 # arguments. Must try -L first in case configure is actually a
2359 # symlink; some systems play weird games with the mod time of symlinks
2360 # (eg FreeBSD returns the mod time of the symlink's containing
2361 # directory).
2362 if (
2363 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2364 if test "$*" = "X"; then
2365 # -L didn't work.
2366 set X `ls -t "$srcdir/configure" conftest.file`
2367 fi
2368 rm -f conftest.file
2369 if test "$*" != "X $srcdir/configure conftest.file" \
2370 && test "$*" != "X conftest.file $srcdir/configure"; then
2371
2372 # If neither matched, then we have a broken ls. This can happen
2373 # if, for instance, CONFIG_SHELL is bash and it inherits a
2374 # broken ls alias from the environment. This has actually
2375 # happened. Such a system could not be considered "sane".
2376 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2377 alias in your environment" "$LINENO" 5
2378 fi
2379
2380 test "$2" = conftest.file
2381 )
2382 then
2383 # Ok.
2384 :
2385 else
2386 as_fn_error $? "newly created file is older than distributed files!
2387 Check your system clock" "$LINENO" 5
2388 fi
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390 $as_echo "yes" >&6; }
2391 test "$program_prefix" != NONE &&
2392 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2393 # Use a double $ so make ignores it.
2394 test "$program_suffix" != NONE &&
2395 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2396 # Double any \ or $.
2397 # By default was `s,x,x', remove it if useless.
2398 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2399 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2400
2401 # expand $ac_aux_dir to an absolute path
2402 am_aux_dir=`cd $ac_aux_dir && pwd`
2403
2404 if test x"${MISSING+set}" != xset; then
2405 case $am_aux_dir in
2406 *\ * | *\ *)
2407 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2408 *)
2409 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2410 esac
2411 fi
2412 # Use eval to expand $SHELL
2413 if eval "$MISSING --run true"; then
2414 am_missing_run="$MISSING --run "
2415 else
2416 am_missing_run=
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2418 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2419 fi
2420
2421 if test x"${install_sh}" != xset; then
2422 case $am_aux_dir in
2423 *\ * | *\ *)
2424 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2425 *)
2426 install_sh="\${SHELL} $am_aux_dir/install-sh"
2427 esac
2428 fi
2429
2430 # Installed binaries are usually stripped using `strip' when the user
2431 # run `make install-strip'. However `strip' might not be the right
2432 # tool to use in cross-compilation environments, therefore Automake
2433 # will honor the `STRIP' environment variable to overrule this program.
2434 if test "$cross_compiling" != no; then
2435 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2437 set dummy ${ac_tool_prefix}strip; ac_word=$2
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2439 $as_echo_n "checking for $ac_word... " >&6; }
2440 if ${ac_cv_prog_STRIP+:} false; then :
2441 $as_echo_n "(cached) " >&6
2442 else
2443 if test -n "$STRIP"; then
2444 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2445 else
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 for as_dir in $PATH
2448 do
2449 IFS=$as_save_IFS
2450 test -z "$as_dir" && as_dir=.
2451 for ac_exec_ext in '' $ac_executable_extensions; do
2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2455 break 2
2456 fi
2457 done
2458 done
2459 IFS=$as_save_IFS
2460
2461 fi
2462 fi
2463 STRIP=$ac_cv_prog_STRIP
2464 if test -n "$STRIP"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2466 $as_echo "$STRIP" >&6; }
2467 else
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469 $as_echo "no" >&6; }
2470 fi
2471
2472
2473 fi
2474 if test -z "$ac_cv_prog_STRIP"; then
2475 ac_ct_STRIP=$STRIP
2476 # Extract the first word of "strip", so it can be a program name with args.
2477 set dummy strip; ac_word=$2
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479 $as_echo_n "checking for $ac_word... " >&6; }
2480 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2481 $as_echo_n "(cached) " >&6
2482 else
2483 if test -n "$ac_ct_STRIP"; then
2484 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2485 else
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH
2488 do
2489 IFS=$as_save_IFS
2490 test -z "$as_dir" && as_dir=.
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_ac_ct_STRIP="strip"
2494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 break 2
2496 fi
2497 done
2498 done
2499 IFS=$as_save_IFS
2500
2501 fi
2502 fi
2503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2504 if test -n "$ac_ct_STRIP"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2506 $as_echo "$ac_ct_STRIP" >&6; }
2507 else
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509 $as_echo "no" >&6; }
2510 fi
2511
2512 if test "x$ac_ct_STRIP" = x; then
2513 STRIP=":"
2514 else
2515 case $cross_compiling:$ac_tool_warned in
2516 yes:)
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2519 ac_tool_warned=yes ;;
2520 esac
2521 STRIP=$ac_ct_STRIP
2522 fi
2523 else
2524 STRIP="$ac_cv_prog_STRIP"
2525 fi
2526
2527 fi
2528 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2529
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2531 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2532 if test -z "$MKDIR_P"; then
2533 if ${ac_cv_path_mkdir+:} false; then :
2534 $as_echo_n "(cached) " >&6
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2538 do
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_prog in mkdir gmkdir; do
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2544 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2545 'mkdir (GNU coreutils) '* | \
2546 'mkdir (coreutils) '* | \
2547 'mkdir (fileutils) '4.1*)
2548 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2549 break 3;;
2550 esac
2551 done
2552 done
2553 done
2554 IFS=$as_save_IFS
2555
2556 fi
2557
2558 test -d ./--version && rmdir ./--version
2559 if test "${ac_cv_path_mkdir+set}" = set; then
2560 MKDIR_P="$ac_cv_path_mkdir -p"
2561 else
2562 # As a last resort, use the slow shell script. Don't cache a
2563 # value for MKDIR_P within a source directory, because that will
2564 # break other packages using the cache if that directory is
2565 # removed, or if the value is a relative name.
2566 MKDIR_P="$ac_install_sh -d"
2567 fi
2568 fi
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2570 $as_echo "$MKDIR_P" >&6; }
2571
2572 mkdir_p="$MKDIR_P"
2573 case $mkdir_p in
2574 [\\/$]* | ?:[\\/]*) ;;
2575 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2576 esac
2577
2578 for ac_prog in gawk mawk nawk awk
2579 do
2580 # Extract the first word of "$ac_prog", so it can be a program name with args.
2581 set dummy $ac_prog; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_AWK+:} false; then :
2585 $as_echo_n "(cached) " >&6
2586 else
2587 if test -n "$AWK"; then
2588 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2589 else
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 for as_dir in $PATH
2592 do
2593 IFS=$as_save_IFS
2594 test -z "$as_dir" && as_dir=.
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597 ac_cv_prog_AWK="$ac_prog"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 break 2
2600 fi
2601 done
2602 done
2603 IFS=$as_save_IFS
2604
2605 fi
2606 fi
2607 AWK=$ac_cv_prog_AWK
2608 if test -n "$AWK"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2610 $as_echo "$AWK" >&6; }
2611 else
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2614 fi
2615
2616
2617 test -n "$AWK" && break
2618 done
2619
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2621 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2622 set x ${MAKE-make}
2623 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2624 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2625 $as_echo_n "(cached) " >&6
2626 else
2627 cat >conftest.make <<\_ACEOF
2628 SHELL = /bin/sh
2629 all:
2630 @echo '@@@%%%=$(MAKE)=@@@%%%'
2631 _ACEOF
2632 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2633 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2634 *@@@%%%=?*=@@@%%%*)
2635 eval ac_cv_prog_make_${ac_make}_set=yes;;
2636 *)
2637 eval ac_cv_prog_make_${ac_make}_set=no;;
2638 esac
2639 rm -f conftest.make
2640 fi
2641 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2643 $as_echo "yes" >&6; }
2644 SET_MAKE=
2645 else
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2648 SET_MAKE="MAKE=${MAKE-make}"
2649 fi
2650
2651 rm -rf .tst 2>/dev/null
2652 mkdir .tst 2>/dev/null
2653 if test -d .tst; then
2654 am__leading_dot=.
2655 else
2656 am__leading_dot=_
2657 fi
2658 rmdir .tst 2>/dev/null
2659
2660 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2661 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2662 # is not polluted with repeated "-I."
2663 am__isrc=' -I$(srcdir)'
2664 # test to see if srcdir already configured
2665 if test -f $srcdir/config.status; then
2666 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2667 fi
2668 fi
2669
2670 # test whether we have cygpath
2671 if test -z "$CYGPATH_W"; then
2672 if (cygpath --version) >/dev/null 2>/dev/null; then
2673 CYGPATH_W='cygpath -w'
2674 else
2675 CYGPATH_W=echo
2676 fi
2677 fi
2678
2679
2680 # Define the identity of the package.
2681 PACKAGE='blkreplay'
2682 VERSION='0.1'
2683
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE "$PACKAGE"
2687 _ACEOF
2688
2689
2690 cat >>confdefs.h <<_ACEOF
2691 #define VERSION "$VERSION"
2692 _ACEOF
2693
2694 # Some tools Automake needs.
2695
2696 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2697
2698
2699 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2700
2701
2702 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2703
2704
2705 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2706
2707
2708 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2709
2710 # We need awk for the "check" target. The system "awk" is bad on
2711 # some platforms.
2712 # Always define AMTAR for backward compatibility.
2713
2714 AMTAR=${AMTAR-"${am_missing_run}tar"}
2715
2716 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2717
2718
2719
2720
2721
2722
2723 DEPDIR="${am__leading_dot}deps"
2724
2725 ac_config_commands="$ac_config_commands depfiles"
2726
2727
2728 am_make=${MAKE-make}
2729 cat > confinc << 'END'
2730 am__doit:
2731 @echo this is the am__doit target
2732 .PHONY: am__doit
2733 END
2734 # If we don't find an include directive, just comment out the code.
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2736 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2737 am__include="#"
2738 am__quote=
2739 _am_result=none
2740 # First try GNU make style include.
2741 echo "include confinc" > confmf
2742 # Ignore all kinds of additional output from `make'.
2743 case `$am_make -s -f confmf 2> /dev/null` in #(
2744 *the\ am__doit\ target*)
2745 am__include=include
2746 am__quote=
2747 _am_result=GNU
2748 ;;
2749 esac
2750 # Now try BSD make style include.
2751 if test "$am__include" = "#"; then
2752 echo '.include "confinc"' > confmf
2753 case `$am_make -s -f confmf 2> /dev/null` in #(
2754 *the\ am__doit\ target*)
2755 am__include=.include
2756 am__quote="\""
2757 _am_result=BSD
2758 ;;
2759 esac
2760 fi
2761
2762
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2764 $as_echo "$_am_result" >&6; }
2765 rm -f confinc confmf
2766
2767 # Check whether --enable-dependency-tracking was given.
2768 if test "${enable_dependency_tracking+set}" = set; then :
2769 enableval=$enable_dependency_tracking;
2770 fi
2771
2772 if test "x$enable_dependency_tracking" != xno; then
2773 am_depcomp="$ac_aux_dir/depcomp"
2774 AMDEPBACKSLASH='\'
2775 fi
2776 if test "x$enable_dependency_tracking" != xno; then
2777 AMDEP_TRUE=
2778 AMDEP_FALSE='#'
2779 else
2780 AMDEP_TRUE='#'
2781 AMDEP_FALSE=
2782 fi
2783
2784
2785 ac_ext=c
2786 ac_cpp='$CPP $CPPFLAGS'
2787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2790 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2792 set dummy ${ac_tool_prefix}gcc; 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_CC+:} false; then :
2796 $as_echo_n "(cached) " >&6
2797 else
2798 if test -n "$CC"; then
2799 ac_cv_prog_CC="$CC" # Let the user override the test.
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 break 2
2811 fi
2812 done
2813 done
2814 IFS=$as_save_IFS
2815
2816 fi
2817 fi
2818 CC=$ac_cv_prog_CC
2819 if test -n "$CC"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2821 $as_echo "$CC" >&6; }
2822 else
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 fi
2826
2827
2828 fi
2829 if test -z "$ac_cv_prog_CC"; then
2830 ac_ct_CC=$CC
2831 # Extract the first word of "gcc", so it can be a program name with args.
2832 set dummy gcc; ac_word=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 if test -n "$ac_ct_CC"; then
2839 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2840 else
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 for as_dir in $PATH
2843 do
2844 IFS=$as_save_IFS
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_ac_ct_CC="gcc"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 break 2
2851 fi
2852 done
2853 done
2854 IFS=$as_save_IFS
2855
2856 fi
2857 fi
2858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2859 if test -n "$ac_ct_CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2861 $as_echo "$ac_ct_CC" >&6; }
2862 else
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865 fi
2866
2867 if test "x$ac_ct_CC" = x; then
2868 CC=""
2869 else
2870 case $cross_compiling:$ac_tool_warned in
2871 yes:)
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2874 ac_tool_warned=yes ;;
2875 esac
2876 CC=$ac_ct_CC
2877 fi
2878 else
2879 CC="$ac_cv_prog_CC"
2880 fi
2881
2882 if test -z "$CC"; then
2883 if test -n "$ac_tool_prefix"; then
2884 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2885 set dummy ${ac_tool_prefix}cc; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CC+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 if test -n "$CC"; then
2892 ac_cv_prog_CC="$CC" # Let the user override the test.
2893 else
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH
2896 do
2897 IFS=$as_save_IFS
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_CC="${ac_tool_prefix}cc"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 break 2
2904 fi
2905 done
2906 done
2907 IFS=$as_save_IFS
2908
2909 fi
2910 fi
2911 CC=$ac_cv_prog_CC
2912 if test -n "$CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2915 else
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2918 fi
2919
2920
2921 fi
2922 fi
2923 if test -z "$CC"; then
2924 # Extract the first word of "cc", so it can be a program name with args.
2925 set dummy cc; ac_word=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if ${ac_cv_prog_CC+:} false; then :
2929 $as_echo_n "(cached) " >&6
2930 else
2931 if test -n "$CC"; then
2932 ac_cv_prog_CC="$CC" # Let the user override the test.
2933 else
2934 ac_prog_rejected=no
2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 for as_dir in $PATH
2937 do
2938 IFS=$as_save_IFS
2939 test -z "$as_dir" && as_dir=.
2940 for ac_exec_ext in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2943 ac_prog_rejected=yes
2944 continue
2945 fi
2946 ac_cv_prog_CC="cc"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 break 2
2949 fi
2950 done
2951 done
2952 IFS=$as_save_IFS
2953
2954 if test $ac_prog_rejected = yes; then
2955 # We found a bogon in the path, so make sure we never use it.
2956 set dummy $ac_cv_prog_CC
2957 shift
2958 if test $# != 0; then
2959 # We chose a different compiler from the bogus one.
2960 # However, it has the same basename, so the bogon will be chosen
2961 # first if we set CC to just the basename; use the full file name.
2962 shift
2963 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2964 fi
2965 fi
2966 fi
2967 fi
2968 CC=$ac_cv_prog_CC
2969 if test -n "$CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2971 $as_echo "$CC" >&6; }
2972 else
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975 fi
2976
2977
2978 fi
2979 if test -z "$CC"; then
2980 if test -n "$ac_tool_prefix"; then
2981 for ac_prog in cl.exe
2982 do
2983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2986 $as_echo_n "checking for $ac_word... " >&6; }
2987 if ${ac_cv_prog_CC+:} false; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test -n "$CC"; then
2991 ac_cv_prog_CC="$CC" # Let the user override the test.
2992 else
2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 for as_dir in $PATH
2995 do
2996 IFS=$as_save_IFS
2997 test -z "$as_dir" && as_dir=.
2998 for ac_exec_ext in '' $ac_executable_extensions; do
2999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3000 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 break 2
3003 fi
3004 done
3005 done
3006 IFS=$as_save_IFS
3007
3008 fi
3009 fi
3010 CC=$ac_cv_prog_CC
3011 if test -n "$CC"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3013 $as_echo "$CC" >&6; }
3014 else
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3017 fi
3018
3019
3020 test -n "$CC" && break
3021 done
3022 fi
3023 if test -z "$CC"; then
3024 ac_ct_CC=$CC
3025 for ac_prog in cl.exe
3026 do
3027 # Extract the first word of "$ac_prog", so it can be a program name with args.
3028 set dummy $ac_prog; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3032 $as_echo_n "(cached) " >&6
3033 else
3034 if test -n "$ac_ct_CC"; then
3035 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3044 ac_cv_prog_ac_ct_CC="$ac_prog"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 break 2
3047 fi
3048 done
3049 done
3050 IFS=$as_save_IFS
3051
3052 fi
3053 fi
3054 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3055 if test -n "$ac_ct_CC"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3057 $as_echo "$ac_ct_CC" >&6; }
3058 else
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3061 fi
3062
3063
3064 test -n "$ac_ct_CC" && break
3065 done
3066
3067 if test "x$ac_ct_CC" = x; then
3068 CC=""
3069 else
3070 case $cross_compiling:$ac_tool_warned in
3071 yes:)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3074 ac_tool_warned=yes ;;
3075 esac
3076 CC=$ac_ct_CC
3077 fi
3078 fi
3079
3080 fi
3081
3082
3083 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error $? "no acceptable C compiler found in \$PATH
3086 See \`config.log' for more details" "$LINENO" 5; }
3087
3088 # Provide some information about the compiler.
3089 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3090 set X $ac_compile
3091 ac_compiler=$2
3092 for ac_option in --version -v -V -qversion; do
3093 { { ac_try="$ac_compiler $ac_option >&5"
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_compiler $ac_option >&5") 2>conftest.err
3101 ac_status=$?
3102 if test -s conftest.err; then
3103 sed '10a\
3104 ... rest of stderr output deleted ...
3105 10q' conftest.err >conftest.er1
3106 cat conftest.er1 >&5
3107 fi
3108 rm -f conftest.er1 conftest.err
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; }
3111 done
3112
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3115
3116 int
3117 main ()
3118 {
3119
3120 ;
3121 return 0;
3122 }
3123 _ACEOF
3124 ac_clean_files_save=$ac_clean_files
3125 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3126 # Try to create an executable without -o first, disregard a.out.
3127 # It will help us diagnose broken compilers, and finding out an intuition
3128 # of exeext.
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3130 $as_echo_n "checking whether the C compiler works... " >&6; }
3131 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3132
3133 # The possible output files:
3134 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3135
3136 ac_rmfiles=
3137 for ac_file in $ac_files
3138 do
3139 case $ac_file in
3140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3141 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3142 esac
3143 done
3144 rm -f $ac_rmfiles
3145
3146 if { { ac_try="$ac_link_default"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152 $as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_link_default") 2>&5
3154 ac_status=$?
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }; then :
3157 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3158 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3159 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3160 # so that the user can short-circuit this test for compilers unknown to
3161 # Autoconf.
3162 for ac_file in $ac_files ''
3163 do
3164 test -f "$ac_file" || continue
3165 case $ac_file in
3166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3167 ;;
3168 [ab].out )
3169 # We found the default executable, but exeext='' is most
3170 # certainly right.
3171 break;;
3172 *.* )
3173 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3174 then :; else
3175 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3176 fi
3177 # We set ac_cv_exeext here because the later test for it is not
3178 # safe: cross compilers may not add the suffix if given an `-o'
3179 # argument, so we may need to know it at that point already.
3180 # Even if this section looks crufty: it has the advantage of
3181 # actually working.
3182 break;;
3183 * )
3184 break;;
3185 esac
3186 done
3187 test "$ac_cv_exeext" = no && ac_cv_exeext=
3188
3189 else
3190 ac_file=''
3191 fi
3192 if test -z "$ac_file"; then :
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3195 $as_echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3197
3198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200 as_fn_error 77 "C compiler cannot create executables
3201 See \`config.log' for more details" "$LINENO" 5; }
3202 else
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204 $as_echo "yes" >&6; }
3205 fi
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3207 $as_echo_n "checking for C compiler default output file name... " >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3209 $as_echo "$ac_file" >&6; }
3210 ac_exeext=$ac_cv_exeext
3211
3212 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3213 ac_clean_files=$ac_clean_files_save
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3215 $as_echo_n "checking for suffix of executables... " >&6; }
3216 if { { ac_try="$ac_link"
3217 case "(($ac_try" in
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3220 esac
3221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3222 $as_echo "$ac_try_echo"; } >&5
3223 (eval "$ac_link") 2>&5
3224 ac_status=$?
3225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3226 test $ac_status = 0; }; then :
3227 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3228 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3229 # work properly (i.e., refer to `conftest.exe'), while it won't with
3230 # `rm'.
3231 for ac_file in conftest.exe conftest conftest.*; do
3232 test -f "$ac_file" || continue
3233 case $ac_file in
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3235 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3236 break;;
3237 * ) break;;
3238 esac
3239 done
3240 else
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3244 See \`config.log' for more details" "$LINENO" 5; }
3245 fi
3246 rm -f conftest conftest$ac_cv_exeext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3248 $as_echo "$ac_cv_exeext" >&6; }
3249
3250 rm -f conftest.$ac_ext
3251 EXEEXT=$ac_cv_exeext
3252 ac_exeext=$EXEEXT
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3255 #include <stdio.h>
3256 int
3257 main ()
3258 {
3259 FILE *f = fopen ("conftest.out", "w");
3260 return ferror (f) || fclose (f) != 0;
3261
3262 ;
3263 return 0;
3264 }
3265 _ACEOF
3266 ac_clean_files="$ac_clean_files conftest.out"
3267 # Check that the compiler produces executables we can run. If not, either
3268 # the compiler is broken, or we cross compile.
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3270 $as_echo_n "checking whether we are cross compiling... " >&6; }
3271 if test "$cross_compiling" != yes; then
3272 { { ac_try="$ac_link"
3273 case "(($ac_try" in
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3276 esac
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_link") 2>&5
3280 ac_status=$?
3281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282 test $ac_status = 0; }
3283 if { ac_try='./conftest$ac_cv_exeext'
3284 { { case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3287 esac
3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289 $as_echo "$ac_try_echo"; } >&5
3290 (eval "$ac_try") 2>&5
3291 ac_status=$?
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }; }; then
3294 cross_compiling=no
3295 else
3296 if test "$cross_compiling" = maybe; then
3297 cross_compiling=yes
3298 else
3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 as_fn_error $? "cannot run C compiled programs.
3302 If you meant to cross compile, use \`--host'.
3303 See \`config.log' for more details" "$LINENO" 5; }
3304 fi
3305 fi
3306 fi
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3308 $as_echo "$cross_compiling" >&6; }
3309
3310 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3311 ac_clean_files=$ac_clean_files_save
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3313 $as_echo_n "checking for suffix of object files... " >&6; }
3314 if ${ac_cv_objext+:} false; then :
3315 $as_echo_n "(cached) " >&6
3316 else
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3319
3320 int
3321 main ()
3322 {
3323
3324 ;
3325 return 0;
3326 }
3327 _ACEOF
3328 rm -f conftest.o conftest.obj
3329 if { { ac_try="$ac_compile"
3330 case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_compile") 2>&5
3337 ac_status=$?
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; then :
3340 for ac_file in conftest.o conftest.obj conftest.*; do
3341 test -f "$ac_file" || continue;
3342 case $ac_file in
3343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3344 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3345 break;;
3346 esac
3347 done
3348 else
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3351
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error $? "cannot compute suffix of object files: cannot compile
3355 See \`config.log' for more details" "$LINENO" 5; }
3356 fi
3357 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3358 fi
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3360 $as_echo "$ac_cv_objext" >&6; }
3361 OBJEXT=$ac_cv_objext
3362 ac_objext=$OBJEXT
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3364 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3365 if ${ac_cv_c_compiler_gnu+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367 else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3370
3371 int
3372 main ()
3373 {
3374 #ifndef __GNUC__
3375 choke me
3376 #endif
3377
3378 ;
3379 return 0;
3380 }
3381 _ACEOF
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 ac_compiler_gnu=yes
3384 else
3385 ac_compiler_gnu=no
3386 fi
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3389
3390 fi
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3392 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3393 if test $ac_compiler_gnu = yes; then
3394 GCC=yes
3395 else
3396 GCC=
3397 fi
3398 ac_test_CFLAGS=${CFLAGS+set}
3399 ac_save_CFLAGS=$CFLAGS
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3401 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3402 if ${ac_cv_prog_cc_g+:} false; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3405 ac_save_c_werror_flag=$ac_c_werror_flag
3406 ac_c_werror_flag=yes
3407 ac_cv_prog_cc_g=no
3408 CFLAGS="-g"
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3411
3412 int
3413 main ()
3414 {
3415
3416 ;
3417 return 0;
3418 }
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 ac_cv_prog_cc_g=yes
3422 else
3423 CFLAGS=""
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3426
3427 int
3428 main ()
3429 {
3430
3431 ;
3432 return 0;
3433 }
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436
3437 else
3438 ac_c_werror_flag=$ac_save_c_werror_flag
3439 CFLAGS="-g"
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3442
3443 int
3444 main ()
3445 {
3446
3447 ;
3448 return 0;
3449 }
3450 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 ac_cv_prog_cc_g=yes
3453 fi
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 fi
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 fi
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 ac_c_werror_flag=$ac_save_c_werror_flag
3460 fi
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3462 $as_echo "$ac_cv_prog_cc_g" >&6; }
3463 if test "$ac_test_CFLAGS" = set; then
3464 CFLAGS=$ac_save_CFLAGS
3465 elif test $ac_cv_prog_cc_g = yes; then
3466 if test "$GCC" = yes; then
3467 CFLAGS="-g -O2"
3468 else
3469 CFLAGS="-g"
3470 fi
3471 else
3472 if test "$GCC" = yes; then
3473 CFLAGS="-O2"
3474 else
3475 CFLAGS=
3476 fi
3477 fi
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3479 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3480 if ${ac_cv_prog_cc_c89+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 ac_cv_prog_cc_c89=no
3484 ac_save_CC=$CC
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3487 #include <stdarg.h>
3488 #include <stdio.h>
3489 #include <sys/types.h>
3490 #include <sys/stat.h>
3491 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3492 struct buf { int x; };
3493 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3494 static char *e (p, i)
3495 char **p;
3496 int i;
3497 {
3498 return p[i];
3499 }
3500 static char *f (char * (*g) (char **, int), char **p, ...)
3501 {
3502 char *s;
3503 va_list v;
3504 va_start (v,p);
3505 s = g (p, va_arg (v,int));
3506 va_end (v);
3507 return s;
3508 }
3509
3510 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3511 function prototypes and stuff, but not '\xHH' hex character constants.
3512 These don't provoke an error unfortunately, instead are silently treated
3513 as 'x'. The following induces an error, until -std is added to get
3514 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3515 array size at least. It's necessary to write '\x00'==0 to get something
3516 that's true only with -std. */
3517 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3518
3519 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3520 inside strings and character constants. */
3521 #define FOO(x) 'x'
3522 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3523
3524 int test (int i, double x);
3525 struct s1 {int (*f) (int a);};
3526 struct s2 {int (*f) (double a);};
3527 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3528 int argc;
3529 char **argv;
3530 int
3531 main ()
3532 {
3533 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534 ;
3535 return 0;
3536 }
3537 _ACEOF
3538 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3539 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3540 do
3541 CC="$ac_save_CC $ac_arg"
3542 if ac_fn_c_try_compile "$LINENO"; then :
3543 ac_cv_prog_cc_c89=$ac_arg
3544 fi
3545 rm -f core conftest.err conftest.$ac_objext
3546 test "x$ac_cv_prog_cc_c89" != "xno" && break
3547 done
3548 rm -f conftest.$ac_ext
3549 CC=$ac_save_CC
3550
3551 fi
3552 # AC_CACHE_VAL
3553 case "x$ac_cv_prog_cc_c89" in
3554 x)
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3556 $as_echo "none needed" >&6; } ;;
3557 xno)
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3559 $as_echo "unsupported" >&6; } ;;
3560 *)
3561 CC="$CC $ac_cv_prog_cc_c89"
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3563 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3564 esac
3565 if test "x$ac_cv_prog_cc_c89" != xno; then :
3566
3567 fi
3568
3569 ac_ext=c
3570 ac_cpp='$CPP $CPPFLAGS'
3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3574
3575 depcc="$CC" am_compiler_list=
3576
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3578 $as_echo_n "checking dependency style of $depcc... " >&6; }
3579 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3580 $as_echo_n "(cached) " >&6
3581 else
3582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3583 # We make a subdir and do the tests there. Otherwise we can end up
3584 # making bogus files that we don't know about and never remove. For
3585 # instance it was reported that on HP-UX the gcc test will end up
3586 # making a dummy file named `D' -- because `-MD' means `put the output
3587 # in D'.
3588 mkdir conftest.dir
3589 # Copy depcomp to subdir because otherwise we won't find it if we're
3590 # using a relative directory.
3591 cp "$am_depcomp" conftest.dir
3592 cd conftest.dir
3593 # We will build objects and dependencies in a subdirectory because
3594 # it helps to detect inapplicable dependency modes. For instance
3595 # both Tru64's cc and ICC support -MD to output dependencies as a
3596 # side effect of compilation, but ICC will put the dependencies in
3597 # the current directory while Tru64 will put them in the object
3598 # directory.
3599 mkdir sub
3600
3601 am_cv_CC_dependencies_compiler_type=none
3602 if test "$am_compiler_list" = ""; then
3603 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3604 fi
3605 am__universal=false
3606 case " $depcc " in #(
3607 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3608 esac
3609
3610 for depmode in $am_compiler_list; do
3611 # Setup a source with many dependencies, because some compilers
3612 # like to wrap large dependency lists on column 80 (with \), and
3613 # we should not choose a depcomp mode which is confused by this.
3614 #
3615 # We need to recreate these files for each test, as the compiler may
3616 # overwrite some of them when testing with obscure command lines.
3617 # This happens at least with the AIX C compiler.
3618 : > sub/conftest.c
3619 for i in 1 2 3 4 5 6; do
3620 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3621 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3622 # Solaris 8's {/usr,}/bin/sh.
3623 touch sub/conftst$i.h
3624 done
3625 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3626
3627 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3628 # mode. It turns out that the SunPro C++ compiler does not properly
3629 # handle `-M -o', and we need to detect this. Also, some Intel
3630 # versions had trouble with output in subdirs
3631 am__obj=sub/conftest.${OBJEXT-o}
3632 am__minus_obj="-o $am__obj"
3633 case $depmode in
3634 gcc)
3635 # This depmode causes a compiler race in universal mode.
3636 test "$am__universal" = false || continue
3637 ;;
3638 nosideeffect)
3639 # after this tag, mechanisms are not by side-effect, so they'll
3640 # only be used when explicitly requested
3641 if test "x$enable_dependency_tracking" = xyes; then
3642 continue
3643 else
3644 break
3645 fi
3646 ;;
3647 msvisualcpp | msvcmsys)
3648 # This compiler won't grok `-c -o', but also, the minuso test has
3649 # not run yet. These depmodes are late enough in the game, and
3650 # so weak that their functioning should not be impacted.
3651 am__obj=conftest.${OBJEXT-o}
3652 am__minus_obj=
3653 ;;
3654 none) break ;;
3655 esac
3656 if depmode=$depmode \
3657 source=sub/conftest.c object=$am__obj \
3658 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3659 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3660 >/dev/null 2>conftest.err &&
3661 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3662 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3663 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3664 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3665 # icc doesn't choke on unknown options, it will just issue warnings
3666 # or remarks (even with -Werror). So we grep stderr for any message
3667 # that says an option was ignored or not supported.
3668 # When given -MP, icc 7.0 and 7.1 complain thusly:
3669 # icc: Command line warning: ignoring option '-M'; no argument required
3670 # The diagnosis changed in icc 8.0:
3671 # icc: Command line remark: option '-MP' not supported
3672 if (grep 'ignoring option' conftest.err ||
3673 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3674 am_cv_CC_dependencies_compiler_type=$depmode
3675 break
3676 fi
3677 fi
3678 done
3679
3680 cd ..
3681 rm -rf conftest.dir
3682 else
3683 am_cv_CC_dependencies_compiler_type=none
3684 fi
3685
3686 fi
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3688 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3689 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3690
3691 if
3692 test "x$enable_dependency_tracking" != xno \
3693 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3694 am__fastdepCC_TRUE=
3695 am__fastdepCC_FALSE='#'
3696 else
3697 am__fastdepCC_TRUE='#'
3698 am__fastdepCC_FALSE=
3699 fi
3700
3701
3702
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log10" >&5
3704 $as_echo_n "checking for library containing log10... " >&6; }
3705 if ${ac_cv_search_log10+:} false; then :
3706 $as_echo_n "(cached) " >&6
3707 else
3708 ac_func_search_save_LIBS=$LIBS
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3711
3712 /* Override any GCC internal prototype to avoid an error.
3713 Use char because int might match the return type of a GCC
3714 builtin and then its argument prototype would still apply. */
3715 #ifdef __cplusplus
3716 extern "C"
3717 #endif
3718 char log10 ();
3719 int
3720 main ()
3721 {
3722 return log10 ();
3723 ;
3724 return 0;
3725 }
3726 _ACEOF
3727 for ac_lib in '' m; do
3728 if test -z "$ac_lib"; then
3729 ac_res="none required"
3730 else
3731 ac_res=-l$ac_lib
3732 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3733 fi
3734 if ac_fn_c_try_link "$LINENO"; then :
3735 ac_cv_search_log10=$ac_res
3736 fi
3737 rm -f core conftest.err conftest.$ac_objext \
3738 conftest$ac_exeext
3739 if ${ac_cv_search_log10+:} false; then :
3740 break
3741 fi
3742 done
3743 if ${ac_cv_search_log10+:} false; then :
3744
3745 else
3746 ac_cv_search_log10=no
3747 fi
3748 rm conftest.$ac_ext
3749 LIBS=$ac_func_search_save_LIBS
3750 fi
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log10" >&5
3752 $as_echo "$ac_cv_search_log10" >&6; }
3753 ac_res=$ac_cv_search_log10
3754 if test "$ac_res" != no; then :
3755 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3756
3757 else
3758 as_fn_error $? "this is absolutely needed" "$LINENO" 5
3759 fi
3760
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
3762 $as_echo_n "checking for library containing clock_gettime... " >&6; }
3763 if ${ac_cv_search_clock_gettime+:} false; then :
3764 $as_echo_n "(cached) " >&6
3765 else
3766 ac_func_search_save_LIBS=$LIBS
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3769
3770 /* Override any GCC internal prototype to avoid an error.
3771 Use char because int might match the return type of a GCC
3772 builtin and then its argument prototype would still apply. */
3773 #ifdef __cplusplus
3774 extern "C"
3775 #endif
3776 char clock_gettime ();
3777 int
3778 main ()
3779 {
3780 return clock_gettime ();
3781 ;
3782 return 0;
3783 }
3784 _ACEOF
3785 for ac_lib in '' rt; do
3786 if test -z "$ac_lib"; then
3787 ac_res="none required"
3788 else
3789 ac_res=-l$ac_lib
3790 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3791 fi
3792 if ac_fn_c_try_link "$LINENO"; then :
3793 ac_cv_search_clock_gettime=$ac_res
3794 fi
3795 rm -f core conftest.err conftest.$ac_objext \
3796 conftest$ac_exeext
3797 if ${ac_cv_search_clock_gettime+:} false; then :
3798 break
3799 fi
3800 done
3801 if ${ac_cv_search_clock_gettime+:} false; then :
3802
3803 else
3804 ac_cv_search_clock_gettime=no
3805 fi
3806 rm conftest.$ac_ext
3807 LIBS=$ac_func_search_save_LIBS
3808 fi
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
3810 $as_echo "$ac_cv_search_clock_gettime" >&6; }
3811 ac_res=$ac_cv_search_clock_gettime
3812 if test "$ac_res" != no; then :
3813 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3814
3815 else
3816 as_fn_error $? "this is absolutely needed" "$LINENO" 5
3817 fi
3818
3819
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
3821 $as_echo_n "checking for library containing nanosleep... " >&6; }
3822 if ${ac_cv_search_nanosleep+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 ac_func_search_save_LIBS=$LIBS
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3828
3829 /* Override any GCC internal prototype to avoid an error.
3830 Use char because int might match the return type of a GCC
3831 builtin and then its argument prototype would still apply. */
3832 #ifdef __cplusplus
3833 extern "C"
3834 #endif
3835 char nanosleep ();
3836 int
3837 main ()
3838 {
3839 return nanosleep ();
3840 ;
3841 return 0;
3842 }
3843 _ACEOF
3844 for ac_lib in '' ; do
3845 if test -z "$ac_lib"; then
3846 ac_res="none required"
3847 else
3848 ac_res=-l$ac_lib
3849 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3850 fi
3851 if ac_fn_c_try_link "$LINENO"; then :
3852 ac_cv_search_nanosleep=$ac_res
3853 fi
3854 rm -f core conftest.err conftest.$ac_objext \
3855 conftest$ac_exeext
3856 if ${ac_cv_search_nanosleep+:} false; then :
3857 break
3858 fi
3859 done
3860 if ${ac_cv_search_nanosleep+:} false; then :
3861
3862 else
3863 ac_cv_search_nanosleep=no
3864 fi
3865 rm conftest.$ac_ext
3866 LIBS=$ac_func_search_save_LIBS
3867 fi
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
3869 $as_echo "$ac_cv_search_nanosleep" >&6; }
3870 ac_res=$ac_cv_search_nanosleep
3871 if test "$ac_res" != no; then :
3872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3873
3874 fi
3875
3876
3877 ac_ext=c
3878 ac_cpp='$CPP $CPPFLAGS'
3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3883 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3884 # On Suns, sometimes $CPP names a directory.
3885 if test -n "$CPP" && test -d "$CPP"; then
3886 CPP=
3887 fi
3888 if test -z "$CPP"; then
3889 if ${ac_cv_prog_CPP+:} false; then :
3890 $as_echo_n "(cached) " >&6
3891 else
3892 # Double quotes because CPP needs to be expanded
3893 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3894 do
3895 ac_preproc_ok=false
3896 for ac_c_preproc_warn_flag in '' yes
3897 do
3898 # Use a header file that comes with gcc, so configuring glibc
3899 # with a fresh cross-compiler works.
3900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3901 # <limits.h> exists even on freestanding compilers.
3902 # On the NeXT, cc -E runs the code through the compiler's parser,
3903 # not just through cpp. "Syntax error" is here to catch this case.
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3906 #ifdef __STDC__
3907 # include <limits.h>
3908 #else
3909 # include <assert.h>
3910 #endif
3911 Syntax error
3912 _ACEOF
3913 if ac_fn_c_try_cpp "$LINENO"; then :
3914
3915 else
3916 # Broken: fails on valid input.
3917 continue
3918 fi
3919 rm -f conftest.err conftest.i conftest.$ac_ext
3920
3921 # OK, works on sane cases. Now check whether nonexistent headers
3922 # can be detected and how.
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3925 #include <ac_nonexistent.h>
3926 _ACEOF
3927 if ac_fn_c_try_cpp "$LINENO"; then :
3928 # Broken: success on invalid input.
3929 continue
3930 else
3931 # Passes both tests.
3932 ac_preproc_ok=:
3933 break
3934 fi
3935 rm -f conftest.err conftest.i conftest.$ac_ext
3936
3937 done
3938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3939 rm -f conftest.i conftest.err conftest.$ac_ext
3940 if $ac_preproc_ok; then :
3941 break
3942 fi
3943
3944 done
3945 ac_cv_prog_CPP=$CPP
3946
3947 fi
3948 CPP=$ac_cv_prog_CPP
3949 else
3950 ac_cv_prog_CPP=$CPP
3951 fi
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3953 $as_echo "$CPP" >&6; }
3954 ac_preproc_ok=false
3955 for ac_c_preproc_warn_flag in '' yes
3956 do
3957 # Use a header file that comes with gcc, so configuring glibc
3958 # with a fresh cross-compiler works.
3959 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3960 # <limits.h> exists even on freestanding compilers.
3961 # On the NeXT, cc -E runs the code through the compiler's parser,
3962 # not just through cpp. "Syntax error" is here to catch this case.
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3965 #ifdef __STDC__
3966 # include <limits.h>
3967 #else
3968 # include <assert.h>
3969 #endif
3970 Syntax error
3971 _ACEOF
3972 if ac_fn_c_try_cpp "$LINENO"; then :
3973
3974 else
3975 # Broken: fails on valid input.
3976 continue
3977 fi
3978 rm -f conftest.err conftest.i conftest.$ac_ext
3979
3980 # OK, works on sane cases. Now check whether nonexistent headers
3981 # can be detected and how.
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984 #include <ac_nonexistent.h>
3985 _ACEOF
3986 if ac_fn_c_try_cpp "$LINENO"; then :
3987 # Broken: success on invalid input.
3988 continue
3989 else
3990 # Passes both tests.
3991 ac_preproc_ok=:
3992 break
3993 fi
3994 rm -f conftest.err conftest.i conftest.$ac_ext
3995
3996 done
3997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3998 rm -f conftest.i conftest.err conftest.$ac_ext
3999 if $ac_preproc_ok; then :
4000
4001 else
4002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4005 See \`config.log' for more details" "$LINENO" 5; }
4006 fi
4007
4008 ac_ext=c
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013
4014
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4016 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4017 if ${ac_cv_path_GREP+:} false; then :
4018 $as_echo_n "(cached) " >&6
4019 else
4020 if test -z "$GREP"; then
4021 ac_path_GREP_found=false
4022 # Loop through the user's path and test for each of PROGNAME-LIST
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4025 do
4026 IFS=$as_save_IFS
4027 test -z "$as_dir" && as_dir=.
4028 for ac_prog in grep ggrep; do
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4031 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4032 # Check for GNU ac_path_GREP and select it if it is found.
4033 # Check for GNU $ac_path_GREP
4034 case `"$ac_path_GREP" --version 2>&1` in
4035 *GNU*)
4036 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4037 *)
4038 ac_count=0
4039 $as_echo_n 0123456789 >"conftest.in"
4040 while :
4041 do
4042 cat "conftest.in" "conftest.in" >"conftest.tmp"
4043 mv "conftest.tmp" "conftest.in"
4044 cp "conftest.in" "conftest.nl"
4045 $as_echo 'GREP' >> "conftest.nl"
4046 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4047 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4048 as_fn_arith $ac_count + 1 && ac_count=$as_val
4049 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4050 # Best one so far, save it but keep looking for a better one
4051 ac_cv_path_GREP="$ac_path_GREP"
4052 ac_path_GREP_max=$ac_count
4053 fi
4054 # 10*(2^10) chars as input seems more than enough
4055 test $ac_count -gt 10 && break
4056 done
4057 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4058 esac
4059
4060 $ac_path_GREP_found && break 3
4061 done
4062 done
4063 done
4064 IFS=$as_save_IFS
4065 if test -z "$ac_cv_path_GREP"; then
4066 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4067 fi
4068 else
4069 ac_cv_path_GREP=$GREP
4070 fi
4071
4072 fi
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4074 $as_echo "$ac_cv_path_GREP" >&6; }
4075 GREP="$ac_cv_path_GREP"
4076
4077
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4079 $as_echo_n "checking for egrep... " >&6; }
4080 if ${ac_cv_path_EGREP+:} false; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4084 then ac_cv_path_EGREP="$GREP -E"
4085 else
4086 if test -z "$EGREP"; then
4087 ac_path_EGREP_found=false
4088 # Loop through the user's path and test for each of PROGNAME-LIST
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4091 do
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_prog in egrep; do
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4098 # Check for GNU ac_path_EGREP and select it if it is found.
4099 # Check for GNU $ac_path_EGREP
4100 case `"$ac_path_EGREP" --version 2>&1` in
4101 *GNU*)
4102 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4103 *)
4104 ac_count=0
4105 $as_echo_n 0123456789 >"conftest.in"
4106 while :
4107 do
4108 cat "conftest.in" "conftest.in" >"conftest.tmp"
4109 mv "conftest.tmp" "conftest.in"
4110 cp "conftest.in" "conftest.nl"
4111 $as_echo 'EGREP' >> "conftest.nl"
4112 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4113 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4114 as_fn_arith $ac_count + 1 && ac_count=$as_val
4115 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4116 # Best one so far, save it but keep looking for a better one
4117 ac_cv_path_EGREP="$ac_path_EGREP"
4118 ac_path_EGREP_max=$ac_count
4119 fi
4120 # 10*(2^10) chars as input seems more than enough
4121 test $ac_count -gt 10 && break
4122 done
4123 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4124 esac
4125
4126 $ac_path_EGREP_found && break 3
4127 done
4128 done
4129 done
4130 IFS=$as_save_IFS
4131 if test -z "$ac_cv_path_EGREP"; then
4132 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4133 fi
4134 else
4135 ac_cv_path_EGREP=$EGREP
4136 fi
4137
4138 fi
4139 fi
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4141 $as_echo "$ac_cv_path_EGREP" >&6; }
4142 EGREP="$ac_cv_path_EGREP"
4143
4144
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4146 $as_echo_n "checking for ANSI C header files... " >&6; }
4147 if ${ac_cv_header_stdc+:} false; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4152 #include <stdlib.h>
4153 #include <stdarg.h>
4154 #include <string.h>
4155 #include <float.h>
4156
4157 int
4158 main ()
4159 {
4160
4161 ;
4162 return 0;
4163 }
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4166 ac_cv_header_stdc=yes
4167 else
4168 ac_cv_header_stdc=no
4169 fi
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171
4172 if test $ac_cv_header_stdc = yes; then
4173 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4176 #include <string.h>
4177
4178 _ACEOF
4179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4180 $EGREP "memchr" >/dev/null 2>&1; then :
4181
4182 else
4183 ac_cv_header_stdc=no
4184 fi
4185 rm -f conftest*
4186
4187 fi
4188
4189 if test $ac_cv_header_stdc = yes; then
4190 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4193 #include <stdlib.h>
4194
4195 _ACEOF
4196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4197 $EGREP "free" >/dev/null 2>&1; then :
4198
4199 else
4200 ac_cv_header_stdc=no
4201 fi
4202 rm -f conftest*
4203
4204 fi
4205
4206 if test $ac_cv_header_stdc = yes; then
4207 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4208 if test "$cross_compiling" = yes; then :
4209 :
4210 else
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213 #include <ctype.h>
4214 #include <stdlib.h>
4215 #if ((' ' & 0x0FF) == 0x020)
4216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4218 #else
4219 # define ISLOWER(c) \
4220 (('a' <= (c) && (c) <= 'i') \
4221 || ('j' <= (c) && (c) <= 'r') \
4222 || ('s' <= (c) && (c) <= 'z'))
4223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4224 #endif
4225
4226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4227 int
4228 main ()
4229 {
4230 int i;
4231 for (i = 0; i < 256; i++)
4232 if (XOR (islower (i), ISLOWER (i))
4233 || toupper (i) != TOUPPER (i))
4234 return 2;
4235 return 0;
4236 }
4237 _ACEOF
4238 if ac_fn_c_try_run "$LINENO"; then :
4239
4240 else
4241 ac_cv_header_stdc=no
4242 fi
4243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4244 conftest.$ac_objext conftest.beam conftest.$ac_ext
4245 fi
4246
4247 fi
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4250 $as_echo "$ac_cv_header_stdc" >&6; }
4251 if test $ac_cv_header_stdc = yes; then
4252
4253 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4254
4255 fi
4256
4257 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4258 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4259 inttypes.h stdint.h unistd.h
4260 do :
4261 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4262 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4263 "
4264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4265 cat >>confdefs.h <<_ACEOF
4266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4267 _ACEOF
4268
4269 fi
4270
4271 done
4272
4273
4274 for ac_header in malloc.h
4275 do :
4276 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
4277 if test "x$ac_cv_header_malloc_h" = xyes; then :
4278 cat >>confdefs.h <<_ACEOF
4279 #define HAVE_MALLOC_H 1
4280 _ACEOF
4281
4282 fi
4283
4284 done
4285
4286 for ac_header in unistd.h
4287 do :
4288 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4289 if test "x$ac_cv_header_unistd_h" = xyes; then :
4290 cat >>confdefs.h <<_ACEOF
4291 #define HAVE_UNISTD_H 1
4292 _ACEOF
4293
4294 fi
4295
4296 done
4297
4298 for ac_header in limits.h
4299 do :
4300 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
4301 if test "x$ac_cv_header_limits_h" = xyes; then :
4302 cat >>confdefs.h <<_ACEOF
4303 #define HAVE_LIMITS_H 1
4304 _ACEOF
4305
4306 fi
4307
4308 done
4309
4310 for ac_header in time.h
4311 do :
4312 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
4313 if test "x$ac_cv_header_time_h" = xyes; then :
4314 cat >>confdefs.h <<_ACEOF
4315 #define HAVE_TIME_H 1
4316 _ACEOF
4317
4318 fi
4319
4320 done
4321
4322
4323 # required functions
4324 ac_fn_c_check_decl "$LINENO" "strlen" "ac_cv_have_decl_strlen" "$ac_includes_default"
4325 if test "x$ac_cv_have_decl_strlen" = xyes; then :
4326 ac_have_decl=1
4327 else
4328 ac_have_decl=0
4329 fi
4330
4331 cat >>confdefs.h <<_ACEOF
4332 #define HAVE_DECL_STRLEN $ac_have_decl
4333 _ACEOF
4334 if test $ac_have_decl = 1; then :
4335
4336 else
4337 as_fn_error $? "this is absolutely needed" "$LINENO" 5
4338 fi
4339 ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
4340 if test "x$ac_cv_have_decl_malloc" = xyes; then :
4341 ac_have_decl=1
4342 else
4343 ac_have_decl=0
4344 fi
4345
4346 cat >>confdefs.h <<_ACEOF
4347 #define HAVE_DECL_MALLOC $ac_have_decl
4348 _ACEOF
4349 if test $ac_have_decl = 1; then :
4350
4351 else
4352 as_fn_error $? "this is absolutely needed" "$LINENO" 5
4353 fi
4354 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
4355 if test "x$ac_cv_have_decl_free" = xyes; then :
4356 ac_have_decl=1
4357 else
4358 ac_have_decl=0
4359 fi
4360
4361 cat >>confdefs.h <<_ACEOF
4362 #define HAVE_DECL_FREE $ac_have_decl
4363 _ACEOF
4364 if test $ac_have_decl = 1; then :
4365
4366 else
4367 as_fn_error $? "this is absolutely needed" "$LINENO" 5
4368 fi
4369
4370
4371 # optional functions
4372 #AC_CHECK_DECLS([O_LARGEFILE]) # does not work, use direct test instead
4373 ac_fn_c_check_decl "$LINENO" "nanosleep" "ac_cv_have_decl_nanosleep" "#define _GNU_SOURCE 1
4374 #include <time.h>
4375 "
4376 if test "x$ac_cv_have_decl_nanosleep" = xyes; then :
4377 ac_have_decl=1
4378 else
4379 ac_have_decl=0
4380 fi
4381
4382 cat >>confdefs.h <<_ACEOF
4383 #define HAVE_DECL_NANOSLEEP $ac_have_decl
4384 _ACEOF
4385
4386 ac_fn_c_check_decl "$LINENO" "random" "ac_cv_have_decl_random" "$ac_includes_default"
4387 if test "x$ac_cv_have_decl_random" = xyes; then :
4388 ac_have_decl=1
4389 else
4390 ac_have_decl=0
4391 fi
4392
4393 cat >>confdefs.h <<_ACEOF
4394 #define HAVE_DECL_RANDOM $ac_have_decl
4395 _ACEOF
4396
4397 ac_fn_c_check_decl "$LINENO" "exp10" "ac_cv_have_decl_exp10" "$ac_includes_default"
4398 if test "x$ac_cv_have_decl_exp10" = xyes; then :
4399 ac_have_decl=1
4400 else
4401 ac_have_decl=0
4402 fi
4403
4404 cat >>confdefs.h <<_ACEOF
4405 #define HAVE_DECL_EXP10 $ac_have_decl
4406 _ACEOF
4407
4408 ac_fn_c_check_decl "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "$ac_includes_default"
4409 if test "x$ac_cv_have_decl_lseek64" = xyes; then :
4410 ac_have_decl=1
4411 else
4412 ac_have_decl=0
4413 fi
4414
4415 cat >>confdefs.h <<_ACEOF
4416 #define HAVE_DECL_LSEEK64 $ac_have_decl
4417 _ACEOF
4418
4419 ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "$ac_includes_default"
4420 if test "x$ac_cv_have_decl_llseek" = xyes; then :
4421 ac_have_decl=1
4422 else
4423 ac_have_decl=0
4424 fi
4425
4426 cat >>confdefs.h <<_ACEOF
4427 #define HAVE_DECL_LLSEEK $ac_have_decl
4428 _ACEOF
4429
4430 ac_fn_c_check_decl "$LINENO" "lseek" "ac_cv_have_decl_lseek" "$ac_includes_default"
4431 if test "x$ac_cv_have_decl_lseek" = xyes; then :
4432 ac_have_decl=1
4433 else
4434 ac_have_decl=0
4435 fi
4436
4437 cat >>confdefs.h <<_ACEOF
4438 #define HAVE_DECL_LSEEK $ac_have_decl
4439 _ACEOF
4440
4441 ac_fn_c_check_decl "$LINENO" "memalign" "ac_cv_have_decl_memalign" "$ac_includes_default"
4442 if test "x$ac_cv_have_decl_memalign" = xyes; then :
4443 ac_have_decl=1
4444 else
4445 ac_have_decl=0
4446 fi
4447
4448 cat >>confdefs.h <<_ACEOF
4449 #define HAVE_DECL_MEMALIGN $ac_have_decl
4450 _ACEOF
4451
4452 ac_fn_c_check_decl "$LINENO" "posix_memalign" "ac_cv_have_decl_posix_memalign" "$ac_includes_default"
4453 if test "x$ac_cv_have_decl_posix_memalign" = xyes; then :
4454 ac_have_decl=1
4455 else
4456 ac_have_decl=0
4457 fi
4458
4459 cat >>confdefs.h <<_ACEOF
4460 #define HAVE_DECL_POSIX_MEMALIGN $ac_have_decl
4461 _ACEOF
4462 if test $ac_have_decl = 1; then :
4463
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: posix_memalign() not available, substituting by malloc()
4466 ====> This may lead to distortions of your measurements!" >&5
4467 $as_echo "$as_me: WARNING: posix_memalign() not available, substituting by malloc()
4468 ====> This may lead to distortions of your measurements!" >&2;}
4469 fi
4470
4471
4472 ####################################################
4473 # -*- Autoconf -*-
4474 # Process this file with autoconf to produce a configure script.
4475
4476
4477
4478 ac_config_headers="$ac_config_headers config.h"
4479
4480
4481 # Checks for programs.
4482 ac_ext=c
4483 ac_cpp='$CPP $CPPFLAGS'
4484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4487 if test -n "$ac_tool_prefix"; then
4488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if ${ac_cv_prog_CC+:} false; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 if test -n "$CC"; then
4496 ac_cv_prog_CC="$CC" # Let the user override the test.
4497 else
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH
4500 do
4501 IFS=$as_save_IFS
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4508 fi
4509 done
4510 done
4511 IFS=$as_save_IFS
4512
4513 fi
4514 fi
4515 CC=$ac_cv_prog_CC
4516 if test -n "$CC"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4518 $as_echo "$CC" >&6; }
4519 else
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4522 fi
4523
4524
4525 fi
4526 if test -z "$ac_cv_prog_CC"; then
4527 ac_ct_CC=$CC
4528 # Extract the first word of "gcc", so it can be a program name with args.
4529 set dummy gcc; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if test -n "$ac_ct_CC"; then
4536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4540 do
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545 ac_cv_prog_ac_ct_CC="gcc"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4548 fi
4549 done
4550 done
4551 IFS=$as_save_IFS
4552
4553 fi
4554 fi
4555 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4556 if test -n "$ac_ct_CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4558 $as_echo "$ac_ct_CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4562 fi
4563
4564 if test "x$ac_ct_CC" = x; then
4565 CC=""
4566 else
4567 case $cross_compiling:$ac_tool_warned in
4568 yes:)
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4571 ac_tool_warned=yes ;;
4572 esac
4573 CC=$ac_ct_CC
4574 fi
4575 else
4576 CC="$ac_cv_prog_CC"
4577 fi
4578
4579 if test -z "$CC"; then
4580 if test -n "$ac_tool_prefix"; then
4581 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4582 set dummy ${ac_tool_prefix}cc; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_CC+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 if test -n "$CC"; then
4589 ac_cv_prog_CC="$CC" # Let the user override the test.
4590 else
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH
4593 do
4594 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598 ac_cv_prog_CC="${ac_tool_prefix}cc"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4601 fi
4602 done
4603 done
4604 IFS=$as_save_IFS
4605
4606 fi
4607 fi
4608 CC=$ac_cv_prog_CC
4609 if test -n "$CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4611 $as_echo "$CC" >&6; }
4612 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4615 fi
4616
4617
4618 fi
4619 fi
4620 if test -z "$CC"; then
4621 # Extract the first word of "cc", so it can be a program name with args.
4622 set dummy cc; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_CC+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$CC"; then
4629 ac_cv_prog_CC="$CC" # Let the user override the test.
4630 else
4631 ac_prog_rejected=no
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH
4634 do
4635 IFS=$as_save_IFS
4636 test -z "$as_dir" && as_dir=.
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4639 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4640 ac_prog_rejected=yes
4641 continue
4642 fi
4643 ac_cv_prog_CC="cc"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 break 2
4646 fi
4647 done
4648 done
4649 IFS=$as_save_IFS
4650
4651 if test $ac_prog_rejected = yes; then
4652 # We found a bogon in the path, so make sure we never use it.
4653 set dummy $ac_cv_prog_CC
4654 shift
4655 if test $# != 0; then
4656 # We chose a different compiler from the bogus one.
4657 # However, it has the same basename, so the bogon will be chosen
4658 # first if we set CC to just the basename; use the full file name.
4659 shift
4660 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4661 fi
4662 fi
4663 fi
4664 fi
4665 CC=$ac_cv_prog_CC
4666 if test -n "$CC"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4668 $as_echo "$CC" >&6; }
4669 else
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4672 fi
4673
4674
4675 fi
4676 if test -z "$CC"; then
4677 if test -n "$ac_tool_prefix"; then
4678 for ac_prog in cl.exe
4679 do
4680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_CC+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686 else
4687 if test -n "$CC"; then
4688 ac_cv_prog_CC="$CC" # Let the user override the test.
4689 else
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH
4692 do
4693 IFS=$as_save_IFS
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4697 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 break 2
4700 fi
4701 done
4702 done
4703 IFS=$as_save_IFS
4704
4705 fi
4706 fi
4707 CC=$ac_cv_prog_CC
4708 if test -n "$CC"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4710 $as_echo "$CC" >&6; }
4711 else
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4714 fi
4715
4716
4717 test -n "$CC" && break
4718 done
4719 fi
4720 if test -z "$CC"; then
4721 ac_ct_CC=$CC
4722 for ac_prog in cl.exe
4723 do
4724 # Extract the first word of "$ac_prog", so it can be a program name with args.
4725 set dummy $ac_prog; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4729 $as_echo_n "(cached) " >&6
4730 else
4731 if test -n "$ac_ct_CC"; then
4732 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4733 else
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 for as_dir in $PATH
4736 do
4737 IFS=$as_save_IFS
4738 test -z "$as_dir" && as_dir=.
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4741 ac_cv_prog_ac_ct_CC="$ac_prog"
4742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 break 2
4744 fi
4745 done
4746 done
4747 IFS=$as_save_IFS
4748
4749 fi
4750 fi
4751 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4752 if test -n "$ac_ct_CC"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4754 $as_echo "$ac_ct_CC" >&6; }
4755 else
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 fi
4759
4760
4761 test -n "$ac_ct_CC" && break
4762 done
4763
4764 if test "x$ac_ct_CC" = x; then
4765 CC=""
4766 else
4767 case $cross_compiling:$ac_tool_warned in
4768 yes:)
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4771 ac_tool_warned=yes ;;
4772 esac
4773 CC=$ac_ct_CC
4774 fi
4775 fi
4776
4777 fi
4778
4779
4780 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4782 as_fn_error $? "no acceptable C compiler found in \$PATH
4783 See \`config.log' for more details" "$LINENO" 5; }
4784
4785 # Provide some information about the compiler.
4786 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4787 set X $ac_compile
4788 ac_compiler=$2
4789 for ac_option in --version -v -V -qversion; do
4790 { { ac_try="$ac_compiler $ac_option >&5"
4791 case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4798 ac_status=$?
4799 if test -s conftest.err; then
4800 sed '10a\
4801 ... rest of stderr output deleted ...
4802 10q' conftest.err >conftest.er1
4803 cat conftest.er1 >&5
4804 fi
4805 rm -f conftest.er1 conftest.err
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }
4808 done
4809
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4812 if ${ac_cv_c_compiler_gnu+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4817
4818 int
4819 main ()
4820 {
4821 #ifndef __GNUC__
4822 choke me
4823 #endif
4824
4825 ;
4826 return 0;
4827 }
4828 _ACEOF
4829 if ac_fn_c_try_compile "$LINENO"; then :
4830 ac_compiler_gnu=yes
4831 else
4832 ac_compiler_gnu=no
4833 fi
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4836
4837 fi
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4839 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4841 GCC=yes
4842 else
4843 GCC=
4844 fi
4845 ac_test_CFLAGS=${CFLAGS+set}
4846 ac_save_CFLAGS=$CFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4848 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4849 if ${ac_cv_prog_cc_g+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 ac_save_c_werror_flag=$ac_c_werror_flag
4853 ac_c_werror_flag=yes
4854 ac_cv_prog_cc_g=no
4855 CFLAGS="-g"
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4858
4859 int
4860 main ()
4861 {
4862
4863 ;
4864 return 0;
4865 }
4866 _ACEOF
4867 if ac_fn_c_try_compile "$LINENO"; then :
4868 ac_cv_prog_cc_g=yes
4869 else
4870 CFLAGS=""
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4873
4874 int
4875 main ()
4876 {
4877
4878 ;
4879 return 0;
4880 }
4881 _ACEOF
4882 if ac_fn_c_try_compile "$LINENO"; then :
4883
4884 else
4885 ac_c_werror_flag=$ac_save_c_werror_flag
4886 CFLAGS="-g"
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4889
4890 int
4891 main ()
4892 {
4893
4894 ;
4895 return 0;
4896 }
4897 _ACEOF
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 ac_cv_prog_cc_g=yes
4900 fi
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 fi
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 fi
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_c_werror_flag=$ac_save_c_werror_flag
4907 fi
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4909 $as_echo "$ac_cv_prog_cc_g" >&6; }
4910 if test "$ac_test_CFLAGS" = set; then
4911 CFLAGS=$ac_save_CFLAGS
4912 elif test $ac_cv_prog_cc_g = yes; then
4913 if test "$GCC" = yes; then
4914 CFLAGS="-g -O2"
4915 else
4916 CFLAGS="-g"
4917 fi
4918 else
4919 if test "$GCC" = yes; then
4920 CFLAGS="-O2"
4921 else
4922 CFLAGS=
4923 fi
4924 fi
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4926 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4927 if ${ac_cv_prog_cc_c89+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 ac_cv_prog_cc_c89=no
4931 ac_save_CC=$CC
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4934 #include <stdarg.h>
4935 #include <stdio.h>
4936 #include <sys/types.h>
4937 #include <sys/stat.h>
4938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4939 struct buf { int x; };
4940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4941 static char *e (p, i)
4942 char **p;
4943 int i;
4944 {
4945 return p[i];
4946 }
4947 static char *f (char * (*g) (char **, int), char **p, ...)
4948 {
4949 char *s;
4950 va_list v;
4951 va_start (v,p);
4952 s = g (p, va_arg (v,int));
4953 va_end (v);
4954 return s;
4955 }
4956
4957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4958 function prototypes and stuff, but not '\xHH' hex character constants.
4959 These don't provoke an error unfortunately, instead are silently treated
4960 as 'x'. The following induces an error, until -std is added to get
4961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4962 array size at least. It's necessary to write '\x00'==0 to get something
4963 that's true only with -std. */
4964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4965
4966 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4967 inside strings and character constants. */
4968 #define FOO(x) 'x'
4969 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4970
4971 int test (int i, double x);
4972 struct s1 {int (*f) (int a);};
4973 struct s2 {int (*f) (double a);};
4974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4975 int argc;
4976 char **argv;
4977 int
4978 main ()
4979 {
4980 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4981 ;
4982 return 0;
4983 }
4984 _ACEOF
4985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4986 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4987 do
4988 CC="$ac_save_CC $ac_arg"
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_c89=$ac_arg
4991 fi
4992 rm -f core conftest.err conftest.$ac_objext
4993 test "x$ac_cv_prog_cc_c89" != "xno" && break
4994 done
4995 rm -f conftest.$ac_ext
4996 CC=$ac_save_CC
4997
4998 fi
4999 # AC_CACHE_VAL
5000 case "x$ac_cv_prog_cc_c89" in
5001 x)
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5003 $as_echo "none needed" >&6; } ;;
5004 xno)
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5006 $as_echo "unsupported" >&6; } ;;
5007 *)
5008 CC="$CC $ac_cv_prog_cc_c89"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5010 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5011 esac
5012 if test "x$ac_cv_prog_cc_c89" != xno; then :
5013
5014 fi
5015
5016 ac_ext=c
5017 ac_cpp='$CPP $CPPFLAGS'
5018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5021
5022 depcc="$CC" am_compiler_list=
5023
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5025 $as_echo_n "checking dependency style of $depcc... " >&6; }
5026 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5030 # We make a subdir and do the tests there. Otherwise we can end up
5031 # making bogus files that we don't know about and never remove. For
5032 # instance it was reported that on HP-UX the gcc test will end up
5033 # making a dummy file named `D' -- because `-MD' means `put the output
5034 # in D'.
5035 mkdir conftest.dir
5036 # Copy depcomp to subdir because otherwise we won't find it if we're
5037 # using a relative directory.
5038 cp "$am_depcomp" conftest.dir
5039 cd conftest.dir
5040 # We will build objects and dependencies in a subdirectory because
5041 # it helps to detect inapplicable dependency modes. For instance
5042 # both Tru64's cc and ICC support -MD to output dependencies as a
5043 # side effect of compilation, but ICC will put the dependencies in
5044 # the current directory while Tru64 will put them in the object
5045 # directory.
5046 mkdir sub
5047
5048 am_cv_CC_dependencies_compiler_type=none
5049 if test "$am_compiler_list" = ""; then
5050 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5051 fi
5052 am__universal=false
5053 case " $depcc " in #(
5054 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5055 esac
5056
5057 for depmode in $am_compiler_list; do
5058 # Setup a source with many dependencies, because some compilers
5059 # like to wrap large dependency lists on column 80 (with \), and
5060 # we should not choose a depcomp mode which is confused by this.
5061 #
5062 # We need to recreate these files for each test, as the compiler may
5063 # overwrite some of them when testing with obscure command lines.
5064 # This happens at least with the AIX C compiler.
5065 : > sub/conftest.c
5066 for i in 1 2 3 4 5 6; do
5067 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5068 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5069 # Solaris 8's {/usr,}/bin/sh.
5070 touch sub/conftst$i.h
5071 done
5072 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5073
5074 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5075 # mode. It turns out that the SunPro C++ compiler does not properly
5076 # handle `-M -o', and we need to detect this. Also, some Intel
5077 # versions had trouble with output in subdirs
5078 am__obj=sub/conftest.${OBJEXT-o}
5079 am__minus_obj="-o $am__obj"
5080 case $depmode in
5081 gcc)
5082 # This depmode causes a compiler race in universal mode.
5083 test "$am__universal" = false || continue
5084 ;;
5085 nosideeffect)
5086 # after this tag, mechanisms are not by side-effect, so they'll
5087 # only be used when explicitly requested
5088 if test "x$enable_dependency_tracking" = xyes; then
5089 continue
5090 else
5091 break
5092 fi
5093 ;;
5094 msvisualcpp | msvcmsys)
5095 # This compiler won't grok `-c -o', but also, the minuso test has
5096 # not run yet. These depmodes are late enough in the game, and
5097 # so weak that their functioning should not be impacted.
5098 am__obj=conftest.${OBJEXT-o}
5099 am__minus_obj=
5100 ;;
5101 none) break ;;
5102 esac
5103 if depmode=$depmode \
5104 source=sub/conftest.c object=$am__obj \
5105 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5106 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5107 >/dev/null 2>conftest.err &&
5108 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5109 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5110 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5111 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5112 # icc doesn't choke on unknown options, it will just issue warnings
5113 # or remarks (even with -Werror). So we grep stderr for any message
5114 # that says an option was ignored or not supported.
5115 # When given -MP, icc 7.0 and 7.1 complain thusly:
5116 # icc: Command line warning: ignoring option '-M'; no argument required
5117 # The diagnosis changed in icc 8.0:
5118 # icc: Command line remark: option '-MP' not supported
5119 if (grep 'ignoring option' conftest.err ||
5120 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5121 am_cv_CC_dependencies_compiler_type=$depmode
5122 break
5123 fi
5124 fi
5125 done
5126
5127 cd ..
5128 rm -rf conftest.dir
5129 else
5130 am_cv_CC_dependencies_compiler_type=none
5131 fi
5132
5133 fi
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5135 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5136 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5137
5138 if
5139 test "x$enable_dependency_tracking" != xno \
5140 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5141 am__fastdepCC_TRUE=
5142 am__fastdepCC_FALSE='#'
5143 else
5144 am__fastdepCC_TRUE='#'
5145 am__fastdepCC_FALSE=
5146 fi
5147
5148
5149 for ac_prog in gawk mawk nawk awk
5150 do
5151 # Extract the first word of "$ac_prog", so it can be a program name with args.
5152 set dummy $ac_prog; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_AWK+:} false; then :
5156 $as_echo_n "(cached) " >&6
5157 else
5158 if test -n "$AWK"; then
5159 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5160 else
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH
5163 do
5164 IFS=$as_save_IFS
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168 ac_cv_prog_AWK="$ac_prog"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 break 2
5171 fi
5172 done
5173 done
5174 IFS=$as_save_IFS
5175
5176 fi
5177 fi
5178 AWK=$ac_cv_prog_AWK
5179 if test -n "$AWK"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5181 $as_echo "$AWK" >&6; }
5182 else
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5185 fi
5186
5187
5188 test -n "$AWK" && break
5189 done
5190
5191
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5193 $as_echo_n "checking whether ln -s works... " >&6; }
5194 LN_S=$as_ln_s
5195 if test "$LN_S" = "ln -s"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197 $as_echo "yes" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5200 $as_echo "no, using $LN_S" >&6; }
5201 fi
5202
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5204 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5205 set x ${MAKE-make}
5206 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5207 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 cat >conftest.make <<\_ACEOF
5211 SHELL = /bin/sh
5212 all:
5213 @echo '@@@%%%=$(MAKE)=@@@%%%'
5214 _ACEOF
5215 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5216 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5217 *@@@%%%=?*=@@@%%%*)
5218 eval ac_cv_prog_make_${ac_make}_set=yes;;
5219 *)
5220 eval ac_cv_prog_make_${ac_make}_set=no;;
5221 esac
5222 rm -f conftest.make
5223 fi
5224 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5227 SET_MAKE=
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5231 SET_MAKE="MAKE=${MAKE-make}"
5232 fi
5233
5234
5235 # Checks for libraries.
5236
5237 # Checks for header files.
5238 for ac_header in fcntl.h limits.h memory.h stddef.h stdlib.h string.h strings.h unistd.h
5239 do :
5240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5241 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5243 cat >>confdefs.h <<_ACEOF
5244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5245 _ACEOF
5246
5247 fi
5248
5249 done
5250
5251
5252 # Checks for typedefs, structures, and compiler characteristics.
5253 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5254 if test "x$ac_cv_type_pid_t" = xyes; then :
5255
5256 else
5257
5258 cat >>confdefs.h <<_ACEOF
5259 #define pid_t int
5260 _ACEOF
5261
5262 fi
5263
5264
5265 # Checks for library functions.
5266 for ac_header in vfork.h
5267 do :
5268 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
5269 if test "x$ac_cv_header_vfork_h" = xyes; then :
5270 cat >>confdefs.h <<_ACEOF
5271 #define HAVE_VFORK_H 1
5272 _ACEOF
5273
5274 fi
5275
5276 done
5277
5278 for ac_func in fork vfork
5279 do :
5280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5283 cat >>confdefs.h <<_ACEOF
5284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5285 _ACEOF
5286
5287 fi
5288 done
5289
5290 if test "x$ac_cv_func_fork" = xyes; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5292 $as_echo_n "checking for working fork... " >&6; }
5293 if ${ac_cv_func_fork_works+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 if test "$cross_compiling" = yes; then :
5297 ac_cv_func_fork_works=cross
5298 else
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 $ac_includes_default
5302 int
5303 main ()
5304 {
5305
5306 /* By Ruediger Kuhlmann. */
5307 return fork () < 0;
5308
5309 ;
5310 return 0;
5311 }
5312 _ACEOF
5313 if ac_fn_c_try_run "$LINENO"; then :
5314 ac_cv_func_fork_works=yes
5315 else
5316 ac_cv_func_fork_works=no
5317 fi
5318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5319 conftest.$ac_objext conftest.beam conftest.$ac_ext
5320 fi
5321
5322 fi
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5324 $as_echo "$ac_cv_func_fork_works" >&6; }
5325
5326 else
5327 ac_cv_func_fork_works=$ac_cv_func_fork
5328 fi
5329 if test "x$ac_cv_func_fork_works" = xcross; then
5330 case $host in
5331 *-*-amigaos* | *-*-msdosdjgpp*)
5332 # Override, as these systems have only a dummy fork() stub
5333 ac_cv_func_fork_works=no
5334 ;;
5335 *)
5336 ac_cv_func_fork_works=yes
5337 ;;
5338 esac
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5340 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5341 fi
5342 ac_cv_func_vfork_works=$ac_cv_func_vfork
5343 if test "x$ac_cv_func_vfork" = xyes; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5345 $as_echo_n "checking for working vfork... " >&6; }
5346 if ${ac_cv_func_vfork_works+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
5349 if test "$cross_compiling" = yes; then :
5350 ac_cv_func_vfork_works=cross
5351 else
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5354 /* Thanks to Paul Eggert for this test. */
5355 $ac_includes_default
5356 #include <sys/wait.h>
5357 #ifdef HAVE_VFORK_H
5358 # include <vfork.h>
5359 #endif
5360 /* On some sparc systems, changes by the child to local and incoming
5361 argument registers are propagated back to the parent. The compiler
5362 is told about this with #include <vfork.h>, but some compilers
5363 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5364 static variable whose address is put into a register that is
5365 clobbered by the vfork. */
5366 static void
5367 #ifdef __cplusplus
5368 sparc_address_test (int arg)
5369 # else
5370 sparc_address_test (arg) int arg;
5371 #endif
5372 {
5373 static pid_t child;
5374 if (!child) {
5375 child = vfork ();
5376 if (child < 0) {
5377 perror ("vfork");
5378 _exit(2);
5379 }
5380 if (!child) {
5381 arg = getpid();
5382 write(-1, "", 0);
5383 _exit (arg);
5384 }
5385 }
5386 }
5387
5388 int
5389 main ()
5390 {
5391 pid_t parent = getpid ();
5392 pid_t child;
5393
5394 sparc_address_test (0);
5395
5396 child = vfork ();
5397
5398 if (child == 0) {
5399 /* Here is another test for sparc vfork register problems. This
5400 test uses lots of local variables, at least as many local
5401 variables as main has allocated so far including compiler
5402 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5403 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5404 reuse the register of parent for one of the local variables,
5405 since it will think that parent can't possibly be used any more
5406 in this routine. Assigning to the local variable will thus
5407 munge parent in the parent process. */
5408 pid_t
5409 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5410 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5411 /* Convince the compiler that p..p7 are live; otherwise, it might
5412 use the same hardware register for all 8 local variables. */
5413 if (p != p1 || p != p2 || p != p3 || p != p4
5414 || p != p5 || p != p6 || p != p7)
5415 _exit(1);
5416
5417 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5418 from child file descriptors. If the child closes a descriptor
5419 before it execs or exits, this munges the parent's descriptor
5420 as well. Test for this by closing stdout in the child. */
5421 _exit(close(fileno(stdout)) != 0);
5422 } else {
5423 int status;
5424 struct stat st;
5425
5426 while (wait(&status) != child)
5427 ;
5428 return (
5429 /* Was there some problem with vforking? */
5430 child < 0
5431
5432 /* Did the child fail? (This shouldn't happen.) */
5433 || status
5434
5435 /* Did the vfork/compiler bug occur? */
5436 || parent != getpid()
5437
5438 /* Did the file descriptor bug occur? */
5439 || fstat(fileno(stdout), &st) != 0
5440 );
5441 }
5442 }
5443 _ACEOF
5444 if ac_fn_c_try_run "$LINENO"; then :
5445 ac_cv_func_vfork_works=yes
5446 else
5447 ac_cv_func_vfork_works=no
5448 fi
5449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5450 conftest.$ac_objext conftest.beam conftest.$ac_ext
5451 fi
5452
5453 fi
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5455 $as_echo "$ac_cv_func_vfork_works" >&6; }
5456
5457 fi;
5458 if test "x$ac_cv_func_fork_works" = xcross; then
5459 ac_cv_func_vfork_works=$ac_cv_func_vfork
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5461 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5462 fi
5463
5464 if test "x$ac_cv_func_vfork_works" = xyes; then
5465
5466 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5467
5468 else
5469
5470 $as_echo "#define vfork fork" >>confdefs.h
5471
5472 fi
5473 if test "x$ac_cv_func_fork_works" = xyes; then
5474
5475 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5476
5477 fi
5478
5479 for ac_header in stdlib.h
5480 do :
5481 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5482 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5483 cat >>confdefs.h <<_ACEOF
5484 #define HAVE_STDLIB_H 1
5485 _ACEOF
5486
5487 fi
5488
5489 done
5490
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5492 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5493 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test "$cross_compiling" = yes; then :
5497 ac_cv_func_malloc_0_nonnull=no
5498 else
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5502 # include <stdlib.h>
5503 #else
5504 char *malloc ();
5505 #endif
5506
5507 int
5508 main ()
5509 {
5510 return ! malloc (0);
5511 ;
5512 return 0;
5513 }
5514 _ACEOF
5515 if ac_fn_c_try_run "$LINENO"; then :
5516 ac_cv_func_malloc_0_nonnull=yes
5517 else
5518 ac_cv_func_malloc_0_nonnull=no
5519 fi
5520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5521 conftest.$ac_objext conftest.beam conftest.$ac_ext
5522 fi
5523
5524 fi
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5526 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5527 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5528
5529 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5530
5531 else
5532 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5533
5534 case " $LIBOBJS " in
5535 *" malloc.$ac_objext "* ) ;;
5536 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5537 ;;
5538 esac
5539
5540
5541 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5542
5543 fi
5544
5545
5546 for ac_func in clock_gettime floor memset mkdir strerror
5547 do :
5548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5551 cat >>confdefs.h <<_ACEOF
5552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5553 _ACEOF
5554
5555 fi
5556 done
5557
5558
5559 ac_config_files="$ac_config_files Makefile src/Makefile src/arch.m32/Makefile src/arch.m64/Makefile"
5560
5561 ####################################################
5562 # customization suffix
5563
5564 echo "specific tests..."
5565
5566 echo "specific tests..."
5567
5568
5569 if test "x$CC" != xcc; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5571 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5572 else
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5574 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5575 fi
5576 set dummy $CC; ac_cc=`$as_echo "$2" |
5577 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5578 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5579 $as_echo_n "(cached) " >&6
5580 else
5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5583
5584 int
5585 main ()
5586 {
5587
5588 ;
5589 return 0;
5590 }
5591 _ACEOF
5592 # Make sure it works both with $CC and with simple cc.
5593 # We do the test twice because some compilers refuse to overwrite an
5594 # existing .o file with -o, though they will create one.
5595 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5596 rm -f conftest2.*
5597 if { { case "(($ac_try" in
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5600 esac
5601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5602 $as_echo "$ac_try_echo"; } >&5
5603 (eval "$ac_try") 2>&5
5604 ac_status=$?
5605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5606 test $ac_status = 0; } &&
5607 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5609 *) ac_try_echo=$ac_try;;
5610 esac
5611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5612 $as_echo "$ac_try_echo"; } >&5
5613 (eval "$ac_try") 2>&5
5614 ac_status=$?
5615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5616 test $ac_status = 0; };
5617 then
5618 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5619 if test "x$CC" != xcc; then
5620 # Test first that cc exists at all.
5621 if { ac_try='cc -c conftest.$ac_ext >&5'
5622 { { case "(($ac_try" in
5623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5624 *) ac_try_echo=$ac_try;;
5625 esac
5626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5627 $as_echo "$ac_try_echo"; } >&5
5628 (eval "$ac_try") 2>&5
5629 ac_status=$?
5630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631 test $ac_status = 0; }; }; then
5632 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5633 rm -f conftest2.*
5634 if { { case "(($ac_try" in
5635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5636 *) ac_try_echo=$ac_try;;
5637 esac
5638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5639 $as_echo "$ac_try_echo"; } >&5
5640 (eval "$ac_try") 2>&5
5641 ac_status=$?
5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5643 test $ac_status = 0; } &&
5644 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5647 esac
5648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5649 $as_echo "$ac_try_echo"; } >&5
5650 (eval "$ac_try") 2>&5
5651 ac_status=$?
5652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5653 test $ac_status = 0; };
5654 then
5655 # cc works too.
5656 :
5657 else
5658 # cc exists but doesn't like -o.
5659 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5660 fi
5661 fi
5662 fi
5663 else
5664 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5665 fi
5666 rm -f core conftest*
5667
5668 fi
5669 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5671 $as_echo "yes" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5675
5676 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5677
5678 fi
5679
5680 # FIXME: we rely on the cache variable name because
5681 # there is no other way.
5682 set dummy $CC
5683 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5684 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5685 if test "$am_t" != yes; then
5686 # Losing compiler, so override with the script.
5687 # FIXME: It is wrong to rewrite CC.
5688 # But if we don't then we get into trouble of one sort or another.
5689 # A longer-term fix would be to have automake use am__CC in this case,
5690 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5691 CC="$am_aux_dir/compile $CC"
5692 fi
5693
5694
5695
5696 ####################################################
5697 cat >confcache <<\_ACEOF
5698 # This file is a shell script that caches the results of configure
5699 # tests run on this system so they can be shared between configure
5700 # scripts and configure runs, see configure's option --config-cache.
5701 # It is not useful on other systems. If it contains results you don't
5702 # want to keep, you may remove or edit it.
5703 #
5704 # config.status only pays attention to the cache file if you give it
5705 # the --recheck option to rerun configure.
5706 #
5707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5709 # following values.
5710
5711 _ACEOF
5712
5713 # The following way of writing the cache mishandles newlines in values,
5714 # but we know of no workaround that is simple, portable, and efficient.
5715 # So, we kill variables containing newlines.
5716 # Ultrix sh set writes to stderr and can't be redirected directly,
5717 # and sets the high bit in the cache file unless we assign to the vars.
5718 (
5719 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5720 eval ac_val=\$$ac_var
5721 case $ac_val in #(
5722 *${as_nl}*)
5723 case $ac_var in #(
5724 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5725 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5726 esac
5727 case $ac_var in #(
5728 _ | IFS | as_nl) ;; #(
5729 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5730 *) { eval $ac_var=; unset $ac_var;} ;;
5731 esac ;;
5732 esac
5733 done
5734
5735 (set) 2>&1 |
5736 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5737 *${as_nl}ac_space=\ *)
5738 # `set' does not quote correctly, so add quotes: double-quote
5739 # substitution turns \\\\ into \\, and sed turns \\ into \.
5740 sed -n \
5741 "s/'/'\\\\''/g;
5742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5743 ;; #(
5744 *)
5745 # `set' quotes correctly as required by POSIX, so do not add quotes.
5746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5747 ;;
5748 esac |
5749 sort
5750 ) |
5751 sed '
5752 /^ac_cv_env_/b end
5753 t clear
5754 :clear
5755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5756 t end
5757 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5758 :end' >>confcache
5759 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5760 if test -w "$cache_file"; then
5761 if test "x$cache_file" != "x/dev/null"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5763 $as_echo "$as_me: updating cache $cache_file" >&6;}
5764 if test ! -f "$cache_file" || test -h "$cache_file"; then
5765 cat confcache >"$cache_file"
5766 else
5767 case $cache_file in #(
5768 */* | ?:*)
5769 mv -f confcache "$cache_file"$$ &&
5770 mv -f "$cache_file"$$ "$cache_file" ;; #(
5771 *)
5772 mv -f confcache "$cache_file" ;;
5773 esac
5774 fi
5775 fi
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5778 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5779 fi
5780 fi
5781 rm -f confcache
5782
5783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5784 # Let make expand exec_prefix.
5785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5786
5787 DEFS=-DHAVE_CONFIG_H
5788
5789 ac_libobjs=
5790 ac_ltlibobjs=
5791 U=
5792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5793 # 1. Remove the extension, and $U if already installed.
5794 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5795 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5796 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5797 # will be set to the directory where LIBOBJS objects are built.
5798 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5799 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5800 done
5801 LIBOBJS=$ac_libobjs
5802
5803 LTLIBOBJS=$ac_ltlibobjs
5804
5805
5806 if test -n "$EXEEXT"; then
5807 am__EXEEXT_TRUE=
5808 am__EXEEXT_FALSE='#'
5809 else
5810 am__EXEEXT_TRUE='#'
5811 am__EXEEXT_FALSE=
5812 fi
5813
5814 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5815 as_fn_error $? "conditional \"AMDEP\" was never defined.
5816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5817 fi
5818 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5819 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5821 fi
5822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5823 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5825 fi
5826
5827 : "${CONFIG_STATUS=./config.status}"
5828 ac_write_fail=0
5829 ac_clean_files_save=$ac_clean_files
5830 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5832 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5833 as_write_fail=0
5834 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5835 #! $SHELL
5836 # Generated by $as_me.
5837 # Run this file to recreate the current configuration.
5838 # Compiler output produced by configure, useful for debugging
5839 # configure, is in config.log if it exists.
5840
5841 debug=false
5842 ac_cs_recheck=false
5843 ac_cs_silent=false
5844
5845 SHELL=\${CONFIG_SHELL-$SHELL}
5846 export SHELL
5847 _ASEOF
5848 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5849 ## -------------------- ##
5850 ## M4sh Initialization. ##
5851 ## -------------------- ##
5852
5853 # Be more Bourne compatible
5854 DUALCASE=1; export DUALCASE # for MKS sh
5855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5856 emulate sh
5857 NULLCMD=:
5858 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5859 # is contrary to our usage. Disable this feature.
5860 alias -g '${1+"$@"}'='"$@"'
5861 setopt NO_GLOB_SUBST
5862 else
5863 case `(set -o) 2>/dev/null` in #(
5864 *posix*) :
5865 set -o posix ;; #(
5866 *) :
5867 ;;
5868 esac
5869 fi
5870
5871
5872 as_nl='
5873 '
5874 export as_nl
5875 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5876 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5879 # Prefer a ksh shell builtin over an external printf program on Solaris,
5880 # but without wasting forks for bash or zsh.
5881 if test -z "$BASH_VERSION$ZSH_VERSION" \
5882 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5883 as_echo='print -r --'
5884 as_echo_n='print -rn --'
5885 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5886 as_echo='printf %s\n'
5887 as_echo_n='printf %s'
5888 else
5889 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5890 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5891 as_echo_n='/usr/ucb/echo -n'
5892 else
5893 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5894 as_echo_n_body='eval
5895 arg=$1;
5896 case $arg in #(
5897 *"$as_nl"*)
5898 expr "X$arg" : "X\\(.*\\)$as_nl";
5899 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5900 esac;
5901 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5902 '
5903 export as_echo_n_body
5904 as_echo_n='sh -c $as_echo_n_body as_echo'
5905 fi
5906 export as_echo_body
5907 as_echo='sh -c $as_echo_body as_echo'
5908 fi
5909
5910 # The user is always right.
5911 if test "${PATH_SEPARATOR+set}" != set; then
5912 PATH_SEPARATOR=:
5913 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5914 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5915 PATH_SEPARATOR=';'
5916 }
5917 fi
5918
5919
5920 # IFS
5921 # We need space, tab and new line, in precisely that order. Quoting is
5922 # there to prevent editors from complaining about space-tab.
5923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5924 # splitting by setting IFS to empty value.)
5925 IFS=" "" $as_nl"
5926
5927 # Find who we are. Look in the path if we contain no directory separator.
5928 as_myself=
5929 case $0 in #((
5930 *[\\/]* ) as_myself=$0 ;;
5931 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5933 do
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5937 done
5938 IFS=$as_save_IFS
5939
5940 ;;
5941 esac
5942 # We did not find ourselves, most probably we were run as `sh COMMAND'
5943 # in which case we are not to be found in the path.
5944 if test "x$as_myself" = x; then
5945 as_myself=$0
5946 fi
5947 if test ! -f "$as_myself"; then
5948 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5949 exit 1
5950 fi
5951
5952 # Unset variables that we do not need and which cause bugs (e.g. in
5953 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5954 # suppresses any "Segmentation fault" message there. '((' could
5955 # trigger a bug in pdksh 5.2.14.
5956 for as_var in BASH_ENV ENV MAIL MAILPATH
5957 do eval test x\${$as_var+set} = xset \
5958 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5959 done
5960 PS1='$ '
5961 PS2='> '
5962 PS4='+ '
5963
5964 # NLS nuisances.
5965 LC_ALL=C
5966 export LC_ALL
5967 LANGUAGE=C
5968 export LANGUAGE
5969
5970 # CDPATH.
5971 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5972
5973
5974 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5975 # ----------------------------------------
5976 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5977 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5978 # script with STATUS, using 1 if that was 0.
5979 as_fn_error ()
5980 {
5981 as_status=$1; test $as_status -eq 0 && as_status=1
5982 if test "$4"; then
5983 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5984 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5985 fi
5986 $as_echo "$as_me: error: $2" >&2
5987 as_fn_exit $as_status
5988 } # as_fn_error
5989
5990
5991 # as_fn_set_status STATUS
5992 # -----------------------
5993 # Set $? to STATUS, without forking.
5994 as_fn_set_status ()
5995 {
5996 return $1
5997 } # as_fn_set_status
5998
5999 # as_fn_exit STATUS
6000 # -----------------
6001 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6002 as_fn_exit ()
6003 {
6004 set +e
6005 as_fn_set_status $1
6006 exit $1
6007 } # as_fn_exit
6008
6009 # as_fn_unset VAR
6010 # ---------------
6011 # Portably unset VAR.
6012 as_fn_unset ()
6013 {
6014 { eval $1=; unset $1;}
6015 }
6016 as_unset=as_fn_unset
6017 # as_fn_append VAR VALUE
6018 # ----------------------
6019 # Append the text in VALUE to the end of the definition contained in VAR. Take
6020 # advantage of any shell optimizations that allow amortized linear growth over
6021 # repeated appends, instead of the typical quadratic growth present in naive
6022 # implementations.
6023 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6024 eval 'as_fn_append ()
6025 {
6026 eval $1+=\$2
6027 }'
6028 else
6029 as_fn_append ()
6030 {
6031 eval $1=\$$1\$2
6032 }
6033 fi # as_fn_append
6034
6035 # as_fn_arith ARG...
6036 # ------------------
6037 # Perform arithmetic evaluation on the ARGs, and store the result in the
6038 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6039 # must be portable across $(()) and expr.
6040 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6041 eval 'as_fn_arith ()
6042 {
6043 as_val=$(( $* ))
6044 }'
6045 else
6046 as_fn_arith ()
6047 {
6048 as_val=`expr "$@" || test $? -eq 1`
6049 }
6050 fi # as_fn_arith
6051
6052
6053 if expr a : '\(a\)' >/dev/null 2>&1 &&
6054 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6055 as_expr=expr
6056 else
6057 as_expr=false
6058 fi
6059
6060 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6061 as_basename=basename
6062 else
6063 as_basename=false
6064 fi
6065
6066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6067 as_dirname=dirname
6068 else
6069 as_dirname=false
6070 fi
6071
6072 as_me=`$as_basename -- "$0" ||
6073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6074 X"$0" : 'X\(//\)$' \| \
6075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6076 $as_echo X/"$0" |
6077 sed '/^.*\/\([^/][^/]*\)\/*$/{
6078 s//\1/
6079 q
6080 }
6081 /^X\/\(\/\/\)$/{
6082 s//\1/
6083 q
6084 }
6085 /^X\/\(\/\).*/{
6086 s//\1/
6087 q
6088 }
6089 s/.*/./; q'`
6090
6091 # Avoid depending upon Character Ranges.
6092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6095 as_cr_digits='0123456789'
6096 as_cr_alnum=$as_cr_Letters$as_cr_digits
6097
6098 ECHO_C= ECHO_N= ECHO_T=
6099 case `echo -n x` in #(((((
6100 -n*)
6101 case `echo 'xy\c'` in
6102 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6103 xy) ECHO_C='\c';;
6104 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6105 ECHO_T=' ';;
6106 esac;;
6107 *)
6108 ECHO_N='-n';;
6109 esac
6110
6111 rm -f conf$$ conf$$.exe conf$$.file
6112 if test -d conf$$.dir; then
6113 rm -f conf$$.dir/conf$$.file
6114 else
6115 rm -f conf$$.dir
6116 mkdir conf$$.dir 2>/dev/null
6117 fi
6118 if (echo >conf$$.file) 2>/dev/null; then
6119 if ln -s conf$$.file conf$$ 2>/dev/null; then
6120 as_ln_s='ln -s'
6121 # ... but there are two gotchas:
6122 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6123 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6124 # In both cases, we have to default to `cp -p'.
6125 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6126 as_ln_s='cp -p'
6127 elif ln conf$$.file conf$$ 2>/dev/null; then
6128 as_ln_s=ln
6129 else
6130 as_ln_s='cp -p'
6131 fi
6132 else
6133 as_ln_s='cp -p'
6134 fi
6135 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6136 rmdir conf$$.dir 2>/dev/null
6137
6138
6139 # as_fn_mkdir_p
6140 # -------------
6141 # Create "$as_dir" as a directory, including parents if necessary.
6142 as_fn_mkdir_p ()
6143 {
6144
6145 case $as_dir in #(
6146 -*) as_dir=./$as_dir;;
6147 esac
6148 test -d "$as_dir" || eval $as_mkdir_p || {
6149 as_dirs=
6150 while :; do
6151 case $as_dir in #(
6152 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6153 *) as_qdir=$as_dir;;
6154 esac
6155 as_dirs="'$as_qdir' $as_dirs"
6156 as_dir=`$as_dirname -- "$as_dir" ||
6157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6158 X"$as_dir" : 'X\(//\)[^/]' \| \
6159 X"$as_dir" : 'X\(//\)$' \| \
6160 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6161 $as_echo X"$as_dir" |
6162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6163 s//\1/
6164 q
6165 }
6166 /^X\(\/\/\)[^/].*/{
6167 s//\1/
6168 q
6169 }
6170 /^X\(\/\/\)$/{
6171 s//\1/
6172 q
6173 }
6174 /^X\(\/\).*/{
6175 s//\1/
6176 q
6177 }
6178 s/.*/./; q'`
6179 test -d "$as_dir" && break
6180 done
6181 test -z "$as_dirs" || eval "mkdir $as_dirs"
6182 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6183
6184
6185 } # as_fn_mkdir_p
6186 if mkdir -p . 2>/dev/null; then
6187 as_mkdir_p='mkdir -p "$as_dir"'
6188 else
6189 test -d ./-p && rmdir ./-p
6190 as_mkdir_p=false
6191 fi
6192
6193 if test -x / >/dev/null 2>&1; then
6194 as_test_x='test -x'
6195 else
6196 if ls -dL / >/dev/null 2>&1; then
6197 as_ls_L_option=L
6198 else
6199 as_ls_L_option=
6200 fi
6201 as_test_x='
6202 eval sh -c '\''
6203 if test -d "$1"; then
6204 test -d "$1/.";
6205 else
6206 case $1 in #(
6207 -*)set "./$1";;
6208 esac;
6209 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6210 ???[sx]*):;;*)false;;esac;fi
6211 '\'' sh
6212 '
6213 fi
6214 as_executable_p=$as_test_x
6215
6216 # Sed expression to map a string onto a valid CPP name.
6217 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6218
6219 # Sed expression to map a string onto a valid variable name.
6220 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6221
6222
6223 exec 6>&1
6224 ## ----------------------------------- ##
6225 ## Main body of $CONFIG_STATUS script. ##
6226 ## ----------------------------------- ##
6227 _ASEOF
6228 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6229
6230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6231 # Save the log message, to keep $0 and so on meaningful, and to
6232 # report actual input values of CONFIG_FILES etc. instead of their
6233 # values after options handling.
6234 ac_log="
6235 This file was extended by blkreplay $as_me 0.1, which was
6236 generated by GNU Autoconf 2.68. Invocation command line was
6237
6238 CONFIG_FILES = $CONFIG_FILES
6239 CONFIG_HEADERS = $CONFIG_HEADERS
6240 CONFIG_LINKS = $CONFIG_LINKS
6241 CONFIG_COMMANDS = $CONFIG_COMMANDS
6242 $ $0 $@
6243
6244 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6245 "
6246
6247 _ACEOF
6248
6249 case $ac_config_files in *"
6250 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6251 esac
6252
6253 case $ac_config_headers in *"
6254 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6255 esac
6256
6257
6258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6259 # Files that config.status was made for.
6260 config_files="$ac_config_files"
6261 config_headers="$ac_config_headers"
6262 config_commands="$ac_config_commands"
6263
6264 _ACEOF
6265
6266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6267 ac_cs_usage="\
6268 \`$as_me' instantiates files and other configuration actions
6269 from templates according to the current configuration. Unless the files
6270 and actions are specified as TAGs, all are instantiated by default.
6271
6272 Usage: $0 [OPTION]... [TAG]...
6273
6274 -h, --help print this help, then exit
6275 -V, --version print version number and configuration settings, then exit
6276 --config print configuration, then exit
6277 -q, --quiet, --silent
6278 do not print progress messages
6279 -d, --debug don't remove temporary files
6280 --recheck update $as_me by reconfiguring in the same conditions
6281 --file=FILE[:TEMPLATE]
6282 instantiate the configuration file FILE
6283 --header=FILE[:TEMPLATE]
6284 instantiate the configuration header FILE
6285
6286 Configuration files:
6287 $config_files
6288
6289 Configuration headers:
6290 $config_headers
6291
6292 Configuration commands:
6293 $config_commands
6294
6295 Report bugs to <[email protected]>."
6296
6297 _ACEOF
6298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6299 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6300 ac_cs_version="\\
6301 blkreplay config.status 0.1
6302 configured by $0, generated by GNU Autoconf 2.68,
6303 with options \\"\$ac_cs_config\\"
6304
6305 Copyright (C) 2010 Free Software Foundation, Inc.
6306 This config.status script is free software; the Free Software Foundation
6307 gives unlimited permission to copy, distribute and modify it."
6308
6309 ac_pwd='$ac_pwd'
6310 srcdir='$srcdir'
6311 INSTALL='$INSTALL'
6312 MKDIR_P='$MKDIR_P'
6313 AWK='$AWK'
6314 test -n "\$AWK" || AWK=awk
6315 _ACEOF
6316
6317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6318 # The default lists apply if the user does not specify any file.
6319 ac_need_defaults=:
6320 while test $# != 0
6321 do
6322 case $1 in
6323 --*=?*)
6324 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6325 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6326 ac_shift=:
6327 ;;
6328 --*=)
6329 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6330 ac_optarg=
6331 ac_shift=:
6332 ;;
6333 *)
6334 ac_option=$1
6335 ac_optarg=$2
6336 ac_shift=shift
6337 ;;
6338 esac
6339
6340 case $ac_option in
6341 # Handling of the options.
6342 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6343 ac_cs_recheck=: ;;
6344 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6345 $as_echo "$ac_cs_version"; exit ;;
6346 --config | --confi | --conf | --con | --co | --c )
6347 $as_echo "$ac_cs_config"; exit ;;
6348 --debug | --debu | --deb | --de | --d | -d )
6349 debug=: ;;
6350 --file | --fil | --fi | --f )
6351 $ac_shift
6352 case $ac_optarg in
6353 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6354 '') as_fn_error $? "missing file argument" ;;
6355 esac
6356 as_fn_append CONFIG_FILES " '$ac_optarg'"
6357 ac_need_defaults=false;;
6358 --header | --heade | --head | --hea )
6359 $ac_shift
6360 case $ac_optarg in
6361 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6362 esac
6363 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6364 ac_need_defaults=false;;
6365 --he | --h)
6366 # Conflict between --help and --header
6367 as_fn_error $? "ambiguous option: \`$1'
6368 Try \`$0 --help' for more information.";;
6369 --help | --hel | -h )
6370 $as_echo "$ac_cs_usage"; exit ;;
6371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6372 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6373 ac_cs_silent=: ;;
6374
6375 # This is an error.
6376 -*) as_fn_error $? "unrecognized option: \`$1'
6377 Try \`$0 --help' for more information." ;;
6378
6379 *) as_fn_append ac_config_targets " $1"
6380 ac_need_defaults=false ;;
6381
6382 esac
6383 shift
6384 done
6385
6386 ac_configure_extra_args=
6387
6388 if $ac_cs_silent; then
6389 exec 6>/dev/null
6390 ac_configure_extra_args="$ac_configure_extra_args --silent"
6391 fi
6392
6393 _ACEOF
6394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6395 if \$ac_cs_recheck; then
6396 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6397 shift
6398 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6399 CONFIG_SHELL='$SHELL'
6400 export CONFIG_SHELL
6401 exec "\$@"
6402 fi
6403
6404 _ACEOF
6405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6406 exec 5>>config.log
6407 {
6408 echo
6409 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6410 ## Running $as_me. ##
6411 _ASBOX
6412 $as_echo "$ac_log"
6413 } >&5
6414
6415 _ACEOF
6416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6417 #
6418 # INIT-COMMANDS
6419 #
6420 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6421
6422 _ACEOF
6423
6424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6425
6426 # Handling of arguments.
6427 for ac_config_target in $ac_config_targets
6428 do
6429 case $ac_config_target in
6430 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6431 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6432 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6433 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6434 "src/arch.m32/Makefile") CONFIG_FILES="$CONFIG_FILES src/arch.m32/Makefile" ;;
6435 "src/arch.m64/Makefile") CONFIG_FILES="$CONFIG_FILES src/arch.m64/Makefile" ;;
6436
6437 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6438 esac
6439 done
6440
6441
6442 # If the user did not use the arguments to specify the items to instantiate,
6443 # then the envvar interface is used. Set only those that are not.
6444 # We use the long form for the default assignment because of an extremely
6445 # bizarre bug on SunOS 4.1.3.
6446 if $ac_need_defaults; then
6447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6448 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6449 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6450 fi
6451
6452 # Have a temporary directory for convenience. Make it in the build tree
6453 # simply because there is no reason against having it here, and in addition,
6454 # creating and moving files from /tmp can sometimes cause problems.
6455 # Hook for its removal unless debugging.
6456 # Note that there is a small window in which the directory will not be cleaned:
6457 # after its creation but before its name has been assigned to `$tmp'.
6458 $debug ||
6459 {
6460 tmp= ac_tmp=
6461 trap 'exit_status=$?
6462 : "${ac_tmp:=$tmp}"
6463 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6464 ' 0
6465 trap 'as_fn_exit 1' 1 2 13 15
6466 }
6467 # Create a (secure) tmp directory for tmp files.
6468
6469 {
6470 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6471 test -d "$tmp"
6472 } ||
6473 {
6474 tmp=./conf$$-$RANDOM
6475 (umask 077 && mkdir "$tmp")
6476 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6477 ac_tmp=$tmp
6478
6479 # Set up the scripts for CONFIG_FILES section.
6480 # No need to generate them if there are no CONFIG_FILES.
6481 # This happens for instance with `./config.status config.h'.
6482 if test -n "$CONFIG_FILES"; then
6483
6484
6485 ac_cr=`echo X | tr X '\015'`
6486 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6487 # But we know of no other shell where ac_cr would be empty at this
6488 # point, so we can use a bashism as a fallback.
6489 if test "x$ac_cr" = x; then
6490 eval ac_cr=\$\'\\r\'
6491 fi
6492 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6493 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6494 ac_cs_awk_cr='\\r'
6495 else
6496 ac_cs_awk_cr=$ac_cr
6497 fi
6498
6499 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6500 _ACEOF
6501
6502
6503 {
6504 echo "cat >conf$$subs.awk <<_ACEOF" &&
6505 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6506 echo "_ACEOF"
6507 } >conf$$subs.sh ||
6508 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6509 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6510 ac_delim='%!_!# '
6511 for ac_last_try in false false false false false :; do
6512 . ./conf$$subs.sh ||
6513 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6514
6515 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6516 if test $ac_delim_n = $ac_delim_num; then
6517 break
6518 elif $ac_last_try; then
6519 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6520 else
6521 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6522 fi
6523 done
6524 rm -f conf$$subs.sh
6525
6526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6527 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6528 _ACEOF
6529 sed -n '
6530 h
6531 s/^/S["/; s/!.*/"]=/
6532 p
6533 g
6534 s/^[^!]*!//
6535 :repl
6536 t repl
6537 s/'"$ac_delim"'$//
6538 t delim
6539 :nl
6540 h
6541 s/\(.\{148\}\)..*/\1/
6542 t more1
6543 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6544 p
6545 n
6546 b repl
6547 :more1
6548 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6549 p
6550 g
6551 s/.\{148\}//
6552 t nl
6553 :delim
6554 h
6555 s/\(.\{148\}\)..*/\1/
6556 t more2
6557 s/["\\]/\\&/g; s/^/"/; s/$/"/
6558 p
6559 b
6560 :more2
6561 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6562 p
6563 g
6564 s/.\{148\}//
6565 t delim
6566 ' <conf$$subs.awk | sed '
6567 /^[^""]/{
6568 N
6569 s/\n//
6570 }
6571 ' >>$CONFIG_STATUS || ac_write_fail=1
6572 rm -f conf$$subs.awk
6573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6574 _ACAWK
6575 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6576 for (key in S) S_is_set[key] = 1
6577 FS = ""
6578
6579 }
6580 {
6581 line = $ 0
6582 nfields = split(line, field, "@")
6583 substed = 0
6584 len = length(field[1])
6585 for (i = 2; i < nfields; i++) {
6586 key = field[i]
6587 keylen = length(key)
6588 if (S_is_set[key]) {
6589 value = S[key]
6590 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6591 len += length(value) + length(field[++i])
6592 substed = 1
6593 } else
6594 len += 1 + keylen
6595 }
6596
6597 print line
6598 }
6599
6600 _ACAWK
6601 _ACEOF
6602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6603 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6604 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6605 else
6606 cat
6607 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6608 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6609 _ACEOF
6610
6611 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6612 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6613 # trailing colons and then remove the whole line if VPATH becomes empty
6614 # (actually we leave an empty line to preserve line numbers).
6615 if test "x$srcdir" = x.; then
6616 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6617 h
6618 s///
6619 s/^/:/
6620 s/[ ]*$/:/
6621 s/:\$(srcdir):/:/g
6622 s/:\${srcdir}:/:/g
6623 s/:@srcdir@:/:/g
6624 s/^:*//
6625 s/:*$//
6626 x
6627 s/\(=[ ]*\).*/\1/
6628 G
6629 s/\n//
6630 s/^[^=]*=[ ]*$//
6631 }'
6632 fi
6633
6634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6635 fi # test -n "$CONFIG_FILES"
6636
6637 # Set up the scripts for CONFIG_HEADERS section.
6638 # No need to generate them if there are no CONFIG_HEADERS.
6639 # This happens for instance with `./config.status Makefile'.
6640 if test -n "$CONFIG_HEADERS"; then
6641 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6642 BEGIN {
6643 _ACEOF
6644
6645 # Transform confdefs.h into an awk script `defines.awk', embedded as
6646 # here-document in config.status, that substitutes the proper values into
6647 # config.h.in to produce config.h.
6648
6649 # Create a delimiter string that does not exist in confdefs.h, to ease
6650 # handling of long lines.
6651 ac_delim='%!_!# '
6652 for ac_last_try in false false :; do
6653 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6654 if test -z "$ac_tt"; then
6655 break
6656 elif $ac_last_try; then
6657 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6658 else
6659 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6660 fi
6661 done
6662
6663 # For the awk script, D is an array of macro values keyed by name,
6664 # likewise P contains macro parameters if any. Preserve backslash
6665 # newline sequences.
6666
6667 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6668 sed -n '
6669 s/.\{148\}/&'"$ac_delim"'/g
6670 t rset
6671 :rset
6672 s/^[ ]*#[ ]*define[ ][ ]*/ /
6673 t def
6674 d
6675 :def
6676 s/\\$//
6677 t bsnl
6678 s/["\\]/\\&/g
6679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6680 D["\1"]=" \3"/p
6681 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6682 d
6683 :bsnl
6684 s/["\\]/\\&/g
6685 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6686 D["\1"]=" \3\\\\\\n"\\/p
6687 t cont
6688 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6689 t cont
6690 d
6691 :cont
6692 n
6693 s/.\{148\}/&'"$ac_delim"'/g
6694 t clear
6695 :clear
6696 s/\\$//
6697 t bsnlc
6698 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6699 d
6700 :bsnlc
6701 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6702 b cont
6703 ' <confdefs.h | sed '
6704 s/'"$ac_delim"'/"\\\
6705 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6706
6707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6708 for (key in D) D_is_set[key] = 1
6709 FS = ""
6710 }
6711 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6712 line = \$ 0
6713 split(line, arg, " ")
6714 if (arg[1] == "#") {
6715 defundef = arg[2]
6716 mac1 = arg[3]
6717 } else {
6718 defundef = substr(arg[1], 2)
6719 mac1 = arg[2]
6720 }
6721 split(mac1, mac2, "(") #)
6722 macro = mac2[1]
6723 prefix = substr(line, 1, index(line, defundef) - 1)
6724 if (D_is_set[macro]) {
6725 # Preserve the white space surrounding the "#".
6726 print prefix "define", macro P[macro] D[macro]
6727 next
6728 } else {
6729 # Replace #undef with comments. This is necessary, for example,
6730 # in the case of _POSIX_SOURCE, which is predefined and required
6731 # on some systems where configure will not decide to define it.
6732 if (defundef == "undef") {
6733 print "/*", prefix defundef, macro, "*/"
6734 next
6735 }
6736 }
6737 }
6738 { print }
6739 _ACAWK
6740 _ACEOF
6741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6742 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6743 fi # test -n "$CONFIG_HEADERS"
6744
6745
6746 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6747 shift
6748 for ac_tag
6749 do
6750 case $ac_tag in
6751 :[FHLC]) ac_mode=$ac_tag; continue;;
6752 esac
6753 case $ac_mode$ac_tag in
6754 :[FHL]*:*);;
6755 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6756 :[FH]-) ac_tag=-:-;;
6757 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6758 esac
6759 ac_save_IFS=$IFS
6760 IFS=:
6761 set x $ac_tag
6762 IFS=$ac_save_IFS
6763 shift
6764 ac_file=$1
6765 shift
6766
6767 case $ac_mode in
6768 :L) ac_source=$1;;
6769 :[FH])
6770 ac_file_inputs=
6771 for ac_f
6772 do
6773 case $ac_f in
6774 -) ac_f="$ac_tmp/stdin";;
6775 *) # Look for the file first in the build tree, then in the source tree
6776 # (if the path is not absolute). The absolute path cannot be DOS-style,
6777 # because $ac_f cannot contain `:'.
6778 test -f "$ac_f" ||
6779 case $ac_f in
6780 [\\/$]*) false;;
6781 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6782 esac ||
6783 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6784 esac
6785 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6786 as_fn_append ac_file_inputs " '$ac_f'"
6787 done
6788
6789 # Let's still pretend it is `configure' which instantiates (i.e., don't
6790 # use $as_me), people would be surprised to read:
6791 # /* config.h. Generated by config.status. */
6792 configure_input='Generated from '`
6793 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6794 `' by configure.'
6795 if test x"$ac_file" != x-; then
6796 configure_input="$ac_file. $configure_input"
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6798 $as_echo "$as_me: creating $ac_file" >&6;}
6799 fi
6800 # Neutralize special characters interpreted by sed in replacement strings.
6801 case $configure_input in #(
6802 *\&* | *\|* | *\\* )
6803 ac_sed_conf_input=`$as_echo "$configure_input" |
6804 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6805 *) ac_sed_conf_input=$configure_input;;
6806 esac
6807
6808 case $ac_tag in
6809 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6811 esac
6812 ;;
6813 esac
6814
6815 ac_dir=`$as_dirname -- "$ac_file" ||
6816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6817 X"$ac_file" : 'X\(//\)[^/]' \| \
6818 X"$ac_file" : 'X\(//\)$' \| \
6819 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6820 $as_echo X"$ac_file" |
6821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6822 s//\1/
6823 q
6824 }
6825 /^X\(\/\/\)[^/].*/{
6826 s//\1/
6827 q
6828 }
6829 /^X\(\/\/\)$/{
6830 s//\1/
6831 q
6832 }
6833 /^X\(\/\).*/{
6834 s//\1/
6835 q
6836 }
6837 s/.*/./; q'`
6838 as_dir="$ac_dir"; as_fn_mkdir_p
6839 ac_builddir=.
6840
6841 case "$ac_dir" in
6842 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6843 *)
6844 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6845 # A ".." for each directory in $ac_dir_suffix.
6846 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6847 case $ac_top_builddir_sub in
6848 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6849 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6850 esac ;;
6851 esac
6852 ac_abs_top_builddir=$ac_pwd
6853 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6854 # for backward compatibility:
6855 ac_top_builddir=$ac_top_build_prefix
6856
6857 case $srcdir in
6858 .) # We are building in place.
6859 ac_srcdir=.
6860 ac_top_srcdir=$ac_top_builddir_sub
6861 ac_abs_top_srcdir=$ac_pwd ;;
6862 [\\/]* | ?:[\\/]* ) # Absolute name.
6863 ac_srcdir=$srcdir$ac_dir_suffix;
6864 ac_top_srcdir=$srcdir
6865 ac_abs_top_srcdir=$srcdir ;;
6866 *) # Relative name.
6867 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6868 ac_top_srcdir=$ac_top_build_prefix$srcdir
6869 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6870 esac
6871 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6872
6873
6874 case $ac_mode in
6875 :F)
6876 #
6877 # CONFIG_FILE
6878 #
6879
6880 case $INSTALL in
6881 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6882 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6883 esac
6884 ac_MKDIR_P=$MKDIR_P
6885 case $MKDIR_P in
6886 [\\/$]* | ?:[\\/]* ) ;;
6887 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6888 esac
6889 _ACEOF
6890
6891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6892 # If the template does not know about datarootdir, expand it.
6893 # FIXME: This hack should be removed a few years after 2.60.
6894 ac_datarootdir_hack=; ac_datarootdir_seen=
6895 ac_sed_dataroot='
6896 /datarootdir/ {
6897 p
6898 q
6899 }
6900 /@datadir@/p
6901 /@docdir@/p
6902 /@infodir@/p
6903 /@localedir@/p
6904 /@mandir@/p'
6905 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6906 *datarootdir*) ac_datarootdir_seen=yes;;
6907 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6909 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6910 _ACEOF
6911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6912 ac_datarootdir_hack='
6913 s&@datadir@&$datadir&g
6914 s&@docdir@&$docdir&g
6915 s&@infodir@&$infodir&g
6916 s&@localedir@&$localedir&g
6917 s&@mandir@&$mandir&g
6918 s&\\\${datarootdir}&$datarootdir&g' ;;
6919 esac
6920 _ACEOF
6921
6922 # Neutralize VPATH when `$srcdir' = `.'.
6923 # Shell code in configure.ac might set extrasub.
6924 # FIXME: do we really want to maintain this feature?
6925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6926 ac_sed_extra="$ac_vpsub
6927 $extrasub
6928 _ACEOF
6929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6930 :t
6931 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6932 s|@configure_input@|$ac_sed_conf_input|;t t
6933 s&@top_builddir@&$ac_top_builddir_sub&;t t
6934 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6935 s&@srcdir@&$ac_srcdir&;t t
6936 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6937 s&@top_srcdir@&$ac_top_srcdir&;t t
6938 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6939 s&@builddir@&$ac_builddir&;t t
6940 s&@abs_builddir@&$ac_abs_builddir&;t t
6941 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6942 s&@INSTALL@&$ac_INSTALL&;t t
6943 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6944 $ac_datarootdir_hack
6945 "
6946 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6947 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6948
6949 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6950 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6951 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6952 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6954 which seems to be undefined. Please make sure it is defined" >&5
6955 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6956 which seems to be undefined. Please make sure it is defined" >&2;}
6957
6958 rm -f "$ac_tmp/stdin"
6959 case $ac_file in
6960 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6961 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6962 esac \
6963 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6964 ;;
6965 :H)
6966 #
6967 # CONFIG_HEADER
6968 #
6969 if test x"$ac_file" != x-; then
6970 {
6971 $as_echo "/* $configure_input */" \
6972 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6973 } >"$ac_tmp/config.h" \
6974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6975 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6977 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6978 else
6979 rm -f "$ac_file"
6980 mv "$ac_tmp/config.h" "$ac_file" \
6981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6982 fi
6983 else
6984 $as_echo "/* $configure_input */" \
6985 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6986 || as_fn_error $? "could not create -" "$LINENO" 5
6987 fi
6988 # Compute "$ac_file"'s index in $config_headers.
6989 _am_arg="$ac_file"
6990 _am_stamp_count=1
6991 for _am_header in $config_headers :; do
6992 case $_am_header in
6993 $_am_arg | $_am_arg:* )
6994 break ;;
6995 * )
6996 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6997 esac
6998 done
6999 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7000 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7001 X"$_am_arg" : 'X\(//\)[^/]' \| \
7002 X"$_am_arg" : 'X\(//\)$' \| \
7003 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7004 $as_echo X"$_am_arg" |
7005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7006 s//\1/
7007 q
7008 }
7009 /^X\(\/\/\)[^/].*/{
7010 s//\1/
7011 q
7012 }
7013 /^X\(\/\/\)$/{
7014 s//\1/
7015 q
7016 }
7017 /^X\(\/\).*/{
7018 s//\1/
7019 q
7020 }
7021 s/.*/./; q'`/stamp-h$_am_stamp_count
7022 ;;
7023
7024 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7025 $as_echo "$as_me: executing $ac_file commands" >&6;}
7026 ;;
7027 esac
7028
7029
7030 case $ac_file$ac_mode in
7031 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7032 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7033 # are listed without --file. Let's play safe and only enable the eval
7034 # if we detect the quoting.
7035 case $CONFIG_FILES in
7036 *\'*) eval set x "$CONFIG_FILES" ;;
7037 *) set x $CONFIG_FILES ;;
7038 esac
7039 shift
7040 for mf
7041 do
7042 # Strip MF so we end up with the name of the file.
7043 mf=`echo "$mf" | sed -e 's/:.*$//'`
7044 # Check whether this is an Automake generated Makefile or not.
7045 # We used to match only the files named `Makefile.in', but
7046 # some people rename them; so instead we look at the file content.
7047 # Grep'ing the first line is not enough: some people post-process
7048 # each Makefile.in and add a new line on top of each file to say so.
7049 # Grep'ing the whole file is not good either: AIX grep has a line
7050 # limit of 2048, but all sed's we know have understand at least 4000.
7051 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7052 dirpart=`$as_dirname -- "$mf" ||
7053 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7054 X"$mf" : 'X\(//\)[^/]' \| \
7055 X"$mf" : 'X\(//\)$' \| \
7056 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7057 $as_echo X"$mf" |
7058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7059 s//\1/
7060 q
7061 }
7062 /^X\(\/\/\)[^/].*/{
7063 s//\1/
7064 q
7065 }
7066 /^X\(\/\/\)$/{
7067 s//\1/
7068 q
7069 }
7070 /^X\(\/\).*/{
7071 s//\1/
7072 q
7073 }
7074 s/.*/./; q'`
7075 else
7076 continue
7077 fi
7078 # Extract the definition of DEPDIR, am__include, and am__quote
7079 # from the Makefile without running `make'.
7080 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7081 test -z "$DEPDIR" && continue
7082 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7083 test -z "am__include" && continue
7084 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7085 # When using ansi2knr, U may be empty or an underscore; expand it
7086 U=`sed -n 's/^U = //p' < "$mf"`
7087 # Find all dependency output files, they are included files with
7088 # $(DEPDIR) in their names. We invoke sed twice because it is the
7089 # simplest approach to changing $(DEPDIR) to its actual value in the
7090 # expansion.
7091 for file in `sed -n "
7092 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7093 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7094 # Make sure the directory exists.
7095 test -f "$dirpart/$file" && continue
7096 fdir=`$as_dirname -- "$file" ||
7097 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7098 X"$file" : 'X\(//\)[^/]' \| \
7099 X"$file" : 'X\(//\)$' \| \
7100 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7101 $as_echo X"$file" |
7102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7103 s//\1/
7104 q
7105 }
7106 /^X\(\/\/\)[^/].*/{
7107 s//\1/
7108 q
7109 }
7110 /^X\(\/\/\)$/{
7111 s//\1/
7112 q
7113 }
7114 /^X\(\/\).*/{
7115 s//\1/
7116 q
7117 }
7118 s/.*/./; q'`
7119 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7120 # echo "creating $dirpart/$file"
7121 echo '# dummy' > "$dirpart/$file"
7122 done
7123 done
7124 }
7125 ;;
7126
7127 esac
7128 done # for ac_tag
7129
7130
7131 as_fn_exit 0
7132 _ACEOF
7133 ac_clean_files=$ac_clean_files_save
7134
7135 test $ac_write_fail = 0 ||
7136 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7137
7138
7139 # configure is writing to config.log, and then calls config.status.
7140 # config.status does its own redirection, appending to config.log.
7141 # Unfortunately, on DOS this fails, as config.log is still kept open
7142 # by configure, so config.status won't be able to write to it; its
7143 # output is simply discarded. So we exec the FD to /dev/null,
7144 # effectively closing config.log, so it can be properly (re)opened and
7145 # appended to by config.status. When coming back to configure, we
7146 # need to make the FD available again.
7147 if test "$no_create" != yes; then
7148 ac_cs_success=:
7149 ac_config_status_args=
7150 test "$silent" = yes &&
7151 ac_config_status_args="$ac_config_status_args --quiet"
7152 exec 5>/dev/null
7153 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7154 exec 5>>config.log
7155 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7156 # would make configure fail if this is the last instruction.
7157 $ac_cs_success || as_fn_exit 1
7158 fi
7159 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7161 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7162 fi
7163