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