"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/configure" (18 Oct 2018, 492259 Bytes) of package /linux/misc/file-5.35.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 report for "configure": 5.34_vs_5.35.

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