"Fossies" - the Fresh Open Source Software Archive

Member "snort-2.9.17/configure" (30 Oct 2020, 613009 Bytes) of package /linux/misc/snort-2.9.17.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": 2.9.16.1_vs_2.9.17.

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