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