Debian Codegraph @

configure

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