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