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