"Fossies" - the Fresh Open Source Software Archive

Member "nettle-3.7.3/configure" (6 Jun 2021, 251156 Bytes) of package /linux/privat/nettle-3.7.3.tar.gz:


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

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