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