1#! /bin/sh
2# From configure.ac .
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.69 for check_nwc_health 10.0.0.1.
5#
6#
7# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8#
9#
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## -------------------- ##
13## M4sh Initialization. ##
14## -------------------- ##
15
16# Be more Bourne compatible
17DUALCASE=1; export DUALCASE # for MKS sh
18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19  emulate sh
20  NULLCMD=:
21  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22  # is contrary to our usage.  Disable this feature.
23  alias -g '${1+"$@"}'='"$@"'
24  setopt NO_GLOB_SUBST
25else
26  case `(set -o) 2>/dev/null` in #(
27  *posix*) :
28    set -o posix ;; #(
29  *) :
30     ;;
31esac
32fi
33
34
35as_nl='
36'
37export as_nl
38# Printing a long string crashes Solaris 7 /usr/bin/printf.
39as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42# Prefer a ksh shell builtin over an external printf program on Solaris,
43# but without wasting forks for bash or zsh.
44if test -z "$BASH_VERSION$ZSH_VERSION" \
45    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46  as_echo='print -r --'
47  as_echo_n='print -rn --'
48elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='printf %s\n'
50  as_echo_n='printf %s'
51else
52  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54    as_echo_n='/usr/ucb/echo -n'
55  else
56    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57    as_echo_n_body='eval
58      arg=$1;
59      case $arg in #(
60      *"$as_nl"*)
61	expr "X$arg" : "X\\(.*\\)$as_nl";
62	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63      esac;
64      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65    '
66    export as_echo_n_body
67    as_echo_n='sh -c $as_echo_n_body as_echo'
68  fi
69  export as_echo_body
70  as_echo='sh -c $as_echo_body as_echo'
71fi
72
73# The user is always right.
74if test "${PATH_SEPARATOR+set}" != set; then
75  PATH_SEPARATOR=:
76  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78      PATH_SEPARATOR=';'
79  }
80fi
81
82
83# IFS
84# We need space, tab and new line, in precisely that order.  Quoting is
85# there to prevent editors from complaining about space-tab.
86# (If _AS_PATH_WALK were called with IFS unset, it would disable word
87# splitting by setting IFS to empty value.)
88IFS=" ""	$as_nl"
89
90# Find who we are.  Look in the path if we contain no directory separator.
91as_myself=
92case $0 in #((
93  *[\\/]* ) as_myself=$0 ;;
94  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97  IFS=$as_save_IFS
98  test -z "$as_dir" && as_dir=.
99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there.  '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136# Use a proper internal environment variable to ensure we don't fall
137  # into an infinite loop, continuously re-executing ourselves.
138  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139    _as_can_reexec=no; export _as_can_reexec;
140    # We cannot yet assume a decent shell, so we have to provide a
141# neutralization value for shells without unset; and this also
142# works around shells that cannot unset nonexistent variables.
143# Preserve -v and -x to the replacement shell.
144BASH_ENV=/dev/null
145ENV=/dev/null
146(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147case $- in # ((((
148  *v*x* | *x*v* ) as_opts=-vx ;;
149  *v* ) as_opts=-v ;;
150  *x* ) as_opts=-x ;;
151  * ) as_opts= ;;
152esac
153exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154# Admittedly, this is quite paranoid, since all the known shells bail
155# out after a failed `exec'.
156$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157as_fn_exit 255
158  fi
159  # We don't want this to propagate to other subprocesses.
160          { _as_can_reexec=; unset _as_can_reexec;}
161if test "x$CONFIG_SHELL" = x; then
162  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163  emulate sh
164  NULLCMD=:
165  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166  # is contrary to our usage.  Disable this feature.
167  alias -g '\${1+\"\$@\"}'='\"\$@\"'
168  setopt NO_GLOB_SUBST
169else
170  case \`(set -o) 2>/dev/null\` in #(
171  *posix*) :
172    set -o posix ;; #(
173  *) :
174     ;;
175esac
176fi
177"
178  as_required="as_fn_return () { (exit \$1); }
179as_fn_success () { as_fn_return 0; }
180as_fn_failure () { as_fn_return 1; }
181as_fn_ret_success () { return 0; }
182as_fn_ret_failure () { return 1; }
183
184exitcode=0
185as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191else
192  exitcode=1; echo positional parameters were not saved.
193fi
194test x\$exitcode = x0 || exit 1
195test -x / || exit 1"
196  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
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
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
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
234fi; }
235IFS=$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.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $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
257exit 255
258fi
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
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_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.
305as_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.
315as_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.
363as_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.
373if (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  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # 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.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # 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.
408as_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
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_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.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_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
500ECHO_C= ECHO_N= ECHO_T=
501case `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';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (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
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_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.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 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.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME='check_nwc_health'
579PACKAGE_TARNAME='check_nwc_health'
580PACKAGE_VERSION='10.0.0.1'
581PACKAGE_STRING='check_nwc_health 10.0.0.1'
582PACKAGE_BUGREPORT=''
583PACKAGE_URL=''
584
585ac_default_prefix=/usr/local/nagios
586ac_subst_vars='LTLIBOBJS
587LIBOBJS
588DISABLE_STANDALONE_FALSE
589DISABLE_STANDALONE_TRUE
590PERL
591SH
592INSTALL_OPTS
593with_nagios_group
594with_nagios_user
595SUPPORT
596WARRANTY
597INSTALL
598RELEASE
599host_os
600host_vendor
601host_cpu
602host
603build_os
604build_vendor
605build_cpu
606build
607MAINT
608MAINTAINER_MODE_FALSE
609MAINTAINER_MODE_TRUE
610AM_BACKSLASH
611AM_DEFAULT_VERBOSITY
612AM_DEFAULT_V
613AM_V
614am__untar
615am__tar
616AMTAR
617am__leading_dot
618SET_MAKE
619AWK
620mkdir_p
621MKDIR_P
622INSTALL_STRIP_PROGRAM
623STRIP
624install_sh
625MAKEINFO
626AUTOHEADER
627AUTOMAKE
628AUTOCONF
629ACLOCAL
630VERSION
631PACKAGE
632CYGPATH_W
633am__isrc
634INSTALL_DATA
635INSTALL_SCRIPT
636INSTALL_PROGRAM
637target_alias
638host_alias
639build_alias
640LIBS
641ECHO_T
642ECHO_N
643ECHO_C
644DEFS
645mandir
646localedir
647libdir
648psdir
649pdfdir
650dvidir
651htmldir
652infodir
653docdir
654oldincludedir
655includedir
656runstatedir
657localstatedir
658sharedstatedir
659sysconfdir
660datadir
661datarootdir
662libexecdir
663sbindir
664bindir
665program_transform_name
666prefix
667exec_prefix
668PACKAGE_URL
669PACKAGE_BUGREPORT
670PACKAGE_STRING
671PACKAGE_VERSION
672PACKAGE_TARNAME
673PACKAGE_NAME
674PATH_SEPARATOR
675SHELL'
676ac_subst_files=''
677ac_user_opts='
678enable_option_checking
679enable_silent_rules
680enable_maintainer_mode
681with_nagios_user
682with_nagios_group
683with_perl
684enable_standalone
685'
686      ac_precious_vars='build_alias
687host_alias
688target_alias'
689
690
691# Initialize some variables set by options.
692ac_init_help=
693ac_init_version=false
694ac_unrecognized_opts=
695ac_unrecognized_sep=
696# The variables have the same names as the options, with
697# dashes changed to underlines.
698cache_file=/dev/null
699exec_prefix=NONE
700no_create=
701no_recursion=
702prefix=NONE
703program_prefix=NONE
704program_suffix=NONE
705program_transform_name=s,x,x,
706silent=
707site=
708srcdir=
709verbose=
710x_includes=NONE
711x_libraries=NONE
712
713# Installation directory options.
714# These are left unexpanded so users can "make install exec_prefix=/foo"
715# and all the variables that are supposed to be based on exec_prefix
716# by default will actually change.
717# Use braces instead of parens because sh, perl, etc. also accept them.
718# (The list follows the same order as the GNU Coding Standards.)
719bindir='${exec_prefix}/bin'
720sbindir='${exec_prefix}/sbin'
721libexecdir='${exec_prefix}/libexec'
722datarootdir='${prefix}/share'
723datadir='${datarootdir}'
724sysconfdir='${prefix}/etc'
725sharedstatedir='${prefix}/com'
726localstatedir='${prefix}/var'
727runstatedir='${localstatedir}/run'
728includedir='${prefix}/include'
729oldincludedir='/usr/include'
730docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
731infodir='${datarootdir}/info'
732htmldir='${docdir}'
733dvidir='${docdir}'
734pdfdir='${docdir}'
735psdir='${docdir}'
736libdir='${exec_prefix}/lib'
737localedir='${datarootdir}/locale'
738mandir='${datarootdir}/man'
739
740ac_prev=
741ac_dashdash=
742for ac_option
743do
744  # If the previous option needs an argument, assign it.
745  if test -n "$ac_prev"; then
746    eval $ac_prev=\$ac_option
747    ac_prev=
748    continue
749  fi
750
751  case $ac_option in
752  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753  *=)   ac_optarg= ;;
754  *)    ac_optarg=yes ;;
755  esac
756
757  # Accept the important Cygnus configure options, so we can diagnose typos.
758
759  case $ac_dashdash$ac_option in
760  --)
761    ac_dashdash=yes ;;
762
763  -bindir | --bindir | --bindi | --bind | --bin | --bi)
764    ac_prev=bindir ;;
765  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766    bindir=$ac_optarg ;;
767
768  -build | --build | --buil | --bui | --bu)
769    ac_prev=build_alias ;;
770  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
771    build_alias=$ac_optarg ;;
772
773  -cache-file | --cache-file | --cache-fil | --cache-fi \
774  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
775    ac_prev=cache_file ;;
776  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
777  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
778    cache_file=$ac_optarg ;;
779
780  --config-cache | -C)
781    cache_file=config.cache ;;
782
783  -datadir | --datadir | --datadi | --datad)
784    ac_prev=datadir ;;
785  -datadir=* | --datadir=* | --datadi=* | --datad=*)
786    datadir=$ac_optarg ;;
787
788  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
789  | --dataroo | --dataro | --datar)
790    ac_prev=datarootdir ;;
791  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
792  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
793    datarootdir=$ac_optarg ;;
794
795  -disable-* | --disable-*)
796    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797    # Reject names that are not valid shell variable names.
798    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
799      as_fn_error $? "invalid feature name: $ac_useropt"
800    ac_useropt_orig=$ac_useropt
801    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802    case $ac_user_opts in
803      *"
804"enable_$ac_useropt"
805"*) ;;
806      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
807	 ac_unrecognized_sep=', ';;
808    esac
809    eval enable_$ac_useropt=no ;;
810
811  -docdir | --docdir | --docdi | --doc | --do)
812    ac_prev=docdir ;;
813  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814    docdir=$ac_optarg ;;
815
816  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817    ac_prev=dvidir ;;
818  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819    dvidir=$ac_optarg ;;
820
821  -enable-* | --enable-*)
822    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823    # Reject names that are not valid shell variable names.
824    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825      as_fn_error $? "invalid feature name: $ac_useropt"
826    ac_useropt_orig=$ac_useropt
827    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828    case $ac_user_opts in
829      *"
830"enable_$ac_useropt"
831"*) ;;
832      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
833	 ac_unrecognized_sep=', ';;
834    esac
835    eval enable_$ac_useropt=\$ac_optarg ;;
836
837  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
838  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
839  | --exec | --exe | --ex)
840    ac_prev=exec_prefix ;;
841  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
842  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
843  | --exec=* | --exe=* | --ex=*)
844    exec_prefix=$ac_optarg ;;
845
846  -gas | --gas | --ga | --g)
847    # Obsolete; use --with-gas.
848    with_gas=yes ;;
849
850  -help | --help | --hel | --he | -h)
851    ac_init_help=long ;;
852  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
853    ac_init_help=recursive ;;
854  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
855    ac_init_help=short ;;
856
857  -host | --host | --hos | --ho)
858    ac_prev=host_alias ;;
859  -host=* | --host=* | --hos=* | --ho=*)
860    host_alias=$ac_optarg ;;
861
862  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
863    ac_prev=htmldir ;;
864  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
865  | --ht=*)
866    htmldir=$ac_optarg ;;
867
868  -includedir | --includedir | --includedi | --included | --include \
869  | --includ | --inclu | --incl | --inc)
870    ac_prev=includedir ;;
871  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
872  | --includ=* | --inclu=* | --incl=* | --inc=*)
873    includedir=$ac_optarg ;;
874
875  -infodir | --infodir | --infodi | --infod | --info | --inf)
876    ac_prev=infodir ;;
877  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
878    infodir=$ac_optarg ;;
879
880  -libdir | --libdir | --libdi | --libd)
881    ac_prev=libdir ;;
882  -libdir=* | --libdir=* | --libdi=* | --libd=*)
883    libdir=$ac_optarg ;;
884
885  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
886  | --libexe | --libex | --libe)
887    ac_prev=libexecdir ;;
888  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
889  | --libexe=* | --libex=* | --libe=*)
890    libexecdir=$ac_optarg ;;
891
892  -localedir | --localedir | --localedi | --localed | --locale)
893    ac_prev=localedir ;;
894  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
895    localedir=$ac_optarg ;;
896
897  -localstatedir | --localstatedir | --localstatedi | --localstated \
898  | --localstate | --localstat | --localsta | --localst | --locals)
899    ac_prev=localstatedir ;;
900  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
901  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
902    localstatedir=$ac_optarg ;;
903
904  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
905    ac_prev=mandir ;;
906  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
907    mandir=$ac_optarg ;;
908
909  -nfp | --nfp | --nf)
910    # Obsolete; use --without-fp.
911    with_fp=no ;;
912
913  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
914  | --no-cr | --no-c | -n)
915    no_create=yes ;;
916
917  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
918  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919    no_recursion=yes ;;
920
921  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
922  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
923  | --oldin | --oldi | --old | --ol | --o)
924    ac_prev=oldincludedir ;;
925  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
926  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
927  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
928    oldincludedir=$ac_optarg ;;
929
930  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
931    ac_prev=prefix ;;
932  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933    prefix=$ac_optarg ;;
934
935  -program-prefix | --program-prefix | --program-prefi | --program-pref \
936  | --program-pre | --program-pr | --program-p)
937    ac_prev=program_prefix ;;
938  -program-prefix=* | --program-prefix=* | --program-prefi=* \
939  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
940    program_prefix=$ac_optarg ;;
941
942  -program-suffix | --program-suffix | --program-suffi | --program-suff \
943  | --program-suf | --program-su | --program-s)
944    ac_prev=program_suffix ;;
945  -program-suffix=* | --program-suffix=* | --program-suffi=* \
946  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
947    program_suffix=$ac_optarg ;;
948
949  -program-transform-name | --program-transform-name \
950  | --program-transform-nam | --program-transform-na \
951  | --program-transform-n | --program-transform- \
952  | --program-transform | --program-transfor \
953  | --program-transfo | --program-transf \
954  | --program-trans | --program-tran \
955  | --progr-tra | --program-tr | --program-t)
956    ac_prev=program_transform_name ;;
957  -program-transform-name=* | --program-transform-name=* \
958  | --program-transform-nam=* | --program-transform-na=* \
959  | --program-transform-n=* | --program-transform-=* \
960  | --program-transform=* | --program-transfor=* \
961  | --program-transfo=* | --program-transf=* \
962  | --program-trans=* | --program-tran=* \
963  | --progr-tra=* | --program-tr=* | --program-t=*)
964    program_transform_name=$ac_optarg ;;
965
966  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
967    ac_prev=pdfdir ;;
968  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969    pdfdir=$ac_optarg ;;
970
971  -psdir | --psdir | --psdi | --psd | --ps)
972    ac_prev=psdir ;;
973  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974    psdir=$ac_optarg ;;
975
976  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
977  | -silent | --silent | --silen | --sile | --sil)
978    silent=yes ;;
979
980  -runstatedir | --runstatedir | --runstatedi | --runstated \
981  | --runstate | --runstat | --runsta | --runst | --runs \
982  | --run | --ru | --r)
983    ac_prev=runstatedir ;;
984  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
985  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
986  | --run=* | --ru=* | --r=*)
987    runstatedir=$ac_optarg ;;
988
989  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990    ac_prev=sbindir ;;
991  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992  | --sbi=* | --sb=*)
993    sbindir=$ac_optarg ;;
994
995  -sharedstatedir | --sharedstatedir | --sharedstatedi \
996  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997  | --sharedst | --shareds | --shared | --share | --shar \
998  | --sha | --sh)
999    ac_prev=sharedstatedir ;;
1000  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003  | --sha=* | --sh=*)
1004    sharedstatedir=$ac_optarg ;;
1005
1006  -site | --site | --sit)
1007    ac_prev=site ;;
1008  -site=* | --site=* | --sit=*)
1009    site=$ac_optarg ;;
1010
1011  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012    ac_prev=srcdir ;;
1013  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014    srcdir=$ac_optarg ;;
1015
1016  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017  | --syscon | --sysco | --sysc | --sys | --sy)
1018    ac_prev=sysconfdir ;;
1019  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021    sysconfdir=$ac_optarg ;;
1022
1023  -target | --target | --targe | --targ | --tar | --ta | --t)
1024    ac_prev=target_alias ;;
1025  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026    target_alias=$ac_optarg ;;
1027
1028  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029    verbose=yes ;;
1030
1031  -version | --version | --versio | --versi | --vers | -V)
1032    ac_init_version=: ;;
1033
1034  -with-* | --with-*)
1035    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036    # Reject names that are not valid shell variable names.
1037    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038      as_fn_error $? "invalid package name: $ac_useropt"
1039    ac_useropt_orig=$ac_useropt
1040    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041    case $ac_user_opts in
1042      *"
1043"with_$ac_useropt"
1044"*) ;;
1045      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046	 ac_unrecognized_sep=', ';;
1047    esac
1048    eval with_$ac_useropt=\$ac_optarg ;;
1049
1050  -without-* | --without-*)
1051    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052    # Reject names that are not valid shell variable names.
1053    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054      as_fn_error $? "invalid package name: $ac_useropt"
1055    ac_useropt_orig=$ac_useropt
1056    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057    case $ac_user_opts in
1058      *"
1059"with_$ac_useropt"
1060"*) ;;
1061      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062	 ac_unrecognized_sep=', ';;
1063    esac
1064    eval with_$ac_useropt=no ;;
1065
1066  --x)
1067    # Obsolete; use --with-x.
1068    with_x=yes ;;
1069
1070  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071  | --x-incl | --x-inc | --x-in | --x-i)
1072    ac_prev=x_includes ;;
1073  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075    x_includes=$ac_optarg ;;
1076
1077  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079    ac_prev=x_libraries ;;
1080  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082    x_libraries=$ac_optarg ;;
1083
1084  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085Try \`$0 --help' for more information"
1086    ;;
1087
1088  *=*)
1089    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090    # Reject names that are not valid shell variable names.
1091    case $ac_envvar in #(
1092      '' | [0-9]* | *[!_$as_cr_alnum]* )
1093      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094    esac
1095    eval $ac_envvar=\$ac_optarg
1096    export $ac_envvar ;;
1097
1098  *)
1099    # FIXME: should be removed in autoconf 3.0.
1100    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104    ;;
1105
1106  esac
1107done
1108
1109if test -n "$ac_prev"; then
1110  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111  as_fn_error $? "missing argument to $ac_option"
1112fi
1113
1114if test -n "$ac_unrecognized_opts"; then
1115  case $enable_option_checking in
1116    no) ;;
1117    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119  esac
1120fi
1121
1122# Check all directory arguments for consistency.
1123for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124		datadir sysconfdir sharedstatedir localstatedir includedir \
1125		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126		libdir localedir mandir runstatedir
1127do
1128  eval ac_val=\$$ac_var
1129  # Remove trailing slashes.
1130  case $ac_val in
1131    */ )
1132      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133      eval $ac_var=\$ac_val;;
1134  esac
1135  # Be sure to have absolute directory names.
1136  case $ac_val in
1137    [\\/$]* | ?:[\\/]* )  continue;;
1138    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139  esac
1140  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141done
1142
1143# There might be people who depend on the old broken behavior: `$host'
1144# used to hold the argument of --host etc.
1145# FIXME: To remove some day.
1146build=$build_alias
1147host=$host_alias
1148target=$target_alias
1149
1150# FIXME: To remove some day.
1151if test "x$host_alias" != x; then
1152  if test "x$build_alias" = x; then
1153    cross_compiling=maybe
1154  elif test "x$build_alias" != "x$host_alias"; then
1155    cross_compiling=yes
1156  fi
1157fi
1158
1159ac_tool_prefix=
1160test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161
1162test "$silent" = yes && exec 6>/dev/null
1163
1164
1165ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166ac_ls_di=`ls -di .` &&
1167ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168  as_fn_error $? "working directory cannot be determined"
1169test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170  as_fn_error $? "pwd does not report name of working directory"
1171
1172
1173# Find the source files, if location was not specified.
1174if test -z "$srcdir"; then
1175  ac_srcdir_defaulted=yes
1176  # Try the directory containing this script, then the parent directory.
1177  ac_confdir=`$as_dirname -- "$as_myself" ||
1178$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179	 X"$as_myself" : 'X\(//\)[^/]' \| \
1180	 X"$as_myself" : 'X\(//\)$' \| \
1181	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182$as_echo X"$as_myself" |
1183    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184	    s//\1/
1185	    q
1186	  }
1187	  /^X\(\/\/\)[^/].*/{
1188	    s//\1/
1189	    q
1190	  }
1191	  /^X\(\/\/\)$/{
1192	    s//\1/
1193	    q
1194	  }
1195	  /^X\(\/\).*/{
1196	    s//\1/
1197	    q
1198	  }
1199	  s/.*/./; q'`
1200  srcdir=$ac_confdir
1201  if test ! -r "$srcdir/$ac_unique_file"; then
1202    srcdir=..
1203  fi
1204else
1205  ac_srcdir_defaulted=no
1206fi
1207if test ! -r "$srcdir/$ac_unique_file"; then
1208  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1210fi
1211ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212ac_abs_confdir=`(
1213	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1214	pwd)`
1215# When building in place, set srcdir=.
1216if test "$ac_abs_confdir" = "$ac_pwd"; then
1217  srcdir=.
1218fi
1219# Remove unnecessary trailing slashes from srcdir.
1220# Double slashes in file names in object file debugging info
1221# mess up M-x gdb in Emacs.
1222case $srcdir in
1223*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224esac
1225for ac_var in $ac_precious_vars; do
1226  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227  eval ac_env_${ac_var}_value=\$${ac_var}
1228  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230done
1231
1232#
1233# Report the --help message.
1234#
1235if test "$ac_init_help" = "long"; then
1236  # Omit some internal or obsolete options to make the list less imposing.
1237  # This message is too long to be a string in the A/UX 3.1 sh.
1238  cat <<_ACEOF
1239\`configure' configures check_nwc_health 10.0.0.1 to adapt to many kinds of systems.
1240
1241Usage: $0 [OPTION]... [VAR=VALUE]...
1242
1243To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244VAR=VALUE.  See below for descriptions of some of the useful variables.
1245
1246Defaults for the options are specified in brackets.
1247
1248Configuration:
1249  -h, --help              display this help and exit
1250      --help=short        display options specific to this package
1251      --help=recursive    display the short help of all the included packages
1252  -V, --version           display version information and exit
1253  -q, --quiet, --silent   do not print \`checking ...' messages
1254      --cache-file=FILE   cache test results in FILE [disabled]
1255  -C, --config-cache      alias for \`--cache-file=config.cache'
1256  -n, --no-create         do not create output files
1257      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1258
1259Installation directories:
1260  --prefix=PREFIX         install architecture-independent files in PREFIX
1261                          [$ac_default_prefix]
1262  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1263                          [PREFIX]
1264
1265By default, \`make install' will install all the files in
1266\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1267an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268for instance \`--prefix=\$HOME'.
1269
1270For better control, use the options below.
1271
1272Fine tuning of the installation directories:
1273  --bindir=DIR            user executables [EPREFIX/bin]
1274  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1275  --libexecdir=DIR        program executables [EPREFIX/libexec]
1276  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1277  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1278  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1279  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1280  --libdir=DIR            object code libraries [EPREFIX/lib]
1281  --includedir=DIR        C header files [PREFIX/include]
1282  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1283  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1284  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1285  --infodir=DIR           info documentation [DATAROOTDIR/info]
1286  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1287  --mandir=DIR            man documentation [DATAROOTDIR/man]
1288  --docdir=DIR            documentation root
1289                          [DATAROOTDIR/doc/check_nwc_health]
1290  --htmldir=DIR           html documentation [DOCDIR]
1291  --dvidir=DIR            dvi documentation [DOCDIR]
1292  --pdfdir=DIR            pdf documentation [DOCDIR]
1293  --psdir=DIR             ps documentation [DOCDIR]
1294_ACEOF
1295
1296  cat <<\_ACEOF
1297
1298Program names:
1299  --program-prefix=PREFIX            prepend PREFIX to installed program names
1300  --program-suffix=SUFFIX            append SUFFIX to installed program names
1301  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1302
1303System types:
1304  --build=BUILD     configure for building on BUILD [guessed]
1305  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1306_ACEOF
1307fi
1308
1309if test -n "$ac_init_help"; then
1310  case $ac_init_help in
1311     short | recursive ) echo "Configuration of check_nwc_health 10.0.0.1:";;
1312   esac
1313  cat <<\_ACEOF
1314
1315Optional Features:
1316  --disable-option-checking  ignore unrecognized --enable/--with options
1317  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1318  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1319  --enable-silent-rules   less verbose build output (undo: "make V=1")
1320  --disable-silent-rules  verbose build output (undo: "make V=0")
1321  --enable-maintainer-mode
1322                          enable make rules and dependencies not useful (and
1323                          sometimes confusing) to the casual installer
1324  --disable-standalone    Disable feature standalone
1325
1326Optional Packages:
1327  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1328  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1329  --with-nagios-user=USER set user name to run nagios
1330  --with-nagios-group=GROUP set group name to run nagios
1331  --with-perl=PATH        sets path to perl executable
1332
1333Report bugs to the package provider.
1334_ACEOF
1335ac_status=$?
1336fi
1337
1338if test "$ac_init_help" = "recursive"; then
1339  # If there are subdirs, report their specific --help.
1340  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1341    test -d "$ac_dir" ||
1342      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1343      continue
1344    ac_builddir=.
1345
1346case "$ac_dir" in
1347.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348*)
1349  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1350  # A ".." for each directory in $ac_dir_suffix.
1351  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1352  case $ac_top_builddir_sub in
1353  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1355  esac ;;
1356esac
1357ac_abs_top_builddir=$ac_pwd
1358ac_abs_builddir=$ac_pwd$ac_dir_suffix
1359# for backward compatibility:
1360ac_top_builddir=$ac_top_build_prefix
1361
1362case $srcdir in
1363  .)  # We are building in place.
1364    ac_srcdir=.
1365    ac_top_srcdir=$ac_top_builddir_sub
1366    ac_abs_top_srcdir=$ac_pwd ;;
1367  [\\/]* | ?:[\\/]* )  # Absolute name.
1368    ac_srcdir=$srcdir$ac_dir_suffix;
1369    ac_top_srcdir=$srcdir
1370    ac_abs_top_srcdir=$srcdir ;;
1371  *) # Relative name.
1372    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1373    ac_top_srcdir=$ac_top_build_prefix$srcdir
1374    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1375esac
1376ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1377
1378    cd "$ac_dir" || { ac_status=$?; continue; }
1379    # Check for guested configure.
1380    if test -f "$ac_srcdir/configure.gnu"; then
1381      echo &&
1382      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1383    elif test -f "$ac_srcdir/configure"; then
1384      echo &&
1385      $SHELL "$ac_srcdir/configure" --help=recursive
1386    else
1387      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1388    fi || ac_status=$?
1389    cd "$ac_pwd" || { ac_status=$?; break; }
1390  done
1391fi
1392
1393test -n "$ac_init_help" && exit $ac_status
1394if $ac_init_version; then
1395  cat <<\_ACEOF
1396check_nwc_health configure 10.0.0.1
1397generated by GNU Autoconf 2.69
1398
1399Copyright (C) 2012 Free Software Foundation, Inc.
1400This configure script is free software; the Free Software Foundation
1401gives unlimited permission to copy, distribute and modify it.
1402_ACEOF
1403  exit
1404fi
1405
1406## ------------------------ ##
1407## Autoconf initialization. ##
1408## ------------------------ ##
1409cat >config.log <<_ACEOF
1410This file contains any messages produced by compilers while
1411running configure, to aid debugging if configure makes a mistake.
1412
1413It was created by check_nwc_health $as_me 10.0.0.1, which was
1414generated by GNU Autoconf 2.69.  Invocation command line was
1415
1416  $ $0 $@
1417
1418_ACEOF
1419exec 5>>config.log
1420{
1421cat <<_ASUNAME
1422## --------- ##
1423## Platform. ##
1424## --------- ##
1425
1426hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1427uname -m = `(uname -m) 2>/dev/null || echo unknown`
1428uname -r = `(uname -r) 2>/dev/null || echo unknown`
1429uname -s = `(uname -s) 2>/dev/null || echo unknown`
1430uname -v = `(uname -v) 2>/dev/null || echo unknown`
1431
1432/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1433/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1434
1435/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1436/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1437/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1438/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1439/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1440/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1441/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1442
1443_ASUNAME
1444
1445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446for as_dir in $PATH
1447do
1448  IFS=$as_save_IFS
1449  test -z "$as_dir" && as_dir=.
1450    $as_echo "PATH: $as_dir"
1451  done
1452IFS=$as_save_IFS
1453
1454} >&5
1455
1456cat >&5 <<_ACEOF
1457
1458
1459## ----------- ##
1460## Core tests. ##
1461## ----------- ##
1462
1463_ACEOF
1464
1465
1466# Keep a trace of the command line.
1467# Strip out --no-create and --no-recursion so they do not pile up.
1468# Strip out --silent because we don't want to record it for future runs.
1469# Also quote any args containing shell meta-characters.
1470# Make two passes to allow for proper duplicate-argument suppression.
1471ac_configure_args=
1472ac_configure_args0=
1473ac_configure_args1=
1474ac_must_keep_next=false
1475for ac_pass in 1 2
1476do
1477  for ac_arg
1478  do
1479    case $ac_arg in
1480    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1481    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1482    | -silent | --silent | --silen | --sile | --sil)
1483      continue ;;
1484    *\'*)
1485      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1486    esac
1487    case $ac_pass in
1488    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1489    2)
1490      as_fn_append ac_configure_args1 " '$ac_arg'"
1491      if test $ac_must_keep_next = true; then
1492	ac_must_keep_next=false # Got value, back to normal.
1493      else
1494	case $ac_arg in
1495	  *=* | --config-cache | -C | -disable-* | --disable-* \
1496	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1497	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1498	  | -with-* | --with-* | -without-* | --without-* | --x)
1499	    case "$ac_configure_args0 " in
1500	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1501	    esac
1502	    ;;
1503	  -* ) ac_must_keep_next=true ;;
1504	esac
1505      fi
1506      as_fn_append ac_configure_args " '$ac_arg'"
1507      ;;
1508    esac
1509  done
1510done
1511{ ac_configure_args0=; unset ac_configure_args0;}
1512{ ac_configure_args1=; unset ac_configure_args1;}
1513
1514# When interrupted or exit'd, cleanup temporary files, and complete
1515# config.log.  We remove comments because anyway the quotes in there
1516# would cause problems or look ugly.
1517# WARNING: Use '\'' to represent an apostrophe within the trap.
1518# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1519trap 'exit_status=$?
1520  # Save into config.log some information that might help in debugging.
1521  {
1522    echo
1523
1524    $as_echo "## ---------------- ##
1525## Cache variables. ##
1526## ---------------- ##"
1527    echo
1528    # The following way of writing the cache mishandles newlines in values,
1529(
1530  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1531    eval ac_val=\$$ac_var
1532    case $ac_val in #(
1533    *${as_nl}*)
1534      case $ac_var in #(
1535      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1536$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1537      esac
1538      case $ac_var in #(
1539      _ | IFS | as_nl) ;; #(
1540      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1541      *) { eval $ac_var=; unset $ac_var;} ;;
1542      esac ;;
1543    esac
1544  done
1545  (set) 2>&1 |
1546    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1547    *${as_nl}ac_space=\ *)
1548      sed -n \
1549	"s/'\''/'\''\\\\'\'''\''/g;
1550	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1551      ;; #(
1552    *)
1553      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1554      ;;
1555    esac |
1556    sort
1557)
1558    echo
1559
1560    $as_echo "## ----------------- ##
1561## Output variables. ##
1562## ----------------- ##"
1563    echo
1564    for ac_var in $ac_subst_vars
1565    do
1566      eval ac_val=\$$ac_var
1567      case $ac_val in
1568      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1569      esac
1570      $as_echo "$ac_var='\''$ac_val'\''"
1571    done | sort
1572    echo
1573
1574    if test -n "$ac_subst_files"; then
1575      $as_echo "## ------------------- ##
1576## File substitutions. ##
1577## ------------------- ##"
1578      echo
1579      for ac_var in $ac_subst_files
1580      do
1581	eval ac_val=\$$ac_var
1582	case $ac_val in
1583	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584	esac
1585	$as_echo "$ac_var='\''$ac_val'\''"
1586      done | sort
1587      echo
1588    fi
1589
1590    if test -s confdefs.h; then
1591      $as_echo "## ----------- ##
1592## confdefs.h. ##
1593## ----------- ##"
1594      echo
1595      cat confdefs.h
1596      echo
1597    fi
1598    test "$ac_signal" != 0 &&
1599      $as_echo "$as_me: caught signal $ac_signal"
1600    $as_echo "$as_me: exit $exit_status"
1601  } >&5
1602  rm -f core *.core core.conftest.* &&
1603    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1604    exit $exit_status
1605' 0
1606for ac_signal in 1 2 13 15; do
1607  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1608done
1609ac_signal=0
1610
1611# confdefs.h avoids OS command line length limits that DEFS can exceed.
1612rm -f -r conftest* confdefs.h
1613
1614$as_echo "/* confdefs.h */" > confdefs.h
1615
1616# Predefined preprocessor variables.
1617
1618cat >>confdefs.h <<_ACEOF
1619#define PACKAGE_NAME "$PACKAGE_NAME"
1620_ACEOF
1621
1622cat >>confdefs.h <<_ACEOF
1623#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1624_ACEOF
1625
1626cat >>confdefs.h <<_ACEOF
1627#define PACKAGE_VERSION "$PACKAGE_VERSION"
1628_ACEOF
1629
1630cat >>confdefs.h <<_ACEOF
1631#define PACKAGE_STRING "$PACKAGE_STRING"
1632_ACEOF
1633
1634cat >>confdefs.h <<_ACEOF
1635#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1636_ACEOF
1637
1638cat >>confdefs.h <<_ACEOF
1639#define PACKAGE_URL "$PACKAGE_URL"
1640_ACEOF
1641
1642
1643# Let the site file select an alternate cache file if it wants to.
1644# Prefer an explicitly selected file to automatically selected ones.
1645ac_site_file1=NONE
1646ac_site_file2=NONE
1647if test -n "$CONFIG_SITE"; then
1648  # We do not want a PATH search for config.site.
1649  case $CONFIG_SITE in #((
1650    -*)  ac_site_file1=./$CONFIG_SITE;;
1651    */*) ac_site_file1=$CONFIG_SITE;;
1652    *)   ac_site_file1=./$CONFIG_SITE;;
1653  esac
1654elif test "x$prefix" != xNONE; then
1655  ac_site_file1=$prefix/share/config.site
1656  ac_site_file2=$prefix/etc/config.site
1657else
1658  ac_site_file1=$ac_default_prefix/share/config.site
1659  ac_site_file2=$ac_default_prefix/etc/config.site
1660fi
1661for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1662do
1663  test "x$ac_site_file" = xNONE && continue
1664  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1665    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1666$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1667    sed 's/^/| /' "$ac_site_file" >&5
1668    . "$ac_site_file" \
1669      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1670$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1671as_fn_error $? "failed to load site script $ac_site_file
1672See \`config.log' for more details" "$LINENO" 5; }
1673  fi
1674done
1675
1676if test -r "$cache_file"; then
1677  # Some versions of bash will fail to source /dev/null (special files
1678  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1679  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1680    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1681$as_echo "$as_me: loading cache $cache_file" >&6;}
1682    case $cache_file in
1683      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1684      *)                      . "./$cache_file";;
1685    esac
1686  fi
1687else
1688  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1689$as_echo "$as_me: creating cache $cache_file" >&6;}
1690  >$cache_file
1691fi
1692
1693# Check that the precious variables saved in the cache have kept the same
1694# value.
1695ac_cache_corrupted=false
1696for ac_var in $ac_precious_vars; do
1697  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1698  eval ac_new_set=\$ac_env_${ac_var}_set
1699  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1700  eval ac_new_val=\$ac_env_${ac_var}_value
1701  case $ac_old_set,$ac_new_set in
1702    set,)
1703      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1704$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1705      ac_cache_corrupted=: ;;
1706    ,set)
1707      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1708$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1709      ac_cache_corrupted=: ;;
1710    ,);;
1711    *)
1712      if test "x$ac_old_val" != "x$ac_new_val"; then
1713	# differences in whitespace do not lead to failure.
1714	ac_old_val_w=`echo x $ac_old_val`
1715	ac_new_val_w=`echo x $ac_new_val`
1716	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1717	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1718$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1719	  ac_cache_corrupted=:
1720	else
1721	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1722$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1723	  eval $ac_var=\$ac_old_val
1724	fi
1725	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1726$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1727	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1728$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1729      fi;;
1730  esac
1731  # Pass precious variables to config.status.
1732  if test "$ac_new_set" = set; then
1733    case $ac_new_val in
1734    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1735    *) ac_arg=$ac_var=$ac_new_val ;;
1736    esac
1737    case " $ac_configure_args " in
1738      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1739      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1740    esac
1741  fi
1742done
1743if $ac_cache_corrupted; then
1744  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1745$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1746  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1747$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1748  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1749fi
1750## -------------------- ##
1751## Main body of script. ##
1752## -------------------- ##
1753
1754ac_ext=c
1755ac_cpp='$CPP $CPPFLAGS'
1756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1758ac_compiler_gnu=$ac_cv_c_compiler_gnu
1759
1760
1761am__api_version='1.16'
1762
1763ac_aux_dir=
1764for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1765  if test -f "$ac_dir/install-sh"; then
1766    ac_aux_dir=$ac_dir
1767    ac_install_sh="$ac_aux_dir/install-sh -c"
1768    break
1769  elif test -f "$ac_dir/install.sh"; then
1770    ac_aux_dir=$ac_dir
1771    ac_install_sh="$ac_aux_dir/install.sh -c"
1772    break
1773  elif test -f "$ac_dir/shtool"; then
1774    ac_aux_dir=$ac_dir
1775    ac_install_sh="$ac_aux_dir/shtool install -c"
1776    break
1777  fi
1778done
1779if test -z "$ac_aux_dir"; then
1780  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1781fi
1782
1783# These three variables are undocumented and unsupported,
1784# and are intended to be withdrawn in a future Autoconf release.
1785# They can cause serious problems if a builder's source tree is in a directory
1786# whose full name contains unusual characters.
1787ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1788ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1789ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1790
1791
1792# Find a good install program.  We prefer a C program (faster),
1793# so one script is as good as another.  But avoid the broken or
1794# incompatible versions:
1795# SysV /etc/install, /usr/sbin/install
1796# SunOS /usr/etc/install
1797# IRIX /sbin/install
1798# AIX /bin/install
1799# AmigaOS /C/install, which installs bootblocks on floppy discs
1800# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1801# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1802# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1803# OS/2's system install, which has a completely different semantic
1804# ./install, which can be erroneously created by make from ./install.sh.
1805# Reject install programs that cannot install multiple files.
1806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1807$as_echo_n "checking for a BSD-compatible install... " >&6; }
1808if test -z "$INSTALL"; then
1809if ${ac_cv_path_install+:} false; then :
1810  $as_echo_n "(cached) " >&6
1811else
1812  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813for as_dir in $PATH
1814do
1815  IFS=$as_save_IFS
1816  test -z "$as_dir" && as_dir=.
1817    # Account for people who put trailing slashes in PATH elements.
1818case $as_dir/ in #((
1819  ./ | .// | /[cC]/* | \
1820  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1821  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1822  /usr/ucb/* ) ;;
1823  *)
1824    # OSF1 and SCO ODT 3.0 have their own names for install.
1825    # Don't use installbsd from OSF since it installs stuff as root
1826    # by default.
1827    for ac_prog in ginstall scoinst install; do
1828      for ac_exec_ext in '' $ac_executable_extensions; do
1829	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1830	  if test $ac_prog = install &&
1831	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1832	    # AIX install.  It has an incompatible calling convention.
1833	    :
1834	  elif test $ac_prog = install &&
1835	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1836	    # program-specific install script used by HP pwplus--don't use.
1837	    :
1838	  else
1839	    rm -rf conftest.one conftest.two conftest.dir
1840	    echo one > conftest.one
1841	    echo two > conftest.two
1842	    mkdir conftest.dir
1843	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1844	      test -s conftest.one && test -s conftest.two &&
1845	      test -s conftest.dir/conftest.one &&
1846	      test -s conftest.dir/conftest.two
1847	    then
1848	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1849	      break 3
1850	    fi
1851	  fi
1852	fi
1853      done
1854    done
1855    ;;
1856esac
1857
1858  done
1859IFS=$as_save_IFS
1860
1861rm -rf conftest.one conftest.two conftest.dir
1862
1863fi
1864  if test "${ac_cv_path_install+set}" = set; then
1865    INSTALL=$ac_cv_path_install
1866  else
1867    # As a last resort, use the slow shell script.  Don't cache a
1868    # value for INSTALL within a source directory, because that will
1869    # break other packages using the cache if that directory is
1870    # removed, or if the value is a relative name.
1871    INSTALL=$ac_install_sh
1872  fi
1873fi
1874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1875$as_echo "$INSTALL" >&6; }
1876
1877# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1878# It thinks the first close brace ends the variable substitution.
1879test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1880
1881test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1882
1883test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1884
1885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1886$as_echo_n "checking whether build environment is sane... " >&6; }
1887# Reject unsafe characters in $srcdir or the absolute working directory
1888# name.  Accept space and tab only in the latter.
1889am_lf='
1890'
1891case `pwd` in
1892  *[\\\"\#\$\&\'\`$am_lf]*)
1893    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1894esac
1895case $srcdir in
1896  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1897    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1898esac
1899
1900# Do 'set' in a subshell so we don't clobber the current shell's
1901# arguments.  Must try -L first in case configure is actually a
1902# symlink; some systems play weird games with the mod time of symlinks
1903# (eg FreeBSD returns the mod time of the symlink's containing
1904# directory).
1905if (
1906   am_has_slept=no
1907   for am_try in 1 2; do
1908     echo "timestamp, slept: $am_has_slept" > conftest.file
1909     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1910     if test "$*" = "X"; then
1911	# -L didn't work.
1912	set X `ls -t "$srcdir/configure" conftest.file`
1913     fi
1914     if test "$*" != "X $srcdir/configure conftest.file" \
1915	&& test "$*" != "X conftest.file $srcdir/configure"; then
1916
1917	# If neither matched, then we have a broken ls.  This can happen
1918	# if, for instance, CONFIG_SHELL is bash and it inherits a
1919	# broken ls alias from the environment.  This has actually
1920	# happened.  Such a system could not be considered "sane".
1921	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1922  alias in your environment" "$LINENO" 5
1923     fi
1924     if test "$2" = conftest.file || test $am_try -eq 2; then
1925       break
1926     fi
1927     # Just in case.
1928     sleep 1
1929     am_has_slept=yes
1930   done
1931   test "$2" = conftest.file
1932   )
1933then
1934   # Ok.
1935   :
1936else
1937   as_fn_error $? "newly created file is older than distributed files!
1938Check your system clock" "$LINENO" 5
1939fi
1940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1941$as_echo "yes" >&6; }
1942# If we didn't sleep, we still need to ensure time stamps of config.status and
1943# generated files are strictly newer.
1944am_sleep_pid=
1945if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1946  ( sleep 1 ) &
1947  am_sleep_pid=$!
1948fi
1949
1950rm -f conftest.file
1951
1952test "$program_prefix" != NONE &&
1953  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1954# Use a double $ so make ignores it.
1955test "$program_suffix" != NONE &&
1956  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1957# Double any \ or $.
1958# By default was `s,x,x', remove it if useless.
1959ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1960program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1961
1962# Expand $ac_aux_dir to an absolute path.
1963am_aux_dir=`cd "$ac_aux_dir" && pwd`
1964
1965if test x"${MISSING+set}" != xset; then
1966  case $am_aux_dir in
1967  *\ * | *\	*)
1968    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1969  *)
1970    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1971  esac
1972fi
1973# Use eval to expand $SHELL
1974if eval "$MISSING --is-lightweight"; then
1975  am_missing_run="$MISSING "
1976else
1977  am_missing_run=
1978  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1979$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1980fi
1981
1982if test x"${install_sh+set}" != xset; then
1983  case $am_aux_dir in
1984  *\ * | *\	*)
1985    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1986  *)
1987    install_sh="\${SHELL} $am_aux_dir/install-sh"
1988  esac
1989fi
1990
1991# Installed binaries are usually stripped using 'strip' when the user
1992# run "make install-strip".  However 'strip' might not be the right
1993# tool to use in cross-compilation environments, therefore Automake
1994# will honor the 'STRIP' environment variable to overrule this program.
1995if test "$cross_compiling" != no; then
1996  if test -n "$ac_tool_prefix"; then
1997  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1998set dummy ${ac_tool_prefix}strip; ac_word=$2
1999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2000$as_echo_n "checking for $ac_word... " >&6; }
2001if ${ac_cv_prog_STRIP+:} false; then :
2002  $as_echo_n "(cached) " >&6
2003else
2004  if test -n "$STRIP"; then
2005  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2006else
2007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008for as_dir in $PATH
2009do
2010  IFS=$as_save_IFS
2011  test -z "$as_dir" && as_dir=.
2012    for ac_exec_ext in '' $ac_executable_extensions; do
2013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2016    break 2
2017  fi
2018done
2019  done
2020IFS=$as_save_IFS
2021
2022fi
2023fi
2024STRIP=$ac_cv_prog_STRIP
2025if test -n "$STRIP"; then
2026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2027$as_echo "$STRIP" >&6; }
2028else
2029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2030$as_echo "no" >&6; }
2031fi
2032
2033
2034fi
2035if test -z "$ac_cv_prog_STRIP"; then
2036  ac_ct_STRIP=$STRIP
2037  # Extract the first word of "strip", so it can be a program name with args.
2038set dummy strip; ac_word=$2
2039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2040$as_echo_n "checking for $ac_word... " >&6; }
2041if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2042  $as_echo_n "(cached) " >&6
2043else
2044  if test -n "$ac_ct_STRIP"; then
2045  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2046else
2047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048for as_dir in $PATH
2049do
2050  IFS=$as_save_IFS
2051  test -z "$as_dir" && as_dir=.
2052    for ac_exec_ext in '' $ac_executable_extensions; do
2053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054    ac_cv_prog_ac_ct_STRIP="strip"
2055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2056    break 2
2057  fi
2058done
2059  done
2060IFS=$as_save_IFS
2061
2062fi
2063fi
2064ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2065if test -n "$ac_ct_STRIP"; then
2066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2067$as_echo "$ac_ct_STRIP" >&6; }
2068else
2069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2070$as_echo "no" >&6; }
2071fi
2072
2073  if test "x$ac_ct_STRIP" = x; then
2074    STRIP=":"
2075  else
2076    case $cross_compiling:$ac_tool_warned in
2077yes:)
2078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2080ac_tool_warned=yes ;;
2081esac
2082    STRIP=$ac_ct_STRIP
2083  fi
2084else
2085  STRIP="$ac_cv_prog_STRIP"
2086fi
2087
2088fi
2089INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2090
2091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2092$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2093if test -z "$MKDIR_P"; then
2094  if ${ac_cv_path_mkdir+:} false; then :
2095  $as_echo_n "(cached) " >&6
2096else
2097  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2099do
2100  IFS=$as_save_IFS
2101  test -z "$as_dir" && as_dir=.
2102    for ac_prog in mkdir gmkdir; do
2103	 for ac_exec_ext in '' $ac_executable_extensions; do
2104	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2105	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2106	     'mkdir (GNU coreutils) '* | \
2107	     'mkdir (coreutils) '* | \
2108	     'mkdir (fileutils) '4.1*)
2109	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2110	       break 3;;
2111	   esac
2112	 done
2113       done
2114  done
2115IFS=$as_save_IFS
2116
2117fi
2118
2119  test -d ./--version && rmdir ./--version
2120  if test "${ac_cv_path_mkdir+set}" = set; then
2121    MKDIR_P="$ac_cv_path_mkdir -p"
2122  else
2123    # As a last resort, use the slow shell script.  Don't cache a
2124    # value for MKDIR_P within a source directory, because that will
2125    # break other packages using the cache if that directory is
2126    # removed, or if the value is a relative name.
2127    MKDIR_P="$ac_install_sh -d"
2128  fi
2129fi
2130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2131$as_echo "$MKDIR_P" >&6; }
2132
2133for ac_prog in gawk mawk nawk awk
2134do
2135  # Extract the first word of "$ac_prog", so it can be a program name with args.
2136set dummy $ac_prog; ac_word=$2
2137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2138$as_echo_n "checking for $ac_word... " >&6; }
2139if ${ac_cv_prog_AWK+:} false; then :
2140  $as_echo_n "(cached) " >&6
2141else
2142  if test -n "$AWK"; then
2143  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2144else
2145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146for as_dir in $PATH
2147do
2148  IFS=$as_save_IFS
2149  test -z "$as_dir" && as_dir=.
2150    for ac_exec_ext in '' $ac_executable_extensions; do
2151  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152    ac_cv_prog_AWK="$ac_prog"
2153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2154    break 2
2155  fi
2156done
2157  done
2158IFS=$as_save_IFS
2159
2160fi
2161fi
2162AWK=$ac_cv_prog_AWK
2163if test -n "$AWK"; then
2164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2165$as_echo "$AWK" >&6; }
2166else
2167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2168$as_echo "no" >&6; }
2169fi
2170
2171
2172  test -n "$AWK" && break
2173done
2174
2175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2176$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2177set x ${MAKE-make}
2178ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2179if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2180  $as_echo_n "(cached) " >&6
2181else
2182  cat >conftest.make <<\_ACEOF
2183SHELL = /bin/sh
2184all:
2185	@echo '@@@%%%=$(MAKE)=@@@%%%'
2186_ACEOF
2187# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2188case `${MAKE-make} -f conftest.make 2>/dev/null` in
2189  *@@@%%%=?*=@@@%%%*)
2190    eval ac_cv_prog_make_${ac_make}_set=yes;;
2191  *)
2192    eval ac_cv_prog_make_${ac_make}_set=no;;
2193esac
2194rm -f conftest.make
2195fi
2196if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2198$as_echo "yes" >&6; }
2199  SET_MAKE=
2200else
2201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2202$as_echo "no" >&6; }
2203  SET_MAKE="MAKE=${MAKE-make}"
2204fi
2205
2206rm -rf .tst 2>/dev/null
2207mkdir .tst 2>/dev/null
2208if test -d .tst; then
2209  am__leading_dot=.
2210else
2211  am__leading_dot=_
2212fi
2213rmdir .tst 2>/dev/null
2214
2215# Check whether --enable-silent-rules was given.
2216if test "${enable_silent_rules+set}" = set; then :
2217  enableval=$enable_silent_rules;
2218fi
2219
2220case $enable_silent_rules in # (((
2221  yes) AM_DEFAULT_VERBOSITY=0;;
2222   no) AM_DEFAULT_VERBOSITY=1;;
2223    *) AM_DEFAULT_VERBOSITY=1;;
2224esac
2225am_make=${MAKE-make}
2226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2227$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2228if ${am_cv_make_support_nested_variables+:} false; then :
2229  $as_echo_n "(cached) " >&6
2230else
2231  if $as_echo 'TRUE=$(BAR$(V))
2232BAR0=false
2233BAR1=true
2234V=1
2235am__doit:
2236	@$(TRUE)
2237.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2238  am_cv_make_support_nested_variables=yes
2239else
2240  am_cv_make_support_nested_variables=no
2241fi
2242fi
2243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2244$as_echo "$am_cv_make_support_nested_variables" >&6; }
2245if test $am_cv_make_support_nested_variables = yes; then
2246    AM_V='$(V)'
2247  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2248else
2249  AM_V=$AM_DEFAULT_VERBOSITY
2250  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2251fi
2252AM_BACKSLASH='\'
2253
2254if test "`cd $srcdir && pwd`" != "`pwd`"; then
2255  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2256  # is not polluted with repeated "-I."
2257  am__isrc=' -I$(srcdir)'
2258  # test to see if srcdir already configured
2259  if test -f $srcdir/config.status; then
2260    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2261  fi
2262fi
2263
2264# test whether we have cygpath
2265if test -z "$CYGPATH_W"; then
2266  if (cygpath --version) >/dev/null 2>/dev/null; then
2267    CYGPATH_W='cygpath -w'
2268  else
2269    CYGPATH_W=echo
2270  fi
2271fi
2272
2273
2274# Define the identity of the package.
2275 PACKAGE='check_nwc_health'
2276 VERSION='10.0.0.1'
2277
2278
2279cat >>confdefs.h <<_ACEOF
2280#define PACKAGE "$PACKAGE"
2281_ACEOF
2282
2283
2284cat >>confdefs.h <<_ACEOF
2285#define VERSION "$VERSION"
2286_ACEOF
2287
2288# Some tools Automake needs.
2289
2290ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2291
2292
2293AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2294
2295
2296AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2297
2298
2299AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2300
2301
2302MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2303
2304# For better backward compatibility.  To be removed once Automake 1.9.x
2305# dies out for good.  For more background, see:
2306# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2307# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2308mkdir_p='$(MKDIR_P)'
2309
2310# We need awk for the "check" target (and possibly the TAP driver).  The
2311# system "awk" is bad on some platforms.
2312# Always define AMTAR for backward compatibility.  Yes, it's still used
2313# in the wild :-(  We should find a proper way to deprecate it ...
2314AMTAR='$${TAR-tar}'
2315
2316
2317# We'll loop over all known methods to create a tar archive until one works.
2318_am_tools='gnutar  pax cpio none'
2319
2320
2321
2322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2323$as_echo_n "checking how to create a pax tar archive... " >&6; }
2324
2325  # Go ahead even if we have the value already cached.  We do so because we
2326  # need to set the values for the 'am__tar' and 'am__untar' variables.
2327  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2328
2329  for _am_tool in $_am_tools; do
2330    case $_am_tool in
2331    gnutar)
2332      for _am_tar in tar gnutar gtar; do
2333        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2334   ($_am_tar --version) >&5 2>&5
2335   ac_status=$?
2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337   (exit $ac_status); } && break
2338      done
2339      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2340      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2341      am__untar="$_am_tar -xf -"
2342      ;;
2343    plaintar)
2344      # Must skip GNU tar: if it does not support --format= it doesn't create
2345      # ustar tarball either.
2346      (tar --version) >/dev/null 2>&1 && continue
2347      am__tar='tar chf - "$$tardir"'
2348      am__tar_='tar chf - "$tardir"'
2349      am__untar='tar xf -'
2350      ;;
2351    pax)
2352      am__tar='pax -L -x pax -w "$$tardir"'
2353      am__tar_='pax -L -x pax -w "$tardir"'
2354      am__untar='pax -r'
2355      ;;
2356    cpio)
2357      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2358      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2359      am__untar='cpio -i -H pax -d'
2360      ;;
2361    none)
2362      am__tar=false
2363      am__tar_=false
2364      am__untar=false
2365      ;;
2366    esac
2367
2368    # If the value was cached, stop now.  We just wanted to have am__tar
2369    # and am__untar set.
2370    test -n "${am_cv_prog_tar_pax}" && break
2371
2372    # tar/untar a dummy directory, and stop if the command works.
2373    rm -rf conftest.dir
2374    mkdir conftest.dir
2375    echo GrepMe > conftest.dir/file
2376    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2377   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2378   ac_status=$?
2379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380   (exit $ac_status); }
2381    rm -rf conftest.dir
2382    if test -s conftest.tar; then
2383      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2384   ($am__untar <conftest.tar) >&5 2>&5
2385   ac_status=$?
2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387   (exit $ac_status); }
2388      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2389   (cat conftest.dir/file) >&5 2>&5
2390   ac_status=$?
2391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392   (exit $ac_status); }
2393      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2394    fi
2395  done
2396  rm -rf conftest.dir
2397
2398  if ${am_cv_prog_tar_pax+:} false; then :
2399  $as_echo_n "(cached) " >&6
2400else
2401  am_cv_prog_tar_pax=$_am_tool
2402fi
2403
2404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2405$as_echo "$am_cv_prog_tar_pax" >&6; }
2406
2407
2408
2409
2410
2411
2412# POSIX will say in a future version that running "rm -f" with no argument
2413# is OK; and we want to be able to make that assumption in our Makefile
2414# recipes.  So use an aggressive probe to check that the usage we want is
2415# actually supported "in the wild" to an acceptable degree.
2416# See automake bug#10828.
2417# To make any issue more visible, cause the running configure to be aborted
2418# by default if the 'rm' program in use doesn't match our expectations; the
2419# user can still override this though.
2420if rm -f && rm -fr && rm -rf; then : OK; else
2421  cat >&2 <<'END'
2422Oops!
2423
2424Your 'rm' program seems unable to run without file operands specified
2425on the command line, even when the '-f' option is present.  This is contrary
2426to the behaviour of most rm programs out there, and not conforming with
2427the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2428
2429Please tell bug-automake@gnu.org about your system, including the value
2430of your $PATH and any error possibly output before this message.  This
2431can help us improve future automake versions.
2432
2433END
2434  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2435    echo 'Configuration will proceed anyway, since you have set the' >&2
2436    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2437    echo >&2
2438  else
2439    cat >&2 <<'END'
2440Aborting the configuration process, to ensure you take notice of the issue.
2441
2442You can download and install GNU coreutils to get an 'rm' implementation
2443that behaves properly: <https://www.gnu.org/software/coreutils/>.
2444
2445If you want to complete the configuration process using your problematic
2446'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2447to "yes", and re-run configure.
2448
2449END
2450    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2451  fi
2452fi
2453
2454
2455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2456$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2457    # Check whether --enable-maintainer-mode was given.
2458if test "${enable_maintainer_mode+set}" = set; then :
2459  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2460else
2461  USE_MAINTAINER_MODE=no
2462fi
2463
2464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2465$as_echo "$USE_MAINTAINER_MODE" >&6; }
2466   if test $USE_MAINTAINER_MODE = yes; then
2467  MAINTAINER_MODE_TRUE=
2468  MAINTAINER_MODE_FALSE='#'
2469else
2470  MAINTAINER_MODE_TRUE='#'
2471  MAINTAINER_MODE_FALSE=
2472fi
2473
2474  MAINT=$MAINTAINER_MODE_TRUE
2475
2476
2477# Make sure we can run config.sub.
2478$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2479  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2480
2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2482$as_echo_n "checking build system type... " >&6; }
2483if ${ac_cv_build+:} false; then :
2484  $as_echo_n "(cached) " >&6
2485else
2486  ac_build_alias=$build_alias
2487test "x$ac_build_alias" = x &&
2488  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2489test "x$ac_build_alias" = x &&
2490  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2491ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2492  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2493
2494fi
2495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2496$as_echo "$ac_cv_build" >&6; }
2497case $ac_cv_build in
2498*-*-*) ;;
2499*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2500esac
2501build=$ac_cv_build
2502ac_save_IFS=$IFS; IFS='-'
2503set x $ac_cv_build
2504shift
2505build_cpu=$1
2506build_vendor=$2
2507shift; shift
2508# Remember, the first character of IFS is used to create $*,
2509# except with old shells:
2510build_os=$*
2511IFS=$ac_save_IFS
2512case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2513
2514
2515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2516$as_echo_n "checking host system type... " >&6; }
2517if ${ac_cv_host+:} false; then :
2518  $as_echo_n "(cached) " >&6
2519else
2520  if test "x$host_alias" = x; then
2521  ac_cv_host=$ac_cv_build
2522else
2523  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2524    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2525fi
2526
2527fi
2528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2529$as_echo "$ac_cv_host" >&6; }
2530case $ac_cv_host in
2531*-*-*) ;;
2532*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2533esac
2534host=$ac_cv_host
2535ac_save_IFS=$IFS; IFS='-'
2536set x $ac_cv_host
2537shift
2538host_cpu=$1
2539host_vendor=$2
2540shift; shift
2541# Remember, the first character of IFS is used to create $*,
2542# except with old shells:
2543host_os=$*
2544IFS=$ac_save_IFS
2545case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2546
2547
2548
2549RELEASE=1
2550
2551
2552
2553
2554
2555
2556
2557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2558$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2559set x ${MAKE-make}
2560ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2561if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2562  $as_echo_n "(cached) " >&6
2563else
2564  cat >conftest.make <<\_ACEOF
2565SHELL = /bin/sh
2566all:
2567	@echo '@@@%%%=$(MAKE)=@@@%%%'
2568_ACEOF
2569# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2570case `${MAKE-make} -f conftest.make 2>/dev/null` in
2571  *@@@%%%=?*=@@@%%%*)
2572    eval ac_cv_prog_make_${ac_make}_set=yes;;
2573  *)
2574    eval ac_cv_prog_make_${ac_make}_set=no;;
2575esac
2576rm -f conftest.make
2577fi
2578if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2580$as_echo "yes" >&6; }
2581  SET_MAKE=
2582else
2583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584$as_echo "no" >&6; }
2585  SET_MAKE="MAKE=${MAKE-make}"
2586fi
2587
2588for ac_prog in gawk mawk nawk awk
2589do
2590  # Extract the first word of "$ac_prog", so it can be a program name with args.
2591set dummy $ac_prog; ac_word=$2
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593$as_echo_n "checking for $ac_word... " >&6; }
2594if ${ac_cv_prog_AWK+:} false; then :
2595  $as_echo_n "(cached) " >&6
2596else
2597  if test -n "$AWK"; then
2598  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2599else
2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601for as_dir in $PATH
2602do
2603  IFS=$as_save_IFS
2604  test -z "$as_dir" && as_dir=.
2605    for ac_exec_ext in '' $ac_executable_extensions; do
2606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607    ac_cv_prog_AWK="$ac_prog"
2608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609    break 2
2610  fi
2611done
2612  done
2613IFS=$as_save_IFS
2614
2615fi
2616fi
2617AWK=$ac_cv_prog_AWK
2618if test -n "$AWK"; then
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2620$as_echo "$AWK" >&6; }
2621else
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623$as_echo "no" >&6; }
2624fi
2625
2626
2627  test -n "$AWK" && break
2628done
2629
2630
2631WARRANTY="This plugin comes with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugin under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n"
2632
2633
2634SUPPORT="Send email to gerhard.lausser@consol.de if you have questions\nregarding use of this software.\nPlease include version information with all correspondence (when possible,\nuse output from the --version option of the plugin itself).\n"
2635
2636
2637
2638# Check whether --with-nagios_user was given.
2639if test "${with_nagios_user+set}" = set; then :
2640  withval=$with_nagios_user; with_nagios_user=$withval
2641else
2642  with_nagios_user=nagios
2643fi
2644
2645
2646# Check whether --with-nagios_group was given.
2647if test "${with_nagios_group+set}" = set; then :
2648  withval=$with_nagios_group; with_nagios_group=$withval
2649else
2650  with_nagios_group=nagios
2651fi
2652
2653
2654
2655INSTALL_OPTS="-o $with_nagios_user -g $with_nagios_group"
2656
2657
2658EXTRAS=
2659
2660# Extract the first word of "sh", so it can be a program name with args.
2661set dummy sh; ac_word=$2
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663$as_echo_n "checking for $ac_word... " >&6; }
2664if ${ac_cv_path_SH+:} false; then :
2665  $as_echo_n "(cached) " >&6
2666else
2667  case $SH in
2668  [\\/]* | ?:[\\/]*)
2669  ac_cv_path_SH="$SH" # Let the user override the test with a path.
2670  ;;
2671  *)
2672  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673for as_dir in $PATH
2674do
2675  IFS=$as_save_IFS
2676  test -z "$as_dir" && as_dir=.
2677    for ac_exec_ext in '' $ac_executable_extensions; do
2678  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2679    ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
2680    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681    break 2
2682  fi
2683done
2684  done
2685IFS=$as_save_IFS
2686
2687  ;;
2688esac
2689fi
2690SH=$ac_cv_path_SH
2691if test -n "$SH"; then
2692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5
2693$as_echo "$SH" >&6; }
2694else
2695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696$as_echo "no" >&6; }
2697fi
2698
2699
2700# Extract the first word of "perl", so it can be a program name with args.
2701set dummy perl; ac_word=$2
2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703$as_echo_n "checking for $ac_word... " >&6; }
2704if ${ac_cv_path_PERL+:} false; then :
2705  $as_echo_n "(cached) " >&6
2706else
2707  case $PERL in
2708  [\\/]* | ?:[\\/]*)
2709  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2710  ;;
2711  *)
2712  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713for as_dir in $PATH
2714do
2715  IFS=$as_save_IFS
2716  test -z "$as_dir" && as_dir=.
2717    for ac_exec_ext in '' $ac_executable_extensions; do
2718  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721    break 2
2722  fi
2723done
2724  done
2725IFS=$as_save_IFS
2726
2727  ;;
2728esac
2729fi
2730PERL=$ac_cv_path_PERL
2731if test -n "$PERL"; then
2732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2733$as_echo "$PERL" >&6; }
2734else
2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736$as_echo "no" >&6; }
2737fi
2738
2739
2740
2741
2742# Check whether --with-perl was given.
2743if test "${with_perl+set}" = set; then :
2744  withval=$with_perl; with_perl=$withval
2745else
2746  with_perl=$PERL
2747fi
2748
2749PERL=$with_perl
2750
2751
2752# Check whether --enable-standalone was given.
2753if test "${enable_standalone+set}" = set; then :
2754  enableval=$enable_standalone;
2755fi
2756
2757 if test "$enable_standalone" = "no"; then
2758  DISABLE_STANDALONE_TRUE=
2759  DISABLE_STANDALONE_FALSE='#'
2760else
2761  DISABLE_STANDALONE_TRUE='#'
2762  DISABLE_STANDALONE_FALSE=
2763fi
2764
2765
2766ac_config_files="$ac_config_files Makefile plugins-scripts/Makefile plugins-scripts/subst"
2767
2768cat >confcache <<\_ACEOF
2769# This file is a shell script that caches the results of configure
2770# tests run on this system so they can be shared between configure
2771# scripts and configure runs, see configure's option --config-cache.
2772# It is not useful on other systems.  If it contains results you don't
2773# want to keep, you may remove or edit it.
2774#
2775# config.status only pays attention to the cache file if you give it
2776# the --recheck option to rerun configure.
2777#
2778# `ac_cv_env_foo' variables (set or unset) will be overridden when
2779# loading this file, other *unset* `ac_cv_foo' will be assigned the
2780# following values.
2781
2782_ACEOF
2783
2784# The following way of writing the cache mishandles newlines in values,
2785# but we know of no workaround that is simple, portable, and efficient.
2786# So, we kill variables containing newlines.
2787# Ultrix sh set writes to stderr and can't be redirected directly,
2788# and sets the high bit in the cache file unless we assign to the vars.
2789(
2790  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2791    eval ac_val=\$$ac_var
2792    case $ac_val in #(
2793    *${as_nl}*)
2794      case $ac_var in #(
2795      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2796$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2797      esac
2798      case $ac_var in #(
2799      _ | IFS | as_nl) ;; #(
2800      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2801      *) { eval $ac_var=; unset $ac_var;} ;;
2802      esac ;;
2803    esac
2804  done
2805
2806  (set) 2>&1 |
2807    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2808    *${as_nl}ac_space=\ *)
2809      # `set' does not quote correctly, so add quotes: double-quote
2810      # substitution turns \\\\ into \\, and sed turns \\ into \.
2811      sed -n \
2812	"s/'/'\\\\''/g;
2813	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2814      ;; #(
2815    *)
2816      # `set' quotes correctly as required by POSIX, so do not add quotes.
2817      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2818      ;;
2819    esac |
2820    sort
2821) |
2822  sed '
2823     /^ac_cv_env_/b end
2824     t clear
2825     :clear
2826     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2827     t end
2828     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2829     :end' >>confcache
2830if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2831  if test -w "$cache_file"; then
2832    if test "x$cache_file" != "x/dev/null"; then
2833      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2834$as_echo "$as_me: updating cache $cache_file" >&6;}
2835      if test ! -f "$cache_file" || test -h "$cache_file"; then
2836	cat confcache >"$cache_file"
2837      else
2838        case $cache_file in #(
2839        */* | ?:*)
2840	  mv -f confcache "$cache_file"$$ &&
2841	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2842        *)
2843	  mv -f confcache "$cache_file" ;;
2844	esac
2845      fi
2846    fi
2847  else
2848    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2849$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2850  fi
2851fi
2852rm -f confcache
2853
2854test "x$prefix" = xNONE && prefix=$ac_default_prefix
2855# Let make expand exec_prefix.
2856test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2857
2858# Transform confdefs.h into DEFS.
2859# Protect against shell expansion while executing Makefile rules.
2860# Protect against Makefile macro expansion.
2861#
2862# If the first sed substitution is executed (which looks for macros that
2863# take arguments), then branch to the quote section.  Otherwise,
2864# look for a macro that doesn't take arguments.
2865ac_script='
2866:mline
2867/\\$/{
2868 N
2869 s,\\\n,,
2870 b mline
2871}
2872t clear
2873:clear
2874s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2875t quote
2876s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2877t quote
2878b any
2879:quote
2880s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2881s/\[/\\&/g
2882s/\]/\\&/g
2883s/\$/$$/g
2884H
2885:any
2886${
2887	g
2888	s/^\n//
2889	s/\n/ /g
2890	p
2891}
2892'
2893DEFS=`sed -n "$ac_script" confdefs.h`
2894
2895
2896ac_libobjs=
2897ac_ltlibobjs=
2898U=
2899for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2900  # 1. Remove the extension, and $U if already installed.
2901  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2902  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2903  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2904  #    will be set to the directory where LIBOBJS objects are built.
2905  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2906  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2907done
2908LIBOBJS=$ac_libobjs
2909
2910LTLIBOBJS=$ac_ltlibobjs
2911
2912
2913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2914$as_echo_n "checking that generated files are newer than configure... " >&6; }
2915   if test -n "$am_sleep_pid"; then
2916     # Hide warnings about reused PIDs.
2917     wait $am_sleep_pid 2>/dev/null
2918   fi
2919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2920$as_echo "done" >&6; }
2921
2922if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2923  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2924Usually this means the macro was only invoked conditionally." "$LINENO" 5
2925fi
2926if test -z "${DISABLE_STANDALONE_TRUE}" && test -z "${DISABLE_STANDALONE_FALSE}"; then
2927  as_fn_error $? "conditional \"DISABLE_STANDALONE\" was never defined.
2928Usually this means the macro was only invoked conditionally." "$LINENO" 5
2929fi
2930
2931: "${CONFIG_STATUS=./config.status}"
2932ac_write_fail=0
2933ac_clean_files_save=$ac_clean_files
2934ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2935{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2936$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2937as_write_fail=0
2938cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2939#! $SHELL
2940# Generated by $as_me.
2941# Run this file to recreate the current configuration.
2942# Compiler output produced by configure, useful for debugging
2943# configure, is in config.log if it exists.
2944
2945debug=false
2946ac_cs_recheck=false
2947ac_cs_silent=false
2948
2949SHELL=\${CONFIG_SHELL-$SHELL}
2950export SHELL
2951_ASEOF
2952cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2953## -------------------- ##
2954## M4sh Initialization. ##
2955## -------------------- ##
2956
2957# Be more Bourne compatible
2958DUALCASE=1; export DUALCASE # for MKS sh
2959if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2960  emulate sh
2961  NULLCMD=:
2962  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2963  # is contrary to our usage.  Disable this feature.
2964  alias -g '${1+"$@"}'='"$@"'
2965  setopt NO_GLOB_SUBST
2966else
2967  case `(set -o) 2>/dev/null` in #(
2968  *posix*) :
2969    set -o posix ;; #(
2970  *) :
2971     ;;
2972esac
2973fi
2974
2975
2976as_nl='
2977'
2978export as_nl
2979# Printing a long string crashes Solaris 7 /usr/bin/printf.
2980as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2981as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2982as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2983# Prefer a ksh shell builtin over an external printf program on Solaris,
2984# but without wasting forks for bash or zsh.
2985if test -z "$BASH_VERSION$ZSH_VERSION" \
2986    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2987  as_echo='print -r --'
2988  as_echo_n='print -rn --'
2989elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2990  as_echo='printf %s\n'
2991  as_echo_n='printf %s'
2992else
2993  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2994    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2995    as_echo_n='/usr/ucb/echo -n'
2996  else
2997    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2998    as_echo_n_body='eval
2999      arg=$1;
3000      case $arg in #(
3001      *"$as_nl"*)
3002	expr "X$arg" : "X\\(.*\\)$as_nl";
3003	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3004      esac;
3005      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3006    '
3007    export as_echo_n_body
3008    as_echo_n='sh -c $as_echo_n_body as_echo'
3009  fi
3010  export as_echo_body
3011  as_echo='sh -c $as_echo_body as_echo'
3012fi
3013
3014# The user is always right.
3015if test "${PATH_SEPARATOR+set}" != set; then
3016  PATH_SEPARATOR=:
3017  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3018    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3019      PATH_SEPARATOR=';'
3020  }
3021fi
3022
3023
3024# IFS
3025# We need space, tab and new line, in precisely that order.  Quoting is
3026# there to prevent editors from complaining about space-tab.
3027# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3028# splitting by setting IFS to empty value.)
3029IFS=" ""	$as_nl"
3030
3031# Find who we are.  Look in the path if we contain no directory separator.
3032as_myself=
3033case $0 in #((
3034  *[\\/]* ) as_myself=$0 ;;
3035  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036for as_dir in $PATH
3037do
3038  IFS=$as_save_IFS
3039  test -z "$as_dir" && as_dir=.
3040    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3041  done
3042IFS=$as_save_IFS
3043
3044     ;;
3045esac
3046# We did not find ourselves, most probably we were run as `sh COMMAND'
3047# in which case we are not to be found in the path.
3048if test "x$as_myself" = x; then
3049  as_myself=$0
3050fi
3051if test ! -f "$as_myself"; then
3052  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3053  exit 1
3054fi
3055
3056# Unset variables that we do not need and which cause bugs (e.g. in
3057# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3058# suppresses any "Segmentation fault" message there.  '((' could
3059# trigger a bug in pdksh 5.2.14.
3060for as_var in BASH_ENV ENV MAIL MAILPATH
3061do eval test x\${$as_var+set} = xset \
3062  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3063done
3064PS1='$ '
3065PS2='> '
3066PS4='+ '
3067
3068# NLS nuisances.
3069LC_ALL=C
3070export LC_ALL
3071LANGUAGE=C
3072export LANGUAGE
3073
3074# CDPATH.
3075(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3076
3077
3078# as_fn_error STATUS ERROR [LINENO LOG_FD]
3079# ----------------------------------------
3080# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3081# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3082# script with STATUS, using 1 if that was 0.
3083as_fn_error ()
3084{
3085  as_status=$1; test $as_status -eq 0 && as_status=1
3086  if test "$4"; then
3087    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3088    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3089  fi
3090  $as_echo "$as_me: error: $2" >&2
3091  as_fn_exit $as_status
3092} # as_fn_error
3093
3094
3095# as_fn_set_status STATUS
3096# -----------------------
3097# Set $? to STATUS, without forking.
3098as_fn_set_status ()
3099{
3100  return $1
3101} # as_fn_set_status
3102
3103# as_fn_exit STATUS
3104# -----------------
3105# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3106as_fn_exit ()
3107{
3108  set +e
3109  as_fn_set_status $1
3110  exit $1
3111} # as_fn_exit
3112
3113# as_fn_unset VAR
3114# ---------------
3115# Portably unset VAR.
3116as_fn_unset ()
3117{
3118  { eval $1=; unset $1;}
3119}
3120as_unset=as_fn_unset
3121# as_fn_append VAR VALUE
3122# ----------------------
3123# Append the text in VALUE to the end of the definition contained in VAR. Take
3124# advantage of any shell optimizations that allow amortized linear growth over
3125# repeated appends, instead of the typical quadratic growth present in naive
3126# implementations.
3127if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3128  eval 'as_fn_append ()
3129  {
3130    eval $1+=\$2
3131  }'
3132else
3133  as_fn_append ()
3134  {
3135    eval $1=\$$1\$2
3136  }
3137fi # as_fn_append
3138
3139# as_fn_arith ARG...
3140# ------------------
3141# Perform arithmetic evaluation on the ARGs, and store the result in the
3142# global $as_val. Take advantage of shells that can avoid forks. The arguments
3143# must be portable across $(()) and expr.
3144if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3145  eval 'as_fn_arith ()
3146  {
3147    as_val=$(( $* ))
3148  }'
3149else
3150  as_fn_arith ()
3151  {
3152    as_val=`expr "$@" || test $? -eq 1`
3153  }
3154fi # as_fn_arith
3155
3156
3157if expr a : '\(a\)' >/dev/null 2>&1 &&
3158   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3159  as_expr=expr
3160else
3161  as_expr=false
3162fi
3163
3164if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3165  as_basename=basename
3166else
3167  as_basename=false
3168fi
3169
3170if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3171  as_dirname=dirname
3172else
3173  as_dirname=false
3174fi
3175
3176as_me=`$as_basename -- "$0" ||
3177$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3178	 X"$0" : 'X\(//\)$' \| \
3179	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3180$as_echo X/"$0" |
3181    sed '/^.*\/\([^/][^/]*\)\/*$/{
3182	    s//\1/
3183	    q
3184	  }
3185	  /^X\/\(\/\/\)$/{
3186	    s//\1/
3187	    q
3188	  }
3189	  /^X\/\(\/\).*/{
3190	    s//\1/
3191	    q
3192	  }
3193	  s/.*/./; q'`
3194
3195# Avoid depending upon Character Ranges.
3196as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3197as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3198as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3199as_cr_digits='0123456789'
3200as_cr_alnum=$as_cr_Letters$as_cr_digits
3201
3202ECHO_C= ECHO_N= ECHO_T=
3203case `echo -n x` in #(((((
3204-n*)
3205  case `echo 'xy\c'` in
3206  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3207  xy)  ECHO_C='\c';;
3208  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3209       ECHO_T='	';;
3210  esac;;
3211*)
3212  ECHO_N='-n';;
3213esac
3214
3215rm -f conf$$ conf$$.exe conf$$.file
3216if test -d conf$$.dir; then
3217  rm -f conf$$.dir/conf$$.file
3218else
3219  rm -f conf$$.dir
3220  mkdir conf$$.dir 2>/dev/null
3221fi
3222if (echo >conf$$.file) 2>/dev/null; then
3223  if ln -s conf$$.file conf$$ 2>/dev/null; then
3224    as_ln_s='ln -s'
3225    # ... but there are two gotchas:
3226    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3227    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3228    # In both cases, we have to default to `cp -pR'.
3229    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3230      as_ln_s='cp -pR'
3231  elif ln conf$$.file conf$$ 2>/dev/null; then
3232    as_ln_s=ln
3233  else
3234    as_ln_s='cp -pR'
3235  fi
3236else
3237  as_ln_s='cp -pR'
3238fi
3239rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3240rmdir conf$$.dir 2>/dev/null
3241
3242
3243# as_fn_mkdir_p
3244# -------------
3245# Create "$as_dir" as a directory, including parents if necessary.
3246as_fn_mkdir_p ()
3247{
3248
3249  case $as_dir in #(
3250  -*) as_dir=./$as_dir;;
3251  esac
3252  test -d "$as_dir" || eval $as_mkdir_p || {
3253    as_dirs=
3254    while :; do
3255      case $as_dir in #(
3256      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3257      *) as_qdir=$as_dir;;
3258      esac
3259      as_dirs="'$as_qdir' $as_dirs"
3260      as_dir=`$as_dirname -- "$as_dir" ||
3261$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3262	 X"$as_dir" : 'X\(//\)[^/]' \| \
3263	 X"$as_dir" : 'X\(//\)$' \| \
3264	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3265$as_echo X"$as_dir" |
3266    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3267	    s//\1/
3268	    q
3269	  }
3270	  /^X\(\/\/\)[^/].*/{
3271	    s//\1/
3272	    q
3273	  }
3274	  /^X\(\/\/\)$/{
3275	    s//\1/
3276	    q
3277	  }
3278	  /^X\(\/\).*/{
3279	    s//\1/
3280	    q
3281	  }
3282	  s/.*/./; q'`
3283      test -d "$as_dir" && break
3284    done
3285    test -z "$as_dirs" || eval "mkdir $as_dirs"
3286  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3287
3288
3289} # as_fn_mkdir_p
3290if mkdir -p . 2>/dev/null; then
3291  as_mkdir_p='mkdir -p "$as_dir"'
3292else
3293  test -d ./-p && rmdir ./-p
3294  as_mkdir_p=false
3295fi
3296
3297
3298# as_fn_executable_p FILE
3299# -----------------------
3300# Test if FILE is an executable regular file.
3301as_fn_executable_p ()
3302{
3303  test -f "$1" && test -x "$1"
3304} # as_fn_executable_p
3305as_test_x='test -x'
3306as_executable_p=as_fn_executable_p
3307
3308# Sed expression to map a string onto a valid CPP name.
3309as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3310
3311# Sed expression to map a string onto a valid variable name.
3312as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3313
3314
3315exec 6>&1
3316## ----------------------------------- ##
3317## Main body of $CONFIG_STATUS script. ##
3318## ----------------------------------- ##
3319_ASEOF
3320test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3321
3322cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3323# Save the log message, to keep $0 and so on meaningful, and to
3324# report actual input values of CONFIG_FILES etc. instead of their
3325# values after options handling.
3326ac_log="
3327This file was extended by check_nwc_health $as_me 10.0.0.1, which was
3328generated by GNU Autoconf 2.69.  Invocation command line was
3329
3330  CONFIG_FILES    = $CONFIG_FILES
3331  CONFIG_HEADERS  = $CONFIG_HEADERS
3332  CONFIG_LINKS    = $CONFIG_LINKS
3333  CONFIG_COMMANDS = $CONFIG_COMMANDS
3334  $ $0 $@
3335
3336on `(hostname || uname -n) 2>/dev/null | sed 1q`
3337"
3338
3339_ACEOF
3340
3341case $ac_config_files in *"
3342"*) set x $ac_config_files; shift; ac_config_files=$*;;
3343esac
3344
3345
3346
3347cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3348# Files that config.status was made for.
3349config_files="$ac_config_files"
3350
3351_ACEOF
3352
3353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3354ac_cs_usage="\
3355\`$as_me' instantiates files and other configuration actions
3356from templates according to the current configuration.  Unless the files
3357and actions are specified as TAGs, all are instantiated by default.
3358
3359Usage: $0 [OPTION]... [TAG]...
3360
3361  -h, --help       print this help, then exit
3362  -V, --version    print version number and configuration settings, then exit
3363      --config     print configuration, then exit
3364  -q, --quiet, --silent
3365                   do not print progress messages
3366  -d, --debug      don't remove temporary files
3367      --recheck    update $as_me by reconfiguring in the same conditions
3368      --file=FILE[:TEMPLATE]
3369                   instantiate the configuration file FILE
3370
3371Configuration files:
3372$config_files
3373
3374Report bugs to the package provider."
3375
3376_ACEOF
3377cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3378ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3379ac_cs_version="\\
3380check_nwc_health config.status 10.0.0.1
3381configured by $0, generated by GNU Autoconf 2.69,
3382  with options \\"\$ac_cs_config\\"
3383
3384Copyright (C) 2012 Free Software Foundation, Inc.
3385This config.status script is free software; the Free Software Foundation
3386gives unlimited permission to copy, distribute and modify it."
3387
3388ac_pwd='$ac_pwd'
3389srcdir='$srcdir'
3390INSTALL='$INSTALL'
3391MKDIR_P='$MKDIR_P'
3392AWK='$AWK'
3393test -n "\$AWK" || AWK=awk
3394_ACEOF
3395
3396cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3397# The default lists apply if the user does not specify any file.
3398ac_need_defaults=:
3399while test $# != 0
3400do
3401  case $1 in
3402  --*=?*)
3403    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3404    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3405    ac_shift=:
3406    ;;
3407  --*=)
3408    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3409    ac_optarg=
3410    ac_shift=:
3411    ;;
3412  *)
3413    ac_option=$1
3414    ac_optarg=$2
3415    ac_shift=shift
3416    ;;
3417  esac
3418
3419  case $ac_option in
3420  # Handling of the options.
3421  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3422    ac_cs_recheck=: ;;
3423  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3424    $as_echo "$ac_cs_version"; exit ;;
3425  --config | --confi | --conf | --con | --co | --c )
3426    $as_echo "$ac_cs_config"; exit ;;
3427  --debug | --debu | --deb | --de | --d | -d )
3428    debug=: ;;
3429  --file | --fil | --fi | --f )
3430    $ac_shift
3431    case $ac_optarg in
3432    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3433    '') as_fn_error $? "missing file argument" ;;
3434    esac
3435    as_fn_append CONFIG_FILES " '$ac_optarg'"
3436    ac_need_defaults=false;;
3437  --he | --h |  --help | --hel | -h )
3438    $as_echo "$ac_cs_usage"; exit ;;
3439  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3440  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3441    ac_cs_silent=: ;;
3442
3443  # This is an error.
3444  -*) as_fn_error $? "unrecognized option: \`$1'
3445Try \`$0 --help' for more information." ;;
3446
3447  *) as_fn_append ac_config_targets " $1"
3448     ac_need_defaults=false ;;
3449
3450  esac
3451  shift
3452done
3453
3454ac_configure_extra_args=
3455
3456if $ac_cs_silent; then
3457  exec 6>/dev/null
3458  ac_configure_extra_args="$ac_configure_extra_args --silent"
3459fi
3460
3461_ACEOF
3462cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3463if \$ac_cs_recheck; then
3464  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3465  shift
3466  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3467  CONFIG_SHELL='$SHELL'
3468  export CONFIG_SHELL
3469  exec "\$@"
3470fi
3471
3472_ACEOF
3473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3474exec 5>>config.log
3475{
3476  echo
3477  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3478## Running $as_me. ##
3479_ASBOX
3480  $as_echo "$ac_log"
3481} >&5
3482
3483_ACEOF
3484cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3485_ACEOF
3486
3487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3488
3489# Handling of arguments.
3490for ac_config_target in $ac_config_targets
3491do
3492  case $ac_config_target in
3493    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3494    "plugins-scripts/Makefile") CONFIG_FILES="$CONFIG_FILES plugins-scripts/Makefile" ;;
3495    "plugins-scripts/subst") CONFIG_FILES="$CONFIG_FILES plugins-scripts/subst" ;;
3496
3497  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3498  esac
3499done
3500
3501
3502# If the user did not use the arguments to specify the items to instantiate,
3503# then the envvar interface is used.  Set only those that are not.
3504# We use the long form for the default assignment because of an extremely
3505# bizarre bug on SunOS 4.1.3.
3506if $ac_need_defaults; then
3507  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3508fi
3509
3510# Have a temporary directory for convenience.  Make it in the build tree
3511# simply because there is no reason against having it here, and in addition,
3512# creating and moving files from /tmp can sometimes cause problems.
3513# Hook for its removal unless debugging.
3514# Note that there is a small window in which the directory will not be cleaned:
3515# after its creation but before its name has been assigned to `$tmp'.
3516$debug ||
3517{
3518  tmp= ac_tmp=
3519  trap 'exit_status=$?
3520  : "${ac_tmp:=$tmp}"
3521  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3522' 0
3523  trap 'as_fn_exit 1' 1 2 13 15
3524}
3525# Create a (secure) tmp directory for tmp files.
3526
3527{
3528  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3529  test -d "$tmp"
3530}  ||
3531{
3532  tmp=./conf$$-$RANDOM
3533  (umask 077 && mkdir "$tmp")
3534} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3535ac_tmp=$tmp
3536
3537# Set up the scripts for CONFIG_FILES section.
3538# No need to generate them if there are no CONFIG_FILES.
3539# This happens for instance with `./config.status config.h'.
3540if test -n "$CONFIG_FILES"; then
3541
3542
3543ac_cr=`echo X | tr X '\015'`
3544# On cygwin, bash can eat \r inside `` if the user requested igncr.
3545# But we know of no other shell where ac_cr would be empty at this
3546# point, so we can use a bashism as a fallback.
3547if test "x$ac_cr" = x; then
3548  eval ac_cr=\$\'\\r\'
3549fi
3550ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3551if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3552  ac_cs_awk_cr='\\r'
3553else
3554  ac_cs_awk_cr=$ac_cr
3555fi
3556
3557echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3558_ACEOF
3559
3560
3561{
3562  echo "cat >conf$$subs.awk <<_ACEOF" &&
3563  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3564  echo "_ACEOF"
3565} >conf$$subs.sh ||
3566  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3567ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3568ac_delim='%!_!# '
3569for ac_last_try in false false false false false :; do
3570  . ./conf$$subs.sh ||
3571    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3572
3573  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3574  if test $ac_delim_n = $ac_delim_num; then
3575    break
3576  elif $ac_last_try; then
3577    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3578  else
3579    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3580  fi
3581done
3582rm -f conf$$subs.sh
3583
3584cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3585cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3586_ACEOF
3587sed -n '
3588h
3589s/^/S["/; s/!.*/"]=/
3590p
3591g
3592s/^[^!]*!//
3593:repl
3594t repl
3595s/'"$ac_delim"'$//
3596t delim
3597:nl
3598h
3599s/\(.\{148\}\)..*/\1/
3600t more1
3601s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3602p
3603n
3604b repl
3605:more1
3606s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3607p
3608g
3609s/.\{148\}//
3610t nl
3611:delim
3612h
3613s/\(.\{148\}\)..*/\1/
3614t more2
3615s/["\\]/\\&/g; s/^/"/; s/$/"/
3616p
3617b
3618:more2
3619s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3620p
3621g
3622s/.\{148\}//
3623t delim
3624' <conf$$subs.awk | sed '
3625/^[^""]/{
3626  N
3627  s/\n//
3628}
3629' >>$CONFIG_STATUS || ac_write_fail=1
3630rm -f conf$$subs.awk
3631cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3632_ACAWK
3633cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3634  for (key in S) S_is_set[key] = 1
3635  FS = ""
3636
3637}
3638{
3639  line = $ 0
3640  nfields = split(line, field, "@")
3641  substed = 0
3642  len = length(field[1])
3643  for (i = 2; i < nfields; i++) {
3644    key = field[i]
3645    keylen = length(key)
3646    if (S_is_set[key]) {
3647      value = S[key]
3648      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3649      len += length(value) + length(field[++i])
3650      substed = 1
3651    } else
3652      len += 1 + keylen
3653  }
3654
3655  print line
3656}
3657
3658_ACAWK
3659_ACEOF
3660cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3661if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3662  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3663else
3664  cat
3665fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3666  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3667_ACEOF
3668
3669# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3670# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3671# trailing colons and then remove the whole line if VPATH becomes empty
3672# (actually we leave an empty line to preserve line numbers).
3673if test "x$srcdir" = x.; then
3674  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3675h
3676s///
3677s/^/:/
3678s/[	 ]*$/:/
3679s/:\$(srcdir):/:/g
3680s/:\${srcdir}:/:/g
3681s/:@srcdir@:/:/g
3682s/^:*//
3683s/:*$//
3684x
3685s/\(=[	 ]*\).*/\1/
3686G
3687s/\n//
3688s/^[^=]*=[	 ]*$//
3689}'
3690fi
3691
3692cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3693fi # test -n "$CONFIG_FILES"
3694
3695
3696eval set X "  :F $CONFIG_FILES      "
3697shift
3698for ac_tag
3699do
3700  case $ac_tag in
3701  :[FHLC]) ac_mode=$ac_tag; continue;;
3702  esac
3703  case $ac_mode$ac_tag in
3704  :[FHL]*:*);;
3705  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3706  :[FH]-) ac_tag=-:-;;
3707  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3708  esac
3709  ac_save_IFS=$IFS
3710  IFS=:
3711  set x $ac_tag
3712  IFS=$ac_save_IFS
3713  shift
3714  ac_file=$1
3715  shift
3716
3717  case $ac_mode in
3718  :L) ac_source=$1;;
3719  :[FH])
3720    ac_file_inputs=
3721    for ac_f
3722    do
3723      case $ac_f in
3724      -) ac_f="$ac_tmp/stdin";;
3725      *) # Look for the file first in the build tree, then in the source tree
3726	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3727	 # because $ac_f cannot contain `:'.
3728	 test -f "$ac_f" ||
3729	   case $ac_f in
3730	   [\\/$]*) false;;
3731	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3732	   esac ||
3733	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3734      esac
3735      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3736      as_fn_append ac_file_inputs " '$ac_f'"
3737    done
3738
3739    # Let's still pretend it is `configure' which instantiates (i.e., don't
3740    # use $as_me), people would be surprised to read:
3741    #    /* config.h.  Generated by config.status.  */
3742    configure_input='Generated from '`
3743	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3744	`' by configure.'
3745    if test x"$ac_file" != x-; then
3746      configure_input="$ac_file.  $configure_input"
3747      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3748$as_echo "$as_me: creating $ac_file" >&6;}
3749    fi
3750    # Neutralize special characters interpreted by sed in replacement strings.
3751    case $configure_input in #(
3752    *\&* | *\|* | *\\* )
3753       ac_sed_conf_input=`$as_echo "$configure_input" |
3754       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3755    *) ac_sed_conf_input=$configure_input;;
3756    esac
3757
3758    case $ac_tag in
3759    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3760      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3761    esac
3762    ;;
3763  esac
3764
3765  ac_dir=`$as_dirname -- "$ac_file" ||
3766$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3767	 X"$ac_file" : 'X\(//\)[^/]' \| \
3768	 X"$ac_file" : 'X\(//\)$' \| \
3769	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3770$as_echo X"$ac_file" |
3771    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3772	    s//\1/
3773	    q
3774	  }
3775	  /^X\(\/\/\)[^/].*/{
3776	    s//\1/
3777	    q
3778	  }
3779	  /^X\(\/\/\)$/{
3780	    s//\1/
3781	    q
3782	  }
3783	  /^X\(\/\).*/{
3784	    s//\1/
3785	    q
3786	  }
3787	  s/.*/./; q'`
3788  as_dir="$ac_dir"; as_fn_mkdir_p
3789  ac_builddir=.
3790
3791case "$ac_dir" in
3792.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3793*)
3794  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3795  # A ".." for each directory in $ac_dir_suffix.
3796  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3797  case $ac_top_builddir_sub in
3798  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3799  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3800  esac ;;
3801esac
3802ac_abs_top_builddir=$ac_pwd
3803ac_abs_builddir=$ac_pwd$ac_dir_suffix
3804# for backward compatibility:
3805ac_top_builddir=$ac_top_build_prefix
3806
3807case $srcdir in
3808  .)  # We are building in place.
3809    ac_srcdir=.
3810    ac_top_srcdir=$ac_top_builddir_sub
3811    ac_abs_top_srcdir=$ac_pwd ;;
3812  [\\/]* | ?:[\\/]* )  # Absolute name.
3813    ac_srcdir=$srcdir$ac_dir_suffix;
3814    ac_top_srcdir=$srcdir
3815    ac_abs_top_srcdir=$srcdir ;;
3816  *) # Relative name.
3817    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3818    ac_top_srcdir=$ac_top_build_prefix$srcdir
3819    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3820esac
3821ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3822
3823
3824  case $ac_mode in
3825  :F)
3826  #
3827  # CONFIG_FILE
3828  #
3829
3830  case $INSTALL in
3831  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3832  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3833  esac
3834  ac_MKDIR_P=$MKDIR_P
3835  case $MKDIR_P in
3836  [\\/$]* | ?:[\\/]* ) ;;
3837  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3838  esac
3839_ACEOF
3840
3841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3842# If the template does not know about datarootdir, expand it.
3843# FIXME: This hack should be removed a few years after 2.60.
3844ac_datarootdir_hack=; ac_datarootdir_seen=
3845ac_sed_dataroot='
3846/datarootdir/ {
3847  p
3848  q
3849}
3850/@datadir@/p
3851/@docdir@/p
3852/@infodir@/p
3853/@localedir@/p
3854/@mandir@/p'
3855case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3856*datarootdir*) ac_datarootdir_seen=yes;;
3857*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3858  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3859$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3860_ACEOF
3861cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3862  ac_datarootdir_hack='
3863  s&@datadir@&$datadir&g
3864  s&@docdir@&$docdir&g
3865  s&@infodir@&$infodir&g
3866  s&@localedir@&$localedir&g
3867  s&@mandir@&$mandir&g
3868  s&\\\${datarootdir}&$datarootdir&g' ;;
3869esac
3870_ACEOF
3871
3872# Neutralize VPATH when `$srcdir' = `.'.
3873# Shell code in configure.ac might set extrasub.
3874# FIXME: do we really want to maintain this feature?
3875cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3876ac_sed_extra="$ac_vpsub
3877$extrasub
3878_ACEOF
3879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3880:t
3881/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3882s|@configure_input@|$ac_sed_conf_input|;t t
3883s&@top_builddir@&$ac_top_builddir_sub&;t t
3884s&@top_build_prefix@&$ac_top_build_prefix&;t t
3885s&@srcdir@&$ac_srcdir&;t t
3886s&@abs_srcdir@&$ac_abs_srcdir&;t t
3887s&@top_srcdir@&$ac_top_srcdir&;t t
3888s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3889s&@builddir@&$ac_builddir&;t t
3890s&@abs_builddir@&$ac_abs_builddir&;t t
3891s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3892s&@INSTALL@&$ac_INSTALL&;t t
3893s&@MKDIR_P@&$ac_MKDIR_P&;t t
3894$ac_datarootdir_hack
3895"
3896eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3897  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3898
3899test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3900  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3901  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3902      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3903  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3904which seems to be undefined.  Please make sure it is defined" >&5
3905$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3906which seems to be undefined.  Please make sure it is defined" >&2;}
3907
3908  rm -f "$ac_tmp/stdin"
3909  case $ac_file in
3910  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3911  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3912  esac \
3913  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3914 ;;
3915
3916
3917
3918  esac
3919
3920done # for ac_tag
3921
3922
3923as_fn_exit 0
3924_ACEOF
3925ac_clean_files=$ac_clean_files_save
3926
3927test $ac_write_fail = 0 ||
3928  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3929
3930
3931# configure is writing to config.log, and then calls config.status.
3932# config.status does its own redirection, appending to config.log.
3933# Unfortunately, on DOS this fails, as config.log is still kept open
3934# by configure, so config.status won't be able to write to it; its
3935# output is simply discarded.  So we exec the FD to /dev/null,
3936# effectively closing config.log, so it can be properly (re)opened and
3937# appended to by config.status.  When coming back to configure, we
3938# need to make the FD available again.
3939if test "$no_create" != yes; then
3940  ac_cs_success=:
3941  ac_config_status_args=
3942  test "$silent" = yes &&
3943    ac_config_status_args="$ac_config_status_args --quiet"
3944  exec 5>/dev/null
3945  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3946  exec 5>>config.log
3947  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3948  # would make configure fail if this is the last instruction.
3949  $ac_cs_success || as_fn_exit 1
3950fi
3951if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3952  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3953$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3954fi
3955
3956
3957echo "                       --with-perl: $with_perl"
3958echo "                --with-nagios-user: $with_nagios_user"
3959echo "               --with-nagios-group: $with_nagios_group"
3960echo "              --disable-standalone: $disable_standalone"
3961