"Fossies" - the Fresh Open Source Software Archive

Member "ngrep-1_47/configure" (7 Sep 2017, 154483 Bytes) of package /linux/misc/ngrep-1_47.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. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes reports for "configure": 1_45_vs_1_47 or 1_46_1_vs_1_47.

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