"Fossies" - the Fresh Open Source Software Archive

Member "monit-5.28.0/configure" (28 Mar 2021, 733110 Bytes) of package /linux/privat/monit-5.28.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 5.27.2_vs_5.28.0.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for monit 5.28.0.
    4 #
    5 # Report bugs to <monit-general@nongnu.org>.
    6 #
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
   10 #
   11 # This configure script is free software; the Free Software Foundation
   12 # gives unlimited permission to copy, distribute and modify it.
   13 ## -------------------- ##
   14 ## M4sh Initialization. ##
   15 ## -------------------- ##
   16 
   17 # Be more Bourne compatible
   18 DUALCASE=1; export DUALCASE # for MKS sh
   19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20   emulate sh
   21   NULLCMD=:
   22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23   # is contrary to our usage.  Disable this feature.
   24   alias -g '${1+"$@"}'='"$@"'
   25   setopt NO_GLOB_SUBST
   26 else
   27   case `(set -o) 2>/dev/null` in #(
   28   *posix*) :
   29     set -o posix ;; #(
   30   *) :
   31      ;;
   32 esac
   33 fi
   34 
   35 
   36 as_nl='
   37 '
   38 export as_nl
   39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43 # Prefer a ksh shell builtin over an external printf program on Solaris,
   44 # but without wasting forks for bash or zsh.
   45 if test -z "$BASH_VERSION$ZSH_VERSION" \
   46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47   as_echo='print -r --'
   48   as_echo_n='print -rn --'
   49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50   as_echo='printf %s\n'
   51   as_echo_n='printf %s'
   52 else
   53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55     as_echo_n='/usr/ucb/echo -n'
   56   else
   57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58     as_echo_n_body='eval
   59       arg=$1;
   60       case $arg in #(
   61       *"$as_nl"*)
   62     expr "X$arg" : "X\\(.*\\)$as_nl";
   63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64       esac;
   65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66     '
   67     export as_echo_n_body
   68     as_echo_n='sh -c $as_echo_n_body as_echo'
   69   fi
   70   export as_echo_body
   71   as_echo='sh -c $as_echo_body as_echo'
   72 fi
   73 
   74 # The user is always right.
   75 if test "${PATH_SEPARATOR+set}" != set; then
   76   PATH_SEPARATOR=:
   77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79       PATH_SEPARATOR=';'
   80   }
   81 fi
   82 
   83 
   84 # IFS
   85 # We need space, tab and new line, in precisely that order.  Quoting is
   86 # there to prevent editors from complaining about space-tab.
   87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88 # splitting by setting IFS to empty value.)
   89 IFS=" ""    $as_nl"
   90 
   91 # Find who we are.  Look in the path if we contain no directory separator.
   92 as_myself=
   93 case $0 in #((
   94   *[\\/]* ) as_myself=$0 ;;
   95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96 for as_dir in $PATH
   97 do
   98   IFS=$as_save_IFS
   99   test -z "$as_dir" && as_dir=.
  100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101   done
  102 IFS=$as_save_IFS
  103 
  104      ;;
  105 esac
  106 # We did not find ourselves, most probably we were run as `sh COMMAND'
  107 # in which case we are not to be found in the path.
  108 if test "x$as_myself" = x; then
  109   as_myself=$0
  110 fi
  111 if test ! -f "$as_myself"; then
  112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113   exit 1
  114 fi
  115 
  116 # Unset variables that we do not need and which cause bugs (e.g. in
  117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118 # suppresses any "Segmentation fault" message there.  '((' could
  119 # trigger a bug in pdksh 5.2.14.
  120 for as_var in BASH_ENV ENV MAIL MAILPATH
  121 do eval test x\${$as_var+set} = xset \
  122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123 done
  124 PS1='$ '
  125 PS2='> '
  126 PS4='+ '
  127 
  128 # NLS nuisances.
  129 LC_ALL=C
  130 export LC_ALL
  131 LANGUAGE=C
  132 export LANGUAGE
  133 
  134 # CDPATH.
  135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136 
  137 # Use a proper internal environment variable to ensure we don't fall
  138   # into an infinite loop, continuously re-executing ourselves.
  139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140     _as_can_reexec=no; export _as_can_reexec;
  141     # We cannot yet assume a decent shell, so we have to provide a
  142 # neutralization value for shells without unset; and this also
  143 # works around shells that cannot unset nonexistent variables.
  144 # Preserve -v and -x to the replacement shell.
  145 BASH_ENV=/dev/null
  146 ENV=/dev/null
  147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148 case $- in # ((((
  149   *v*x* | *x*v* ) as_opts=-vx ;;
  150   *v* ) as_opts=-v ;;
  151   *x* ) as_opts=-x ;;
  152   * ) as_opts= ;;
  153 esac
  154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155 # Admittedly, this is quite paranoid, since all the known shells bail
  156 # out after a failed `exec'.
  157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158 as_fn_exit 255
  159   fi
  160   # We don't want this to propagate to other subprocesses.
  161           { _as_can_reexec=; unset _as_can_reexec;}
  162 if test "x$CONFIG_SHELL" = x; then
  163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164   emulate sh
  165   NULLCMD=:
  166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167   # is contrary to our usage.  Disable this feature.
  168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169   setopt NO_GLOB_SUBST
  170 else
  171   case \`(set -o) 2>/dev/null\` in #(
  172   *posix*) :
  173     set -o posix ;; #(
  174   *) :
  175      ;;
  176 esac
  177 fi
  178 "
  179   as_required="as_fn_return () { (exit \$1); }
  180 as_fn_success () { as_fn_return 0; }
  181 as_fn_failure () { as_fn_return 1; }
  182 as_fn_ret_success () { return 0; }
  183 as_fn_ret_failure () { return 1; }
  184 
  185 exitcode=0
  186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191 
  192 else
  193   exitcode=1; echo positional parameters were not saved.
  194 fi
  195 test x\$exitcode = x0 || exit 1
  196 test -x / || exit 1"
  197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201 
  202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  206     PATH=/empty FPATH=/empty; export PATH FPATH
  207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  209 test \$(( 1 + 1 )) = 2 || exit 1"
  210   if (eval "$as_required") 2>/dev/null; then :
  211   as_have_required=yes
  212 else
  213   as_have_required=no
  214 fi
  215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  216 
  217 else
  218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  219 as_found=false
  220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  221 do
  222   IFS=$as_save_IFS
  223   test -z "$as_dir" && as_dir=.
  224   as_found=:
  225   case $as_dir in #(
  226      /*)
  227        for as_base in sh bash ksh sh5; do
  228          # Try only shells that exist, to save several forks.
  229          as_shell=$as_dir/$as_base
  230          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  231             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232   CONFIG_SHELL=$as_shell as_have_required=yes
  233            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  234   break 2
  235 fi
  236 fi
  237        done;;
  238        esac
  239   as_found=false
  240 done
  241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  242           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  243   CONFIG_SHELL=$SHELL as_have_required=yes
  244 fi; }
  245 IFS=$as_save_IFS
  246 
  247 
  248       if test "x$CONFIG_SHELL" != x; then :
  249   export CONFIG_SHELL
  250              # We cannot yet assume a decent shell, so we have to provide a
  251 # neutralization value for shells without unset; and this also
  252 # works around shells that cannot unset nonexistent variables.
  253 # Preserve -v and -x to the replacement shell.
  254 BASH_ENV=/dev/null
  255 ENV=/dev/null
  256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  257 case $- in # ((((
  258   *v*x* | *x*v* ) as_opts=-vx ;;
  259   *v* ) as_opts=-v ;;
  260   *x* ) as_opts=-x ;;
  261   * ) as_opts= ;;
  262 esac
  263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  264 # Admittedly, this is quite paranoid, since all the known shells bail
  265 # out after a failed `exec'.
  266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  267 exit 255
  268 fi
  269 
  270     if test x$as_have_required = xno; then :
  271   $as_echo "$0: This script requires a shell more modern than all"
  272   $as_echo "$0: the shells that I found on your system."
  273   if test x${ZSH_VERSION+set} = xset ; then
  274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  276   else
  277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  278 $0: monit-general@nongnu.org about your system, including
  279 $0: any error possibly output before this message. Then
  280 $0: install a modern shell, or manually run the script
  281 $0: under such a shell if you do have one."
  282   fi
  283   exit 1
  284 fi
  285 fi
  286 fi
  287 SHELL=${CONFIG_SHELL-/bin/sh}
  288 export SHELL
  289 # Unset more variables known to interfere with behavior of common tools.
  290 CLICOLOR_FORCE= GREP_OPTIONS=
  291 unset CLICOLOR_FORCE GREP_OPTIONS
  292 
  293 ## --------------------- ##
  294 ## M4sh Shell Functions. ##
  295 ## --------------------- ##
  296 # as_fn_unset VAR
  297 # ---------------
  298 # Portably unset VAR.
  299 as_fn_unset ()
  300 {
  301   { eval $1=; unset $1;}
  302 }
  303 as_unset=as_fn_unset
  304 
  305 # as_fn_set_status STATUS
  306 # -----------------------
  307 # Set $? to STATUS, without forking.
  308 as_fn_set_status ()
  309 {
  310   return $1
  311 } # as_fn_set_status
  312 
  313 # as_fn_exit STATUS
  314 # -----------------
  315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  316 as_fn_exit ()
  317 {
  318   set +e
  319   as_fn_set_status $1
  320   exit $1
  321 } # as_fn_exit
  322 
  323 # as_fn_mkdir_p
  324 # -------------
  325 # Create "$as_dir" as a directory, including parents if necessary.
  326 as_fn_mkdir_p ()
  327 {
  328 
  329   case $as_dir in #(
  330   -*) as_dir=./$as_dir;;
  331   esac
  332   test -d "$as_dir" || eval $as_mkdir_p || {
  333     as_dirs=
  334     while :; do
  335       case $as_dir in #(
  336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  337       *) as_qdir=$as_dir;;
  338       esac
  339       as_dirs="'$as_qdir' $as_dirs"
  340       as_dir=`$as_dirname -- "$as_dir" ||
  341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  342      X"$as_dir" : 'X\(//\)[^/]' \| \
  343      X"$as_dir" : 'X\(//\)$' \| \
  344      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  345 $as_echo X"$as_dir" |
  346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  347         s//\1/
  348         q
  349       }
  350       /^X\(\/\/\)[^/].*/{
  351         s//\1/
  352         q
  353       }
  354       /^X\(\/\/\)$/{
  355         s//\1/
  356         q
  357       }
  358       /^X\(\/\).*/{
  359         s//\1/
  360         q
  361       }
  362       s/.*/./; q'`
  363       test -d "$as_dir" && break
  364     done
  365     test -z "$as_dirs" || eval "mkdir $as_dirs"
  366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  367 
  368 
  369 } # as_fn_mkdir_p
  370 
  371 # as_fn_executable_p FILE
  372 # -----------------------
  373 # Test if FILE is an executable regular file.
  374 as_fn_executable_p ()
  375 {
  376   test -f "$1" && test -x "$1"
  377 } # as_fn_executable_p
  378 # as_fn_append VAR VALUE
  379 # ----------------------
  380 # Append the text in VALUE to the end of the definition contained in VAR. Take
  381 # advantage of any shell optimizations that allow amortized linear growth over
  382 # repeated appends, instead of the typical quadratic growth present in naive
  383 # implementations.
  384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  385   eval 'as_fn_append ()
  386   {
  387     eval $1+=\$2
  388   }'
  389 else
  390   as_fn_append ()
  391   {
  392     eval $1=\$$1\$2
  393   }
  394 fi # as_fn_append
  395 
  396 # as_fn_arith ARG...
  397 # ------------------
  398 # Perform arithmetic evaluation on the ARGs, and store the result in the
  399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  400 # must be portable across $(()) and expr.
  401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  402   eval 'as_fn_arith ()
  403   {
  404     as_val=$(( $* ))
  405   }'
  406 else
  407   as_fn_arith ()
  408   {
  409     as_val=`expr "$@" || test $? -eq 1`
  410   }
  411 fi # as_fn_arith
  412 
  413 
  414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  415 # ----------------------------------------
  416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  418 # script with STATUS, using 1 if that was 0.
  419 as_fn_error ()
  420 {
  421   as_status=$1; test $as_status -eq 0 && as_status=1
  422   if test "$4"; then
  423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  425   fi
  426   $as_echo "$as_me: error: $2" >&2
  427   as_fn_exit $as_status
  428 } # as_fn_error
  429 
  430 if expr a : '\(a\)' >/dev/null 2>&1 &&
  431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  432   as_expr=expr
  433 else
  434   as_expr=false
  435 fi
  436 
  437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  438   as_basename=basename
  439 else
  440   as_basename=false
  441 fi
  442 
  443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  444   as_dirname=dirname
  445 else
  446   as_dirname=false
  447 fi
  448 
  449 as_me=`$as_basename -- "$0" ||
  450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  451      X"$0" : 'X\(//\)$' \| \
  452      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  453 $as_echo X/"$0" |
  454     sed '/^.*\/\([^/][^/]*\)\/*$/{
  455         s//\1/
  456         q
  457       }
  458       /^X\/\(\/\/\)$/{
  459         s//\1/
  460         q
  461       }
  462       /^X\/\(\/\).*/{
  463         s//\1/
  464         q
  465       }
  466       s/.*/./; q'`
  467 
  468 # Avoid depending upon Character Ranges.
  469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  472 as_cr_digits='0123456789'
  473 as_cr_alnum=$as_cr_Letters$as_cr_digits
  474 
  475 
  476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  481   sed -n '
  482     p
  483     /[$]LINENO/=
  484   ' <$as_myself |
  485     sed '
  486       s/[$]LINENO.*/&-/
  487       t lineno
  488       b
  489       :lineno
  490       N
  491       :loop
  492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  493       t loop
  494       s/-\n.*//
  495     ' >$as_me.lineno &&
  496   chmod +x "$as_me.lineno" ||
  497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  498 
  499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  500   # already done that, so ensure we don't try to do so again and fall
  501   # in an infinite loop.  This has already happened in practice.
  502   _as_can_reexec=no; export _as_can_reexec
  503   # Don't try to exec as it changes $[0], causing all sort of problems
  504   # (the dirname of $[0] is not the place where we might find the
  505   # original and so on.  Autoconf is especially sensitive to this).
  506   . "./$as_me.lineno"
  507   # Exit status is that of the last command.
  508   exit
  509 }
  510 
  511 ECHO_C= ECHO_N= ECHO_T=
  512 case `echo -n x` in #(((((
  513 -n*)
  514   case `echo 'xy\c'` in
  515   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  516   xy)  ECHO_C='\c';;
  517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  518        ECHO_T=' ';;
  519   esac;;
  520 *)
  521   ECHO_N='-n';;
  522 esac
  523 
  524 rm -f conf$$ conf$$.exe conf$$.file
  525 if test -d conf$$.dir; then
  526   rm -f conf$$.dir/conf$$.file
  527 else
  528   rm -f conf$$.dir
  529   mkdir conf$$.dir 2>/dev/null
  530 fi
  531 if (echo >conf$$.file) 2>/dev/null; then
  532   if ln -s conf$$.file conf$$ 2>/dev/null; then
  533     as_ln_s='ln -s'
  534     # ... but there are two gotchas:
  535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  537     # In both cases, we have to default to `cp -pR'.
  538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  539       as_ln_s='cp -pR'
  540   elif ln conf$$.file conf$$ 2>/dev/null; then
  541     as_ln_s=ln
  542   else
  543     as_ln_s='cp -pR'
  544   fi
  545 else
  546   as_ln_s='cp -pR'
  547 fi
  548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  549 rmdir conf$$.dir 2>/dev/null
  550 
  551 if mkdir -p . 2>/dev/null; then
  552   as_mkdir_p='mkdir -p "$as_dir"'
  553 else
  554   test -d ./-p && rmdir ./-p
  555   as_mkdir_p=false
  556 fi
  557 
  558 as_test_x='test -x'
  559 as_executable_p=as_fn_executable_p
  560 
  561 # Sed expression to map a string onto a valid CPP name.
  562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  563 
  564 # Sed expression to map a string onto a valid variable name.
  565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  566 
  567 SHELL=${CONFIG_SHELL-/bin/sh}
  568 
  569 
  570 test -n "$DJDIR" || exec 7<&0 </dev/null
  571 exec 6>&1
  572 
  573 # Name of the host.
  574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  575 # so uname gets run too.
  576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  577 
  578 #
  579 # Initializations.
  580 #
  581 ac_default_prefix=/usr/local
  582 ac_clean_files=
  583 ac_config_libobj_dir=.
  584 LIBOBJS=
  585 cross_compiling=no
  586 subdirs=
  587 MFLAGS=
  588 MAKEFLAGS=
  589 
  590 # Identity of this package.
  591 PACKAGE_NAME='monit'
  592 PACKAGE_TARNAME='monit'
  593 PACKAGE_VERSION='5.28.0'
  594 PACKAGE_STRING='monit 5.28.0'
  595 PACKAGE_BUGREPORT='monit-general@nongnu.org'
  596 PACKAGE_URL=''
  597 
  598 ac_unique_file="src/monit.c"
  599 enable_option_checking=no
  600 # Factoring default headers for most tests.
  601 ac_includes_default="\
  602 #include <stdio.h>
  603 #ifdef HAVE_SYS_TYPES_H
  604 # include <sys/types.h>
  605 #endif
  606 #ifdef HAVE_SYS_STAT_H
  607 # include <sys/stat.h>
  608 #endif
  609 #ifdef STDC_HEADERS
  610 # include <stdlib.h>
  611 # include <stddef.h>
  612 #else
  613 # ifdef HAVE_STDLIB_H
  614 #  include <stdlib.h>
  615 # endif
  616 #endif
  617 #ifdef HAVE_STRING_H
  618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  619 #  include <memory.h>
  620 # endif
  621 # include <string.h>
  622 #endif
  623 #ifdef HAVE_STRINGS_H
  624 # include <strings.h>
  625 #endif
  626 #ifdef HAVE_INTTYPES_H
  627 # include <inttypes.h>
  628 #endif
  629 #ifdef HAVE_STDINT_H
  630 # include <stdint.h>
  631 #endif
  632 #ifdef HAVE_UNISTD_H
  633 # include <unistd.h>
  634 #endif"
  635 
  636 ac_subst_vars='am__EXEEXT_FALSE
  637 am__EXEEXT_TRUE
  638 LTLIBOBJS
  639 WITH_CODESIGN_FALSE
  640 WITH_CODESIGN_TRUE
  641 CODESIGN_IDENTITY
  642 ssllibdir
  643 sslincldir
  644 ARCH
  645 CXXCPP
  646 am__fastdepCXX_FALSE
  647 am__fastdepCXX_TRUE
  648 CXXDEPMODE
  649 ac_ct_CXX
  650 CXXFLAGS
  651 CXX
  652 LIBOBJS
  653 CPP
  654 LT_SYS_LIBRARY_PATH
  655 OTOOL64
  656 OTOOL
  657 LIPO
  658 NMEDIT
  659 DSYMUTIL
  660 MANIFEST_TOOL
  661 RANLIB
  662 ac_ct_AR
  663 AR
  664 DLLTOOL
  665 OBJDUMP
  666 LN_S
  667 NM
  668 ac_ct_DUMPBIN
  669 DUMPBIN
  670 LD
  671 FGREP
  672 EGREP
  673 GREP
  674 SED
  675 host_os
  676 host_vendor
  677 host_cpu
  678 host
  679 build_os
  680 build_vendor
  681 build_cpu
  682 build
  683 LIBTOOL
  684 POD2MANFLAGS
  685 POD2MAN
  686 FLEX
  687 YACC
  688 am__fastdepCC_FALSE
  689 am__fastdepCC_TRUE
  690 CCDEPMODE
  691 am__nodep
  692 AMDEPBACKSLASH
  693 AMDEP_FALSE
  694 AMDEP_TRUE
  695 am__include
  696 DEPDIR
  697 OBJEXT
  698 EXEEXT
  699 ac_ct_CC
  700 CPPFLAGS
  701 LDFLAGS
  702 CFLAGS
  703 CC
  704 subdirs
  705 AM_BACKSLASH
  706 AM_DEFAULT_VERBOSITY
  707 AM_DEFAULT_V
  708 AM_V
  709 am__untar
  710 am__tar
  711 AMTAR
  712 am__leading_dot
  713 SET_MAKE
  714 AWK
  715 mkdir_p
  716 MKDIR_P
  717 INSTALL_STRIP_PROGRAM
  718 STRIP
  719 install_sh
  720 MAKEINFO
  721 AUTOHEADER
  722 AUTOMAKE
  723 AUTOCONF
  724 ACLOCAL
  725 VERSION
  726 PACKAGE
  727 CYGPATH_W
  728 am__isrc
  729 INSTALL_DATA
  730 INSTALL_SCRIPT
  731 INSTALL_PROGRAM
  732 target_alias
  733 host_alias
  734 build_alias
  735 LIBS
  736 ECHO_T
  737 ECHO_N
  738 ECHO_C
  739 DEFS
  740 mandir
  741 localedir
  742 libdir
  743 psdir
  744 pdfdir
  745 dvidir
  746 htmldir
  747 infodir
  748 docdir
  749 oldincludedir
  750 includedir
  751 runstatedir
  752 localstatedir
  753 sharedstatedir
  754 sysconfdir
  755 datadir
  756 datarootdir
  757 libexecdir
  758 sbindir
  759 bindir
  760 program_transform_name
  761 prefix
  762 exec_prefix
  763 PACKAGE_URL
  764 PACKAGE_BUGREPORT
  765 PACKAGE_STRING
  766 PACKAGE_VERSION
  767 PACKAGE_TARNAME
  768 PACKAGE_NAME
  769 PATH_SEPARATOR
  770 SHELL
  771 am__quote'
  772 ac_subst_files=''
  773 ac_user_opts='
  774 enable_option_checking
  775 enable_silent_rules
  776 enable_dependency_tracking
  777 enable_static
  778 enable_shared
  779 with_pic
  780 enable_fast_install
  781 with_aix_soname
  782 with_gnu_ld
  783 with_sysroot
  784 enable_libtool_lock
  785 with_ipv6
  786 with_largefiles
  787 enable_largefile
  788 with_zlib
  789 with_pam
  790 with_asan
  791 with_ssl_static
  792 with_ssl
  793 with_ssl_dir
  794 with_ssl_incl_dir
  795 with_ssl_lib_dir
  796 enable_optimized
  797 enable_profiling
  798 enable_codesign
  799 '
  800       ac_precious_vars='build_alias
  801 host_alias
  802 target_alias
  803 CC
  804 CFLAGS
  805 LDFLAGS
  806 LIBS
  807 CPPFLAGS
  808 LT_SYS_LIBRARY_PATH
  809 CPP
  810 CXX
  811 CXXFLAGS
  812 CCC
  813 CXXCPP'
  814 ac_subdirs_all='libmonit'
  815 
  816 # Initialize some variables set by options.
  817 ac_init_help=
  818 ac_init_version=false
  819 ac_unrecognized_opts=
  820 ac_unrecognized_sep=
  821 # The variables have the same names as the options, with
  822 # dashes changed to underlines.
  823 cache_file=/dev/null
  824 exec_prefix=NONE
  825 no_create=
  826 no_recursion=
  827 prefix=NONE
  828 program_prefix=NONE
  829 program_suffix=NONE
  830 program_transform_name=s,x,x,
  831 silent=
  832 site=
  833 srcdir=
  834 verbose=
  835 x_includes=NONE
  836 x_libraries=NONE
  837 
  838 # Installation directory options.
  839 # These are left unexpanded so users can "make install exec_prefix=/foo"
  840 # and all the variables that are supposed to be based on exec_prefix
  841 # by default will actually change.
  842 # Use braces instead of parens because sh, perl, etc. also accept them.
  843 # (The list follows the same order as the GNU Coding Standards.)
  844 bindir='${exec_prefix}/bin'
  845 sbindir='${exec_prefix}/sbin'
  846 libexecdir='${exec_prefix}/libexec'
  847 datarootdir='${prefix}/share'
  848 datadir='${datarootdir}'
  849 sysconfdir='${prefix}/etc'
  850 sharedstatedir='${prefix}/com'
  851 localstatedir='${prefix}/var'
  852 runstatedir='${localstatedir}/run'
  853 includedir='${prefix}/include'
  854 oldincludedir='/usr/include'
  855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  856 infodir='${datarootdir}/info'
  857 htmldir='${docdir}'
  858 dvidir='${docdir}'
  859 pdfdir='${docdir}'
  860 psdir='${docdir}'
  861 libdir='${exec_prefix}/lib'
  862 localedir='${datarootdir}/locale'
  863 mandir='${datarootdir}/man'
  864 
  865 ac_prev=
  866 ac_dashdash=
  867 for ac_option
  868 do
  869   # If the previous option needs an argument, assign it.
  870   if test -n "$ac_prev"; then
  871     eval $ac_prev=\$ac_option
  872     ac_prev=
  873     continue
  874   fi
  875 
  876   case $ac_option in
  877   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  878   *=)   ac_optarg= ;;
  879   *)    ac_optarg=yes ;;
  880   esac
  881 
  882   # Accept the important Cygnus configure options, so we can diagnose typos.
  883 
  884   case $ac_dashdash$ac_option in
  885   --)
  886     ac_dashdash=yes ;;
  887 
  888   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  889     ac_prev=bindir ;;
  890   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  891     bindir=$ac_optarg ;;
  892 
  893   -build | --build | --buil | --bui | --bu)
  894     ac_prev=build_alias ;;
  895   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  896     build_alias=$ac_optarg ;;
  897 
  898   -cache-file | --cache-file | --cache-fil | --cache-fi \
  899   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  900     ac_prev=cache_file ;;
  901   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  902   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  903     cache_file=$ac_optarg ;;
  904 
  905   --config-cache | -C)
  906     cache_file=config.cache ;;
  907 
  908   -datadir | --datadir | --datadi | --datad)
  909     ac_prev=datadir ;;
  910   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  911     datadir=$ac_optarg ;;
  912 
  913   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  914   | --dataroo | --dataro | --datar)
  915     ac_prev=datarootdir ;;
  916   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  917   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  918     datarootdir=$ac_optarg ;;
  919 
  920   -disable-* | --disable-*)
  921     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  922     # Reject names that are not valid shell variable names.
  923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  924       as_fn_error $? "invalid feature name: $ac_useropt"
  925     ac_useropt_orig=$ac_useropt
  926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  927     case $ac_user_opts in
  928       *"
  929 "enable_$ac_useropt"
  930 "*) ;;
  931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  932      ac_unrecognized_sep=', ';;
  933     esac
  934     eval enable_$ac_useropt=no ;;
  935 
  936   -docdir | --docdir | --docdi | --doc | --do)
  937     ac_prev=docdir ;;
  938   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  939     docdir=$ac_optarg ;;
  940 
  941   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  942     ac_prev=dvidir ;;
  943   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  944     dvidir=$ac_optarg ;;
  945 
  946   -enable-* | --enable-*)
  947     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  948     # Reject names that are not valid shell variable names.
  949     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  950       as_fn_error $? "invalid feature name: $ac_useropt"
  951     ac_useropt_orig=$ac_useropt
  952     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  953     case $ac_user_opts in
  954       *"
  955 "enable_$ac_useropt"
  956 "*) ;;
  957       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  958      ac_unrecognized_sep=', ';;
  959     esac
  960     eval enable_$ac_useropt=\$ac_optarg ;;
  961 
  962   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  963   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  964   | --exec | --exe | --ex)
  965     ac_prev=exec_prefix ;;
  966   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  967   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  968   | --exec=* | --exe=* | --ex=*)
  969     exec_prefix=$ac_optarg ;;
  970 
  971   -gas | --gas | --ga | --g)
  972     # Obsolete; use --with-gas.
  973     with_gas=yes ;;
  974 
  975   -help | --help | --hel | --he | -h)
  976     ac_init_help=long ;;
  977   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  978     ac_init_help=recursive ;;
  979   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  980     ac_init_help=short ;;
  981 
  982   -host | --host | --hos | --ho)
  983     ac_prev=host_alias ;;
  984   -host=* | --host=* | --hos=* | --ho=*)
  985     host_alias=$ac_optarg ;;
  986 
  987   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  988     ac_prev=htmldir ;;
  989   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  990   | --ht=*)
  991     htmldir=$ac_optarg ;;
  992 
  993   -includedir | --includedir | --includedi | --included | --include \
  994   | --includ | --inclu | --incl | --inc)
  995     ac_prev=includedir ;;
  996   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  997   | --includ=* | --inclu=* | --incl=* | --inc=*)
  998     includedir=$ac_optarg ;;
  999 
 1000   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1001     ac_prev=infodir ;;
 1002   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1003     infodir=$ac_optarg ;;
 1004 
 1005   -libdir | --libdir | --libdi | --libd)
 1006     ac_prev=libdir ;;
 1007   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1008     libdir=$ac_optarg ;;
 1009 
 1010   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1011   | --libexe | --libex | --libe)
 1012     ac_prev=libexecdir ;;
 1013   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1014   | --libexe=* | --libex=* | --libe=*)
 1015     libexecdir=$ac_optarg ;;
 1016 
 1017   -localedir | --localedir | --localedi | --localed | --locale)
 1018     ac_prev=localedir ;;
 1019   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1020     localedir=$ac_optarg ;;
 1021 
 1022   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1023   | --localstate | --localstat | --localsta | --localst | --locals)
 1024     ac_prev=localstatedir ;;
 1025   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1026   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1027     localstatedir=$ac_optarg ;;
 1028 
 1029   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1030     ac_prev=mandir ;;
 1031   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1032     mandir=$ac_optarg ;;
 1033 
 1034   -nfp | --nfp | --nf)
 1035     # Obsolete; use --without-fp.
 1036     with_fp=no ;;
 1037 
 1038   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1039   | --no-cr | --no-c | -n)
 1040     no_create=yes ;;
 1041 
 1042   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1043   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1044     no_recursion=yes ;;
 1045 
 1046   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1047   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1048   | --oldin | --oldi | --old | --ol | --o)
 1049     ac_prev=oldincludedir ;;
 1050   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1051   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1052   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1053     oldincludedir=$ac_optarg ;;
 1054 
 1055   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1056     ac_prev=prefix ;;
 1057   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1058     prefix=$ac_optarg ;;
 1059 
 1060   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1061   | --program-pre | --program-pr | --program-p)
 1062     ac_prev=program_prefix ;;
 1063   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1064   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1065     program_prefix=$ac_optarg ;;
 1066 
 1067   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1068   | --program-suf | --program-su | --program-s)
 1069     ac_prev=program_suffix ;;
 1070   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1071   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1072     program_suffix=$ac_optarg ;;
 1073 
 1074   -program-transform-name | --program-transform-name \
 1075   | --program-transform-nam | --program-transform-na \
 1076   | --program-transform-n | --program-transform- \
 1077   | --program-transform | --program-transfor \
 1078   | --program-transfo | --program-transf \
 1079   | --program-trans | --program-tran \
 1080   | --progr-tra | --program-tr | --program-t)
 1081     ac_prev=program_transform_name ;;
 1082   -program-transform-name=* | --program-transform-name=* \
 1083   | --program-transform-nam=* | --program-transform-na=* \
 1084   | --program-transform-n=* | --program-transform-=* \
 1085   | --program-transform=* | --program-transfor=* \
 1086   | --program-transfo=* | --program-transf=* \
 1087   | --program-trans=* | --program-tran=* \
 1088   | --progr-tra=* | --program-tr=* | --program-t=*)
 1089     program_transform_name=$ac_optarg ;;
 1090 
 1091   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1092     ac_prev=pdfdir ;;
 1093   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1094     pdfdir=$ac_optarg ;;
 1095 
 1096   -psdir | --psdir | --psdi | --psd | --ps)
 1097     ac_prev=psdir ;;
 1098   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1099     psdir=$ac_optarg ;;
 1100 
 1101   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1102   | -silent | --silent | --silen | --sile | --sil)
 1103     silent=yes ;;
 1104 
 1105   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1106   | --runstate | --runstat | --runsta | --runst | --runs \
 1107   | --run | --ru | --r)
 1108     ac_prev=runstatedir ;;
 1109   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1110   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1111   | --run=* | --ru=* | --r=*)
 1112     runstatedir=$ac_optarg ;;
 1113 
 1114   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1115     ac_prev=sbindir ;;
 1116   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1117   | --sbi=* | --sb=*)
 1118     sbindir=$ac_optarg ;;
 1119 
 1120   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1121   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1122   | --sharedst | --shareds | --shared | --share | --shar \
 1123   | --sha | --sh)
 1124     ac_prev=sharedstatedir ;;
 1125   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1126   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1127   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1128   | --sha=* | --sh=*)
 1129     sharedstatedir=$ac_optarg ;;
 1130 
 1131   -site | --site | --sit)
 1132     ac_prev=site ;;
 1133   -site=* | --site=* | --sit=*)
 1134     site=$ac_optarg ;;
 1135 
 1136   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1137     ac_prev=srcdir ;;
 1138   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1139     srcdir=$ac_optarg ;;
 1140 
 1141   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1142   | --syscon | --sysco | --sysc | --sys | --sy)
 1143     ac_prev=sysconfdir ;;
 1144   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1145   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1146     sysconfdir=$ac_optarg ;;
 1147 
 1148   -target | --target | --targe | --targ | --tar | --ta | --t)
 1149     ac_prev=target_alias ;;
 1150   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1151     target_alias=$ac_optarg ;;
 1152 
 1153   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1154     verbose=yes ;;
 1155 
 1156   -version | --version | --versio | --versi | --vers | -V)
 1157     ac_init_version=: ;;
 1158 
 1159   -with-* | --with-*)
 1160     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1161     # Reject names that are not valid shell variable names.
 1162     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1163       as_fn_error $? "invalid package name: $ac_useropt"
 1164     ac_useropt_orig=$ac_useropt
 1165     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1166     case $ac_user_opts in
 1167       *"
 1168 "with_$ac_useropt"
 1169 "*) ;;
 1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1171      ac_unrecognized_sep=', ';;
 1172     esac
 1173     eval with_$ac_useropt=\$ac_optarg ;;
 1174 
 1175   -without-* | --without-*)
 1176     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1177     # Reject names that are not valid shell variable names.
 1178     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1179       as_fn_error $? "invalid package name: $ac_useropt"
 1180     ac_useropt_orig=$ac_useropt
 1181     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1182     case $ac_user_opts in
 1183       *"
 1184 "with_$ac_useropt"
 1185 "*) ;;
 1186       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1187      ac_unrecognized_sep=', ';;
 1188     esac
 1189     eval with_$ac_useropt=no ;;
 1190 
 1191   --x)
 1192     # Obsolete; use --with-x.
 1193     with_x=yes ;;
 1194 
 1195   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1196   | --x-incl | --x-inc | --x-in | --x-i)
 1197     ac_prev=x_includes ;;
 1198   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1199   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1200     x_includes=$ac_optarg ;;
 1201 
 1202   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1203   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1204     ac_prev=x_libraries ;;
 1205   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1206   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1207     x_libraries=$ac_optarg ;;
 1208 
 1209   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1210 Try \`$0 --help' for more information"
 1211     ;;
 1212 
 1213   *=*)
 1214     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1215     # Reject names that are not valid shell variable names.
 1216     case $ac_envvar in #(
 1217       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1218       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1219     esac
 1220     eval $ac_envvar=\$ac_optarg
 1221     export $ac_envvar ;;
 1222 
 1223   *)
 1224     # FIXME: should be removed in autoconf 3.0.
 1225     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1226     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1227       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1228     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1229     ;;
 1230 
 1231   esac
 1232 done
 1233 
 1234 if test -n "$ac_prev"; then
 1235   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1236   as_fn_error $? "missing argument to $ac_option"
 1237 fi
 1238 
 1239 if test -n "$ac_unrecognized_opts"; then
 1240   case $enable_option_checking in
 1241     no) ;;
 1242     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1243     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1244   esac
 1245 fi
 1246 
 1247 # Check all directory arguments for consistency.
 1248 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1249         datadir sysconfdir sharedstatedir localstatedir includedir \
 1250         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1251         libdir localedir mandir runstatedir
 1252 do
 1253   eval ac_val=\$$ac_var
 1254   # Remove trailing slashes.
 1255   case $ac_val in
 1256     */ )
 1257       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1258       eval $ac_var=\$ac_val;;
 1259   esac
 1260   # Be sure to have absolute directory names.
 1261   case $ac_val in
 1262     [\\/$]* | ?:[\\/]* )  continue;;
 1263     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1264   esac
 1265   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1266 done
 1267 
 1268 # There might be people who depend on the old broken behavior: `$host'
 1269 # used to hold the argument of --host etc.
 1270 # FIXME: To remove some day.
 1271 build=$build_alias
 1272 host=$host_alias
 1273 target=$target_alias
 1274 
 1275 # FIXME: To remove some day.
 1276 if test "x$host_alias" != x; then
 1277   if test "x$build_alias" = x; then
 1278     cross_compiling=maybe
 1279   elif test "x$build_alias" != "x$host_alias"; then
 1280     cross_compiling=yes
 1281   fi
 1282 fi
 1283 
 1284 ac_tool_prefix=
 1285 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1286 
 1287 test "$silent" = yes && exec 6>/dev/null
 1288 
 1289 
 1290 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1291 ac_ls_di=`ls -di .` &&
 1292 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1293   as_fn_error $? "working directory cannot be determined"
 1294 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1295   as_fn_error $? "pwd does not report name of working directory"
 1296 
 1297 
 1298 # Find the source files, if location was not specified.
 1299 if test -z "$srcdir"; then
 1300   ac_srcdir_defaulted=yes
 1301   # Try the directory containing this script, then the parent directory.
 1302   ac_confdir=`$as_dirname -- "$as_myself" ||
 1303 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1304      X"$as_myself" : 'X\(//\)[^/]' \| \
 1305      X"$as_myself" : 'X\(//\)$' \| \
 1306      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1307 $as_echo X"$as_myself" |
 1308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1309         s//\1/
 1310         q
 1311       }
 1312       /^X\(\/\/\)[^/].*/{
 1313         s//\1/
 1314         q
 1315       }
 1316       /^X\(\/\/\)$/{
 1317         s//\1/
 1318         q
 1319       }
 1320       /^X\(\/\).*/{
 1321         s//\1/
 1322         q
 1323       }
 1324       s/.*/./; q'`
 1325   srcdir=$ac_confdir
 1326   if test ! -r "$srcdir/$ac_unique_file"; then
 1327     srcdir=..
 1328   fi
 1329 else
 1330   ac_srcdir_defaulted=no
 1331 fi
 1332 if test ! -r "$srcdir/$ac_unique_file"; then
 1333   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1334   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1335 fi
 1336 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1337 ac_abs_confdir=`(
 1338     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1339     pwd)`
 1340 # When building in place, set srcdir=.
 1341 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1342   srcdir=.
 1343 fi
 1344 # Remove unnecessary trailing slashes from srcdir.
 1345 # Double slashes in file names in object file debugging info
 1346 # mess up M-x gdb in Emacs.
 1347 case $srcdir in
 1348 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1349 esac
 1350 for ac_var in $ac_precious_vars; do
 1351   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1352   eval ac_env_${ac_var}_value=\$${ac_var}
 1353   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1354   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1355 done
 1356 
 1357 #
 1358 # Report the --help message.
 1359 #
 1360 if test "$ac_init_help" = "long"; then
 1361   # Omit some internal or obsolete options to make the list less imposing.
 1362   # This message is too long to be a string in the A/UX 3.1 sh.
 1363   cat <<_ACEOF
 1364 \`configure' configures monit 5.28.0 to adapt to many kinds of systems.
 1365 
 1366 Usage: $0 [OPTION]... [VAR=VALUE]...
 1367 
 1368 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1369 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1370 
 1371 Defaults for the options are specified in brackets.
 1372 
 1373 Configuration:
 1374   -h, --help              display this help and exit
 1375       --help=short        display options specific to this package
 1376       --help=recursive    display the short help of all the included packages
 1377   -V, --version           display version information and exit
 1378   -q, --quiet, --silent   do not print \`checking ...' messages
 1379       --cache-file=FILE   cache test results in FILE [disabled]
 1380   -C, --config-cache      alias for \`--cache-file=config.cache'
 1381   -n, --no-create         do not create output files
 1382       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1383 
 1384 Installation directories:
 1385   --prefix=PREFIX         install architecture-independent files in PREFIX
 1386                           [$ac_default_prefix]
 1387   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1388                           [PREFIX]
 1389 
 1390 By default, \`make install' will install all the files in
 1391 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1392 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1393 for instance \`--prefix=\$HOME'.
 1394 
 1395 For better control, use the options below.
 1396 
 1397 Fine tuning of the installation directories:
 1398   --bindir=DIR            user executables [EPREFIX/bin]
 1399   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1400   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1401   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1402   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1403   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1404   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1405   --libdir=DIR            object code libraries [EPREFIX/lib]
 1406   --includedir=DIR        C header files [PREFIX/include]
 1407   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1408   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1409   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1410   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1411   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1412   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1413   --docdir=DIR            documentation root [DATAROOTDIR/doc/monit]
 1414   --htmldir=DIR           html documentation [DOCDIR]
 1415   --dvidir=DIR            dvi documentation [DOCDIR]
 1416   --pdfdir=DIR            pdf documentation [DOCDIR]
 1417   --psdir=DIR             ps documentation [DOCDIR]
 1418 _ACEOF
 1419 
 1420   cat <<\_ACEOF
 1421 
 1422 Program names:
 1423   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1424   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1425   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1426 
 1427 System types:
 1428   --build=BUILD     configure for building on BUILD [guessed]
 1429   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1430 _ACEOF
 1431 fi
 1432 
 1433 if test -n "$ac_init_help"; then
 1434   case $ac_init_help in
 1435      short | recursive ) echo "Configuration of monit 5.28.0:";;
 1436    esac
 1437   cat <<\_ACEOF
 1438 
 1439 Optional Features:
 1440   --disable-option-checking  ignore unrecognized --enable/--with options
 1441   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1442   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1443   --enable-silent-rules   less verbose build output (undo: "make V=1")
 1444   --disable-silent-rules  verbose build output (undo: "make V=0")
 1445   --enable-dependency-tracking
 1446                           do not reject slow dependency extractors
 1447   --disable-dependency-tracking
 1448                           speeds up one-time build
 1449   --enable-static[=PKGS]  build static libraries [default=no]
 1450   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1451   --enable-fast-install[=PKGS]
 1452                           optimize for fast installation [default=yes]
 1453   --disable-libtool-lock  avoid locking (might break parallel builds)
 1454   --disable-largefile     omit support for large files
 1455   --enable-optimized      Build software optimized
 1456   --enable-profiling      Build with debug and profiling options
 1457   --enable-codesign=identity
 1458                           Add code signature to the monit binary on macOS
 1459 
 1460 Optional Packages:
 1461   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1462   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1463   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 1464                           both]
 1465   --with-aix-soname=aix|svr4|both
 1466                           shared library versioning (aka "SONAME") variant to
 1467                           provide on AIX, [default=aix].
 1468   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1469   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
 1470                           compiler's sysroot if not specified).
 1471   --without-ipv6          Disable the IPv6 support (default: check)
 1472   --without-largefiles    disable large files support (default: enabled)
 1473   --with-zlib(=<path>)    Link Monit with zlib. An optional path argument may
 1474                           be given to specify the top-level directory to
 1475                           search for zlib to link with
 1476   --without-pam           disable the use of pam (default: enabled)
 1477   --with-asan             enable the use of AddressSanitizer (default: disabled)
 1478   --with-ssl-static=DIR       location of SSL installation
 1479   --without-ssl           disable the use of ssl (default: enabled)
 1480   --with-ssl-dir=DIR       location of SSL installation
 1481   --with-ssl-incl-dir=DIR  location of installed SSL include files
 1482   --with-ssl-lib-dir=DIR   location of installed SSL library files
 1483 
 1484 Some influential environment variables:
 1485   CC          C compiler command
 1486   CFLAGS      C compiler flags
 1487   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1488               nonstandard directory <lib dir>
 1489   LIBS        libraries to pass to the linker, e.g. -l<library>
 1490   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1491               you have headers in a nonstandard directory <include dir>
 1492   LT_SYS_LIBRARY_PATH
 1493               User-defined run-time library search path.
 1494   CPP         C preprocessor
 1495   CXX         C++ compiler command
 1496   CXXFLAGS    C++ compiler flags
 1497   CXXCPP      C++ preprocessor
 1498 
 1499 Use these variables to override the choices made by `configure' or to help
 1500 it to find libraries and programs with nonstandard names/locations.
 1501 
 1502 Report bugs to <monit-general@nongnu.org>.
 1503 _ACEOF
 1504 ac_status=$?
 1505 fi
 1506 
 1507 if test "$ac_init_help" = "recursive"; then
 1508   # If there are subdirs, report their specific --help.
 1509   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1510     test -d "$ac_dir" ||
 1511       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1512       continue
 1513     ac_builddir=.
 1514 
 1515 case "$ac_dir" in
 1516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1517 *)
 1518   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1519   # A ".." for each directory in $ac_dir_suffix.
 1520   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1521   case $ac_top_builddir_sub in
 1522   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1523   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1524   esac ;;
 1525 esac
 1526 ac_abs_top_builddir=$ac_pwd
 1527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1528 # for backward compatibility:
 1529 ac_top_builddir=$ac_top_build_prefix
 1530 
 1531 case $srcdir in
 1532   .)  # We are building in place.
 1533     ac_srcdir=.
 1534     ac_top_srcdir=$ac_top_builddir_sub
 1535     ac_abs_top_srcdir=$ac_pwd ;;
 1536   [\\/]* | ?:[\\/]* )  # Absolute name.
 1537     ac_srcdir=$srcdir$ac_dir_suffix;
 1538     ac_top_srcdir=$srcdir
 1539     ac_abs_top_srcdir=$srcdir ;;
 1540   *) # Relative name.
 1541     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1542     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1543     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1544 esac
 1545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1546 
 1547     cd "$ac_dir" || { ac_status=$?; continue; }
 1548     # Check for guested configure.
 1549     if test -f "$ac_srcdir/configure.gnu"; then
 1550       echo &&
 1551       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1552     elif test -f "$ac_srcdir/configure"; then
 1553       echo &&
 1554       $SHELL "$ac_srcdir/configure" --help=recursive
 1555     else
 1556       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1557     fi || ac_status=$?
 1558     cd "$ac_pwd" || { ac_status=$?; break; }
 1559   done
 1560 fi
 1561 
 1562 test -n "$ac_init_help" && exit $ac_status
 1563 if $ac_init_version; then
 1564   cat <<\_ACEOF
 1565 monit configure 5.28.0
 1566 generated by GNU Autoconf 2.69
 1567 
 1568 Copyright (C) 2012 Free Software Foundation, Inc.
 1569 This configure script is free software; the Free Software Foundation
 1570 gives unlimited permission to copy, distribute and modify it.
 1571 _ACEOF
 1572   exit
 1573 fi
 1574 
 1575 ## ------------------------ ##
 1576 ## Autoconf initialization. ##
 1577 ## ------------------------ ##
 1578 
 1579 # ac_fn_c_try_compile LINENO
 1580 # --------------------------
 1581 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1582 ac_fn_c_try_compile ()
 1583 {
 1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1585   rm -f conftest.$ac_objext
 1586   if { { ac_try="$ac_compile"
 1587 case "(($ac_try" in
 1588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1589   *) ac_try_echo=$ac_try;;
 1590 esac
 1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1592 $as_echo "$ac_try_echo"; } >&5
 1593   (eval "$ac_compile") 2>conftest.err
 1594   ac_status=$?
 1595   if test -s conftest.err; then
 1596     grep -v '^ *+' conftest.err >conftest.er1
 1597     cat conftest.er1 >&5
 1598     mv -f conftest.er1 conftest.err
 1599   fi
 1600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1601   test $ac_status = 0; } && {
 1602      test -z "$ac_c_werror_flag" ||
 1603      test ! -s conftest.err
 1604        } && test -s conftest.$ac_objext; then :
 1605   ac_retval=0
 1606 else
 1607   $as_echo "$as_me: failed program was:" >&5
 1608 sed 's/^/| /' conftest.$ac_ext >&5
 1609 
 1610     ac_retval=1
 1611 fi
 1612   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1613   as_fn_set_status $ac_retval
 1614 
 1615 } # ac_fn_c_try_compile
 1616 
 1617 # ac_fn_c_try_link LINENO
 1618 # -----------------------
 1619 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1620 ac_fn_c_try_link ()
 1621 {
 1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1623   rm -f conftest.$ac_objext conftest$ac_exeext
 1624   if { { ac_try="$ac_link"
 1625 case "(($ac_try" in
 1626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1627   *) ac_try_echo=$ac_try;;
 1628 esac
 1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1630 $as_echo "$ac_try_echo"; } >&5
 1631   (eval "$ac_link") 2>conftest.err
 1632   ac_status=$?
 1633   if test -s conftest.err; then
 1634     grep -v '^ *+' conftest.err >conftest.er1
 1635     cat conftest.er1 >&5
 1636     mv -f conftest.er1 conftest.err
 1637   fi
 1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1639   test $ac_status = 0; } && {
 1640      test -z "$ac_c_werror_flag" ||
 1641      test ! -s conftest.err
 1642        } && test -s conftest$ac_exeext && {
 1643      test "$cross_compiling" = yes ||
 1644      test -x conftest$ac_exeext
 1645        }; then :
 1646   ac_retval=0
 1647 else
 1648   $as_echo "$as_me: failed program was:" >&5
 1649 sed 's/^/| /' conftest.$ac_ext >&5
 1650 
 1651     ac_retval=1
 1652 fi
 1653   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1654   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1655   # interfere with the next link command; also delete a directory that is
 1656   # left behind by Apple's compiler.  We do this before executing the actions.
 1657   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1659   as_fn_set_status $ac_retval
 1660 
 1661 } # ac_fn_c_try_link
 1662 
 1663 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1664 # -------------------------------------------------------
 1665 # Tests whether HEADER exists and can be compiled using the include files in
 1666 # INCLUDES, setting the cache variable VAR accordingly.
 1667 ac_fn_c_check_header_compile ()
 1668 {
 1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1671 $as_echo_n "checking for $2... " >&6; }
 1672 if eval \${$3+:} false; then :
 1673   $as_echo_n "(cached) " >&6
 1674 else
 1675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1676 /* end confdefs.h.  */
 1677 $4
 1678 #include <$2>
 1679 _ACEOF
 1680 if ac_fn_c_try_compile "$LINENO"; then :
 1681   eval "$3=yes"
 1682 else
 1683   eval "$3=no"
 1684 fi
 1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1686 fi
 1687 eval ac_res=\$$3
 1688            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1689 $as_echo "$ac_res" >&6; }
 1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1691 
 1692 } # ac_fn_c_check_header_compile
 1693 
 1694 # ac_fn_c_try_cpp LINENO
 1695 # ----------------------
 1696 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1697 ac_fn_c_try_cpp ()
 1698 {
 1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1700   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1701 case "(($ac_try" in
 1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1703   *) ac_try_echo=$ac_try;;
 1704 esac
 1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1706 $as_echo "$ac_try_echo"; } >&5
 1707   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1708   ac_status=$?
 1709   if test -s conftest.err; then
 1710     grep -v '^ *+' conftest.err >conftest.er1
 1711     cat conftest.er1 >&5
 1712     mv -f conftest.er1 conftest.err
 1713   fi
 1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1715   test $ac_status = 0; } > conftest.i && {
 1716      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1717      test ! -s conftest.err
 1718        }; then :
 1719   ac_retval=0
 1720 else
 1721   $as_echo "$as_me: failed program was:" >&5
 1722 sed 's/^/| /' conftest.$ac_ext >&5
 1723 
 1724     ac_retval=1
 1725 fi
 1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1727   as_fn_set_status $ac_retval
 1728 
 1729 } # ac_fn_c_try_cpp
 1730 
 1731 # ac_fn_c_try_run LINENO
 1732 # ----------------------
 1733 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1734 # that executables *can* be run.
 1735 ac_fn_c_try_run ()
 1736 {
 1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1738   if { { ac_try="$ac_link"
 1739 case "(($ac_try" in
 1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1741   *) ac_try_echo=$ac_try;;
 1742 esac
 1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1744 $as_echo "$ac_try_echo"; } >&5
 1745   (eval "$ac_link") 2>&5
 1746   ac_status=$?
 1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1748   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1749   { { case "(($ac_try" in
 1750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1751   *) ac_try_echo=$ac_try;;
 1752 esac
 1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1754 $as_echo "$ac_try_echo"; } >&5
 1755   (eval "$ac_try") 2>&5
 1756   ac_status=$?
 1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1758   test $ac_status = 0; }; }; then :
 1759   ac_retval=0
 1760 else
 1761   $as_echo "$as_me: program exited with status $ac_status" >&5
 1762        $as_echo "$as_me: failed program was:" >&5
 1763 sed 's/^/| /' conftest.$ac_ext >&5
 1764 
 1765        ac_retval=$ac_status
 1766 fi
 1767   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1769   as_fn_set_status $ac_retval
 1770 
 1771 } # ac_fn_c_try_run
 1772 
 1773 # ac_fn_c_check_func LINENO FUNC VAR
 1774 # ----------------------------------
 1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1776 ac_fn_c_check_func ()
 1777 {
 1778   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1780 $as_echo_n "checking for $2... " >&6; }
 1781 if eval \${$3+:} false; then :
 1782   $as_echo_n "(cached) " >&6
 1783 else
 1784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1785 /* end confdefs.h.  */
 1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1788 #define $2 innocuous_$2
 1789 
 1790 /* System header to define __stub macros and hopefully few prototypes,
 1791     which can conflict with char $2 (); below.
 1792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1793     <limits.h> exists even on freestanding compilers.  */
 1794 
 1795 #ifdef __STDC__
 1796 # include <limits.h>
 1797 #else
 1798 # include <assert.h>
 1799 #endif
 1800 
 1801 #undef $2
 1802 
 1803 /* Override any GCC internal prototype to avoid an error.
 1804    Use char because int might match the return type of a GCC
 1805    builtin and then its argument prototype would still apply.  */
 1806 #ifdef __cplusplus
 1807 extern "C"
 1808 #endif
 1809 char $2 ();
 1810 /* The GNU C library defines this for functions which it implements
 1811     to always fail with ENOSYS.  Some functions are actually named
 1812     something starting with __ and the normal name is an alias.  */
 1813 #if defined __stub_$2 || defined __stub___$2
 1814 choke me
 1815 #endif
 1816 
 1817 int
 1818 main ()
 1819 {
 1820 return $2 ();
 1821   ;
 1822   return 0;
 1823 }
 1824 _ACEOF
 1825 if ac_fn_c_try_link "$LINENO"; then :
 1826   eval "$3=yes"
 1827 else
 1828   eval "$3=no"
 1829 fi
 1830 rm -f core conftest.err conftest.$ac_objext \
 1831     conftest$ac_exeext conftest.$ac_ext
 1832 fi
 1833 eval ac_res=\$$3
 1834            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1835 $as_echo "$ac_res" >&6; }
 1836   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1837 
 1838 } # ac_fn_c_check_func
 1839 
 1840 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1841 # -------------------------------------------------------
 1842 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1843 # the include files in INCLUDES and setting the cache variable VAR
 1844 # accordingly.
 1845 ac_fn_c_check_header_mongrel ()
 1846 {
 1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1848   if eval \${$3+:} false; then :
 1849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1850 $as_echo_n "checking for $2... " >&6; }
 1851 if eval \${$3+:} false; then :
 1852   $as_echo_n "(cached) " >&6
 1853 fi
 1854 eval ac_res=\$$3
 1855            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1856 $as_echo "$ac_res" >&6; }
 1857 else
 1858   # Is the header compilable?
 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1860 $as_echo_n "checking $2 usability... " >&6; }
 1861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1862 /* end confdefs.h.  */
 1863 $4
 1864 #include <$2>
 1865 _ACEOF
 1866 if ac_fn_c_try_compile "$LINENO"; then :
 1867   ac_header_compiler=yes
 1868 else
 1869   ac_header_compiler=no
 1870 fi
 1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1873 $as_echo "$ac_header_compiler" >&6; }
 1874 
 1875 # Is the header present?
 1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1877 $as_echo_n "checking $2 presence... " >&6; }
 1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1879 /* end confdefs.h.  */
 1880 #include <$2>
 1881 _ACEOF
 1882 if ac_fn_c_try_cpp "$LINENO"; then :
 1883   ac_header_preproc=yes
 1884 else
 1885   ac_header_preproc=no
 1886 fi
 1887 rm -f conftest.err conftest.i conftest.$ac_ext
 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1889 $as_echo "$ac_header_preproc" >&6; }
 1890 
 1891 # So?  What about this header?
 1892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1893   yes:no: )
 1894     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1895 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1896     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1897 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1898     ;;
 1899   no:yes:* )
 1900     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1901 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1903 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1905 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1906     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1907 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1908     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1909 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1910 ( $as_echo "## --------------------------------------- ##
 1911 ## Report this to monit-general@nongnu.org ##
 1912 ## --------------------------------------- ##"
 1913      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1914     ;;
 1915 esac
 1916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1917 $as_echo_n "checking for $2... " >&6; }
 1918 if eval \${$3+:} false; then :
 1919   $as_echo_n "(cached) " >&6
 1920 else
 1921   eval "$3=\$ac_header_compiler"
 1922 fi
 1923 eval ac_res=\$$3
 1924            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1925 $as_echo "$ac_res" >&6; }
 1926 fi
 1927   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1928 
 1929 } # ac_fn_c_check_header_mongrel
 1930 
 1931 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1932 # -------------------------------------------
 1933 # Tests whether TYPE exists after having included INCLUDES, setting cache
 1934 # variable VAR accordingly.
 1935 ac_fn_c_check_type ()
 1936 {
 1937   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1939 $as_echo_n "checking for $2... " >&6; }
 1940 if eval \${$3+:} false; then :
 1941   $as_echo_n "(cached) " >&6
 1942 else
 1943   eval "$3=no"
 1944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1945 /* end confdefs.h.  */
 1946 $4
 1947 int
 1948 main ()
 1949 {
 1950 if (sizeof ($2))
 1951      return 0;
 1952   ;
 1953   return 0;
 1954 }
 1955 _ACEOF
 1956 if ac_fn_c_try_compile "$LINENO"; then :
 1957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1958 /* end confdefs.h.  */
 1959 $4
 1960 int
 1961 main ()
 1962 {
 1963 if (sizeof (($2)))
 1964         return 0;
 1965   ;
 1966   return 0;
 1967 }
 1968 _ACEOF
 1969 if ac_fn_c_try_compile "$LINENO"; then :
 1970 
 1971 else
 1972   eval "$3=yes"
 1973 fi
 1974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1975 fi
 1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1977 fi
 1978 eval ac_res=\$$3
 1979            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1980 $as_echo "$ac_res" >&6; }
 1981   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1982 
 1983 } # ac_fn_c_check_type
 1984 
 1985 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 1986 # ----------------------------------------------------
 1987 # Tries to find if the field MEMBER exists in type AGGR, after including
 1988 # INCLUDES, setting cache variable VAR accordingly.
 1989 ac_fn_c_check_member ()
 1990 {
 1991   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 1993 $as_echo_n "checking for $2.$3... " >&6; }
 1994 if eval \${$4+:} false; then :
 1995   $as_echo_n "(cached) " >&6
 1996 else
 1997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1998 /* end confdefs.h.  */
 1999 $5
 2000 int
 2001 main ()
 2002 {
 2003 static $2 ac_aggr;
 2004 if (ac_aggr.$3)
 2005 return 0;
 2006   ;
 2007   return 0;
 2008 }
 2009 _ACEOF
 2010 if ac_fn_c_try_compile "$LINENO"; then :
 2011   eval "$4=yes"
 2012 else
 2013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2014 /* end confdefs.h.  */
 2015 $5
 2016 int
 2017 main ()
 2018 {
 2019 static $2 ac_aggr;
 2020 if (sizeof ac_aggr.$3)
 2021 return 0;
 2022   ;
 2023   return 0;
 2024 }
 2025 _ACEOF
 2026 if ac_fn_c_try_compile "$LINENO"; then :
 2027   eval "$4=yes"
 2028 else
 2029   eval "$4=no"
 2030 fi
 2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2032 fi
 2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2034 fi
 2035 eval ac_res=\$$4
 2036            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2037 $as_echo "$ac_res" >&6; }
 2038   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2039 
 2040 } # ac_fn_c_check_member
 2041 
 2042 # ac_fn_cxx_try_compile LINENO
 2043 # ----------------------------
 2044 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 2045 ac_fn_cxx_try_compile ()
 2046 {
 2047   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2048   rm -f conftest.$ac_objext
 2049   if { { ac_try="$ac_compile"
 2050 case "(($ac_try" in
 2051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2052   *) ac_try_echo=$ac_try;;
 2053 esac
 2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2055 $as_echo "$ac_try_echo"; } >&5
 2056   (eval "$ac_compile") 2>conftest.err
 2057   ac_status=$?
 2058   if test -s conftest.err; then
 2059     grep -v '^ *+' conftest.err >conftest.er1
 2060     cat conftest.er1 >&5
 2061     mv -f conftest.er1 conftest.err
 2062   fi
 2063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2064   test $ac_status = 0; } && {
 2065      test -z "$ac_cxx_werror_flag" ||
 2066      test ! -s conftest.err
 2067        } && test -s conftest.$ac_objext; then :
 2068   ac_retval=0
 2069 else
 2070   $as_echo "$as_me: failed program was:" >&5
 2071 sed 's/^/| /' conftest.$ac_ext >&5
 2072 
 2073     ac_retval=1
 2074 fi
 2075   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2076   as_fn_set_status $ac_retval
 2077 
 2078 } # ac_fn_cxx_try_compile
 2079 
 2080 # ac_fn_cxx_try_cpp LINENO
 2081 # ------------------------
 2082 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 2083 ac_fn_cxx_try_cpp ()
 2084 {
 2085   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2086   if { { ac_try="$ac_cpp conftest.$ac_ext"
 2087 case "(($ac_try" in
 2088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2089   *) ac_try_echo=$ac_try;;
 2090 esac
 2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2092 $as_echo "$ac_try_echo"; } >&5
 2093   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 2094   ac_status=$?
 2095   if test -s conftest.err; then
 2096     grep -v '^ *+' conftest.err >conftest.er1
 2097     cat conftest.er1 >&5
 2098     mv -f conftest.er1 conftest.err
 2099   fi
 2100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2101   test $ac_status = 0; } > conftest.i && {
 2102      test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 2103      test ! -s conftest.err
 2104        }; then :
 2105   ac_retval=0
 2106 else
 2107   $as_echo "$as_me: failed program was:" >&5
 2108 sed 's/^/| /' conftest.$ac_ext >&5
 2109 
 2110     ac_retval=1
 2111 fi
 2112   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2113   as_fn_set_status $ac_retval
 2114 
 2115 } # ac_fn_cxx_try_cpp
 2116 
 2117 # ac_fn_cxx_try_link LINENO
 2118 # -------------------------
 2119 # Try to link conftest.$ac_ext, and return whether this succeeded.
 2120 ac_fn_cxx_try_link ()
 2121 {
 2122   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2123   rm -f conftest.$ac_objext conftest$ac_exeext
 2124   if { { ac_try="$ac_link"
 2125 case "(($ac_try" in
 2126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2127   *) ac_try_echo=$ac_try;;
 2128 esac
 2129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2130 $as_echo "$ac_try_echo"; } >&5
 2131   (eval "$ac_link") 2>conftest.err
 2132   ac_status=$?
 2133   if test -s conftest.err; then
 2134     grep -v '^ *+' conftest.err >conftest.er1
 2135     cat conftest.er1 >&5
 2136     mv -f conftest.er1 conftest.err
 2137   fi
 2138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2139   test $ac_status = 0; } && {
 2140      test -z "$ac_cxx_werror_flag" ||
 2141      test ! -s conftest.err
 2142        } && test -s conftest$ac_exeext && {
 2143      test "$cross_compiling" = yes ||
 2144      test -x conftest$ac_exeext
 2145        }; then :
 2146   ac_retval=0
 2147 else
 2148   $as_echo "$as_me: failed program was:" >&5
 2149 sed 's/^/| /' conftest.$ac_ext >&5
 2150 
 2151     ac_retval=1
 2152 fi
 2153   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 2154   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 2155   # interfere with the next link command; also delete a directory that is
 2156   # left behind by Apple's compiler.  We do this before executing the actions.
 2157   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 2158   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2159   as_fn_set_status $ac_retval
 2160 
 2161 } # ac_fn_cxx_try_link
 2162 
 2163 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 2164 # --------------------------------------------
 2165 # Tries to find the compile-time value of EXPR in a program that includes
 2166 # INCLUDES, setting VAR accordingly. Returns whether the value could be
 2167 # computed
 2168 ac_fn_c_compute_int ()
 2169 {
 2170   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2171   if test "$cross_compiling" = yes; then
 2172     # Depending upon the size, compute the lo and hi bounds.
 2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2174 /* end confdefs.h.  */
 2175 $4
 2176 int
 2177 main ()
 2178 {
 2179 static int test_array [1 - 2 * !(($2) >= 0)];
 2180 test_array [0] = 0;
 2181 return test_array [0];
 2182 
 2183   ;
 2184   return 0;
 2185 }
 2186 _ACEOF
 2187 if ac_fn_c_try_compile "$LINENO"; then :
 2188   ac_lo=0 ac_mid=0
 2189   while :; do
 2190     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2191 /* end confdefs.h.  */
 2192 $4
 2193 int
 2194 main ()
 2195 {
 2196 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2197 test_array [0] = 0;
 2198 return test_array [0];
 2199 
 2200   ;
 2201   return 0;
 2202 }
 2203 _ACEOF
 2204 if ac_fn_c_try_compile "$LINENO"; then :
 2205   ac_hi=$ac_mid; break
 2206 else
 2207   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2208             if test $ac_lo -le $ac_mid; then
 2209               ac_lo= ac_hi=
 2210               break
 2211             fi
 2212             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2213 fi
 2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2215   done
 2216 else
 2217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2218 /* end confdefs.h.  */
 2219 $4
 2220 int
 2221 main ()
 2222 {
 2223 static int test_array [1 - 2 * !(($2) < 0)];
 2224 test_array [0] = 0;
 2225 return test_array [0];
 2226 
 2227   ;
 2228   return 0;
 2229 }
 2230 _ACEOF
 2231 if ac_fn_c_try_compile "$LINENO"; then :
 2232   ac_hi=-1 ac_mid=-1
 2233   while :; do
 2234     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2235 /* end confdefs.h.  */
 2236 $4
 2237 int
 2238 main ()
 2239 {
 2240 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2241 test_array [0] = 0;
 2242 return test_array [0];
 2243 
 2244   ;
 2245   return 0;
 2246 }
 2247 _ACEOF
 2248 if ac_fn_c_try_compile "$LINENO"; then :
 2249   ac_lo=$ac_mid; break
 2250 else
 2251   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2252             if test $ac_mid -le $ac_hi; then
 2253               ac_lo= ac_hi=
 2254               break
 2255             fi
 2256             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2257 fi
 2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2259   done
 2260 else
 2261   ac_lo= ac_hi=
 2262 fi
 2263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2264 fi
 2265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2266 # Binary search between lo and hi bounds.
 2267 while test "x$ac_lo" != "x$ac_hi"; do
 2268   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2270 /* end confdefs.h.  */
 2271 $4
 2272 int
 2273 main ()
 2274 {
 2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2276 test_array [0] = 0;
 2277 return test_array [0];
 2278 
 2279   ;
 2280   return 0;
 2281 }
 2282 _ACEOF
 2283 if ac_fn_c_try_compile "$LINENO"; then :
 2284   ac_hi=$ac_mid
 2285 else
 2286   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2287 fi
 2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2289 done
 2290 case $ac_lo in #((
 2291 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2292 '') ac_retval=1 ;;
 2293 esac
 2294   else
 2295     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2296 /* end confdefs.h.  */
 2297 $4
 2298 static long int longval () { return $2; }
 2299 static unsigned long int ulongval () { return $2; }
 2300 #include <stdio.h>
 2301 #include <stdlib.h>
 2302 int
 2303 main ()
 2304 {
 2305 
 2306   FILE *f = fopen ("conftest.val", "w");
 2307   if (! f)
 2308     return 1;
 2309   if (($2) < 0)
 2310     {
 2311       long int i = longval ();
 2312       if (i != ($2))
 2313     return 1;
 2314       fprintf (f, "%ld", i);
 2315     }
 2316   else
 2317     {
 2318       unsigned long int i = ulongval ();
 2319       if (i != ($2))
 2320     return 1;
 2321       fprintf (f, "%lu", i);
 2322     }
 2323   /* Do not output a trailing newline, as this causes \r\n confusion
 2324      on some platforms.  */
 2325   return ferror (f) || fclose (f) != 0;
 2326 
 2327   ;
 2328   return 0;
 2329 }
 2330 _ACEOF
 2331 if ac_fn_c_try_run "$LINENO"; then :
 2332   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2333 else
 2334   ac_retval=1
 2335 fi
 2336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2337   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2338 rm -f conftest.val
 2339 
 2340   fi
 2341   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2342   as_fn_set_status $ac_retval
 2343 
 2344 } # ac_fn_c_compute_int
 2345 
 2346 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 2347 # ---------------------------------------------
 2348 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 2349 # accordingly.
 2350 ac_fn_c_check_decl ()
 2351 {
 2352   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2353   as_decl_name=`echo $2|sed 's/ *(.*//'`
 2354   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 2355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 2356 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 2357 if eval \${$3+:} false; then :
 2358   $as_echo_n "(cached) " >&6
 2359 else
 2360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2361 /* end confdefs.h.  */
 2362 $4
 2363 int
 2364 main ()
 2365 {
 2366 #ifndef $as_decl_name
 2367 #ifdef __cplusplus
 2368   (void) $as_decl_use;
 2369 #else
 2370   (void) $as_decl_name;
 2371 #endif
 2372 #endif
 2373 
 2374   ;
 2375   return 0;
 2376 }
 2377 _ACEOF
 2378 if ac_fn_c_try_compile "$LINENO"; then :
 2379   eval "$3=yes"
 2380 else
 2381   eval "$3=no"
 2382 fi
 2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2384 fi
 2385 eval ac_res=\$$3
 2386            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2387 $as_echo "$ac_res" >&6; }
 2388   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2389 
 2390 } # ac_fn_c_check_decl
 2391 cat >config.log <<_ACEOF
 2392 This file contains any messages produced by compilers while
 2393 running configure, to aid debugging if configure makes a mistake.
 2394 
 2395 It was created by monit $as_me 5.28.0, which was
 2396 generated by GNU Autoconf 2.69.  Invocation command line was
 2397 
 2398   $ $0 $@
 2399 
 2400 _ACEOF
 2401 exec 5>>config.log
 2402 {
 2403 cat <<_ASUNAME
 2404 ## --------- ##
 2405 ## Platform. ##
 2406 ## --------- ##
 2407 
 2408 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2409 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2410 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2411 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2412 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2413 
 2414 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2415 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2416 
 2417 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2418 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2419 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2420 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2421 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2422 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2423 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2424 
 2425 _ASUNAME
 2426 
 2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2428 for as_dir in $PATH
 2429 do
 2430   IFS=$as_save_IFS
 2431   test -z "$as_dir" && as_dir=.
 2432     $as_echo "PATH: $as_dir"
 2433   done
 2434 IFS=$as_save_IFS
 2435 
 2436 } >&5
 2437 
 2438 cat >&5 <<_ACEOF
 2439 
 2440 
 2441 ## ----------- ##
 2442 ## Core tests. ##
 2443 ## ----------- ##
 2444 
 2445 _ACEOF
 2446 
 2447 
 2448 # Keep a trace of the command line.
 2449 # Strip out --no-create and --no-recursion so they do not pile up.
 2450 # Strip out --silent because we don't want to record it for future runs.
 2451 # Also quote any args containing shell meta-characters.
 2452 # Make two passes to allow for proper duplicate-argument suppression.
 2453 ac_configure_args=
 2454 ac_configure_args0=
 2455 ac_configure_args1=
 2456 ac_must_keep_next=false
 2457 for ac_pass in 1 2
 2458 do
 2459   for ac_arg
 2460   do
 2461     case $ac_arg in
 2462     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2463     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2464     | -silent | --silent | --silen | --sile | --sil)
 2465       continue ;;
 2466     *\'*)
 2467       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2468     esac
 2469     case $ac_pass in
 2470     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2471     2)
 2472       as_fn_append ac_configure_args1 " '$ac_arg'"
 2473       if test $ac_must_keep_next = true; then
 2474     ac_must_keep_next=false # Got value, back to normal.
 2475       else
 2476     case $ac_arg in
 2477       *=* | --config-cache | -C | -disable-* | --disable-* \
 2478       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2479       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2480       | -with-* | --with-* | -without-* | --without-* | --x)
 2481         case "$ac_configure_args0 " in
 2482           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2483         esac
 2484         ;;
 2485       -* ) ac_must_keep_next=true ;;
 2486     esac
 2487       fi
 2488       as_fn_append ac_configure_args " '$ac_arg'"
 2489       ;;
 2490     esac
 2491   done
 2492 done
 2493 { ac_configure_args0=; unset ac_configure_args0;}
 2494 { ac_configure_args1=; unset ac_configure_args1;}
 2495 
 2496 # When interrupted or exit'd, cleanup temporary files, and complete
 2497 # config.log.  We remove comments because anyway the quotes in there
 2498 # would cause problems or look ugly.
 2499 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2500 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2501 trap 'exit_status=$?
 2502   # Save into config.log some information that might help in debugging.
 2503   {
 2504     echo
 2505 
 2506     $as_echo "## ---------------- ##
 2507 ## Cache variables. ##
 2508 ## ---------------- ##"
 2509     echo
 2510     # The following way of writing the cache mishandles newlines in values,
 2511 (
 2512   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2513     eval ac_val=\$$ac_var
 2514     case $ac_val in #(
 2515     *${as_nl}*)
 2516       case $ac_var in #(
 2517       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2519       esac
 2520       case $ac_var in #(
 2521       _ | IFS | as_nl) ;; #(
 2522       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2523       *) { eval $ac_var=; unset $ac_var;} ;;
 2524       esac ;;
 2525     esac
 2526   done
 2527   (set) 2>&1 |
 2528     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2529     *${as_nl}ac_space=\ *)
 2530       sed -n \
 2531     "s/'\''/'\''\\\\'\'''\''/g;
 2532       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2533       ;; #(
 2534     *)
 2535       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2536       ;;
 2537     esac |
 2538     sort
 2539 )
 2540     echo
 2541 
 2542     $as_echo "## ----------------- ##
 2543 ## Output variables. ##
 2544 ## ----------------- ##"
 2545     echo
 2546     for ac_var in $ac_subst_vars
 2547     do
 2548       eval ac_val=\$$ac_var
 2549       case $ac_val in
 2550       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2551       esac
 2552       $as_echo "$ac_var='\''$ac_val'\''"
 2553     done | sort
 2554     echo
 2555 
 2556     if test -n "$ac_subst_files"; then
 2557       $as_echo "## ------------------- ##
 2558 ## File substitutions. ##
 2559 ## ------------------- ##"
 2560       echo
 2561       for ac_var in $ac_subst_files
 2562       do
 2563     eval ac_val=\$$ac_var
 2564     case $ac_val in
 2565     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2566     esac
 2567     $as_echo "$ac_var='\''$ac_val'\''"
 2568       done | sort
 2569       echo
 2570     fi
 2571 
 2572     if test -s confdefs.h; then
 2573       $as_echo "## ----------- ##
 2574 ## confdefs.h. ##
 2575 ## ----------- ##"
 2576       echo
 2577       cat confdefs.h
 2578       echo
 2579     fi
 2580     test "$ac_signal" != 0 &&
 2581       $as_echo "$as_me: caught signal $ac_signal"
 2582     $as_echo "$as_me: exit $exit_status"
 2583   } >&5
 2584   rm -f core *.core core.conftest.* &&
 2585     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2586     exit $exit_status
 2587 ' 0
 2588 for ac_signal in 1 2 13 15; do
 2589   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2590 done
 2591 ac_signal=0
 2592 
 2593 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2594 rm -f -r conftest* confdefs.h
 2595 
 2596 $as_echo "/* confdefs.h */" > confdefs.h
 2597 
 2598 # Predefined preprocessor variables.
 2599 
 2600 cat >>confdefs.h <<_ACEOF
 2601 #define PACKAGE_NAME "$PACKAGE_NAME"
 2602 _ACEOF
 2603 
 2604 cat >>confdefs.h <<_ACEOF
 2605 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2606 _ACEOF
 2607 
 2608 cat >>confdefs.h <<_ACEOF
 2609 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2610 _ACEOF
 2611 
 2612 cat >>confdefs.h <<_ACEOF
 2613 #define PACKAGE_STRING "$PACKAGE_STRING"
 2614 _ACEOF
 2615 
 2616 cat >>confdefs.h <<_ACEOF
 2617 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2618 _ACEOF
 2619 
 2620 cat >>confdefs.h <<_ACEOF
 2621 #define PACKAGE_URL "$PACKAGE_URL"
 2622 _ACEOF
 2623 
 2624 
 2625 # Let the site file select an alternate cache file if it wants to.
 2626 # Prefer an explicitly selected file to automatically selected ones.
 2627 ac_site_file1=NONE
 2628 ac_site_file2=NONE
 2629 if test -n "$CONFIG_SITE"; then
 2630   # We do not want a PATH search for config.site.
 2631   case $CONFIG_SITE in #((
 2632     -*)  ac_site_file1=./$CONFIG_SITE;;
 2633     */*) ac_site_file1=$CONFIG_SITE;;
 2634     *)   ac_site_file1=./$CONFIG_SITE;;
 2635   esac
 2636 elif test "x$prefix" != xNONE; then
 2637   ac_site_file1=$prefix/share/config.site
 2638   ac_site_file2=$prefix/etc/config.site
 2639 else
 2640   ac_site_file1=$ac_default_prefix/share/config.site
 2641   ac_site_file2=$ac_default_prefix/etc/config.site
 2642 fi
 2643 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2644 do
 2645   test "x$ac_site_file" = xNONE && continue
 2646   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2647     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2648 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2649     sed 's/^/| /' "$ac_site_file" >&5
 2650     . "$ac_site_file" \
 2651       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2653 as_fn_error $? "failed to load site script $ac_site_file
 2654 See \`config.log' for more details" "$LINENO" 5; }
 2655   fi
 2656 done
 2657 
 2658 if test -r "$cache_file"; then
 2659   # Some versions of bash will fail to source /dev/null (special files
 2660   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2661   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2662     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2663 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2664     case $cache_file in
 2665       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2666       *)                      . "./$cache_file";;
 2667     esac
 2668   fi
 2669 else
 2670   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2671 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2672   >$cache_file
 2673 fi
 2674 
 2675 # Check that the precious variables saved in the cache have kept the same
 2676 # value.
 2677 ac_cache_corrupted=false
 2678 for ac_var in $ac_precious_vars; do
 2679   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2680   eval ac_new_set=\$ac_env_${ac_var}_set
 2681   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2682   eval ac_new_val=\$ac_env_${ac_var}_value
 2683   case $ac_old_set,$ac_new_set in
 2684     set,)
 2685       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2686 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2687       ac_cache_corrupted=: ;;
 2688     ,set)
 2689       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2690 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2691       ac_cache_corrupted=: ;;
 2692     ,);;
 2693     *)
 2694       if test "x$ac_old_val" != "x$ac_new_val"; then
 2695     # differences in whitespace do not lead to failure.
 2696     ac_old_val_w=`echo x $ac_old_val`
 2697     ac_new_val_w=`echo x $ac_new_val`
 2698     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2699       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2700 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2701       ac_cache_corrupted=:
 2702     else
 2703       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2704 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2705       eval $ac_var=\$ac_old_val
 2706     fi
 2707     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2708 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2709     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2710 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2711       fi;;
 2712   esac
 2713   # Pass precious variables to config.status.
 2714   if test "$ac_new_set" = set; then
 2715     case $ac_new_val in
 2716     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2717     *) ac_arg=$ac_var=$ac_new_val ;;
 2718     esac
 2719     case " $ac_configure_args " in
 2720       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2721       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2722     esac
 2723   fi
 2724 done
 2725 if $ac_cache_corrupted; then
 2726   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2728   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2729 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2730   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2731 fi
 2732 ## -------------------- ##
 2733 ## Main body of script. ##
 2734 ## -------------------- ##
 2735 
 2736 ac_ext=c
 2737 ac_cpp='$CPP $CPPFLAGS'
 2738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2741 
 2742 
 2743 ac_aux_dir=
 2744 for ac_dir in config "$srcdir"/config; do
 2745   if test -f "$ac_dir/install-sh"; then
 2746     ac_aux_dir=$ac_dir
 2747     ac_install_sh="$ac_aux_dir/install-sh -c"
 2748     break
 2749   elif test -f "$ac_dir/install.sh"; then
 2750     ac_aux_dir=$ac_dir
 2751     ac_install_sh="$ac_aux_dir/install.sh -c"
 2752     break
 2753   elif test -f "$ac_dir/shtool"; then
 2754     ac_aux_dir=$ac_dir
 2755     ac_install_sh="$ac_aux_dir/shtool install -c"
 2756     break
 2757   fi
 2758 done
 2759 if test -z "$ac_aux_dir"; then
 2760   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
 2761 fi
 2762 
 2763 # These three variables are undocumented and unsupported,
 2764 # and are intended to be withdrawn in a future Autoconf release.
 2765 # They can cause serious problems if a builder's source tree is in a directory
 2766 # whose full name contains unusual characters.
 2767 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2768 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2769 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2770 
 2771 
 2772 
 2773 am__api_version='1.16'
 2774 
 2775 # Find a good install program.  We prefer a C program (faster),
 2776 # so one script is as good as another.  But avoid the broken or
 2777 # incompatible versions:
 2778 # SysV /etc/install, /usr/sbin/install
 2779 # SunOS /usr/etc/install
 2780 # IRIX /sbin/install
 2781 # AIX /bin/install
 2782 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2783 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2784 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2785 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2786 # OS/2's system install, which has a completely different semantic
 2787 # ./install, which can be erroneously created by make from ./install.sh.
 2788 # Reject install programs that cannot install multiple files.
 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2790 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2791 if test -z "$INSTALL"; then
 2792 if ${ac_cv_path_install+:} false; then :
 2793   $as_echo_n "(cached) " >&6
 2794 else
 2795   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2796 for as_dir in $PATH
 2797 do
 2798   IFS=$as_save_IFS
 2799   test -z "$as_dir" && as_dir=.
 2800     # Account for people who put trailing slashes in PATH elements.
 2801 case $as_dir/ in #((
 2802   ./ | .// | /[cC]/* | \
 2803   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2804   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2805   /usr/ucb/* ) ;;
 2806   *)
 2807     # OSF1 and SCO ODT 3.0 have their own names for install.
 2808     # Don't use installbsd from OSF since it installs stuff as root
 2809     # by default.
 2810     for ac_prog in ginstall scoinst install; do
 2811       for ac_exec_ext in '' $ac_executable_extensions; do
 2812     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2813       if test $ac_prog = install &&
 2814         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2815         # AIX install.  It has an incompatible calling convention.
 2816         :
 2817       elif test $ac_prog = install &&
 2818         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2819         # program-specific install script used by HP pwplus--don't use.
 2820         :
 2821       else
 2822         rm -rf conftest.one conftest.two conftest.dir
 2823         echo one > conftest.one
 2824         echo two > conftest.two
 2825         mkdir conftest.dir
 2826         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2827           test -s conftest.one && test -s conftest.two &&
 2828           test -s conftest.dir/conftest.one &&
 2829           test -s conftest.dir/conftest.two
 2830         then
 2831           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2832           break 3
 2833         fi
 2834       fi
 2835     fi
 2836       done
 2837     done
 2838     ;;
 2839 esac
 2840 
 2841   done
 2842 IFS=$as_save_IFS
 2843 
 2844 rm -rf conftest.one conftest.two conftest.dir
 2845 
 2846 fi
 2847   if test "${ac_cv_path_install+set}" = set; then
 2848     INSTALL=$ac_cv_path_install
 2849   else
 2850     # As a last resort, use the slow shell script.  Don't cache a
 2851     # value for INSTALL within a source directory, because that will
 2852     # break other packages using the cache if that directory is
 2853     # removed, or if the value is a relative name.
 2854     INSTALL=$ac_install_sh
 2855   fi
 2856 fi
 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2858 $as_echo "$INSTALL" >&6; }
 2859 
 2860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2861 # It thinks the first close brace ends the variable substitution.
 2862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2863 
 2864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2865 
 2866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2867 
 2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2869 $as_echo_n "checking whether build environment is sane... " >&6; }
 2870 # Reject unsafe characters in $srcdir or the absolute working directory
 2871 # name.  Accept space and tab only in the latter.
 2872 am_lf='
 2873 '
 2874 case `pwd` in
 2875   *[\\\"\#\$\&\'\`$am_lf]*)
 2876     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2877 esac
 2878 case $srcdir in
 2879   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2880     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2881 esac
 2882 
 2883 # Do 'set' in a subshell so we don't clobber the current shell's
 2884 # arguments.  Must try -L first in case configure is actually a
 2885 # symlink; some systems play weird games with the mod time of symlinks
 2886 # (eg FreeBSD returns the mod time of the symlink's containing
 2887 # directory).
 2888 if (
 2889    am_has_slept=no
 2890    for am_try in 1 2; do
 2891      echo "timestamp, slept: $am_has_slept" > conftest.file
 2892      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2893      if test "$*" = "X"; then
 2894     # -L didn't work.
 2895     set X `ls -t "$srcdir/configure" conftest.file`
 2896      fi
 2897      if test "$*" != "X $srcdir/configure conftest.file" \
 2898     && test "$*" != "X conftest.file $srcdir/configure"; then
 2899 
 2900     # If neither matched, then we have a broken ls.  This can happen
 2901     # if, for instance, CONFIG_SHELL is bash and it inherits a
 2902     # broken ls alias from the environment.  This has actually
 2903     # happened.  Such a system could not be considered "sane".
 2904     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2905   alias in your environment" "$LINENO" 5
 2906      fi
 2907      if test "$2" = conftest.file || test $am_try -eq 2; then
 2908        break
 2909      fi
 2910      # Just in case.
 2911      sleep 1
 2912      am_has_slept=yes
 2913    done
 2914    test "$2" = conftest.file
 2915    )
 2916 then
 2917    # Ok.
 2918    :
 2919 else
 2920    as_fn_error $? "newly created file is older than distributed files!
 2921 Check your system clock" "$LINENO" 5
 2922 fi
 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2924 $as_echo "yes" >&6; }
 2925 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2926 # generated files are strictly newer.
 2927 am_sleep_pid=
 2928 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2929   ( sleep 1 ) &
 2930   am_sleep_pid=$!
 2931 fi
 2932 
 2933 rm -f conftest.file
 2934 
 2935 test "$program_prefix" != NONE &&
 2936   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2937 # Use a double $ so make ignores it.
 2938 test "$program_suffix" != NONE &&
 2939   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2940 # Double any \ or $.
 2941 # By default was `s,x,x', remove it if useless.
 2942 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2943 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2944 
 2945 # Expand $ac_aux_dir to an absolute path.
 2946 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 2947 
 2948 if test x"${MISSING+set}" != xset; then
 2949   case $am_aux_dir in
 2950   *\ * | *\ *)
 2951     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2952   *)
 2953     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2954   esac
 2955 fi
 2956 # Use eval to expand $SHELL
 2957 if eval "$MISSING --is-lightweight"; then
 2958   am_missing_run="$MISSING "
 2959 else
 2960   am_missing_run=
 2961   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2962 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2963 fi
 2964 
 2965 if test x"${install_sh+set}" != xset; then
 2966   case $am_aux_dir in
 2967   *\ * | *\ *)
 2968     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2969   *)
 2970     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2971   esac
 2972 fi
 2973 
 2974 # Installed binaries are usually stripped using 'strip' when the user
 2975 # run "make install-strip".  However 'strip' might not be the right
 2976 # tool to use in cross-compilation environments, therefore Automake
 2977 # will honor the 'STRIP' environment variable to overrule this program.
 2978 if test "$cross_compiling" != no; then
 2979   if test -n "$ac_tool_prefix"; then
 2980   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2981 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2983 $as_echo_n "checking for $ac_word... " >&6; }
 2984 if ${ac_cv_prog_STRIP+:} false; then :
 2985   $as_echo_n "(cached) " >&6
 2986 else
 2987   if test -n "$STRIP"; then
 2988   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2989 else
 2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2991 for as_dir in $PATH
 2992 do
 2993   IFS=$as_save_IFS
 2994   test -z "$as_dir" && as_dir=.
 2995     for ac_exec_ext in '' $ac_executable_extensions; do
 2996   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2997     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2999     break 2
 3000   fi
 3001 done
 3002   done
 3003 IFS=$as_save_IFS
 3004 
 3005 fi
 3006 fi
 3007 STRIP=$ac_cv_prog_STRIP
 3008 if test -n "$STRIP"; then
 3009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 3010 $as_echo "$STRIP" >&6; }
 3011 else
 3012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3013 $as_echo "no" >&6; }
 3014 fi
 3015 
 3016 
 3017 fi
 3018 if test -z "$ac_cv_prog_STRIP"; then
 3019   ac_ct_STRIP=$STRIP
 3020   # Extract the first word of "strip", so it can be a program name with args.
 3021 set dummy strip; ac_word=$2
 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3023 $as_echo_n "checking for $ac_word... " >&6; }
 3024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 3025   $as_echo_n "(cached) " >&6
 3026 else
 3027   if test -n "$ac_ct_STRIP"; then
 3028   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3029 else
 3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3031 for as_dir in $PATH
 3032 do
 3033   IFS=$as_save_IFS
 3034   test -z "$as_dir" && as_dir=.
 3035     for ac_exec_ext in '' $ac_executable_extensions; do
 3036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3037     ac_cv_prog_ac_ct_STRIP="strip"
 3038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3039     break 2
 3040   fi
 3041 done
 3042   done
 3043 IFS=$as_save_IFS
 3044 
 3045 fi
 3046 fi
 3047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3048 if test -n "$ac_ct_STRIP"; then
 3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3050 $as_echo "$ac_ct_STRIP" >&6; }
 3051 else
 3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3053 $as_echo "no" >&6; }
 3054 fi
 3055 
 3056   if test "x$ac_ct_STRIP" = x; then
 3057     STRIP=":"
 3058   else
 3059     case $cross_compiling:$ac_tool_warned in
 3060 yes:)
 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3063 ac_tool_warned=yes ;;
 3064 esac
 3065     STRIP=$ac_ct_STRIP
 3066   fi
 3067 else
 3068   STRIP="$ac_cv_prog_STRIP"
 3069 fi
 3070 
 3071 fi
 3072 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3073 
 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3075 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3076 if test -z "$MKDIR_P"; then
 3077   if ${ac_cv_path_mkdir+:} false; then :
 3078   $as_echo_n "(cached) " >&6
 3079 else
 3080   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3081 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3082 do
 3083   IFS=$as_save_IFS
 3084   test -z "$as_dir" && as_dir=.
 3085     for ac_prog in mkdir gmkdir; do
 3086      for ac_exec_ext in '' $ac_executable_extensions; do
 3087        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 3088        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3089          'mkdir (GNU coreutils) '* | \
 3090          'mkdir (coreutils) '* | \
 3091          'mkdir (fileutils) '4.1*)
 3092            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3093            break 3;;
 3094        esac
 3095      done
 3096        done
 3097   done
 3098 IFS=$as_save_IFS
 3099 
 3100 fi
 3101 
 3102   test -d ./--version && rmdir ./--version
 3103   if test "${ac_cv_path_mkdir+set}" = set; then
 3104     MKDIR_P="$ac_cv_path_mkdir -p"
 3105   else
 3106     # As a last resort, use the slow shell script.  Don't cache a
 3107     # value for MKDIR_P within a source directory, because that will
 3108     # break other packages using the cache if that directory is
 3109     # removed, or if the value is a relative name.
 3110     MKDIR_P="$ac_install_sh -d"
 3111   fi
 3112 fi
 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3114 $as_echo "$MKDIR_P" >&6; }
 3115 
 3116 for ac_prog in gawk mawk nawk awk
 3117 do
 3118   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3119 set dummy $ac_prog; ac_word=$2
 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3121 $as_echo_n "checking for $ac_word... " >&6; }
 3122 if ${ac_cv_prog_AWK+:} false; then :
 3123   $as_echo_n "(cached) " >&6
 3124 else
 3125   if test -n "$AWK"; then
 3126   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3127 else
 3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3129 for as_dir in $PATH
 3130 do
 3131   IFS=$as_save_IFS
 3132   test -z "$as_dir" && as_dir=.
 3133     for ac_exec_ext in '' $ac_executable_extensions; do
 3134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3135     ac_cv_prog_AWK="$ac_prog"
 3136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3137     break 2
 3138   fi
 3139 done
 3140   done
 3141 IFS=$as_save_IFS
 3142 
 3143 fi
 3144 fi
 3145 AWK=$ac_cv_prog_AWK
 3146 if test -n "$AWK"; then
 3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3148 $as_echo "$AWK" >&6; }
 3149 else
 3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3151 $as_echo "no" >&6; }
 3152 fi
 3153 
 3154 
 3155   test -n "$AWK" && break
 3156 done
 3157 
 3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3159 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3160 set x ${MAKE-make}
 3161 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3162 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3163   $as_echo_n "(cached) " >&6
 3164 else
 3165   cat >conftest.make <<\_ACEOF
 3166 SHELL = /bin/sh
 3167 all:
 3168     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3169 _ACEOF
 3170 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3171 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3172   *@@@%%%=?*=@@@%%%*)
 3173     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3174   *)
 3175     eval ac_cv_prog_make_${ac_make}_set=no;;
 3176 esac
 3177 rm -f conftest.make
 3178 fi
 3179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3181 $as_echo "yes" >&6; }
 3182   SET_MAKE=
 3183 else
 3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3185 $as_echo "no" >&6; }
 3186   SET_MAKE="MAKE=${MAKE-make}"
 3187 fi
 3188 
 3189 rm -rf .tst 2>/dev/null
 3190 mkdir .tst 2>/dev/null
 3191 if test -d .tst; then
 3192   am__leading_dot=.
 3193 else
 3194   am__leading_dot=_
 3195 fi
 3196 rmdir .tst 2>/dev/null
 3197 
 3198 # Check whether --enable-silent-rules was given.
 3199 if test "${enable_silent_rules+set}" = set; then :
 3200   enableval=$enable_silent_rules;
 3201 fi
 3202 
 3203 case $enable_silent_rules in # (((
 3204   yes) AM_DEFAULT_VERBOSITY=0;;
 3205    no) AM_DEFAULT_VERBOSITY=1;;
 3206     *) AM_DEFAULT_VERBOSITY=1;;
 3207 esac
 3208 am_make=${MAKE-make}
 3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 3210 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 3211 if ${am_cv_make_support_nested_variables+:} false; then :
 3212   $as_echo_n "(cached) " >&6
 3213 else
 3214   if $as_echo 'TRUE=$(BAR$(V))
 3215 BAR0=false
 3216 BAR1=true
 3217 V=1
 3218 am__doit:
 3219     @$(TRUE)
 3220 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 3221   am_cv_make_support_nested_variables=yes
 3222 else
 3223   am_cv_make_support_nested_variables=no
 3224 fi
 3225 fi
 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 3227 $as_echo "$am_cv_make_support_nested_variables" >&6; }
 3228 if test $am_cv_make_support_nested_variables = yes; then
 3229     AM_V='$(V)'
 3230   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 3231 else
 3232   AM_V=$AM_DEFAULT_VERBOSITY
 3233   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 3234 fi
 3235 AM_BACKSLASH='\'
 3236 
 3237 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3238   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3239   # is not polluted with repeated "-I."
 3240   am__isrc=' -I$(srcdir)'
 3241   # test to see if srcdir already configured
 3242   if test -f $srcdir/config.status; then
 3243     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3244   fi
 3245 fi
 3246 
 3247 # test whether we have cygpath
 3248 if test -z "$CYGPATH_W"; then
 3249   if (cygpath --version) >/dev/null 2>/dev/null; then
 3250     CYGPATH_W='cygpath -w'
 3251   else
 3252     CYGPATH_W=echo
 3253   fi
 3254 fi
 3255 
 3256 
 3257 # Define the identity of the package.
 3258  PACKAGE='monit'
 3259  VERSION='5.28.0'
 3260 
 3261 
 3262 cat >>confdefs.h <<_ACEOF
 3263 #define PACKAGE "$PACKAGE"
 3264 _ACEOF
 3265 
 3266 
 3267 cat >>confdefs.h <<_ACEOF
 3268 #define VERSION "$VERSION"
 3269 _ACEOF
 3270 
 3271 # Some tools Automake needs.
 3272 
 3273 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3274 
 3275 
 3276 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3277 
 3278 
 3279 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3280 
 3281 
 3282 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3283 
 3284 
 3285 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3286 
 3287 # For better backward compatibility.  To be removed once Automake 1.9.x
 3288 # dies out for good.  For more background, see:
 3289 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 3290 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 3291 mkdir_p='$(MKDIR_P)'
 3292 
 3293 # We need awk for the "check" target (and possibly the TAP driver).  The
 3294 # system "awk" is bad on some platforms.
 3295 # Always define AMTAR for backward compatibility.  Yes, it's still used
 3296 # in the wild :-(  We should find a proper way to deprecate it ...
 3297 AMTAR='$${TAR-tar}'
 3298 
 3299 
 3300 # We'll loop over all known methods to create a tar archive until one works.
 3301 _am_tools='gnutar  pax cpio none'
 3302 
 3303 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 3304 
 3305 
 3306 
 3307 
 3308 
 3309 
 3310 # POSIX will say in a future version that running "rm -f" with no argument
 3311 # is OK; and we want to be able to make that assumption in our Makefile
 3312 # recipes.  So use an aggressive probe to check that the usage we want is
 3313 # actually supported "in the wild" to an acceptable degree.
 3314 # See automake bug#10828.
 3315 # To make any issue more visible, cause the running configure to be aborted
 3316 # by default if the 'rm' program in use doesn't match our expectations; the
 3317 # user can still override this though.
 3318 if rm -f && rm -fr && rm -rf; then : OK; else
 3319   cat >&2 <<'END'
 3320 Oops!
 3321 
 3322 Your 'rm' program seems unable to run without file operands specified
 3323 on the command line, even when the '-f' option is present.  This is contrary
 3324 to the behaviour of most rm programs out there, and not conforming with
 3325 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 3326 
 3327 Please tell bug-automake@gnu.org about your system, including the value
 3328 of your $PATH and any error possibly output before this message.  This
 3329 can help us improve future automake versions.
 3330 
 3331 END
 3332   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 3333     echo 'Configuration will proceed anyway, since you have set the' >&2
 3334     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 3335     echo >&2
 3336   else
 3337     cat >&2 <<'END'
 3338 Aborting the configuration process, to ensure you take notice of the issue.
 3339 
 3340 You can download and install GNU coreutils to get an 'rm' implementation
 3341 that behaves properly: <https://www.gnu.org/software/coreutils/>.
 3342 
 3343 If you want to complete the configuration process using your problematic
 3344 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 3345 to "yes", and re-run configure.
 3346 
 3347 END
 3348     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 3349   fi
 3350 fi
 3351 
 3352 
 3353 
 3354 
 3355 subdirs="$subdirs libmonit"
 3356 
 3357 ac_config_commands="$ac_config_commands libtool_patch"
 3358 
 3359 ac_config_commands="$ac_config_commands monitrc"
 3360 
 3361 
 3362 # ------------------------------------------------------------------------
 3363 # Programs
 3364 # ------------------------------------------------------------------------
 3365 
 3366 ac_ext=c
 3367 ac_cpp='$CPP $CPPFLAGS'
 3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3371 if test -n "$ac_tool_prefix"; then
 3372   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3373 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3375 $as_echo_n "checking for $ac_word... " >&6; }
 3376 if ${ac_cv_prog_CC+:} false; then :
 3377   $as_echo_n "(cached) " >&6
 3378 else
 3379   if test -n "$CC"; then
 3380   ac_cv_prog_CC="$CC" # Let the user override the test.
 3381 else
 3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3383 for as_dir in $PATH
 3384 do
 3385   IFS=$as_save_IFS
 3386   test -z "$as_dir" && as_dir=.
 3387     for ac_exec_ext in '' $ac_executable_extensions; do
 3388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3389     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3391     break 2
 3392   fi
 3393 done
 3394   done
 3395 IFS=$as_save_IFS
 3396 
 3397 fi
 3398 fi
 3399 CC=$ac_cv_prog_CC
 3400 if test -n "$CC"; then
 3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3402 $as_echo "$CC" >&6; }
 3403 else
 3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3405 $as_echo "no" >&6; }
 3406 fi
 3407 
 3408 
 3409 fi
 3410 if test -z "$ac_cv_prog_CC"; then
 3411   ac_ct_CC=$CC
 3412   # Extract the first word of "gcc", so it can be a program name with args.
 3413 set dummy gcc; ac_word=$2
 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3415 $as_echo_n "checking for $ac_word... " >&6; }
 3416 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3417   $as_echo_n "(cached) " >&6
 3418 else
 3419   if test -n "$ac_ct_CC"; then
 3420   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3421 else
 3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3423 for as_dir in $PATH
 3424 do
 3425   IFS=$as_save_IFS
 3426   test -z "$as_dir" && as_dir=.
 3427     for ac_exec_ext in '' $ac_executable_extensions; do
 3428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3429     ac_cv_prog_ac_ct_CC="gcc"
 3430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3431     break 2
 3432   fi
 3433 done
 3434   done
 3435 IFS=$as_save_IFS
 3436 
 3437 fi
 3438 fi
 3439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3440 if test -n "$ac_ct_CC"; then
 3441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3442 $as_echo "$ac_ct_CC" >&6; }
 3443 else
 3444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3445 $as_echo "no" >&6; }
 3446 fi
 3447 
 3448   if test "x$ac_ct_CC" = x; then
 3449     CC=""
 3450   else
 3451     case $cross_compiling:$ac_tool_warned in
 3452 yes:)
 3453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3455 ac_tool_warned=yes ;;
 3456 esac
 3457     CC=$ac_ct_CC
 3458   fi
 3459 else
 3460   CC="$ac_cv_prog_CC"
 3461 fi
 3462 
 3463 if test -z "$CC"; then
 3464           if test -n "$ac_tool_prefix"; then
 3465     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3466 set dummy ${ac_tool_prefix}cc; ac_word=$2
 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3468 $as_echo_n "checking for $ac_word... " >&6; }
 3469 if ${ac_cv_prog_CC+:} false; then :
 3470   $as_echo_n "(cached) " >&6
 3471 else
 3472   if test -n "$CC"; then
 3473   ac_cv_prog_CC="$CC" # Let the user override the test.
 3474 else
 3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3476 for as_dir in $PATH
 3477 do
 3478   IFS=$as_save_IFS
 3479   test -z "$as_dir" && as_dir=.
 3480     for ac_exec_ext in '' $ac_executable_extensions; do
 3481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3482     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3484     break 2
 3485   fi
 3486 done
 3487   done
 3488 IFS=$as_save_IFS
 3489 
 3490 fi
 3491 fi
 3492 CC=$ac_cv_prog_CC
 3493 if test -n "$CC"; then
 3494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3495 $as_echo "$CC" >&6; }
 3496 else
 3497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3498 $as_echo "no" >&6; }
 3499 fi
 3500 
 3501 
 3502   fi
 3503 fi
 3504 if test -z "$CC"; then
 3505   # Extract the first word of "cc", so it can be a program name with args.
 3506 set dummy cc; ac_word=$2
 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3508 $as_echo_n "checking for $ac_word... " >&6; }
 3509 if ${ac_cv_prog_CC+:} false; then :
 3510   $as_echo_n "(cached) " >&6
 3511 else
 3512   if test -n "$CC"; then
 3513   ac_cv_prog_CC="$CC" # Let the user override the test.
 3514 else
 3515   ac_prog_rejected=no
 3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3517 for as_dir in $PATH
 3518 do
 3519   IFS=$as_save_IFS
 3520   test -z "$as_dir" && as_dir=.
 3521     for ac_exec_ext in '' $ac_executable_extensions; do
 3522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3523     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3524        ac_prog_rejected=yes
 3525        continue
 3526      fi
 3527     ac_cv_prog_CC="cc"
 3528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3529     break 2
 3530   fi
 3531 done
 3532   done
 3533 IFS=$as_save_IFS
 3534 
 3535 if test $ac_prog_rejected = yes; then
 3536   # We found a bogon in the path, so make sure we never use it.
 3537   set dummy $ac_cv_prog_CC
 3538   shift
 3539   if test $# != 0; then
 3540     # We chose a different compiler from the bogus one.
 3541     # However, it has the same basename, so the bogon will be chosen
 3542     # first if we set CC to just the basename; use the full file name.
 3543     shift
 3544     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3545   fi
 3546 fi
 3547 fi
 3548 fi
 3549 CC=$ac_cv_prog_CC
 3550 if test -n "$CC"; then
 3551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3552 $as_echo "$CC" >&6; }
 3553 else
 3554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3555 $as_echo "no" >&6; }
 3556 fi
 3557 
 3558 
 3559 fi
 3560 if test -z "$CC"; then
 3561   if test -n "$ac_tool_prefix"; then
 3562   for ac_prog in cl.exe
 3563   do
 3564     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3567 $as_echo_n "checking for $ac_word... " >&6; }
 3568 if ${ac_cv_prog_CC+:} false; then :
 3569   $as_echo_n "(cached) " >&6
 3570 else
 3571   if test -n "$CC"; then
 3572   ac_cv_prog_CC="$CC" # Let the user override the test.
 3573 else
 3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3575 for as_dir in $PATH
 3576 do
 3577   IFS=$as_save_IFS
 3578   test -z "$as_dir" && as_dir=.
 3579     for ac_exec_ext in '' $ac_executable_extensions; do
 3580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3581     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3583     break 2
 3584   fi
 3585 done
 3586   done
 3587 IFS=$as_save_IFS
 3588 
 3589 fi
 3590 fi
 3591 CC=$ac_cv_prog_CC
 3592 if test -n "$CC"; then
 3593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3594 $as_echo "$CC" >&6; }
 3595 else
 3596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3597 $as_echo "no" >&6; }
 3598 fi
 3599 
 3600 
 3601     test -n "$CC" && break
 3602   done
 3603 fi
 3604 if test -z "$CC"; then
 3605   ac_ct_CC=$CC
 3606   for ac_prog in cl.exe
 3607 do
 3608   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3609 set dummy $ac_prog; ac_word=$2
 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3611 $as_echo_n "checking for $ac_word... " >&6; }
 3612 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3613   $as_echo_n "(cached) " >&6
 3614 else
 3615   if test -n "$ac_ct_CC"; then
 3616   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3617 else
 3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3619 for as_dir in $PATH
 3620 do
 3621   IFS=$as_save_IFS
 3622   test -z "$as_dir" && as_dir=.
 3623     for ac_exec_ext in '' $ac_executable_extensions; do
 3624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3625     ac_cv_prog_ac_ct_CC="$ac_prog"
 3626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3627     break 2
 3628   fi
 3629 done
 3630   done
 3631 IFS=$as_save_IFS
 3632 
 3633 fi
 3634 fi
 3635 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3636 if test -n "$ac_ct_CC"; then
 3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3638 $as_echo "$ac_ct_CC" >&6; }
 3639 else
 3640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3641 $as_echo "no" >&6; }
 3642 fi
 3643 
 3644 
 3645   test -n "$ac_ct_CC" && break
 3646 done
 3647 
 3648   if test "x$ac_ct_CC" = x; then
 3649     CC=""
 3650   else
 3651     case $cross_compiling:$ac_tool_warned in
 3652 yes:)
 3653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3655 ac_tool_warned=yes ;;
 3656 esac
 3657     CC=$ac_ct_CC
 3658   fi
 3659 fi
 3660 
 3661 fi
 3662 
 3663 
 3664 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3666 as_fn_error $? "no acceptable C compiler found in \$PATH
 3667 See \`config.log' for more details" "$LINENO" 5; }
 3668 
 3669 # Provide some information about the compiler.
 3670 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3671 set X $ac_compile
 3672 ac_compiler=$2
 3673 for ac_option in --version -v -V -qversion; do
 3674   { { ac_try="$ac_compiler $ac_option >&5"
 3675 case "(($ac_try" in
 3676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3677   *) ac_try_echo=$ac_try;;
 3678 esac
 3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3680 $as_echo "$ac_try_echo"; } >&5
 3681   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3682   ac_status=$?
 3683   if test -s conftest.err; then
 3684     sed '10a\
 3685 ... rest of stderr output deleted ...
 3686          10q' conftest.err >conftest.er1
 3687     cat conftest.er1 >&5
 3688   fi
 3689   rm -f conftest.er1 conftest.err
 3690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3691   test $ac_status = 0; }
 3692 done
 3693 
 3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3695 /* end confdefs.h.  */
 3696 
 3697 int
 3698 main ()
 3699 {
 3700 
 3701   ;
 3702   return 0;
 3703 }
 3704 _ACEOF
 3705 ac_clean_files_save=$ac_clean_files
 3706 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3707 # Try to create an executable without -o first, disregard a.out.
 3708 # It will help us diagnose broken compilers, and finding out an intuition
 3709 # of exeext.
 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3711 $as_echo_n "checking whether the C compiler works... " >&6; }
 3712 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3713 
 3714 # The possible output files:
 3715 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3716 
 3717 ac_rmfiles=
 3718 for ac_file in $ac_files
 3719 do
 3720   case $ac_file in
 3721     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3722     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3723   esac
 3724 done
 3725 rm -f $ac_rmfiles
 3726 
 3727 if { { ac_try="$ac_link_default"
 3728 case "(($ac_try" in
 3729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3730   *) ac_try_echo=$ac_try;;
 3731 esac
 3732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3733 $as_echo "$ac_try_echo"; } >&5
 3734   (eval "$ac_link_default") 2>&5
 3735   ac_status=$?
 3736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3737   test $ac_status = 0; }; then :
 3738   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3739 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3740 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3741 # so that the user can short-circuit this test for compilers unknown to
 3742 # Autoconf.
 3743 for ac_file in $ac_files ''
 3744 do
 3745   test -f "$ac_file" || continue
 3746   case $ac_file in
 3747     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3748     ;;
 3749     [ab].out )
 3750     # We found the default executable, but exeext='' is most
 3751     # certainly right.
 3752     break;;
 3753     *.* )
 3754     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3755     then :; else
 3756        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3757     fi
 3758     # We set ac_cv_exeext here because the later test for it is not
 3759     # safe: cross compilers may not add the suffix if given an `-o'
 3760     # argument, so we may need to know it at that point already.
 3761     # Even if this section looks crufty: it has the advantage of
 3762     # actually working.
 3763     break;;
 3764     * )
 3765     break;;
 3766   esac
 3767 done
 3768 test "$ac_cv_exeext" = no && ac_cv_exeext=
 3769 
 3770 else
 3771   ac_file=''
 3772 fi
 3773 if test -z "$ac_file"; then :
 3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3775 $as_echo "no" >&6; }
 3776 $as_echo "$as_me: failed program was:" >&5
 3777 sed 's/^/| /' conftest.$ac_ext >&5
 3778 
 3779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3781 as_fn_error 77 "C compiler cannot create executables
 3782 See \`config.log' for more details" "$LINENO" 5; }
 3783 else
 3784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3785 $as_echo "yes" >&6; }
 3786 fi
 3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3788 $as_echo_n "checking for C compiler default output file name... " >&6; }
 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3790 $as_echo "$ac_file" >&6; }
 3791 ac_exeext=$ac_cv_exeext
 3792 
 3793 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3794 ac_clean_files=$ac_clean_files_save
 3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3796 $as_echo_n "checking for suffix of executables... " >&6; }
 3797 if { { ac_try="$ac_link"
 3798 case "(($ac_try" in
 3799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3800   *) ac_try_echo=$ac_try;;
 3801 esac
 3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3803 $as_echo "$ac_try_echo"; } >&5
 3804   (eval "$ac_link") 2>&5
 3805   ac_status=$?
 3806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3807   test $ac_status = 0; }; then :
 3808   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3809 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3810 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3811 # `rm'.
 3812 for ac_file in conftest.exe conftest conftest.*; do
 3813   test -f "$ac_file" || continue
 3814   case $ac_file in
 3815     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3816     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3817       break;;
 3818     * ) break;;
 3819   esac
 3820 done
 3821 else
 3822   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3824 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3825 See \`config.log' for more details" "$LINENO" 5; }
 3826 fi
 3827 rm -f conftest conftest$ac_cv_exeext
 3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3829 $as_echo "$ac_cv_exeext" >&6; }
 3830 
 3831 rm -f conftest.$ac_ext
 3832 EXEEXT=$ac_cv_exeext
 3833 ac_exeext=$EXEEXT
 3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3835 /* end confdefs.h.  */
 3836 #include <stdio.h>
 3837 int
 3838 main ()
 3839 {
 3840 FILE *f = fopen ("conftest.out", "w");
 3841  return ferror (f) || fclose (f) != 0;
 3842 
 3843   ;
 3844   return 0;
 3845 }
 3846 _ACEOF
 3847 ac_clean_files="$ac_clean_files conftest.out"
 3848 # Check that the compiler produces executables we can run.  If not, either
 3849 # the compiler is broken, or we cross compile.
 3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3851 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3852 if test "$cross_compiling" != yes; then
 3853   { { ac_try="$ac_link"
 3854 case "(($ac_try" in
 3855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3856   *) ac_try_echo=$ac_try;;
 3857 esac
 3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3859 $as_echo "$ac_try_echo"; } >&5
 3860   (eval "$ac_link") 2>&5
 3861   ac_status=$?
 3862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3863   test $ac_status = 0; }
 3864   if { ac_try='./conftest$ac_cv_exeext'
 3865   { { case "(($ac_try" in
 3866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3867   *) ac_try_echo=$ac_try;;
 3868 esac
 3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3870 $as_echo "$ac_try_echo"; } >&5
 3871   (eval "$ac_try") 2>&5
 3872   ac_status=$?
 3873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3874   test $ac_status = 0; }; }; then
 3875     cross_compiling=no
 3876   else
 3877     if test "$cross_compiling" = maybe; then
 3878     cross_compiling=yes
 3879     else
 3880     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3882 as_fn_error $? "cannot run C compiled programs.
 3883 If you meant to cross compile, use \`--host'.
 3884 See \`config.log' for more details" "$LINENO" 5; }
 3885     fi
 3886   fi
 3887 fi
 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3889 $as_echo "$cross_compiling" >&6; }
 3890 
 3891 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3892 ac_clean_files=$ac_clean_files_save
 3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3894 $as_echo_n "checking for suffix of object files... " >&6; }
 3895 if ${ac_cv_objext+:} false; then :
 3896   $as_echo_n "(cached) " >&6
 3897 else
 3898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3899 /* end confdefs.h.  */
 3900 
 3901 int
 3902 main ()
 3903 {
 3904 
 3905   ;
 3906   return 0;
 3907 }
 3908 _ACEOF
 3909 rm -f conftest.o conftest.obj
 3910 if { { ac_try="$ac_compile"
 3911 case "(($ac_try" in
 3912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3913   *) ac_try_echo=$ac_try;;
 3914 esac
 3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3916 $as_echo "$ac_try_echo"; } >&5
 3917   (eval "$ac_compile") 2>&5
 3918   ac_status=$?
 3919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3920   test $ac_status = 0; }; then :
 3921   for ac_file in conftest.o conftest.obj conftest.*; do
 3922   test -f "$ac_file" || continue;
 3923   case $ac_file in
 3924     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3925     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3926        break;;
 3927   esac
 3928 done
 3929 else
 3930   $as_echo "$as_me: failed program was:" >&5
 3931 sed 's/^/| /' conftest.$ac_ext >&5
 3932 
 3933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3935 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3936 See \`config.log' for more details" "$LINENO" 5; }
 3937 fi
 3938 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3939 fi
 3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3941 $as_echo "$ac_cv_objext" >&6; }
 3942 OBJEXT=$ac_cv_objext
 3943 ac_objext=$OBJEXT
 3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3945 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3946 if ${ac_cv_c_compiler_gnu+:} false; then :
 3947   $as_echo_n "(cached) " >&6
 3948 else
 3949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3950 /* end confdefs.h.  */
 3951 
 3952 int
 3953 main ()
 3954 {
 3955 #ifndef __GNUC__
 3956        choke me
 3957 #endif
 3958 
 3959   ;
 3960   return 0;
 3961 }
 3962 _ACEOF
 3963 if ac_fn_c_try_compile "$LINENO"; then :
 3964   ac_compiler_gnu=yes
 3965 else
 3966   ac_compiler_gnu=no
 3967 fi
 3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3969 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3970 
 3971 fi
 3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3973 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3974 if test $ac_compiler_gnu = yes; then
 3975   GCC=yes
 3976 else
 3977   GCC=
 3978 fi
 3979 ac_test_CFLAGS=${CFLAGS+set}
 3980 ac_save_CFLAGS=$CFLAGS
 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3982 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3983 if ${ac_cv_prog_cc_g+:} false; then :
 3984   $as_echo_n "(cached) " >&6
 3985 else
 3986   ac_save_c_werror_flag=$ac_c_werror_flag
 3987    ac_c_werror_flag=yes
 3988    ac_cv_prog_cc_g=no
 3989    CFLAGS="-g"
 3990    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3991 /* end confdefs.h.  */
 3992 
 3993 int
 3994 main ()
 3995 {
 3996 
 3997   ;
 3998   return 0;
 3999 }
 4000 _ACEOF
 4001 if ac_fn_c_try_compile "$LINENO"; then :
 4002   ac_cv_prog_cc_g=yes
 4003 else
 4004   CFLAGS=""
 4005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4006 /* end confdefs.h.  */
 4007 
 4008 int
 4009 main ()
 4010 {
 4011 
 4012   ;
 4013   return 0;
 4014 }
 4015 _ACEOF
 4016 if ac_fn_c_try_compile "$LINENO"; then :
 4017 
 4018 else
 4019   ac_c_werror_flag=$ac_save_c_werror_flag
 4020      CFLAGS="-g"
 4021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4022 /* end confdefs.h.  */
 4023 
 4024 int
 4025 main ()
 4026 {
 4027 
 4028   ;
 4029   return 0;
 4030 }
 4031 _ACEOF
 4032 if ac_fn_c_try_compile "$LINENO"; then :
 4033   ac_cv_prog_cc_g=yes
 4034 fi
 4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4036 fi
 4037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4038 fi
 4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4040    ac_c_werror_flag=$ac_save_c_werror_flag
 4041 fi
 4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 4043 $as_echo "$ac_cv_prog_cc_g" >&6; }
 4044 if test "$ac_test_CFLAGS" = set; then
 4045   CFLAGS=$ac_save_CFLAGS
 4046 elif test $ac_cv_prog_cc_g = yes; then
 4047   if test "$GCC" = yes; then
 4048     CFLAGS="-g -O2"
 4049   else
 4050     CFLAGS="-g"
 4051   fi
 4052 else
 4053   if test "$GCC" = yes; then
 4054     CFLAGS="-O2"
 4055   else
 4056     CFLAGS=
 4057   fi
 4058 fi
 4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 4060 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 4061 if ${ac_cv_prog_cc_c89+:} false; then :
 4062   $as_echo_n "(cached) " >&6
 4063 else
 4064   ac_cv_prog_cc_c89=no
 4065 ac_save_CC=$CC
 4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4067 /* end confdefs.h.  */
 4068 #include <stdarg.h>
 4069 #include <stdio.h>
 4070 struct stat;
 4071 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 4072 struct buf { int x; };
 4073 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 4074 static char *e (p, i)
 4075      char **p;
 4076      int i;
 4077 {
 4078   return p[i];
 4079 }
 4080 static char *f (char * (*g) (char **, int), char **p, ...)
 4081 {
 4082   char *s;
 4083   va_list v;
 4084   va_start (v,p);
 4085   s = g (p, va_arg (v,int));
 4086   va_end (v);
 4087   return s;
 4088 }
 4089 
 4090 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 4091    function prototypes and stuff, but not '\xHH' hex character constants.
 4092    These don't provoke an error unfortunately, instead are silently treated
 4093    as 'x'.  The following induces an error, until -std is added to get
 4094    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 4095    array size at least.  It's necessary to write '\x00'==0 to get something
 4096    that's true only with -std.  */
 4097 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 4098 
 4099 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 4100    inside strings and character constants.  */
 4101 #define FOO(x) 'x'
 4102 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 4103 
 4104 int test (int i, double x);
 4105 struct s1 {int (*f) (int a);};
 4106 struct s2 {int (*f) (double a);};
 4107 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 4108 int argc;
 4109 char **argv;
 4110 int
 4111 main ()
 4112 {
 4113 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 4114   ;
 4115   return 0;
 4116 }
 4117 _ACEOF
 4118 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 4119     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 4120 do
 4121   CC="$ac_save_CC $ac_arg"
 4122   if ac_fn_c_try_compile "$LINENO"; then :
 4123   ac_cv_prog_cc_c89=$ac_arg
 4124 fi
 4125 rm -f core conftest.err conftest.$ac_objext
 4126   test "x$ac_cv_prog_cc_c89" != "xno" && break
 4127 done
 4128 rm -f conftest.$ac_ext
 4129 CC=$ac_save_CC
 4130 
 4131 fi
 4132 # AC_CACHE_VAL
 4133 case "x$ac_cv_prog_cc_c89" in
 4134   x)
 4135     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 4136 $as_echo "none needed" >&6; } ;;
 4137   xno)
 4138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 4139 $as_echo "unsupported" >&6; } ;;
 4140   *)
 4141     CC="$CC $ac_cv_prog_cc_c89"
 4142     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 4143 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 4144 esac
 4145 if test "x$ac_cv_prog_cc_c89" != xno; then :
 4146 
 4147 fi
 4148 
 4149 ac_ext=c
 4150 ac_cpp='$CPP $CPPFLAGS'
 4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4154 
 4155 ac_ext=c
 4156 ac_cpp='$CPP $CPPFLAGS'
 4157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 4161 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 4162 if ${am_cv_prog_cc_c_o+:} false; then :
 4163   $as_echo_n "(cached) " >&6
 4164 else
 4165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4166 /* end confdefs.h.  */
 4167 
 4168 int
 4169 main ()
 4170 {
 4171 
 4172   ;
 4173   return 0;
 4174 }
 4175 _ACEOF
 4176   # Make sure it works both with $CC and with simple cc.
 4177   # Following AC_PROG_CC_C_O, we do the test twice because some
 4178   # compilers refuse to overwrite an existing .o file with -o,
 4179   # though they will create one.
 4180   am_cv_prog_cc_c_o=yes
 4181   for am_i in 1 2; do
 4182     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 4183    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 4184    ac_status=$?
 4185    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4186    (exit $ac_status); } \
 4187          && test -f conftest2.$ac_objext; then
 4188       : OK
 4189     else
 4190       am_cv_prog_cc_c_o=no
 4191       break
 4192     fi
 4193   done
 4194   rm -f core conftest*
 4195   unset am_i
 4196 fi
 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 4198 $as_echo "$am_cv_prog_cc_c_o" >&6; }
 4199 if test "$am_cv_prog_cc_c_o" != yes; then
 4200    # Losing compiler, so override with the script.
 4201    # FIXME: It is wrong to rewrite CC.
 4202    # But if we don't then we get into trouble of one sort or another.
 4203    # A longer-term fix would be to have automake use am__CC in this case,
 4204    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4205    CC="$am_aux_dir/compile $CC"
 4206 fi
 4207 ac_ext=c
 4208 ac_cpp='$CPP $CPPFLAGS'
 4209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4212 
 4213 DEPDIR="${am__leading_dot}deps"
 4214 
 4215 ac_config_commands="$ac_config_commands depfiles"
 4216 
 4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
 4218 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
 4219 cat > confinc.mk << 'END'
 4220 am__doit:
 4221     @echo this is the am__doit target >confinc.out
 4222 .PHONY: am__doit
 4223 END
 4224 am__include="#"
 4225 am__quote=
 4226 # BSD make does it like this.
 4227 echo '.include "confinc.mk" # ignored' > confmf.BSD
 4228 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
 4229 echo 'include confinc.mk # ignored' > confmf.GNU
 4230 _am_result=no
 4231 for s in GNU BSD; do
 4232   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
 4233    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
 4234    ac_status=$?
 4235    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4236    (exit $ac_status); }
 4237   case $?:`cat confinc.out 2>/dev/null` in #(
 4238   '0:this is the am__doit target') :
 4239     case $s in #(
 4240   BSD) :
 4241     am__include='.include' am__quote='"' ;; #(
 4242   *) :
 4243     am__include='include' am__quote='' ;;
 4244 esac ;; #(
 4245   *) :
 4246      ;;
 4247 esac
 4248   if test "$am__include" != "#"; then
 4249     _am_result="yes ($s style)"
 4250     break
 4251   fi
 4252 done
 4253 rm -f confinc.* confmf.*
 4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
 4255 $as_echo "${_am_result}" >&6; }
 4256 
 4257 # Check whether --enable-dependency-tracking was given.
 4258 if test "${enable_dependency_tracking+set}" = set; then :
 4259   enableval=$enable_dependency_tracking;
 4260 fi
 4261 
 4262 if test "x$enable_dependency_tracking" != xno; then
 4263   am_depcomp="$ac_aux_dir/depcomp"
 4264   AMDEPBACKSLASH='\'
 4265   am__nodep='_no'
 4266 fi
 4267  if test "x$enable_dependency_tracking" != xno; then
 4268   AMDEP_TRUE=
 4269   AMDEP_FALSE='#'
 4270 else
 4271   AMDEP_TRUE='#'
 4272   AMDEP_FALSE=
 4273 fi
 4274 
 4275 
 4276 
 4277 depcc="$CC"   am_compiler_list=
 4278 
 4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4280 $as_echo_n "checking dependency style of $depcc... " >&6; }
 4281 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 4282   $as_echo_n "(cached) " >&6
 4283 else
 4284   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4285   # We make a subdir and do the tests there.  Otherwise we can end up
 4286   # making bogus files that we don't know about and never remove.  For
 4287   # instance it was reported that on HP-UX the gcc test will end up
 4288   # making a dummy file named 'D' -- because '-MD' means "put the output
 4289   # in D".
 4290   rm -rf conftest.dir
 4291   mkdir conftest.dir
 4292   # Copy depcomp to subdir because otherwise we won't find it if we're
 4293   # using a relative directory.
 4294   cp "$am_depcomp" conftest.dir
 4295   cd conftest.dir
 4296   # We will build objects and dependencies in a subdirectory because
 4297   # it helps to detect inapplicable dependency modes.  For instance
 4298   # both Tru64's cc and ICC support -MD to output dependencies as a
 4299   # side effect of compilation, but ICC will put the dependencies in
 4300   # the current directory while Tru64 will put them in the object
 4301   # directory.
 4302   mkdir sub
 4303 
 4304   am_cv_CC_dependencies_compiler_type=none
 4305   if test "$am_compiler_list" = ""; then
 4306      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4307   fi
 4308   am__universal=false
 4309   case " $depcc " in #(
 4310      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4311      esac
 4312 
 4313   for depmode in $am_compiler_list; do
 4314     # Setup a source with many dependencies, because some compilers
 4315     # like to wrap large dependency lists on column 80 (with \), and
 4316     # we should not choose a depcomp mode which is confused by this.
 4317     #
 4318     # We need to recreate these files for each test, as the compiler may
 4319     # overwrite some of them when testing with obscure command lines.
 4320     # This happens at least with the AIX C compiler.
 4321     : > sub/conftest.c
 4322     for i in 1 2 3 4 5 6; do
 4323       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4324       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 4325       # Solaris 10 /bin/sh.
 4326       echo '/* dummy */' > sub/conftst$i.h
 4327     done
 4328     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4329 
 4330     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 4331     # mode.  It turns out that the SunPro C++ compiler does not properly
 4332     # handle '-M -o', and we need to detect this.  Also, some Intel
 4333     # versions had trouble with output in subdirs.
 4334     am__obj=sub/conftest.${OBJEXT-o}
 4335     am__minus_obj="-o $am__obj"
 4336     case $depmode in
 4337     gcc)
 4338       # This depmode causes a compiler race in universal mode.
 4339       test "$am__universal" = false || continue
 4340       ;;
 4341     nosideeffect)
 4342       # After this tag, mechanisms are not by side-effect, so they'll
 4343       # only be used when explicitly requested.
 4344       if test "x$enable_dependency_tracking" = xyes; then
 4345     continue
 4346       else
 4347     break
 4348       fi
 4349       ;;
 4350     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 4351       # This compiler won't grok '-c -o', but also, the minuso test has
 4352       # not run yet.  These depmodes are late enough in the game, and
 4353       # so weak that their functioning should not be impacted.
 4354       am__obj=conftest.${OBJEXT-o}
 4355       am__minus_obj=
 4356       ;;
 4357     none) break ;;
 4358     esac
 4359     if depmode=$depmode \
 4360        source=sub/conftest.c object=$am__obj \
 4361        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4362        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4363          >/dev/null 2>conftest.err &&
 4364        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4365        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4366        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4367        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4368       # icc doesn't choke on unknown options, it will just issue warnings
 4369       # or remarks (even with -Werror).  So we grep stderr for any message
 4370       # that says an option was ignored or not supported.
 4371       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4372       #   icc: Command line warning: ignoring option '-M'; no argument required
 4373       # The diagnosis changed in icc 8.0:
 4374       #   icc: Command line remark: option '-MP' not supported
 4375       if (grep 'ignoring option' conftest.err ||
 4376           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4377         am_cv_CC_dependencies_compiler_type=$depmode
 4378         break
 4379       fi
 4380     fi
 4381   done
 4382 
 4383   cd ..
 4384   rm -rf conftest.dir
 4385 else
 4386   am_cv_CC_dependencies_compiler_type=none
 4387 fi
 4388 
 4389 fi
 4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4391 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4392 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4393 
 4394  if
 4395   test "x$enable_dependency_tracking" != xno \
 4396   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4397   am__fastdepCC_TRUE=
 4398   am__fastdepCC_FALSE='#'
 4399 else
 4400   am__fastdepCC_TRUE='#'
 4401   am__fastdepCC_FALSE=
 4402 fi
 4403 
 4404 
 4405 
 4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 4407 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 4408 set x ${MAKE-make}
 4409 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 4410 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 4411   $as_echo_n "(cached) " >&6
 4412 else
 4413   cat >conftest.make <<\_ACEOF
 4414 SHELL = /bin/sh
 4415 all:
 4416     @echo '@@@%%%=$(MAKE)=@@@%%%'
 4417 _ACEOF
 4418 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 4419 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 4420   *@@@%%%=?*=@@@%%%*)
 4421     eval ac_cv_prog_make_${ac_make}_set=yes;;
 4422   *)
 4423     eval ac_cv_prog_make_${ac_make}_set=no;;
 4424 esac
 4425 rm -f conftest.make
 4426 fi
 4427 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4429 $as_echo "yes" >&6; }
 4430   SET_MAKE=
 4431 else
 4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4433 $as_echo "no" >&6; }
 4434   SET_MAKE="MAKE=${MAKE-make}"
 4435 fi
 4436 
 4437 for ac_prog in 'bison -y' byacc yacc
 4438 do
 4439   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4440 set dummy $ac_prog; ac_word=$2
 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4442 $as_echo_n "checking for $ac_word... " >&6; }
 4443 if ${ac_cv_prog_YACC+:} false; then :
 4444   $as_echo_n "(cached) " >&6
 4445 else
 4446   if test -n "$YACC"; then
 4447   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 4448 else
 4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4450 as_dummy="$PATH:/usr/local/bin:/usr/bin"
 4451 for as_dir in $as_dummy
 4452 do
 4453   IFS=$as_save_IFS
 4454   test -z "$as_dir" && as_dir=.
 4455     for ac_exec_ext in '' $ac_executable_extensions; do
 4456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4457     ac_cv_prog_YACC="$ac_prog"
 4458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4459     break 2
 4460   fi
 4461 done
 4462   done
 4463 IFS=$as_save_IFS
 4464 
 4465 fi
 4466 fi
 4467 YACC=$ac_cv_prog_YACC
 4468 if test -n "$YACC"; then
 4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 4470 $as_echo "$YACC" >&6; }
 4471 else
 4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4473 $as_echo "no" >&6; }
 4474 fi
 4475 
 4476 
 4477   test -n "$YACC" && break
 4478 done
 4479 test -n "$YACC" || YACC="no"
 4480 
 4481 if test "x$YACC" = "xno"; then
 4482     # Require bison unless y.tab.c already is built
 4483     if test ! -f src/y.tab.c; then
 4484                 as_fn_error $? "Monit require bison, byacc or yacc. Download bison from http://www.gnu.org/software/bison/" "$LINENO" 5
 4485     fi
 4486 fi
 4487 # Extract the first word of "flex", so it can be a program name with args.
 4488 set dummy flex; ac_word=$2
 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4490 $as_echo_n "checking for $ac_word... " >&6; }
 4491 if ${ac_cv_path_FLEX+:} false; then :
 4492   $as_echo_n "(cached) " >&6
 4493 else
 4494   case $FLEX in
 4495   [\\/]* | ?:[\\/]*)
 4496   ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
 4497   ;;
 4498   *)
 4499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4500 as_dummy="$PATH:/usr/local/bin:/usr/bin"
 4501 for as_dir in $as_dummy
 4502 do
 4503   IFS=$as_save_IFS
 4504   test -z "$as_dir" && as_dir=.
 4505     for ac_exec_ext in '' $ac_executable_extensions; do
 4506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4507     ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
 4508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4509     break 2
 4510   fi
 4511 done
 4512   done
 4513 IFS=$as_save_IFS
 4514 
 4515   test -z "$ac_cv_path_FLEX" && ac_cv_path_FLEX="no"
 4516   ;;
 4517 esac
 4518 fi
 4519 FLEX=$ac_cv_path_FLEX
 4520 if test -n "$FLEX"; then
 4521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
 4522 $as_echo "$FLEX" >&6; }
 4523 else
 4524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4525 $as_echo "no" >&6; }
 4526 fi
 4527 
 4528 
 4529 if test "x$FLEX" = "xno"; then
 4530     # Require flex unless lex.yy.c already is built
 4531     if test ! -f src/lex.yy.c; then
 4532                 as_fn_error $? "flex is required. Download from http://www.gnu.org/software/flex/" "$LINENO" 5
 4533     fi
 4534 fi
 4535 # Extract the first word of "pod2man", so it can be a program name with args.
 4536 set dummy pod2man; ac_word=$2
 4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4538 $as_echo_n "checking for $ac_word... " >&6; }
 4539 if ${ac_cv_path_POD2MAN+:} false; then :
 4540   $as_echo_n "(cached) " >&6
 4541 else
 4542   case $POD2MAN in
 4543   [\\/]* | ?:[\\/]*)
 4544   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
 4545   ;;
 4546   *)
 4547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4548 as_dummy="$PATH:/usr/local/bin:/usr/bin"
 4549 for as_dir in $as_dummy
 4550 do
 4551   IFS=$as_save_IFS
 4552   test -z "$as_dir" && as_dir=.
 4553     for ac_exec_ext in '' $ac_executable_extensions; do
 4554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4555     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
 4556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4557     break 2
 4558   fi
 4559 done
 4560   done
 4561 IFS=$as_save_IFS
 4562 
 4563   test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="no"
 4564   ;;
 4565 esac
 4566 fi
 4567 POD2MAN=$ac_cv_path_POD2MAN
 4568 if test -n "$POD2MAN"; then
 4569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
 4570 $as_echo "$POD2MAN" >&6; }
 4571 else
 4572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4573 $as_echo "no" >&6; }
 4574 fi
 4575 
 4576 
 4577 if test "x$POD2MAN" = "xno"; then
 4578     # Require pod2man unless monit.1 already is built
 4579     if test ! -f monit.1; then
 4580         as_fn_error $? "pod2man is required to build the monit.1 man file." "$LINENO" 5
 4581     fi
 4582 else
 4583     POD2MANFLAGS="--center 'User Commands' --release 5.28.0 --date='www.mmonit.com' --lax"
 4584 
 4585 fi
 4586 
 4587 
 4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wextra" >&5
 4589 $as_echo_n "checking whether C compiler accepts -Wextra... " >&6; }
 4590 if ${ax_cv_check_cflags___Wextra+:} false; then :
 4591   $as_echo_n "(cached) " >&6
 4592 else
 4593 
 4594   ax_check_save_flags=$CFLAGS
 4595   CFLAGS="$CFLAGS  -Wextra"
 4596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4597 /* end confdefs.h.  */
 4598 
 4599 int
 4600 main ()
 4601 {
 4602 
 4603   ;
 4604   return 0;
 4605 }
 4606 _ACEOF
 4607 if ac_fn_c_try_compile "$LINENO"; then :
 4608   ax_cv_check_cflags___Wextra=yes
 4609 else
 4610   ax_cv_check_cflags___Wextra=no
 4611 fi
 4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4613   CFLAGS=$ax_check_save_flags
 4614 fi
 4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wextra" >&5
 4616 $as_echo "$ax_cv_check_cflags___Wextra" >&6; }
 4617 if test "x$ax_cv_check_cflags___Wextra" = xyes; then :
 4618   CFLAGS="$CFLAGS -Wextra"
 4619 else
 4620   :
 4621 fi
 4622 
 4623 if test `uname` != "AIX"; then
 4624         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
 4625 $as_echo_n "checking whether C compiler accepts -fstack-protector-all... " >&6; }
 4626 if ${ax_cv_check_cflags___fstack_protector_all+:} false; then :
 4627   $as_echo_n "(cached) " >&6
 4628 else
 4629 
 4630   ax_check_save_flags=$CFLAGS
 4631   CFLAGS="$CFLAGS  -fstack-protector-all"
 4632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4633 /* end confdefs.h.  */
 4634 
 4635 int
 4636 main ()
 4637 {
 4638 
 4639   ;
 4640   return 0;
 4641 }
 4642 _ACEOF
 4643 if ac_fn_c_try_compile "$LINENO"; then :
 4644   ax_cv_check_cflags___fstack_protector_all=yes
 4645 else
 4646   ax_cv_check_cflags___fstack_protector_all=no
 4647 fi
 4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4649   CFLAGS=$ax_check_save_flags
 4650 fi
 4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
 4652 $as_echo "$ax_cv_check_cflags___fstack_protector_all" >&6; }
 4653 if test "x$ax_cv_check_cflags___fstack_protector_all" = xyes; then :
 4654   CFLAGS="$CFLAGS -fstack-protector-all"
 4655 else
 4656   :
 4657 fi
 4658 
 4659         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fcf-protection=full" >&5
 4660 $as_echo_n "checking whether C compiler accepts -fcf-protection=full... " >&6; }
 4661 if ${ax_cv_check_cflags___fcf_protection_full+:} false; then :
 4662   $as_echo_n "(cached) " >&6
 4663 else
 4664 
 4665   ax_check_save_flags=$CFLAGS
 4666   CFLAGS="$CFLAGS  -fcf-protection=full"
 4667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4668 /* end confdefs.h.  */
 4669 
 4670 int
 4671 main ()
 4672 {
 4673 
 4674   ;
 4675   return 0;
 4676 }
 4677 _ACEOF
 4678 if ac_fn_c_try_compile "$LINENO"; then :
 4679   ax_cv_check_cflags___fcf_protection_full=yes
 4680 else
 4681   ax_cv_check_cflags___fcf_protection_full=no
 4682 fi
 4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4684   CFLAGS=$ax_check_save_flags
 4685 fi
 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fcf_protection_full" >&5
 4687 $as_echo "$ax_cv_check_cflags___fcf_protection_full" >&6; }
 4688 if test "x$ax_cv_check_cflags___fcf_protection_full" = xyes; then :
 4689   CFLAGS="$CFLAGS -fcf-protection=full"
 4690 else
 4691   :
 4692 fi
 4693 
 4694         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-clash-protection" >&5
 4695 $as_echo_n "checking whether C compiler accepts -fstack-clash-protection... " >&6; }
 4696 if ${ax_cv_check_cflags___fstack_clash_protection+:} false; then :
 4697   $as_echo_n "(cached) " >&6
 4698 else
 4699 
 4700   ax_check_save_flags=$CFLAGS
 4701   CFLAGS="$CFLAGS  -fstack-clash-protection"
 4702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4703 /* end confdefs.h.  */
 4704 
 4705 int
 4706 main ()
 4707 {
 4708 
 4709   ;
 4710   return 0;
 4711 }
 4712 _ACEOF
 4713 if ac_fn_c_try_compile "$LINENO"; then :
 4714   ax_cv_check_cflags___fstack_clash_protection=yes
 4715 else
 4716   ax_cv_check_cflags___fstack_clash_protection=no
 4717 fi
 4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4719   CFLAGS=$ax_check_save_flags
 4720 fi
 4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_clash_protection" >&5
 4722 $as_echo "$ax_cv_check_cflags___fstack_clash_protection" >&6; }
 4723 if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes; then :
 4724   CFLAGS="$CFLAGS -fstack-clash-protection"
 4725 else
 4726   :
 4727 fi
 4728 
 4729 fi
 4730 
 4731 
 4732 # ------------------------------------------------------------------------
 4733 # Libtool
 4734 # ------------------------------------------------------------------------
 4735 
 4736 # Check whether --enable-static was given.
 4737 if test "${enable_static+set}" = set; then :
 4738   enableval=$enable_static; p=${PACKAGE-default}
 4739     case $enableval in
 4740     yes) enable_static=yes ;;
 4741     no) enable_static=no ;;
 4742     *)
 4743      enable_static=no
 4744       # Look at the argument we got.  We use all the common list separators.
 4745       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 4746       for pkg in $enableval; do
 4747     IFS=$lt_save_ifs
 4748     if test "X$pkg" = "X$p"; then
 4749       enable_static=yes
 4750     fi
 4751       done
 4752       IFS=$lt_save_ifs
 4753       ;;
 4754     esac
 4755 else
 4756   enable_static=no
 4757 fi
 4758 
 4759 
 4760 
 4761 
 4762 
 4763 
 4764 
 4765 
 4766 
 4767 case `pwd` in
 4768   *\ * | *\ *)
 4769     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 4770 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 4771 esac
 4772 
 4773 
 4774 
 4775 macro_version='2.4.6'
 4776 macro_revision='2.4.6'
 4777 
 4778 
 4779 
 4780 
 4781 
 4782 
 4783 
 4784 
 4785 
 4786 
 4787 
 4788 
 4789 
 4790 ltmain=$ac_aux_dir/ltmain.sh
 4791 
 4792 # Make sure we can run config.sub.
 4793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 4794   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 4795 
 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 4797 $as_echo_n "checking build system type... " >&6; }
 4798 if ${ac_cv_build+:} false; then :
 4799   $as_echo_n "(cached) " >&6
 4800 else
 4801   ac_build_alias=$build_alias
 4802 test "x$ac_build_alias" = x &&
 4803   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 4804 test "x$ac_build_alias" = x &&
 4805   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 4806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 4807   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 4808 
 4809 fi
 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 4811 $as_echo "$ac_cv_build" >&6; }
 4812 case $ac_cv_build in
 4813 *-*-*) ;;
 4814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 4815 esac
 4816 build=$ac_cv_build
 4817 ac_save_IFS=$IFS; IFS='-'
 4818 set x $ac_cv_build
 4819 shift
 4820 build_cpu=$1
 4821 build_vendor=$2
 4822 shift; shift
 4823 # Remember, the first character of IFS is used to create $*,
 4824 # except with old shells:
 4825 build_os=$*
 4826 IFS=$ac_save_IFS
 4827 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 4828 
 4829 
 4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 4831 $as_echo_n "checking host system type... " >&6; }
 4832 if ${ac_cv_host+:} false; then :
 4833   $as_echo_n "(cached) " >&6
 4834 else
 4835   if test "x$host_alias" = x; then
 4836   ac_cv_host=$ac_cv_build
 4837 else
 4838   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 4839     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 4840 fi
 4841 
 4842 fi
 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 4844 $as_echo "$ac_cv_host" >&6; }
 4845 case $ac_cv_host in
 4846 *-*-*) ;;
 4847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 4848 esac
 4849 host=$ac_cv_host
 4850 ac_save_IFS=$IFS; IFS='-'
 4851 set x $ac_cv_host
 4852 shift
 4853 host_cpu=$1
 4854 host_vendor=$2
 4855 shift; shift
 4856 # Remember, the first character of IFS is used to create $*,
 4857 # except with old shells:
 4858 host_os=$*
 4859 IFS=$ac_save_IFS
 4860 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 4861 
 4862 
 4863 # Backslashify metacharacters that are still active within
 4864 # double-quoted strings.
 4865 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 4866 
 4867 # Same as above, but do not quote variable references.
 4868 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 4869 
 4870 # Sed substitution to delay expansion of an escaped shell variable in a
 4871 # double_quote_subst'ed string.
 4872 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 4873 
 4874 # Sed substitution to delay expansion of an escaped single quote.
 4875 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 4876 
 4877 # Sed substitution to avoid accidental globbing in evaled expressions
 4878 no_glob_subst='s/\*/\\\*/g'
 4879 
 4880 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4881 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 4882 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 4883 
 4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 4885 $as_echo_n "checking how to print strings... " >&6; }
 4886 # Test print first, because it will be a builtin if present.
 4887 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 4888    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 4889   ECHO='print -r --'
 4890 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 4891   ECHO='printf %s\n'
 4892 else
 4893   # Use this function as a fallback that always works.
 4894   func_fallback_echo ()
 4895   {
 4896     eval 'cat <<_LTECHO_EOF
 4897 $1
 4898 _LTECHO_EOF'
 4899   }
 4900   ECHO='func_fallback_echo'
 4901 fi
 4902 
 4903 # func_echo_all arg...
 4904 # Invoke $ECHO with all args, space-separated.
 4905 func_echo_all ()
 4906 {
 4907     $ECHO ""
 4908 }
 4909 
 4910 case $ECHO in
 4911   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 4912 $as_echo "printf" >&6; } ;;
 4913   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 4914 $as_echo "print -r" >&6; } ;;
 4915   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 4916 $as_echo "cat" >&6; } ;;
 4917 esac
 4918 
 4919 
 4920 
 4921 
 4922 
 4923 
 4924 
 4925 
 4926 
 4927 
 4928 
 4929 
 4930 
 4931 
 4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4933 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4934 if ${ac_cv_path_SED+:} false; then :
 4935   $as_echo_n "(cached) " >&6
 4936 else
 4937             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4938      for ac_i in 1 2 3 4 5 6 7; do
 4939        ac_script="$ac_script$as_nl$ac_script"
 4940      done
 4941      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4942      { ac_script=; unset ac_script;}
 4943      if test -z "$SED"; then
 4944   ac_path_SED_found=false
 4945   # Loop through the user's path and test for each of PROGNAME-LIST
 4946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4947 for as_dir in $PATH
 4948 do
 4949   IFS=$as_save_IFS
 4950   test -z "$as_dir" && as_dir=.
 4951     for ac_prog in sed gsed; do
 4952     for ac_exec_ext in '' $ac_executable_extensions; do
 4953       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4954       as_fn_executable_p "$ac_path_SED" || continue
 4955 # Check for GNU ac_path_SED and select it if it is found.
 4956   # Check for GNU $ac_path_SED
 4957 case `"$ac_path_SED" --version 2>&1` in
 4958 *GNU*)
 4959   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4960 *)
 4961   ac_count=0
 4962   $as_echo_n 0123456789 >"conftest.in"
 4963   while :
 4964   do
 4965     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4966     mv "conftest.tmp" "conftest.in"
 4967     cp "conftest.in" "conftest.nl"
 4968     $as_echo '' >> "conftest.nl"
 4969     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4970     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4971     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4972     if test $ac_count -gt ${ac_path_SED_max-0}; then
 4973       # Best one so far, save it but keep looking for a better one
 4974       ac_cv_path_SED="$ac_path_SED"
 4975       ac_path_SED_max=$ac_count
 4976     fi
 4977     # 10*(2^10) chars as input seems more than enough
 4978     test $ac_count -gt 10 && break
 4979   done
 4980   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4981 esac
 4982 
 4983       $ac_path_SED_found && break 3
 4984     done
 4985   done
 4986   done
 4987 IFS=$as_save_IFS
 4988   if test -z "$ac_cv_path_SED"; then
 4989     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4990   fi
 4991 else
 4992   ac_cv_path_SED=$SED
 4993 fi
 4994 
 4995 fi
 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4997 $as_echo "$ac_cv_path_SED" >&6; }
 4998  SED="$ac_cv_path_SED"
 4999   rm -f conftest.sed
 5000 
 5001 test -z "$SED" && SED=sed
 5002 Xsed="$SED -e 1s/^X//"
 5003 
 5004 
 5005 
 5006 
 5007 
 5008 
 5009 
 5010 
 5011 
 5012 
 5013 
 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 5015 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 5016 if ${ac_cv_path_GREP+:} false; then :
 5017   $as_echo_n "(cached) " >&6
 5018 else
 5019   if test -z "$GREP"; then
 5020   ac_path_GREP_found=false
 5021   # Loop through the user's path and test for each of PROGNAME-LIST
 5022   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5023 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5024 do
 5025   IFS=$as_save_IFS
 5026   test -z "$as_dir" && as_dir=.
 5027     for ac_prog in grep ggrep; do
 5028     for ac_exec_ext in '' $ac_executable_extensions; do
 5029       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 5030       as_fn_executable_p "$ac_path_GREP" || continue
 5031 # Check for GNU ac_path_GREP and select it if it is found.
 5032   # Check for GNU $ac_path_GREP
 5033 case `"$ac_path_GREP" --version 2>&1` in
 5034 *GNU*)
 5035   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 5036 *)
 5037   ac_count=0
 5038   $as_echo_n 0123456789 >"conftest.in"
 5039   while :
 5040   do
 5041     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5042     mv "conftest.tmp" "conftest.in"
 5043     cp "conftest.in" "conftest.nl"
 5044     $as_echo 'GREP' >> "conftest.nl"
 5045     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5046     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5047     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5048     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 5049       # Best one so far, save it but keep looking for a better one
 5050       ac_cv_path_GREP="$ac_path_GREP"
 5051       ac_path_GREP_max=$ac_count
 5052     fi
 5053     # 10*(2^10) chars as input seems more than enough
 5054     test $ac_count -gt 10 && break
 5055   done
 5056   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5057 esac
 5058 
 5059       $ac_path_GREP_found && break 3
 5060     done
 5061   done
 5062   done
 5063 IFS=$as_save_IFS
 5064   if test -z "$ac_cv_path_GREP"; then
 5065     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5066   fi
 5067 else
 5068   ac_cv_path_GREP=$GREP
 5069 fi
 5070 
 5071 fi
 5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 5073 $as_echo "$ac_cv_path_GREP" >&6; }
 5074  GREP="$ac_cv_path_GREP"
 5075 
 5076 
 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 5078 $as_echo_n "checking for egrep... " >&6; }
 5079 if ${ac_cv_path_EGREP+:} false; then :
 5080   $as_echo_n "(cached) " >&6
 5081 else
 5082   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 5083    then ac_cv_path_EGREP="$GREP -E"
 5084    else
 5085      if test -z "$EGREP"; then
 5086   ac_path_EGREP_found=false
 5087   # Loop through the user's path and test for each of PROGNAME-LIST
 5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5090 do
 5091   IFS=$as_save_IFS
 5092   test -z "$as_dir" && as_dir=.
 5093     for ac_prog in egrep; do
 5094     for ac_exec_ext in '' $ac_executable_extensions; do
 5095       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 5096       as_fn_executable_p "$ac_path_EGREP" || continue
 5097 # Check for GNU ac_path_EGREP and select it if it is found.
 5098   # Check for GNU $ac_path_EGREP
 5099 case `"$ac_path_EGREP" --version 2>&1` in
 5100 *GNU*)
 5101   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 5102 *)
 5103   ac_count=0
 5104   $as_echo_n 0123456789 >"conftest.in"
 5105   while :
 5106   do
 5107     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5108     mv "conftest.tmp" "conftest.in"
 5109     cp "conftest.in" "conftest.nl"
 5110     $as_echo 'EGREP' >> "conftest.nl"
 5111     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5112     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5113     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5114     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 5115       # Best one so far, save it but keep looking for a better one
 5116       ac_cv_path_EGREP="$ac_path_EGREP"
 5117       ac_path_EGREP_max=$ac_count
 5118     fi
 5119     # 10*(2^10) chars as input seems more than enough
 5120     test $ac_count -gt 10 && break
 5121   done
 5122   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5123 esac
 5124 
 5125       $ac_path_EGREP_found && break 3
 5126     done
 5127   done
 5128   done
 5129 IFS=$as_save_IFS
 5130   if test -z "$ac_cv_path_EGREP"; then
 5131     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5132   fi
 5133 else
 5134   ac_cv_path_EGREP=$EGREP
 5135 fi
 5136 
 5137    fi
 5138 fi
 5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 5140 $as_echo "$ac_cv_path_EGREP" >&6; }
 5141  EGREP="$ac_cv_path_EGREP"
 5142 
 5143 
 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 5145 $as_echo_n "checking for fgrep... " >&6; }
 5146 if ${ac_cv_path_FGREP+:} false; then :
 5147   $as_echo_n "(cached) " >&6
 5148 else
 5149   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 5150    then ac_cv_path_FGREP="$GREP -F"
 5151    else
 5152      if test -z "$FGREP"; then
 5153   ac_path_FGREP_found=false
 5154   # Loop through the user's path and test for each of PROGNAME-LIST
 5155   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5157 do
 5158   IFS=$as_save_IFS
 5159   test -z "$as_dir" && as_dir=.
 5160     for ac_prog in fgrep; do
 5161     for ac_exec_ext in '' $ac_executable_extensions; do
 5162       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 5163       as_fn_executable_p "$ac_path_FGREP" || continue
 5164 # Check for GNU ac_path_FGREP and select it if it is found.
 5165   # Check for GNU $ac_path_FGREP
 5166 case `"$ac_path_FGREP" --version 2>&1` in
 5167 *GNU*)
 5168   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 5169 *)
 5170   ac_count=0
 5171   $as_echo_n 0123456789 >"conftest.in"
 5172   while :
 5173   do
 5174     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5175     mv "conftest.tmp" "conftest.in"
 5176     cp "conftest.in" "conftest.nl"
 5177     $as_echo 'FGREP' >> "conftest.nl"
 5178     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5179     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5180     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5181     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 5182       # Best one so far, save it but keep looking for a better one
 5183       ac_cv_path_FGREP="$ac_path_FGREP"
 5184       ac_path_FGREP_max=$ac_count
 5185     fi
 5186     # 10*(2^10) chars as input seems more than enough
 5187     test $ac_count -gt 10 && break
 5188   done
 5189   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5190 esac
 5191 
 5192       $ac_path_FGREP_found && break 3
 5193     done
 5194   done
 5195   done
 5196 IFS=$as_save_IFS
 5197   if test -z "$ac_cv_path_FGREP"; then
 5198     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5199   fi
 5200 else
 5201   ac_cv_path_FGREP=$FGREP
 5202 fi
 5203 
 5204    fi
 5205 fi
 5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 5207 $as_echo "$ac_cv_path_FGREP" >&6; }
 5208  FGREP="$ac_cv_path_FGREP"
 5209 
 5210 
 5211 test -z "$GREP" && GREP=grep
 5212 
 5213 
 5214 
 5215 
 5216 
 5217 
 5218 
 5219 
 5220 
 5221 
 5222 
 5223 
 5224 
 5225 
 5226 
 5227 
 5228 
 5229 
 5230 
 5231 # Check whether --with-gnu-ld was given.
 5232 if test "${with_gnu_ld+set}" = set; then :
 5233   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
 5234 else
 5235   with_gnu_ld=no
 5236 fi
 5237 
 5238 ac_prog=ld
 5239 if test yes = "$GCC"; then
 5240   # Check if gcc -print-prog-name=ld gives a path.
 5241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 5242 $as_echo_n "checking for ld used by $CC... " >&6; }
 5243   case $host in
 5244   *-*-mingw*)
 5245     # gcc leaves a trailing carriage return, which upsets mingw
 5246     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 5247   *)
 5248     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 5249   esac
 5250   case $ac_prog in
 5251     # Accept absolute paths.
 5252     [\\/]* | ?:[\\/]*)
 5253       re_direlt='/[^/][^/]*/\.\./'
 5254       # Canonicalize the pathname of ld
 5255       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 5256       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 5257     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 5258       done
 5259       test -z "$LD" && LD=$ac_prog
 5260       ;;
 5261   "")
 5262     # If it fails, then pretend we aren't using GCC.
 5263     ac_prog=ld
 5264     ;;
 5265   *)
 5266     # If it is relative, then search for the first ld in PATH.
 5267     with_gnu_ld=unknown
 5268     ;;
 5269   esac
 5270 elif test yes = "$with_gnu_ld"; then
 5271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 5272 $as_echo_n "checking for GNU ld... " >&6; }
 5273 else
 5274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 5275 $as_echo_n "checking for non-GNU ld... " >&6; }
 5276 fi
 5277 if ${lt_cv_path_LD+:} false; then :
 5278   $as_echo_n "(cached) " >&6
 5279 else
 5280   if test -z "$LD"; then
 5281   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 5282   for ac_dir in $PATH; do
 5283     IFS=$lt_save_ifs
 5284     test -z "$ac_dir" && ac_dir=.
 5285     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 5286       lt_cv_path_LD=$ac_dir/$ac_prog
 5287       # Check to see if the program is GNU ld.  I'd rather use --version,
 5288       # but apparently some variants of GNU ld only accept -v.
 5289       # Break only if it was the GNU/non-GNU ld that we prefer.
 5290       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 5291       *GNU* | *'with BFD'*)
 5292     test no != "$with_gnu_ld" && break
 5293     ;;
 5294       *)
 5295     test yes != "$with_gnu_ld" && break
 5296     ;;
 5297       esac
 5298     fi
 5299   done
 5300   IFS=$lt_save_ifs
 5301 else
 5302   lt_cv_path_LD=$LD # Let the user override the test with a path.
 5303 fi
 5304 fi
 5305 
 5306 LD=$lt_cv_path_LD
 5307 if test -n "$LD"; then
 5308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 5309 $as_echo "$LD" >&6; }
 5310 else
 5311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5312 $as_echo "no" >&6; }
 5313 fi
 5314 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 5316 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 5317 if ${lt_cv_prog_gnu_ld+:} false; then :
 5318   $as_echo_n "(cached) " >&6
 5319 else
 5320   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 5321 case `$LD -v 2>&1 </dev/null` in
 5322 *GNU* | *'with BFD'*)
 5323   lt_cv_prog_gnu_ld=yes
 5324   ;;
 5325 *)
 5326   lt_cv_prog_gnu_ld=no
 5327   ;;
 5328 esac
 5329 fi
 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 5331 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 5332 with_gnu_ld=$lt_cv_prog_gnu_ld
 5333 
 5334 
 5335 
 5336 
 5337 
 5338 
 5339 
 5340 
 5341 
 5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 5343 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 5344 if ${lt_cv_path_NM+:} false; then :
 5345   $as_echo_n "(cached) " >&6
 5346 else
 5347   if test -n "$NM"; then
 5348   # Let the user override the test.
 5349   lt_cv_path_NM=$NM
 5350 else
 5351   lt_nm_to_check=${ac_tool_prefix}nm
 5352   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 5353     lt_nm_to_check="$lt_nm_to_check nm"
 5354   fi
 5355   for lt_tmp_nm in $lt_nm_to_check; do
 5356     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 5357     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 5358       IFS=$lt_save_ifs
 5359       test -z "$ac_dir" && ac_dir=.
 5360       tmp_nm=$ac_dir/$lt_tmp_nm
 5361       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 5362     # Check to see if the nm accepts a BSD-compat flag.
 5363     # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 5364     #   nm: unknown option "B" ignored
 5365     # Tru64's nm complains that /dev/null is an invalid object file
 5366     # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 5367     case $build_os in
 5368     mingw*) lt_bad_file=conftest.nm/nofile ;;
 5369     *) lt_bad_file=/dev/null ;;
 5370     esac
 5371     case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 5372     *$lt_bad_file* | *'Invalid file or object type'*)
 5373       lt_cv_path_NM="$tmp_nm -B"
 5374       break 2
 5375       ;;
 5376     *)
 5377       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 5378       */dev/null*)
 5379         lt_cv_path_NM="$tmp_nm -p"
 5380         break 2
 5381         ;;
 5382       *)
 5383         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 5384         continue # so that we can try to find one that supports BSD flags
 5385         ;;
 5386       esac
 5387       ;;
 5388     esac
 5389       fi
 5390     done
 5391     IFS=$lt_save_ifs
 5392   done
 5393   : ${lt_cv_path_NM=no}
 5394 fi
 5395 fi
 5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 5397 $as_echo "$lt_cv_path_NM" >&6; }
 5398 if test no != "$lt_cv_path_NM"; then
 5399   NM=$lt_cv_path_NM
 5400 else
 5401   # Didn't find any BSD compatible name lister, look for dumpbin.
 5402   if test -n "$DUMPBIN"; then :
 5403     # Let the user override the test.
 5404   else
 5405     if test -n "$ac_tool_prefix"; then
 5406   for ac_prog in dumpbin "link -dump"
 5407   do
 5408     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5411 $as_echo_n "checking for $ac_word... " >&6; }
 5412 if ${ac_cv_prog_DUMPBIN+:} false; then :
 5413   $as_echo_n "(cached) " >&6
 5414 else
 5415   if test -n "$DUMPBIN"; then
 5416   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 5417 else
 5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5419 for as_dir in $PATH
 5420 do
 5421   IFS=$as_save_IFS
 5422   test -z "$as_dir" && as_dir=.
 5423     for ac_exec_ext in '' $ac_executable_extensions; do
 5424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5425     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 5426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5427     break 2
 5428   fi
 5429 done
 5430   done
 5431 IFS=$as_save_IFS
 5432 
 5433 fi
 5434 fi
 5435 DUMPBIN=$ac_cv_prog_DUMPBIN
 5436 if test -n "$DUMPBIN"; then
 5437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 5438 $as_echo "$DUMPBIN" >&6; }
 5439 else
 5440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5441 $as_echo "no" >&6; }
 5442 fi
 5443 
 5444 
 5445     test -n "$DUMPBIN" && break
 5446   done
 5447 fi
 5448 if test -z "$DUMPBIN"; then
 5449   ac_ct_DUMPBIN=$DUMPBIN
 5450   for ac_prog in dumpbin "link -dump"
 5451 do
 5452   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5453 set dummy $ac_prog; ac_word=$2
 5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5455 $as_echo_n "checking for $ac_word... " >&6; }
 5456 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 5457   $as_echo_n "(cached) " >&6
 5458 else
 5459   if test -n "$ac_ct_DUMPBIN"; then
 5460   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 5461 else
 5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5463 for as_dir in $PATH
 5464 do
 5465   IFS=$as_save_IFS
 5466   test -z "$as_dir" && as_dir=.
 5467     for ac_exec_ext in '' $ac_executable_extensions; do
 5468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5469     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5471     break 2
 5472   fi
 5473 done
 5474   done
 5475 IFS=$as_save_IFS
 5476 
 5477 fi
 5478 fi
 5479 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5480 if test -n "$ac_ct_DUMPBIN"; then
 5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5482 $as_echo "$ac_ct_DUMPBIN" >&6; }
 5483 else
 5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5485 $as_echo "no" >&6; }
 5486 fi
 5487 
 5488 
 5489   test -n "$ac_ct_DUMPBIN" && break</