"Fossies" - the Fresh Open Source Software Archive

Member "cfengine-3.15.4/configure" (7 Jun 2021, 710523 Bytes) of package /linux/misc/cfengine-3.15.4.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": 3.15.3_vs_3.15.4.

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